Re: usb2 + scanner HP ScanJet 4300C

2008-12-12 Thread Oliver Fromme
Luigi Rizzo wrote: > On Fri, Dec 12, 2008 at 09:27:27PM +0100, Oliver Fromme wrote: > > Hi, > > > > I've got a HP ScanJet 4300C that seems to be a little bit > > stubborn. > > > ... > > Is there anything I can do, except for forgetting about > > this scanner alltogether? > > one optio

Re: usb2 + scanner HP ScanJet 4300C

2008-12-12 Thread Oliver Fromme
Hans Petter Selasky wrote: > On Friday 12 December 2008, Oliver Fromme wrote: > > usb2_alloc_device: > > You could try to edit the code in "sys/dev/usb2/core/usb2_device.c" and loop > two times on the set_config command in "usb2_alloc_device()". > > Or you can try to make the code ignore

Re: usb2 + scanner HP ScanJet 4300C

2008-12-12 Thread Luigi Rizzo
On Fri, Dec 12, 2008 at 09:27:27PM +0100, Oliver Fromme wrote: > Hi, > > I've got a HP ScanJet 4300C that seems to be a little bit > stubborn. > ... > Is there anything I can do, except for forgetting about > this scanner alltogether? one option is to put the device IDs in uscanner.c and see if

Re: usb2 + scanner HP ScanJet 4300C

2008-12-12 Thread Hans Petter Selasky
On Friday 12 December 2008, Oliver Fromme wrote: > usb2_alloc_device: You could try to edit the code in "sys/dev/usb2/core/usb2_device.c" and loop two times on the set_config command in "usb2_alloc_device()". Or you can try to make the code ignore the return value from the failing set_config co

usb2 + scanner HP ScanJet 4300C

2008-12-12 Thread Oliver Fromme
Hi, I've got a HP ScanJet 4300C that seems to be a little bit stubborn. It doesn't work with the old USB code, so I updated to 8-current and compiled a kernel with the new usb2 drivers. Now I get: usb2_alloc_device:1590: Failure selecting configuration index 0: USB_ERR_TIMEOUT, port 2, addr 2 u