New Build -

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
Titus A Duxass
Posts: 7
Joined: Tue Dec 06, 2011 10:26 pm

New Build -

Post by Titus A Duxass »

Hi All,
I am trying this project for the first time and have followed the first five steps.
I have not "hacked" the router as I do not have the FTDI cable.

I use tftp to transfer the trx file over to the router and give the router 5 minutes before disconnecting the power, then reconnect and wait a further 5 mins.

I can then configure it as per the how-to but I have the following issues:

No Wireless - the air light comes on and I can get it to work as long I first connect it via a network cable.
This is not a major issue as I intend to use a network cable and not wireless.

When it comes to installing the hmod-usb files I get this problem when trying to update the package source.
I edit the opkg.conf file to this:
opkg.conf
src/gz snapshots http://mightyohm.com/files/kamikaze-2.4 ... es/mipsel/
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
~

Then do an update

root@OpenWrt:~# opkg update
Downloading http://mightyohm.com/files/kamikaze-2.4 ... ackages.gz.
Inflating http://mightyohm.com/files/kamikaze-2.4 ... ackages.gz.
Updated list of available packages in /var/opkg-lists/snapshots.
Collected errors:
* pkg_hash_add_from_file: Package base-files-brcm-2.4 version 13-r12857 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package bridge version 1.0.6-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package busybox version 1.11.2-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package chat version 2.4.3-10 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package dbus-utils version 1.2.3-2 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package dbus version 1.2.3-2 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package dnsmasq version 2.45-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package dropbear version 0.51-2 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package empcd version 2008.02.16-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package firewall version 1-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package gsm-utils version 1.0.10-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package hotplug2 version 0.9+r102-2 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package iptables-mod-conntrack version 1.3.8-3 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package iptables-mod-nat version 1.3.8-3 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package iptables version 1.3.8-3 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kernel version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-brcm-wl version 2.4.35.4+4.150.10.5.2-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-diag version 2.4.35.4-brcm-2.4-4 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-fs-ext3 version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-fs-vfat version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-ipt-conntrack version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-ipt-core version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-ipt-nat version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-ipt-nathelper version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-ppp version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-pppoe version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-scsi-core version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-sound-core version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-switch version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-usb-audio version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-usb-core version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-usb-ohci version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-usb-serial-ftdi version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-usb-serial-pl2303 version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-usb-serial version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-usb-storage version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-usb-uhci version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-usb2 version 2.4.35.4-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package kmod-wlcompat version 2.4.35.4+4.150.10.5.2-brcm-2.4-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libblkid version 1.40.11-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libdb version 4.2.52-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libexpat version 1.95.8-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libflac version 1.1.2-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libgcc version 3.4.6-13 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libgdbm version 1.8.3-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libgsm version 1.0.10-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libiconv version 1.9.1-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libid3tag version 0.15.1b-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libintl version 0.16.1-2 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libmad version 0.15.1b-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libncurses version 5.6-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libogg version 1.1.3-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package liboil version 0.3.15-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libopenssl version 0.9.8h-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libpthread version 0.9.29-13 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libsamplerate version 0.1.3-2 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libsndfile version 1.0.17-2 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libuci version 0.6.2-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libusb version 0.1.12-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libuuid version 1.40.11-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libvorbisidec version 1.0.2+svn14261-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package libxml2 version 2.7.2-2 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package madplay version 0.15.2b-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package microperl version 5.10.0-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package minicom version 2.3-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package mount-utils version 2.13.0.1-2 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package mpc version 0.12.1-2 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package mpd version 0.13.2-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package mtd version 8 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package nas version 4.150.10.5.2-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package ntpclient version 2007_365-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package nvram version 1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package opkg version 4564-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package ppp-mod-pppoe version 2.4.3-10 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package ppp version 2.4.3-10 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package samba-client version 2.0.10-4 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package samba-common version 2.0.10-4 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package samba-server version 2.0.10-4 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package setserial version 2.17-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package shell-fm version 0.5-2 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package streamripper version 1.62.0-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package uci version 0.6.2-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package uclibc version 0.9.29-13 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package usbutils version 0.73-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package uuidgen version 1.40.11-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package wireless-tools version 29-2 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package wl version 4.150.10.5.2-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package wlc version 4.150.10.5.2-1 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package zlib version 1.2.3-5 has no valid architecture, ignoring.

I can ping mightyohm.com
root@OpenWrt:~# ping mightyohm.com
PING mightyohm.com (108.59.9.134): 56 data bytes
64 bytes from 108.59.9.134: seq=0 ttl=53 time=250.773 ms
64 bytes from 108.59.9.134: seq=1 ttl=53 time=394.100 ms
64 bytes from 108.59.9.134: seq=2 ttl=53 time=485.486 ms
64 bytes from 108.59.9.134: seq=3 ttl=53 time=238.703 ms
64 bytes from 108.59.9.134: seq=4 ttl=53 time=498.899 ms


