zhuravskiy / wl500g

Automatically exported from code.google.com/p/wl500g
0 stars 0 forks source link

Generic USB Hub kernel/modules support help/request uhb-cn224 #285

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Plug USB HUB uhb-cn224.
Nothing happens.
"lsusb" did not show the device

What is the expected output? What do you see instead?
Plug & Play.
Which module should be loaded?
Which kernel .config option should be included before compilation?

What version of the product are you using?
WL500W router
WL500W-1.9.2.7-rtn-r3497.trx 

Please provide any additional information below.
Usb hub:
http://www.elinux.org/images/e/ee/FE11-datasheet.pdf

Thanks in advance
Regards
Rumen

Original issue reported on code.google.com by rumench...@gmail.com on 16 Dec 2011 at 8:46

GoogleCodeExporter commented 8 years ago
Hardware ID 1a40:0101 

Original comment by rumench...@gmail.com on 16 Dec 2011 at 8:54

GoogleCodeExporter commented 8 years ago
Our firmware uses standart USB stack, provided by Linux kernel. Nothing should 
be changed in kernel .config to support hub.

Sorry, we are not kernel maintainers and hasn't such hardware for tests.

Seems to be either this hub is buggy, or it is incompatible with WL500W 
hardware.

Original comment by lly.dev on 16 Dec 2011 at 9:58

GoogleCodeExporter commented 8 years ago
Thanks for your prompt reply.
Do you have any suggestions for troubleshooting?

For example : loading of a kernel modules.
Here is my output of "lsmod" :

[rumen@WL500W root]$ lsmod
Module                  Size  Used by    Tainted: P
usbserial              32960  0
raid1                  32640  1
md_mod                 94752  3 raid1
ntfs                  125808  0
usb_storage            86560  4
sd_mod                 24416  6
scsi_mod               97024  2 usb_storage,sd_mod
usblp                  14512  0
ehci_hcd               40528  0
usbcore               143296  5 usbserial,usb_storage,usblp,ehci_hcd
xt_recent               8912  2
nf_nat_ftp              2368  0
nf_conntrack_ftp        7424  1 nf_nat_ftp
wl                   2009664  0
et                     58080  0
igs                    17552  1 wl
emf                    21280  2 wl,igs

If you haven`t I will kill the fu#$%@g device. :)

Have a nice holidays.
Regards
Rumen 

Original comment by rumench...@gmail.com on 16 Dec 2011 at 10:11

GoogleCodeExporter commented 8 years ago
It(hub) requires usbcore+ehci_hcd only. In case of you can't find device in 
/proc/bus/usb/devices and there is no error messages in syslog.log, nothing can 
be done at user level. Kernel hacking process can't be explained in a few words.

Original comment by lly.dev on 16 Dec 2011 at 10:24

GoogleCodeExporter commented 8 years ago
Breakthrough.
It exist like that:

#cat /proc/bus/usb/devices
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 4
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.22.19 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:01:03.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

BUT when I attached a USB memmory "stick" , who worked before on WL500 , 
nothing changed (syslog.log,dmesg)

attached syslog.log(usb section)
Is it possible power issue?

Regards
Rumen

Original comment by rumen.mi...@abv.bg on 16 Dec 2011 at 11:38

Attachments:

GoogleCodeExporter commented 8 years ago
No, device above is a Virtual hub(EHCI). Real device should look like:

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=480 MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0409 ProdID=005a Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

just look at Vendor/ProdID.

So, simplest way is to use another hub.

Original comment by lly.dev on 16 Dec 2011 at 3:28