Hi,
I am trying to use a SMC2862W-G USB WiFi dongle with the beagleboard. This WiFi dongle uses the ISL3887 chipset, and thus is supported by the p54 drivers included in the Linux kernel. I have read the following websites in order to learn how to port drivers over, including
- http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1_PortingGuides#WLan
- http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-android.html
I have made all the necessary changes to the code, and built the p54usb.ko kernel module to be loaded. Once the Android system is completely started up, I type at the command line: 'insmod p54usb.ko'
Here is the log output that I'm getting:
# ls
p54usb.ko
# insmod
usage: insmod <module.o>
# insmod p54usb.ko
bus: 'usb': really_probe: probing driver p54usb with device 1-2.2:1.0
usb 1-2.2: reset high speed USB device using ehci-omap and address 4
ieee80211 phy0: p54 detected a LM87 firmware
p54: rx_mtu reduced from 3240 to 2384
ieee80211 phy0: FW rev 2.13.24.0 - Softmac protocol 5.9
ieee80211 phy0: cryptographic accelerator WEP:YES, TKIP:YES, CCMP:YES
ieee80211 phy0: trying to download EEPROM!!
usb 1-2.2: USB disconnect, address 4
ieee80211 phy0: device does not respond!
going to probe_failed
p54usb: probe of 1-2.2:1.0 failed with error -16
usbcore: registered new interface driver p54usb
# usb 1-2.2: new high speed USB device using ehci-omap and address 6
usb 1-2.2: New USB device found, idVendor=1260, idProduct=ee22
usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2.2: Product: 802.11g Wireless USB Adapter
usb 1-2.2: Manufacturer: 17
usb 1-2.2: SerialNumber: 1260-EE22
bus: 'usb': really_probe: probing driver usb with device 1-2.2
bus: 'usb': really_probe: probing driver p54usb with device 1-2.2:1.0
usb 1-2.2: reset high speed USB device using ehci-omap and address 6
ieee80211 phy1: p54 detected a LM87 firmware
p54: rx_mtu reduced from 3240 to 2384
ieee80211 phy1: FW rev 2.13.24.0 - Softmac protocol 5.9
ieee80211 phy1: cryptographic accelerator WEP:YES, TKIP:YES, CCMP:YES
ieee80211 phy1: trying to download EEPROM!!
ieee80211 phy1: device does not respond!
going to probe_failed
p54usb: probe of 1-2.2:1.0 failed with error -16
usb 1-2.2: USB disconnect, address 6
usb 1-2.2: new high speed USB device using ehci-omap and address 7
usb 1-2.2: New USB device found, idVendor=1260, idProduct=ee22
usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2.2: Product: 802.11g Wireless USB Adapter
usb 1-2.2: Manufacturer: 17
usb 1-2.2: SerialNumber: 1260-EE22
bus: 'usb': really_probe: probing driver usb with device 1-2.2
bus: 'usb': really_probe: probing driver p54usb with device 1-2.2:1.0
usb 1-2.2: reset high speed USB device using ehci-omap and address 7
ieee80211 phy2: p54 detected a LM87 firmware
p54: rx_mtu reduced from 3240 to 2384
ieee80211 phy2: FW rev 2.13.24.0 - Softmac protocol 5.9
ieee80211 phy2: cryptographic accelerator WEP:YES, TKIP:YES, CCMP:YES
ieee80211 phy2: trying to download EEPROM!!
going to probe_failed
p54usb: probe of 1-2.2:1.0 failed with error -16
usb 1-2.2: USB disconnect, address 7
usb 1-2.2: new high speed USB device using ehci-omap and address 8
usb 1-2.2: New USB device found, idVendor=1260, idProduct=ee22
usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2.2: Product: 802.11g Wireless USB Adapter
usb 1-2.2: Manufacturer: 17
usb 1-2.2: SerialNumber: 1260-EE22
bus: 'usb': really_probe: probing driver usb with device 1-2.2
bus: 'usb': really_probe: probing driver p54usb with device 1-2.2:1.0
usb 1-2.2: reset high speed USB device using ehci-omap and address 8
ieee80211 phy3: p54 detected a LM87 firmware
p54: rx_mtu reduced from 3240 to 2384
ieee80211 phy3: FW rev 2.13.24.0 - Softmac protocol 5.9
ieee80211 phy3: cryptographic accelerator WEP:YES, TKIP:YES, CCMP:YES
ieee80211 phy3: trying to download EEPROM!!
ieee80211 phy3: device does not respond!
p54usb: probe of 1-2.2:1.0 failed with error -16
usb 1-2.2: USB disconnect, address 8
usb 1-2.2: new high speed USB device using ehci-omap and address 9
usb 1-2.2: New USB device found, idVendor=1260, idProduct=ee22
usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2.2: Product: 802.11g Wireless USB Adapter
usb 1-2.2: Manufacturer: 17
usb 1-2.2: SerialNumber: 1260-EE22
bus: 'usb': really_probe: probing driver usb with device 1-2.2
bus: 'usb': really_probe: probing driver p54usb with device 1-2.2:1.0
usb 1-2.2: reset high speed USB device using ehci-omap and address 9
ieee80211 phy4: p54 detected a LM87 firmware
p54: rx_mtu reduced from 3240 to 2384
ieee80211 phy4: FW rev 2.13.24.0 - Softmac protocol 5.9
ieee80211 phy4: cryptographic accelerator WEP:YES, TKIP:YES, CCMP:YES
ieee80211 phy4: trying to download EEPROM!!
ieee80211 phy4: device does not respond!
p54usb: probe of 1-2.2:1.0 failed with error -16
usb 1-2.2: USB disconnect, address 9
usb 1-2.2: new high speed USB device using ehci-omap and address 10
usb 1-2.2: New USB device found, idVendor=1260, idProduct=ee22
usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2.2: Product: 802.11g Wireless USB Adapter
usb 1-2.2: Manufacturer: 17
usb 1-2.2: SerialNumber: 1260-EE22
bus: 'usb': really_probe: probing driver usb with device 1-2.2
bus: 'usb': really_probe: probing driver p54usb with device 1-2.2:1.0
usb 1-2.2: reset high speed USB device using ehci-omap and address 10
ieee80211 phy5: p54 detected a LM87 firmware
p54: rx_mtu reduced from 3240 to 2384
ieee80211 phy5: FW rev 2.13.24.0 - Softmac protocol 5.9
ieee80211 phy5: cryptographic accelerator WEP:YES, TKIP:YES, CCMP:YES
ieee80211 phy5: trying to download EEPROM!!
ieee80211 phy5: device does not respond!
going to probe_failed
p54usb: probe of 1-2.2:1.0 failed with error -16
usb 1-2.2: USB disconnect, address 10
I'm failing to understand what is going wrong here. It seems like the ieee80211 is unable to connect to the device because the usb bus keeps resetting the device. why would this happen? I'm at a loss as to how to proceed in order to get this wifi module working with beagleboard. I have the same problem when I try to turn on wifi from the gui.
I have verified that the wifi dongle is functional by plugging it into my ubuntu machine, it works fine and in fact uses the same firmware and driver that I built with the Android Kernel.
Thanks in advance,
Kiran