My dmesg gives me:

root@OpenWrt:~# dmesg
CPU revision is: 00029029
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Linux version 2.4.37.9 (openwrt@wrt1.marcant.net) (gcc version 3.4.6 (OpenWrt-2.0)) #42 Tue Apr 6 15:59:04 CEST 2010
Setting the PFC to its default value
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 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: BCM5354 rev 3 at 240 MHz
Using 120.000 MHz high precision timer.
Calibrating delay loop... 237.56 BogoMIPS
Memory: 14240k/16384k available (1447k kernel code, 2144k reserved, 100k data, 84k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: no core
PCI: Fixing up bus 0
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 bc:ae:c5:a7:59:ab
Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xc00000 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 0x1400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
bootloader size: 131072
Physically mapped flash: Filesystem type: squashfs, size=0x1a68f2
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00020000 : "cfe"
0x00020000-0x003f0000 : "linux"
0x0009c000-0x00250000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00250000-0x003f0000 : "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 1024 bind 2048)
Linux IP multicast router 0.06 plus PIM-SM
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: 84k freed
diag: Detected 'ASUS WL-520gU'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
roboswitch: Probing device eth0: found a 5325! It's a 5350.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
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: add 01:00:5e:00:00:01 mcast address to master interface
eth0.0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device eth0.0 entered promiscuous mode
br-lan: port 1(eth0.0) entering learning state
br-lan: port 1(eth0.0) entering forwarding state
br-lan: topology change detected, propagating
eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
PCI: Setting latency timer of device 00:05.0 to 64
PCI/DMA
wl0: wlc_attach: chiprev 3 coreunit 0 corerev 13 cccap 0x104007ea maccap 0x30482205 band 2.4G, phy_type 5 phy_rev 0 ana_rev 6
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.5
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) - 352 bytes per conntrack

Cheers for any pointers
Titus Andronicus d'Uxass
Leipzig

jeroen94704
Posts: 109
Joined: Sat Feb 13, 2010 4:27 am
Location: Eindhoven, the Netherlands

Re: New Build -

Post by jeroen94704 »

Which .trx file did you use? My first thought was that you used a trx from the OpenWrt (which is configured by default as wifi access point, not as a client), and did not use the bcrm-2.4 image.

Jeroen

Titus A Duxass
Posts: 7
Joined: Tue Dec 06, 2011 10:26 pm

Re: New Build -

Post by Titus A Duxass »

Thanks for the quick response.

I used the trx file linked in part four.
openwrt-brcm-2.4-squashfs.trx.

jeroen94704
Posts: 109
Joined: Sat Feb 13, 2010 4:27 am
Location: Eindhoven, the Netherlands

Re: New Build -

Post by jeroen94704 »

Weird. Did you try reflashing the router? What does the command "cat /etc/openwrt_release" give?

As for the serial cable, I've never used one, and always use the method you describe (simply flash "in the blind", as it were, and waiting 5 minutes).

Jeroen

Titus A Duxass
Posts: 7
Joined: Tue Dec 06, 2011 10:26 pm

Re: New Build -

Post by Titus A Duxass »

I've been thinking about this throughout dinner.
I may not have downloaded this from part 4 (it was a many sleeps ago), so I will start afresh tomorrow.

Cheers for raising the question, I will keep you all informed as I go along.

Murky Buckets
Titus.

Titus A Duxass
Posts: 7
Joined: Tue Dec 06, 2011 10:26 pm

Re: New Build -

Post by Titus A Duxass »

Okay started afresh.
But still the same result.

No wireless contact.
I copied the config files from the sticky.
Renamed my SSID to PSTEP.

I just get "Destination Port Unreachable" when trying to go wireless.
It's fine hard wired and I can install the USB files.

Titus A Duxass
Posts: 7
Joined: Tue Dec 06, 2011 10:26 pm

Re: New Build -

Post by Titus A Duxass »

Okay I surrender!
Sometimes the wireless works fine, then you switch off and the wireless doesn't work anymore nor will it restart.

Anyway proceeding along without wireless.

I installed mpd and mpc, did the file tweaking.
But have no audio - I suspect that it's my USB audio device as I get an OSS error:

root@OpenWrt:~/.mpd# cat mpd.error
Jan 01 00:24 : unable to open oss mixer "/dev/mixer"
Jan 01 00:24 : using software volume
Jan 01 00:26 : Error opening OSS device "/dev/sound/dsp": No such file or directory
Jan 01 00:26 : problems opening audio device while playing "http://relay3.slayradio.org:8000/"

