13b1:002f Linksys AE1000 v1 802.11n [Ralink RT3572] not usable in network manager or elsewhere

Bug #951246 reported by Ron
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

USB wireless worked at one time in Ubuntu. No longer works and does not show a module loaded or does it work. Device shows in lsusb but nowhere else.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: firefox 11.0~b7+build1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
NonfreeKernelModules: nvidia
AddonCompatCheckDisabled: False
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ron 1770 F.... pulseaudio
 /dev/snd/controlC0: ron 1770 F.... pulseaudio
 /dev/snd/pcmC0D0p: ron 1770 F...m pulseaudio
BuildID: 20120309125033
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfb120000 irq 43'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,80860037,00100202'
   Controls : 43
   Simple ctrls : 22
Card1.Amixer.info:
 Card hw:1 'NVidia'/'HDA NVidia at 0xfb080000 irq 17'
   Mixer name : 'Nvidia GPU 0d HDMI/DP'
   Components : 'HDA:10de000d,10de0101,00100100'
   Controls : 24
   Simple ctrls : 4
Channel: beta
CurrentDmesg:
 [ 136.353372] e1000e: eth0 NIC Link is Down
 [ 227.240075] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx
 [ 227.240082] e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO
Date: Fri Mar 9 19:06:03 2012
ForcedLayersAccel: False
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
IpRoute:
 default via 192.168.1.1 dev eth0 proto static
 169.254.0.0/16 dev eth0 scope link metric 1000
 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.145 metric 1
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Prefs:
 browser.startup.homepage_override.buildID - 20120309125033
 browser.places.smartBookmarksVersion - 2
 extensions.lastAppVersion - 11.0
 browser.startup.homepage_override.mstone - rv:11.0
 places.history.expiration.transient_current_max_pages - 104858
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Profiles: Profile0 (Default) - LastVersion=11.0/20120309125033 (Running)
RfKill:

RunningIncompatibleAddons: False
SourcePackage: firefox
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/22/2011
dmi.bios.vendor: Intel Corp.
dmi.bios.version: TCIBX10H.86A.0046.2011.0422.1617
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: DH55HC
dmi.board.vendor: Intel Corporation
dmi.board.version: AAE70933-505
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrTCIBX10H.86A.0046.2011.0422.1617:bd04/22/2011:svn:pn:pvr:rvnIntelCorporation:rnDH55HC:rvrAAE70933-505:cvn:ct3:cvr:

