Problems at audio device

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
bbf
Posts: 11
Joined: Thu Nov 11, 2010 8:42 am

Problems at audio device

Post by bbf »

Hi!
I am hacking a WL-500W and got stuck at the audio hardware. I have KAMIKAZE (bleeding edge, r12857) installed, drivers are instaled:
"
root@OpenWrt:~# opkg install kmod-usb-audio kmod-usb-ohci
Package kmod-usb-audio (2.4.35.4-brcm-2.4-1) installed in root is up to date.
Package kmod-usb-ohci (2.4.35.4-brcm-2.4-1) installed in root is up to date.
root@OpenWrt:~#
"

i got this boot message:

"
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Enabling device 01:02.0 (0004 -> 0006)
PCI/DMA
wl0: wlc_attach: failed with err 13
wl%d: 4.150.10.5 driver failed with code 13
Memory leak of bytes -2323
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 344 bytes per conntrack
SB USB 1.1 init
usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
No Broadcom devices found.
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
"
than it stops. i can go to console, start mpd and mpc, telnet to localhost, but there's no recognition from usb adapters:
"
root@OpenWrt:/# telnet localhost:6600
OK MPD 0.13.0
status
volume: 100
repeat: 0
random: 0
playlist: 2
playlistlength: 1
xfade: 0
state: stop
song: 0
songid: 0
error: problems opening audio device
"
I have tested 20 USB adapters:
http://cgi.ebay.co.uk/ws/eBayISAPI.dll? ... 0586514623
and
http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... 0613337325 ,
(both have CM119) in any USB port, same reaction. Both adapters works ok on XP/7 machine, on original ASUS firmware i could mount and cd some random flash disk stuck into USB port, so the hardware should work.
I see a litle differnece in PCI USB Hub device:
usb-ohci.c: usb-00:03.0, PCI device 14e4:4715 (instead of 14e4:471a )
is it relevant?

modules loaded:
"
root@OpenWrt:/# lsmod
Module Size Used by Tainted: P
audio 47112 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 2
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]
ipt_REJECT 3932 2
ipt_TCPMSS 2316 1
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 0 [audio]
ppp_async 8044 0 (unused)
ppp_generic 22380 0 [ppp_async]
slhc 6064 0 [ppp_generic]
usbcore 71296 1 [audio usb-ohci]
switch-robo 5084 0 (unused)
switch-core 5104 0 [switch-robo]
diag 48752 0 (unused)
"





ok, forget all my bolocks, i had to install uhci and instant recognition of adapter!!


"
root@OpenWrt:/# opkg install kmod-usb-uhci

"

and a reboot latter a working example of 500W radio!
User avatar
mightyohm
Site Admin
Posts: 1064
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Problems at audio device

Post by mightyohm »

Congratulations - Interesting to know that uhci works on WL-500W - I am not familiar with this router. I have never been able to get uhci working stable on the WL-520gU.
bbf
Posts: 11
Joined: Thu Nov 11, 2010 8:42 am

Re: Problems at audio device

Post by bbf »

HI again!
I flashed an WL500G Premium, with uhci also. it works! in both, wireless and utp, just needs a reset to switch!
cheers!
User avatar
mightyohm
Site Admin
Posts: 1064
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Problems at audio device

Post by mightyohm »

Cool! Thanks for sharing!
Post Reply