Page 3 of 4

Re: usb hub

Posted: Tue Mar 02, 2010 10:55 am
by emoon
Hi, I was wondering if you had made any progress? Based on the last bit of the 'hub dmesg', it looks like the audio device is getting disconnected or unregistered, maybe :
<snip>
usb.c: USB disconnect on device 00:03.1-1 address 2
usb.c: USB disconnect on device 00:03.1-1.3 address 3
usbaudio: unregister dsp 14,3
usbaudio: unregister mixer 14,0
usbaudio: unregister mixer 14,16
<snip>

Re: usb hub

Posted: Tue Mar 02, 2010 6:17 pm
by jfs10
No, I have made no progress. The below is a result of hot swapping the device:
usb.c: USB disconnect on device 00:03.1-1 address 2
usb.c: USB disconnect on device 00:03.1-1.3 address 3
usbaudio: unregister dsp 14,3
usbaudio: unregister mixer 14,0
usbaudio: unregister mixer 14,16

Re: usb hub

Posted: Wed Mar 03, 2010 8:26 am
by emoon
Ah, ok, that makes sense (the messages from the hotplug of the device).

Any idea of the chip(or chipset, but most likely just one chip) in the hubs you've tried?

Re: usb hub

Posted: Tue Jun 01, 2010 8:49 am
by jfs10
Well, the router I was working with I got as an open box unit. Thinking perhaps there might be an issue with the router, I purchased an un-opened unit. Sadly, I have the same issue. The device is being recognized by the OS and mpc will not error out, but I get no sound. I did flash the new router with the same file that is on my other unit. Perhaps I should try use another build. Does anyone think the build could be the issue?

Thanks

Re: usb hub

Posted: Wed Jun 02, 2010 10:35 am
by mightyohm
It might be worth a try. I'm still puzzled by this. Unfortunately I don't have a spare WL-520gU to play with. I do have a WL-500gP v2 in the garage, maybe I can spend some time playing with that to see if I can reproduce your problem.

Re: usb hub

Posted: Wed Jun 09, 2010 2:30 am
by jfs10
I still have not loaded up a different image, but I figured I should probably show the results of a lsmod. It might assist. Perhaps I have not loaded a module that needs to be loaded. Below is the lsmod output with the audio device plugged into the usb hub and mpc playing a tune.

Module Size Used by Tainted: P
usb-storage 69632 0 (unused)
audio 47112 1
wlcompat 9504 0 (unused)
usb-ohci 19252 0 (unused)
ip_conntrack_tftp 1724 0 (unused)
ip_nat_irc 2360 0 (unused)
ip_conntrack_irc 3140 1
ip_nat_ftp 2984 0 (unused)
ip_conntrack_ftp 4284 1
ipt_MASQUERADE 1316 0 (unused)
iptable_nat 21000 3 [ip_nat_irc ip_nat_ftp ipt_MASQUERADE]
ipt_state 408 6
ip_conntrack 22576 3 [ip_conntrack_tftp ip_nat_irc ip_conntrack_irc ip_nat_ftp ip_conntrack_ftp ipt_MASQUERADE iptable_nat ipt_state]
ehci-hcd 20556 0 (unused)
sd_mod 12500 0 (unused)
ipt_REJECT 3932 2
ipt_TCPMSS 2316 0 (unused)
ipt_LOG 3804 0 (unused)
ipt_multiport 748 0 (unused)
ipt_mac 556 0 (unused)
ipt_limit 892 1
iptable_mangle 2156 0 (unused)
iptable_filter 1676 1
ip_tables 16960 13 [ipt_MASQUERADE iptable_nat ipt_state ipt_REJECT ipt_TCPMSS ipt_LOG ipt_multiport ipt_mac ipt_limit iptable_mangle iptable_filter]
soundcore 4048 3 [audio]
ppp_async 8044 0 (unused)
ppp_generic 22380 0 [ppp_async]
slhc 6064 0 [ppp_generic]
wl 666560 0 (unused)
usbcore 71296 1 [usb-storage audio usb-ohci ehci-hcd]
scsi_mod 66048 1 [usb-storage sd_mod]
switch-robo 5084 0 (unused)
switch-core 5104 0 [switch-robo]
diag 48752 0 (unused)

Re: usb hub

Posted: Sat Jun 26, 2010 7:14 pm
by jfs10
Well, problem solved. Sort of solved. Rather than using my build, I used the one from MightyOhm. It worked. USB hub work not sure what was causing it not to work in my build.

Re: usb hub

Posted: Mon Jun 28, 2010 5:56 pm
by jfs10
I broke it again trying to get a jump drive to work. With the usb2 module loaded, the usb hub stops working. I moved 50-usb2 out of modules.d and rebooted. After doing this it worked fine.

Re: usb hub

Posted: Tue Jun 29, 2010 9:35 am
by mightyohm
That's funny, all this time I assumed you were using the "stock" firmware and packages from the tutorial.

High speed USB support is known to have issues on the WL-520gU.

I have been able to get USB-audio and USB-storage working together, but I definitely was not using HS USB. I probably only had the usb-ohci installed, but I can't remember now. I might have some notes somewhere about what packages I was using.

Sorry you had so many issues with this.

Re: usb hub

Posted: Wed Jun 30, 2010 8:45 am
by jfs10
It is funny. Now that I have two set ups, I feel more comfortable about playing with things.

I have not had any success with the USB jump drive. I tried a 4GB drive (ext2), and a 1gb drive (fat32). I don't see e2fsprogs or fdisk using the opkg source in the article. I wanted to try to configure the jump drive on router thinking that might give me the best odds of success. You must have configured your drive on another machine. Is this correct?