Hi
I was refereed to this forum from the ubuntu forums
http://ubuntuforums.org/showthread.php? ... 690&page=4
suggesting I may be able to get some help with my problem here. I bought a Cisco AM10 USB WiFi recently to attempt to convert my NAS to wireless. The device works with Win 7, Win XP, Linux Mint 13 and Linux Mint 14 pretty much plug-n-play so I know the device is working.
I'm trying to get it to work on a Seagate GoFlex Home NAS server that has been hacked to get rid of the Seagate (yuk!) stock O/S. The problem is it has an ARM processor (marvell armv5tel) rather than an i386/i686 processor which, I suspect, would not be able to load and run a widows driver using ndiswapper. It currently has Debian squeeze installed with a 3.3.2-kirkwood-dg #1 kernel. It runs well and Debian seems to have good support for my device. This is not a work related production machine and is only used on my dinky LAN mostly for learning.
Ok, so with all that said I tried working my way through the previous forum and this one but somewhere I got lost, I think possibly, where it's talking about udev and recompiling a modified version of usb_modeswitch. I'm not what you would say 'well versed' in Linux although I wouldn't consider myself a n00b either.
I compared what I was seeing on Linux Mint to what I was seeing on the NAS. They both appear to have the same (related) kernel drivers and software installed with the exception of ndiswrapper-utils (on the NAS), which probably wouldn't work anyway. Apparently it's not in the Debian armel repository. And Linux Mint doesn't appear to be using the usb_modeswitch.conf file as it's contents is pretty much unchanged from the default install. So I'd like to get this to work on the NAS without having to use ndiswrapper.
Here is the contents of /etc/usb_modeswitch.conf from the NAS. it appears to be working in so far as seeing the devices and indicates that the switch may have succeeded but when I look at it with lsusb the new device is not there.
Code: Select all
root@GoFlexHome:/etc# cat usb_modeswitch.conf
# Configuration for the usb_modeswitch package, a mode switching tool for
# USB devices providing multiple states or modes
#
# This file is evaluated by the wrapper script "usb_modeswitch_dispatcher"
# in /usr/sbin
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
# Everything else counts as "disable"
# Disable automatic mode switching globally (e.g. to access the original
# install storage)
DisableSwitching=0
# Enable logging (results in a extensive report file in /var/log, named
# "usb_modeswitch_<interface-name>" (and probably others)
EnableLogging=1
# oms edit 2011-07-20
# Cisco Valet Connector AM10
#
# Contributor: ohmysql (quite the n00b so please help if you see errors)
# No. 1
DefaultVendor= 0x1307
DefaultProduct= 0x1169
#TargetVendor= 0x13b1
#0x1307
#TargetProduct= 0x0031
#0x0169
#MessageEndpoint=0×05
MessageContent="5553424308f024820002000000000a2a0000000fc000000100000000000000"
MessageContent2="5553424330c5e2810002000000000a2a000001117000000100000000000000"
NeedResponse=1
CheckSuccess=20
#Found these numbers here: http://linuxwireless.org/en/users/Drivers/rt2800usb/devices?highlight=%28am10%29
#DefaultVendor= 0x13b1
#DefaultProduct= 0x0031
root@GoFlexHome:/etc#
This is what I get when I run usb_modeswitch
Code: Select all
root@GoFlexHome:/etc# usb_modeswitch -c /etc/usb_modeswitch.conf
Note: target parameter missing; success check limited
Looking for default devices ...
Found devices in default mode or class [ 8469.218444] usb 1-1.4.1: usbfs: process 11467 (usb_modeswitch) did not claim interface 0 before use
(1)
Accessing device 009 on bus 001 ...
Using endpoints 0x01 (out) and 0x82 (in)
Using endpoints 0x01 (out) and 0x82 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
SCSI inquiry data (for identification)
-------------------------
Vendor String:
Model String: AM10
Revision String: 0.00
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: Cisco Systems, Inc.
Product: AM10
Serial No.: 0000000000145B
-------------------------
Setting up communication with interface 0 ...
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Reading the response to the message (CSW) ...
Response reading got error -110, can probably be ignored
Device is gone, skipping any further commands
Checking for mode switch (max. 20 times, once per second) ...
Original device is gone already, not checking
(For a better success check provide target IDs or class)
Original device vanished after switching
Mode switch most likely succeeded. Bye.
root@GoFlexHome:/etc#
This is what I get when I run lsusb after running modeswitch
Code: Select all
root@GoFlexHome:/etc# lsusb
Bus 001 Device 009: ID 1307:1169 Transcend Information, Inc. TS2GJF210 JetFlash 210 2GB
Bus 001 Device 008: ID 1307:0169 Transcend Information, Inc.
Bus 001 Device 007: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@GoFlexHome:/etc#
The device is not there.
Now to confuse things even more this is what I get when I run lsusb on the Linux Mint machine.
Code: Select all
maihoa@LinuxMint13 ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0c45:6480 Microdia Sonix 1.3 MP Laptop Integrated Webcam
Bus 002 Device 004: ID 046d:c508 Logitech, Inc. Cordless Trackball
Bus 002 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 002 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 002 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 010: ID 1307:0169 Transcend Information, Inc.
Bus 002 Device 011: ID 1307:1169 Transcend Information, Inc. TS2GJF210 JetFlash 210 2GB
Bus 002 Device 012: ID 13b1:0031 Linksys AM10 v1 802.11n [Ralink RT3072]
maihoa@LinuxMint13 ~ $
LM13 assigns it as
Bus 002 Device 012: ID 13b1:0031 Linksys AM10 v1 802.11n [Ralink RT3072]
which is what, I believe, ohmysql was seeing once he got his device to work.
This is what I get when I run modprobe on the NAS. So it looks like the correct kernel driver is installed. It's exactly the same thing I see on Linux Mint
Code: Select all
root@GoFlexHome:/etc# modprobe -l |grep rt28
kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
kernel/drivers/net/wireless/rt2x00/rt2800pci.ko
kernel/drivers/net/wireless/rt2x00/rt2800usb.ko
root@GoFlexHome:/etc# modprobe -l |grep ndis
kernel/drivers/net/wireless/rndis_wlan.ko
kernel/drivers/net/usb/rndis_host.ko
I also installed firmware-ralink and wireless-tools on the NAS.
Where do I go to from here? Any ideas or thoughts other than it can't be done would be appreciated.
Thanks
John