This is my latest dmesg:
root@OpenWrt:~/.mpd# dmesg
CPU revision is: 00029029
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Linux version 2.4.35.4 (jkeyzer@wavelen) (gcc version 3.4.6 (OpenWrt-2.0)) #3 Mon Dec 1 17:35:57 PST 2008
Setting the PFC to its default value
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 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: BCM5354 rev 3 at 240 MHz
Using 120.000 MHz high precision timer.
Calibrating delay loop... 237.56 BogoMIPS
Memory: 14272k/16384k available (1419k kernel code, 2112k reserved, 96k data, 84k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: no core
PCI: Fixing up bus 0
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 bc:ae:c5:a7:59:ab
Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xc00000 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 0x1400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
bootloader size: 131072
Physically mapped flash: Filesystem type: squashfs, size=0x13e028
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00020000 : "cfe"
0x00020000-0x003f0000 : "linux"
0x0009a800-0x001e0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x001e0000-0x003f0000 : "rootfs_data"
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 1024 bind 2048)
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: 84k freed
Algorithmics/MIPS FPU Emulator v1.5
diag: Detected 'ASUS WL-520gU'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
roboswitch: 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.
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
device eth0.0 entered promiscuous mode
eth0.0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
br-lan: port 1(eth0.0) entering learning state
br-lan: port 1(eth0.0) entering forwarding state
br-lan: topology change detected, propagating
eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
PCI: Setting latency timer of device 00:05.0 to 64
PCI/DMA
wl0: wlc_attach: chiprev 3 coreunit 0 corerev 13 cccap 0x104007ea maccap 0x30482205 band 2.4G, phy_type 5 phy_rev 0 ana_rev 6
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.5
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 USB20H init
SB COREREV: 2
SB USB20H resetting
USB20H fcr: 0x64
USB20H shim cr: 0x8f7
PCI: Setting latency timer of device 00:03.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:471a
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
hub.c: new USB device 00:03.0-1, assigned address 2
usbaudio: device 2 audiocontrol interface 0 has 1 input and 1 output AudioStreaming interfaces
usbaudio: device 2 interface 2 altsetting 1 channels 1 framesize 2 configured
usbaudio: valid input sample rate 48000
usbaudio: valid input sample rate 44100
usbaudio: device 2 interface 2 altsetting 1: format 0x00000010 sratelo 44100 sratehi 48000 attributes 0x01
usbaudio: device 2 interface 1 altsetting 0 does not have an endpoint
usbaudio: device 2 interface 1 altsetting 1 channels 2 framesize 2 configured
usbaudio: valid output sample rate 48000
usbaudio: valid output sample rate 44100
usbaudio: device 2 interface 1 altsetting 1: format 0x01000010 sratelo 44100 sratehi 48000 attributes 0x01
usbaudio: registered dsp 14,3
usbaudio: constructing mixer for Terminal 6 type 0x0301
usbaudio: warning: found 1 of 2 logical channels.
usbaudio: assuming that a stereo channel connected directly to a mixer is missing in search (got Labtec headset?). Should be fine.
usbaudio: registered mixer 14,0
usbaudio: constructing mixer for Terminal 7 type 0x0101
usbaudio: registered mixer 14,16
usb_audio_parsecontrol: usb_audio_state at 807abb60
eth0.0: received packet with own address as source address
eth0.0: received packet with own address as source address

Can someone confirm my suspicions about the USB device.
Thanks
Titus

jeroen94704
Posts: 109
Joined: Sat Feb 13, 2010 4:27 am
Location: Eindhoven, the Netherlands

Re: New Build -

Post by jeroen94704 »

From the dmesg output it looks like your sound device is recognized properly, but you are missing a sound related package (kmod-sound-core). Are you sure downloaded the image from MightyOhm and followed his tutorial accurately? He mentions something about manually installing kmod-sound-core if it does not get installed automatically.

Sorry to be pedantic about this, but it's important :)

Jeroen

Titus A Duxass
Posts: 7
Joined: Tue Dec 06, 2011 10:26 pm

Re: New Build -

Post by Titus A Duxass »

No need to apologise, I had over looked that part.
Ran through the setup again and now it all works.

Just need to find an easy mpd client and some speakers.

Cheers
Titus

Titus A Duxass
Posts: 7
Joined: Tue Dec 06, 2011 10:26 pm

Re: New Build -

Post by Titus A Duxass »

Right got it working nicely.
Thanks for the help along the way, especially to Jeroen.

The only problem I have now is getting BBC Radio 2 or 4 to work, the BBC appear to have a different way of streaming and I cannot get them to play.

Never mind it was an interesting distraction over the Christmas holiday period and I learnt a bit more linux.
Plus I can always reset the router and use it elsewhere.

Cheers
Titus.

Post Reply