BackupGGCode / wl500g

ASUS WL-5xx RT-N1x Oleg's based custom firmware
0 stars 0 forks source link

WL-500gp USB hub problem with scaner #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. connect scaner on USB hub
2. try to scan with sane interface
3.

What is the expected output? What do you see instead?
scan the page without error.

folowing error occured:
usb.c: USB disconnect on device 01:03.2-2.2 address 5
hub.c: new USB device 01:03.2-2.2, assigned address 6
scanner.c: USB scanner device (0x04a9/0x2213) now attached to scanner0
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 2 ret -32
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 2 ret -32
scanner.c: ioctl_scanner: control_msg returned -71

What version of the product are you using?
WL500gp-1.9.2.7-d-r2174.trx with associated module

Please provide any additional information below.
Tell me i will provide

Original issue reported on code.google.com by blairfa...@hotmail.com on 11 Nov 2010 at 1:47

GoogleCodeExporter commented 9 years ago
Either it is hardware error (check that power is enough - router can't provide 
same power as PC; check cables), or it is buggy device that can't respond to 
GET_DESCRIPTOR (rq 6) request properly.

P.S. Kernels 2.6 has workaround for broken GET_DESCRIPTOR answer (see 
usb_get_descriptor), but I'm not sure that it will be enough and we will have 
time to backport it.

Original comment by lly.dev on 11 Nov 2010 at 3:10

GoogleCodeExporter commented 9 years ago
Device work properly when it is connected directly to WL500gp. But when 
connected to powered USB hub it does not work. I have tried another usb hub but 
no success.

Original comment by blairfa...@hotmail.com on 15 Nov 2010 at 3:24

GoogleCodeExporter commented 9 years ago
First of all, you didn't write that it works when connected directly.

Second, USB code buggy even in 2.6 upstream and it is nearly impossible to fix 
such bugs without reproduce them. An old HP ScanJet 2400 works fine via STLabs 
USB 2.0 hub. So, it is compatibility issue...

Since you own WL500gp, you can try our beta builds on 2.6.22 kernel (rtn 
branch) - ftp://core.dumped.ru/rt-n/2340/wl/ for example.

Original comment by lly.dev on 15 Nov 2010 at 5:18

GoogleCodeExporter commented 9 years ago
sory for the delay,
are they some compatibility issue with application already instaled?
probably some application need to be rebuild with newer kernel header?
Is it safe to commit flashfs?

thanks for your advise

Original comment by blairfa...@hotmail.com on 8 Dec 2010 at 8:29

GoogleCodeExporter commented 9 years ago
Of course, new kernel adds some issues. For example, path to disk devices are 
changed (i.e. /etc/fstab affected). Extra kernel modules(if used) also must be 
replaced.
Only kernel specific applications should be rebuild (such as webcam soft, 
etc.). flashfs system is not modified.

Original comment by lly.dev on 21 Dec 2010 at 6:02

GoogleCodeExporter commented 9 years ago
Try another USB hub and now it works (manufacturer: HAMA USB 2)

Regards

Blairfancy

Original comment by blairfa...@hotmail.com on 8 Jan 2011 at 10:33

GoogleCodeExporter commented 9 years ago

Original comment by lly.dev on 9 Jan 2011 at 10:12