Revision history for this message
Ron (corbintechboy) wrote :
affects: ubuntu → firefox (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in firefox (Ubuntu):
status: New → Confirmed
Revision history for this message
Thomas M Steenholdt (tmus) wrote :

Not a firefox bug but a missing driver AFAICT

Revision history for this message
Micah Gersten (micahg) wrote :

Not a Firefox bug

tags: added: needs-reassignment
affects: firefox (Ubuntu) → ubuntu
Revision history for this message
Paul Gortmaker (paul-gortmaker) wrote :
Download full text (3.6 KiB)

See bug 1019561, as it adds a device ID for the AE1000.

Note however, even though that claims the bug is solved, I question whether that applies to _all_ the device IDs added (testing was only one one specific case, and not the AE1000). In addition, for example, see here:

http://wikidevi.com/wiki/Linksys_AE1000

where it says that the generic drivers won't support it w/o some undocumented manual install step. I was curious what that might be and did some research.

I experimented with the default Ubuntu 3.0 kernel [Linux version 3.0.0-27-generic (buildd@batsu) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #44-Ubuntu SMP Tue Oct 16 16:53:47 UTC 2012] which does not have 1019561 fix.

Note that even though the bug fix of 1019561 adds a bunch of USB IDs, that was not strictly necessary. As seen here:

http://forums.opensuse.org/english/get-technical-help-here/wireless/472785-ralink-rt3572-13b1-002f-linksys-ae1000-will-not-connect-3.html

you can modprobe the driver, _then_ dynamically add to its list of IDs and trigger a reprobe, via:

echo "13b1 002f" > /sys/bus/usb/drivers/rt2800usb/new_id

But with the default rt2870.bin firmware I had (which was a 4k file from an older linux-firmware ubuntu version 1.34.14) it fails with this in dmesg:

phy0 -> rt2x00lib_request_firmware: Error - Current firmware does not support detected chipset.

Checking the driver, it fails because it expects the firmware to be 8k, not 4k.

There are lots of documented instances of people building (and sometimes happily using) a driver built from Ralink's zip file, such as here:

http://linuxforums.org.uk/index.php?topic=852.170;wap2
http://ubuntuforums.org/showthread.php?t=1690402
http://askubuntu.com/questions/102956/how-do-i-install-an-asus-usb-n53-wifi-adapter
http://ubuntuforums.org/archive/index.php/t-1761697.html
http://ubuntuforums.org/archive/index.php/t-1659230.html

The above in turn reference various versions of the Ralink drop; most of which you can't find anymore. Even Ralink's site claims to have a very recent RT3572 update (only days old) but it [v2.6.13] currently just points to a zero byte file. Unfortunate, since these files such as 2010_0915_RT3572_Linux_STA_v2.4.0.2.zip and 2011_0427_RT3572_Linux_STA_v2.5.0.0.DPO.bz2 each have a version of the rt2870.bin firmware file within.

The Ralink driver is rather clunky (kernel driver reading files in user space -- think "staging" quality), so ideally using mainline and a proper firmware would be a lot better.

The one file which was there, and would download, was 20120911_RT3573_Linux_STA_v2.5.0.0_Rev1_DPO.tar.bz2 [note 3573 chip, not 3572 used in AE1000!] -- but yet that also contains a rt2870.bin (8k file). I tried placing that in /lib/modules/firmware and rmmoding/reloading the various chunks [rt2800usb rt2800lib rt2x00usb rt2x00lib] (and re-using the dynamic ID addition) on the same 3.0 kernel, and the device detected, and even lit the blue light, but iwlist scan would just return nothing.

If anyone has the patience to dig further, they could try and track down those older versions for their firmware, and cross reference them to various updates in the linux-firmware ubuntu package.
...

Read more...

Revision history for this message
penalvch (penalvch) wrote :

Ron, is this still an issue for you in the latest Precise kernel?

tags: added: bios-outdated-0048
removed: beta-channel needs-reassignment
affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Paul Gortmaker (paul-gortmaker) wrote :

Tracked down this device and plugged it into an utopic box - seems to work ; at least it can pass "iwlist wlan0 scan".

[947835.164024] usb 2-6: new high-speed USB device number 2 using ehci-pci
[947835.315382] usb 2-6: New USB device found, idVendor=13b1, idProduct=002f
[947835.315386] usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[947835.315389] usb 2-6: Product: Linksys AE1000
[947835.315392] usb 2-6: Manufacturer: Linksys
[947836.569429] cfg80211: Calling CRDA to update world regulatory domain
[947836.795691] cfg80211: World regulatory domain updated:
[947836.795696] cfg80211: DFS Master region: unset
[947836.795698] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[947836.795701] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[947836.795704] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[947836.795707] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[947836.795710] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[947836.795713] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[947836.900039] usb 2-6: reset high-speed USB device number 2 using ehci-pci
[947837.041477] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0221 detected
[947837.069726] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0009 detected
[947837.094283] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[947837.094632] usbcore: registered new interface driver rt2800usb
[948090.619280] systemd-logind[1885]: New session 293 of user paul.
[948138.754630] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[948138.798920] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[948139.074782] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
root@hackbox:~# cat /proc/version
Linux version 3.16.0-29-generic (buildd@tipua) (gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6) ) #39-Ubuntu SMP Mon Dec 15 22:27:29 UTC 2014
root@hackbox:~#

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.