[sane-devel] scaner on HP LaserJet M1005 MFP

2010-04-11 Thread viktor vraniak
> were you using front-mounted usb ports before? I have seen several > cases where the extension cable inside the computer was of very low > quality. no it is connected to backside ports. i had similar problem with usb on this computer under virtualbox, i have stopped using it because i thought t

[sane-devel] scaner on HP LaserJet M1005 MFP

2010-04-09 Thread viktor vraniak
> On Wed, Apr 7, 2010 at 2:43 PM, viktor vraniak wrote: > > > >> then don't use gentoo. perhaps a livecd from something else? > >> > > > > hmm, ok, i have tried it with ubuntu 9.10 live CD and it works! great ;o) > > > > so i have tried

[sane-devel] scaner on HP LaserJet M1005 MFP

2010-04-07 Thread viktor vraniak
> > perhaps. is there anything else you can switch between the two > computers, like cables or power? Or perhaps get an add-on usb card? > ok, i will try addon PCI card with USB ports, hope that this solve my problem. anyway thank you very much for your patience and help i will inform when i wi

[sane-devel] scaner on HP LaserJet M1005 MFP

2010-04-07 Thread viktor vraniak
> then don't use gentoo. perhaps a livecd from something else? > hmm, ok, i have tried it with ubuntu 9.10 live CD and it works! great ;o) so i have tried run this live CD from computer where device is normally connected and problem is back... :o( so IMHO this looks like HW problem? viktor

[sane-devel] scaner on HP LaserJet M1005 MFP

2010-04-07 Thread viktor vraniak
> This would imply that something the backend is doing at the end of a > scan is confusing the scanner or kernel. Can you try this with a > different computer, or older kernel version, or other USB cable or > something? If none of those things help, then you would have to try > and compare the pack

[sane-devel] scaner on HP LaserJet M1005 MFP

2010-04-07 Thread viktor vraniak
> > so i think, opened device is renewed and scanimage lost/not get descriptor > > for > new device? > > Yes- It appears that the device is reset (either by the kernel or by > itself), after this attempted write. The reset succeeds, and so the > device is found by the second call to scanimage. > >

[sane-devel] scaner on HP LaserJet M1005 MFP

2010-04-07 Thread viktor vraniak
debug output: > > SANE_DEBUG_SANEI_USB=255 SANE_DEBUG_HPLJM1005=255 scanimage 2>1.log > > then repeat with a different log file, and lets see if anything funny shows > up. > > allan > > On Wed, Apr 7, 2010 at 11:53 AM, viktor vraniak wrote: > > i forgot to wri

[sane-devel] scaner on HP LaserJet M1005 MFP

2010-04-07 Thread viktor vraniak
i forgot to write that i have disable CONFIG_USB_SUSPEND in my kernel too...

[sane-devel] scaner on HP LaserJet M1005 MFP

2010-04-07 Thread viktor vraniak
em, > or why it has not been reported previously. Perhaps you can rebuild > sane-backends with those two functions commented out from hpljm1005.c? > > allan > > 2010/4/7 viktor vraniak : > > ok, thanks > > here is kernel version: > > > > cz-gprinter admin #

[sane-devel] scaner on HP LaserJet M1005 MFP

2010-04-07 Thread viktor vraniak
- > perhaps related to kernel usb suspend settings to save power? What > kernel version is this? Perhaps you can try to disable power > management for this device (use the 'on' setting): > > http://www.lesswatts.org/projects/devices-power-management/usb.php > > all

[sane-devel] scaner on HP LaserJet M1005 MFP

2010-04-07 Thread viktor vraniak
hi all i have device HP LaserJet M1005 MFP, scanning is working with "hpljm1005" backend. but there is one issue: utility "scanimage" works only every second run in kernel log i see: [40719.182679] usb 1-5: default language 0x0409 [40719.183156] usb 1-5: udev 12, busnum 1, minor = 11 [40719.1831