OpenWrt Forum Archive

Topic: WL-500GP 7.06 Audio works update to 7.07 not

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Yesterday I installed Kamikaze 7.06 and plugged my USB Audio device (CMedia chipset) installed kmod-usb-core, kmod-soundcore, kmod-usb-audio and everything worked with in 10 minutes!

Afterwards I wanted to install the kmod-fs-xxx packages but got an depenencie error with kmod-nls-base. This is solved in Kamikaze 7.07 so today I flashed my router again. Installed the same kernel mods as listed above but no audio worked at all... The led of the USB Audio device (red) doesn't lit as it should be...

Does anyone had the same problem, am I doing something sily? Mabye it remebers something about the usb device? It works fine in my laptop (ubuntu).

dmesg: (below is the (not) interresting part)

CPU revision is: 00029006
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Linux version 2.4.34 (nbd@ds10) (gcc version 3.4.6 (OpenWrt-2.0)) #13 Fri Jun 1 15:51:35 CEST 2007
Setting the PFC to its default value
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM4704 rev 9 at 264 MHz
Using 132.000 MHz high precision timer.
Calibrating delay loop... 262.96 BogoMIPS
Memory: 30440k/32768k available (1459k kernel code, 2328k reserved, 100k data, 80k init, 0k highmem)Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: Initializing host
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Registering mini_fo version $Id$
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
b44.c:v0.93 (Mar, 2004)
PCI: Setting latency timer of device 00:01.0 to 64
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:1b:fc:6b:7e:e4
PCI: Setting latency timer of device 00:02.0 to 64
eth1: Broadcom 47xx 10/100BaseT Ethernet 40:10:18:00:00:2d
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
 Amd/Fujitsu Extended Query Table v1.3 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x11e3cf
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x000be000-0x001e0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x007f0000-0x00800000 : "nvram"
0x001e0000-0x007f0000 : "rootfs_data"
sflash: found no supported devices
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 360 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 80k freed
Algorithmics/MIPS FPU Emulator v1.5
diag: Detected 'ASUS WL-500g Premium'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
Probing device eth0: found!
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
jffs2.bbc: SIZE compression mode activated.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
eth0.0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device eth0.0 entered promiscuous mode
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
br-lan: port 1(eth0.0) entering learning state
br-lan: port 1(eth0.0) entering forwarding state
br-lan: topology change detected, propagating
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
PCI: Setting latency timer of device 01:02.0 to 64
PCI: Enabling device 01:02.0 (0004 -> 0006)
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.80.53.0
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver

ipkg list_installed:

base-files-brcm-2.4 - 8-7431 -
bridge - 1.0.6-1 -
busybox - 1.4.2-1 -
dnsmasq - 2.38-1 -
dropbear - 0.49-1 -
iptables - 1.3.5-1 -
kernel - 2.4.34-brcm-1 -
kmod-alsa - 1.0.14rc1-1 -
kmod-brcm-wl - 2.4.34+4.80.53.0-1 -
kmod-diag - 1+2.4.34-brcm-1 -
kmod-ipt-nathelper - 2.4.34-brcm-1 -
kmod-ppp - 2.4.34-brcm-1 -
kmod-pppoe - 2.4.34-brcm-1 -
kmod-soundcore - 2.4.34-brcm-1 -
kmod-switch - 2.4.34-brcm-1 -
kmod-usb-audio - 2.4.34-brcm-1 -
kmod-usb-core - 2.4.34-brcm-1 -
kmod-wlcompat - 2.4.34+brcm-4 -
libgcc - 3.4.6-8 -
mtd - 5 -
nas - 4.80.53.0-1 -
nvram - 1 -
ppp - 2.4.3-7 -
ppp-mod-pppoe - 2.4.3-7 -
uclibc - 0.9.28-8 -
wireless-tools - 28-1 -
wlc - 4.80.53.0-1 -

By the way I am more a hardwar guy... I am setting up a uC to the serial connection with a graphical display plus touch screen and a volume knob. The whole thing is going to be a set of two (or more) WL routers wireless connected to the network with a MP3 share. The idee is to be able to listen to music (different) in all rooms of the appartment and also to listen synchronized to the same song.

[update]
Afterwards I flashed the router back to 7.06 (I couln't find any thing that I did wrong) but still not any positive result.

(Last edited by casio on 30 Jul 2007, 11:13)

Maybe my problem has something related to this topic: http://forum.openwrt.org/viewtopic.php?id=8138. I did install kmod-usb2 (when using 7.07) to test my USB HDD which worked fine. Then I installed kmod-souncore and kmod-usb-audio but I couldn't get the audio to work...

It sounds silly but could it help flashing back to the original firmware from asus and then again back to 7.06?

[update]

Went back to the original asus firmware and reset everything to default. Then I flashed to OpenWrt Kamikaze 7.06 again installed the kmod-usb-core, kmod-soudcore, and the kmod-usb-audio but no succes!?

Currently I'm building the firmware with de dev buildroot enviroment and include the module code in the kernel instead of loading the modules in a later stage. Hoping this solves the problem...

(Last edited by casio on 31 Jul 2007, 14:44)

Everything works fine now! I downloaded the latest build environment files with subversion

svn co https://svn.openwrt.org/openwrt/tags/kamikaze_7.07

see https://dev.openwrt.org/ for more information. I configured the kernel with

make menuconfig

selected the correct HW, profile (router type), and the required modifications like soundcore, usb-audio, some for the USB storage and file system support.

Afterwards I saved the configuration and typed

make

to compile everything and create a firmware. Then I flashed the new created firmware and it works!

I still don't have an explanation why it worked the first time using the ipkg and insmod method and after upgrading the firmware not… Maybe some USB guru has the answers?

Now back to the graphical display with touch screen…

(Last edited by casio on 1 Aug 2007, 09:15)

The discussion might have continued from here.