Tenda W326U RT3072 Invalid RF chipset 0x000e detected

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=6228

Sunry

18-04-2013 08:52:58

Tenda W326U USB wireless adapter
[code3ucntmgz]# uname -a
Linux archlinux 3.8.7-1-ARCH #1 SMP PREEMPT Sat Apr 13 12:52:41 CEST 2013 i686 GNU/Linux[/code3ucntmgz]
[code3ucntmgz]# lsusb
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 003: ID 148f:3072 Ralink Technology, Corp. RT3072 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub[/code3ucntmgz]
[code3ucntmgz]# lsusb -vs 001:003
Bus 001 Device 003: ID 148f:3072 Ralink Technology, Corp. RT3072 Wireless Adapter
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x148f Ralink Technology, Corp.
idProduct 0x3072 RT3072 Wireless Adapter
bcdDevice 1.01
iManufacturer 1 Ralink
iProduct 2 802.11 n WLAN
iSerial 3 1.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 67
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 450mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 7
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 5
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)[/code3ucntmgz]
With Arch Linux native driver
[code3ucntmgz][root@archlinux ~]# lsmod|grep rt
rt2800usb 13968 0
rt2x00usb 7598 1 rt2800usb
rt2800lib 45078 1 rt2800usb
rt2x00lib 32119 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 401175 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 368786 2 mac80211,rt2x00lib
crc_ccitt 1095 1 rt2800lib
parport_pc 26734 0
parport 26041 2 ppdev,parport_pc
agpgart 22207 3 drm,intel_agp,intel_gtt
usbcore 148267 4 rt2x00usb,ohci_hcd,rt2800usb,usbhid[/code3ucntmgz]
dmesg shows
[code3ucntmgz]
[ 8939.344299] usb 1-2: new full-speed USB device number 3 using ohci_hcd
[ 8940.237727] cfg80211: Calling CRDA to update world regulatory domain
[ 8940.879736] usb 1-2: reset full-speed USB device number 3 using ohci_hcd
[ 8941.664395] phy0 -> rt2800_init_eeprom: Error - Invalid RF chipset 0x000e detected.
[ 8941.672308] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device.
[ 8941.675135] usbcore: registered new interface driver rt2800usb[/code3ucntmgz]
With compat-drivers-2013-03-28
[code3ucntmgz]# lsmod|grep rt
rt2800usb 16016 0
rt2800lib 56482 1 rt2800usb
crc_ccitt 1095 1 rt2800lib
rt2x00usb 7982 1 rt2800usb
rt2x00lib 44262 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 425997 3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211 394562 2 mac80211,rt2x00lib
compat 981 3 cfg80211,mac80211,rt2800usb
parport_pc 26734 0
parport 26041 2 ppdev,parport_pc
agpgart 22207 3 drm,intel_agp,intel_gtt
usbcore 148267 4 rt2x00usb,ohci_hcd,rt2800usb,usbhid
[/code3ucntmgz]
dmesg shows
[code3ucntmgz][ 9524.361478] usbcore: deregistering interface driver rt2800usb
[ 9531.846597] usb 1-2: USB disconnect, device number 3
[ 9553.627966] compat-drivers backport release: compat-drivers-2013-03-28
[ 9553.627974] Backport based on linux-next.git next-20130328
[ 9553.627977] compat.git: linux-next.git
[ 9553.666753] cfg80211: Calling CRDA to update world regulatory domain
[ 9570.565842] usb 1-2: new full-speed USB device number 4 using ohci_hcd
[ 9572.004068] usb 1-2: reset full-speed USB device number 4 using ohci_hcd
[ 9572.781194] phy0 -> rt2800_validate_eeprom: EEPROM recovery - MAC: 36:db:60:4f:3e:f9
[ 9572.782304] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 3071, rf:000e, rev: 021c.
[ 9572.782312] phy0 -> rt2800_init_eeprom: Error - Invalid RF chipset 0x000e detected.
[ 9572.791224] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device.
[ 9572.808804] usbcore: registered new interface driver rt2800usb[/code3ucntmgz]

[quote3ucntmgz]Chipset detected - rt 3071, rf000e, rev 021c[/quote3ucntmgz]
Does this mean the chipset is RT3071, not RT3072?

moorray

04-05-2013 10:21:03

Tenda W326U USB wireless adapter
[quoteedd3pg46]Chipset detected - rt 3071, rf000e, rev 021c[/quoteedd3pg46]
Does this mean the chipset is RT3071, not RT3072?[/quoteedd3pg46]
I [bedd3pg46]think[/bedd3pg46] that the only difference between ***1 and ***2 chips is the RF part, MAC part is the same and 3071 is name of the MAC. So you do have 3072 ;)

The RF chip you should have in a 3072 device is probably RF3022. You can try changing id of that chip to 0x000e at rt2800.h line 66.