I retrieved and compiled the latest 'kamikaze' source from OpenWRT and installed 2.6 on the Asus. The RFID phidget works, but it's not quite right.
First, I tried using libphidget as a shared library, like I had done with 2.4. For some reason, that didn't work at all. The test application just hangs immediately. I fiddled with it for a while without success.
So, I built the test app using libphidget as a static library. Finally, that worked for reading tags -- almost. It generates the OnTag event, but not the OnTagLost event. I suppose I can use it this way, but it's disconcerting.
Here's the phidgets log from scanning three tags:
Code:
Sat Jan 1 02:53:40 2000,1024,"clog.c(46)",INFO,"Enabling logging"
Sat Jan 1 02:53:40 2000,1026,"cusblinux.c(346)",INFO,"New device in CUSBBuildList: 002*Ü·Ì*H"
Sat Jan 1 02:53:40 2000,1026,"cusblinux.c(437)",WARN,"usb_get_driver_np failed with error code: -61 "No data available""
Sat Jan 1 02:53:40 2000,1026,"cusblinux.c(249)",ERR,"usb_get_string_simple failed in CUSBGetDeviceCapabilities with error code: -32 "Broken pipe""
Sat Jan 1 02:53:40 2000,1026,"cusblinux.c(481)",ERR,"CUSBGetDeviceCapabilities returned nonzero code: 3"
Sat Jan 1 02:53:40 2000,2051,"cthread.c(281)",INFO,"WriteThread running"
Sat Jan 1 02:53:40 2000,2051,"cthread.c(307)",INFO,"WriteThread exiting normally (Not Needed for this device)"
Sat Jan 1 02:53:40 2000,3076,"cphidgetrfid.c(309)",INFO,"tagTimerThread running"
Sat Jan 1 02:53:40 2000,3076,"cphidgetrfid.c(355)",INFO,"tagTimerThread exiting normally"
Sat Jan 1 02:53:40 2000,4101,"cthread.c(184)",INFO,"ReadThread running"
Sat Jan 1 02:53:41 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:41 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:41 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:41 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:42 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:42 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:42 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:42 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:43 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:43 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:43 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:43 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:45 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:45 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:45 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:45 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:46 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:46 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:46 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:46 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:47 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:47 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:48 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:48 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:48 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:48 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:49 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:49 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:50 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:50 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:50 2000,4101,"cusblinux.c(179)",VERBOSE,"usb_interrupt_read timeout: -145 "Connection timed out""
Sat Jan 1 02:53:50 2000,4101,"cthread.c(260)",VERBOSE,"CUSBReadPacket expected time out"
Sat Jan 1 02:53:50 2000,4101,"cthread.c(270)",INFO,"ReadThread exiting normally (Phidget detached)"
Installled packages:
Code:
root@OpenWrt:~# ipkg list_installed
base-files-brcm47xx - 12-r10284 -
bridge - 1.0.6-1 -
busybox - 1.8.2-1 -
dnsmasq - 2.40-1 -
dropbear - 0.50-3 -
gdbserver - 6.3-1 -
hotplug2 - 0.9+r102-2 -
iptables - 1.3.8-2 -
kernel - 2.6.23.1-brcm47xx-1 -
kmod-b43 - 2.6.23.1-brcm47xx-1 -
kmod-crypto-aes - 2.6.23.1-brcm47xx-1 -
kmod-crypto-arc4 - 2.6.23.1-brcm47xx-1 -
kmod-crypto-core - 2.6.23.1-brcm47xx-1 -
kmod-diag - 2.6.23.1-brcm47xx-2 -
kmod-input-core - 2.6.23.1-brcm47xx-1 -
kmod-input-evdev - 2.6.23.1-brcm47xx-1 -
kmod-ipt-nathelper - 2.6.23.1-brcm47xx-1 -
kmod-mac80211 - 2.6.23.1-brcm47xx-1 -
kmod-ppp - 2.6.23.1-brcm47xx-1 -
kmod-pppoe - 2.6.23.1-brcm47xx-1 -
kmod-switch - 2.6.23.1-brcm47xx-1 -
kmod-usb-core - 2.6.23.1-brcm47xx-1 -
kmod-usb-ohci - 2.6.23.1-brcm47xx-1 -
kmod-usb-uhci - 2.6.23.1-brcm47xx-1 -
kmod-usb2 - 2.6.23.1-brcm47xx-1 -
libgcc - 4.1.2-12 -
libphidget - 2.1.3-1 -
libpthread - 0.9.29-12 -
mtd - 6 -
ppp - 2.4.3-9 -
ppp-mod-pppoe - 2.4.3-9 -
uclibc - 0.9.29-12 -
udevtrigger - 106-1 -
wireless-tools - 29-2 -
Done.
root@OpenWrt:~#
I see posts in the OpenWRT forum that the Broadcom wireless is almost working with 2.6. I haven't tried fooling with that yet.