Okay now I dont mean to be a pain. But… the device is not connecting anymore. This Ubuntu robustness over Windows is proving to be a myth and is pissing me off to be honest.
Any idea how to make it work again?
I used the device on my windows laptop and it worked. On Ubuntu PC the light doesn’t come on.
Furthermore doing a lsusb shows it is indeed plugged in.
They force the dkms version of the drivers to recompile for the current kernel … I’m guessing you received a kernel update and the driver didn’t automatically get recompiled (as it should).
Write those 2 commands down in case it happens again when you get your next kernel update … theoretically it should be automatic, that’s the whole point in dkms, but maybe the dkms function of the drivers was incorrectly written (not really a Linux problem, more that the manufacturers don’t supply Linux drivers so it was left to the community to step in).
Mark, you have been very helpful getting other people’s Ralink devices to work.
I have an Alfa AWUS052NH that is a
ID 148f:3572 Ralink Technology, Corp. RT3572 Wireless Adapter
The rt2800usb driver is not linking it -
[694176.601449] usb 3-6: New USB device found, idVendor=148f, idProduct=3572
[694176.601451] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[694176.601452] usb 3-6: Product: 802.11 n WLAN
[694176.601453] usb 3-6: Manufacturer: Ralink
[694176.601454] usb 3-6: SerialNumber: 1.0
[694176.721278] usb 3-6: reset high-speed USB device number 24 using xhci_hcd
[694176.870927] ieee80211 phy41: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[694176.881925] ieee80211 phy41: rt2x00_set_rf: Info - RF chipset 0009 detected
[694176.882321] ieee80211 phy41: Selected rate control algorithm ‘minstrel_ht’
[694176.898852] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[694176.898888] ieee80211 phy41: rt2x00lib_request_firmware: Info - Loading firmware file ‘rt2870.bin’
[694176.898938] rt2800usb 3-6:1.0: firmware: direct-loading firmware rt2870.bin
[694176.898941] ieee80211 phy41: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
[694177.051109] usb 3-6: USB disconnect, device number 24
[694177.105158] ieee80211 phy41: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -19
I found and installed MediaTek’s DPO_RT5572_LinuxSTA_2.6.1.3_20121022 version of the drivers which should support this device, but get different errors with it.
I was hoping to grab and use the 2010 drivers you have referenced in the feed, but the drop box location is no longer available and I can’t locate the file elsewhere.
Can you freshen up the link so I can grab and try that driver? Or maybe you have some insight for this device that might get me further?
I appreciate the help you have provided for the last 5+ years on this message feed! Thanks!
Here’s the premodified version from my dropbox (mentioned in the link you provided), but I’m unsure it’ll compile against the 2.6.32 kernel, it was modified for the 2.6.35 kernel
If that won’t compile (and it probably won’t), let me know and we’ll see if we can find the unmodified version that may compile against 2.6.32 … though it might just be easier to update to the 2.6.35 kernel.
Thank you for so fast reply.
Unfortunately, I can’t compile this driver (
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c: In function ‘RTMPAllocUsbBulkBufStruct’:
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:52: error: implicit declaration of function ‘usb_alloc_coherent’
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:52: warning: assignment makes pointer from integer without a cast
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c: In function ‘RTMPFreeUsbBulkBufStruct’:
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:78: error: implicit declaration of function ‘usb_free_coherent’
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c: In function ‘RTMPFreeTxRxRingMemory’:
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:234: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:62: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:241: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:62: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:278: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:62: note: expected ‘UCHAR **’ but argument is of type ‘struct __HTTX_BUFFER **’
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c: In function ‘NICInitTransmit’:
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:507: warning: passing argument 3 of ‘RTMPFreeUsbBulkBufStruct’ from incompatible pointer type
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:62: note: expected ‘UCHAR **’ but argument is of type ‘struct __TX_BUFFER **’
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c: In function ‘RTMPAllocTxRxRingMemory’:
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:566: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:34: note: expected ‘VOID **’ but argument is of type ‘struct __HTTX_BUFFER **’
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:596: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:34: note: expected ‘VOID **’ but argument is of type ‘struct __TX_BUFFER **’
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:610: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:34: note: expected ‘VOID **’ but argument is of type ‘struct __TX_BUFFER **’
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:628: warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible pointer type
/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.c:34: note: expected ‘VOID **’ but argument is of type ‘UCHAR **’
make[4]: *** [/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/…/…/common/cmm_mac_usb.o] Error 1
make[3]: *** [module/home/alex/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-686’
make: *** [LINUX] Error 2
How to update the linux kernel to 2.6.35 ? I can see only 2.6.32 in aptitude
[11112.284041] usb 2-3: new full speed USB device using ohci_hcd and address 3
[11112.464042] usb 2-3: device descriptor read/64, error -62
[11112.748374] usb 2-3: device descriptor read/64, error -62
[11113.028041] usb 2-3: new full speed USB device using ohci_hcd and address 4
[11113.208041] usb 2-3: device descriptor read/64, error -62
[11113.492042] usb 2-3: device descriptor read/64, error -62
[11113.772041] usb 2-3: new full speed USB device using ohci_hcd and address 5
[11114.180034] usb 2-3: device not accepting address 5, error -62
[11114.356040] usb 2-3: new full speed USB device using ohci_hcd and address 6
[11114.764034] usb 2-3: device not accepting address 6, error -62
[11114.764361] hub 2-0:1.0: unable to enumerate USB device on port 3
And I’ve made mistake - it is RT5370 (I have disassembled the wifi dongle) )
But why I can’t see its VID:PID…
It’s ok )
I found these 2 pcs in old possessions and both don’t work, so I can throw them away with peace of mind )
I just want to try to make the dongles useful.
Anyway, thank you so much for the help. I really appreciate it.