morrownr / USB-WiFi

USB WiFi Adapter Information for Linux
2.4k stars 161 forks source link

Wifi adapter not showing up (ALFA AWUS036AXML) #378

Open mickyb5169 opened 4 months ago

mickyb5169 commented 4 months ago

I am getting no Wi-Fi showing up, Bluetooth appears for about 3 seconds then disappears

Verified that not a hardware problem, different USB ports do not change outcome and interestingly works perfectly in Windows with driver installed

Currently I'm running kernel version 6.6.14-200.fc39.x86_64 on fedora workstation, extra information about my computer can be found at https://linux-hardware.org/?probe=cde1b607e4

I feel problem could be understood from here. I tried this command Dmesg –follow

I plugged USB wifi in and got: [ 361.323604] usb 3-2: new high-speed USB device number 2 using xhci_hcd [ 361.513245] usb 3-2: New USB device found, idVendor=0e8d, idProduct=7961, bcdDevice= 1.00 [ 361.513252] usb 3-2: New USB device strings: Mfr=6, Product=7, SerialNumber=8 [ 361.513256] usb 3-2: Product: Wireless_Device [ 361.513259] usb 3-2: Manufacturer: MediaTek Inc. [ 361.513262] usb 3-2: SerialNumber: 000000000 [ 361.534768] Bluetooth: hci0: HW/SW Version: 0x008a008a, Build Time: 20231109191416 [ 364.650568] Bluetooth: hci0: Device setup in 3047631 usecs [ 364.650577] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported. [ 366.675730] Bluetooth: hci0: Opcode 0x0c03 failed: -110 [ 368.723783] Bluetooth: hci0: Failed to read MSFT supported features (-110) [ 370.771825] Bluetooth: hci0: AOSP get vendor capabilities (-110) [ 370.948979] usb 3-2: reset high-speed USB device number 2 using xhci_hcd [ 376.259992] usb 3-2: device descriptor read/64, error -110 [ 392.132366] usb 3-2: device descriptor read/64, error -110 [ 392.412344] usb 3-2: reset high-speed USB device number 2 using xhci_hcd [ 397.764487] usb 3-2: device descriptor read/64, error -110 [ 413.636848] usb 3-2: device descriptor read/64, error -110 [ 413.916837] usb 3-2: reset high-speed USB device number 2 using xhci_hcd [ 418.717748] usb 3-2: Device not responding to setup address. [ 423.725614] usb 3-2: Device not responding to setup address. [ 423.933050] usb 3-2: device not accepting address 2, error -71 [ 424.109046] usb 3-2: reset high-speed USB device number 2 using xhci_hcd [ 428.909013] usb 3-2: Device not responding to setup address. [ 433.917870] usb 3-2: Device not responding to setup address. [ 434.125269] usb 3-2: device not accepting address 2, error -71 [ 434.125525] mt7921u: probe of 3-2:1.3 failed with error -5 [ 434.125794] usb 3-2: USB disconnect, device number 2 [ 434.302274] usb 3-2: new high-speed USB device number 3 using xhci_hcd [ 439.749430] usb 3-2: device descriptor read/64, error -110 [ 455.621793] usb 3-2: device descriptor read/64, error -110 [ 455.901767] usb 3-2: new high-speed USB device number 4 using xhci_hcd [ 461.253922] usb 3-2: device descriptor read/64, error -110 [ 477.126286] usb 3-2: device descriptor read/64, error -110 [ 477.230462] usb usb3-port2: attempt power cycle [ 477.674268] usb 3-2: new high-speed USB device number 5 using xhci_hcd [ 482.474348] usb 3-2: Device not responding to setup address. [ 487.479210] usb 3-2: Device not responding to setup address. [ 487.686493] usb 3-2: device not accepting address 5, error -71 [ 487.862502] usb 3-2: new high-speed USB device number 6 using xhci_hcd [ 492.662717] usb 3-2: Device not responding to setup address. [ 497.670578] usb 3-2: Device not responding to setup address. [ 497.878729] usb 3-2: device not accepting address 6, error -71 [ 497.878921] usb usb3-port2: unable to enumerate USB device

Currently running kennel version I have checked driver use with this Lsusb -t And got: | Port 004: Dev 000, If 0, Class=Wireless, Driver=[none], M | Port 004: Dev 000, If 1, Class=Wireless, Driver=btusb, M | Port 004: Dev 000, If 2, Class=Wireless, Driver=[none], M | Port 004: Dev 000, If 3, Class=Vendor Specific Class, Driver=mt7921u, M

I have downloaded and copied the patch, Wi-Fi ram code and Bluetooth ram code from option 3 from here https://github.com/morrownr/USB-WiFi/blob/main/home/How_to_Install_Firmware_for_Mediatek_based_USB_WiFi_adapters.md

What could be causing this Wi-Fi not to show in Linux? Any help greatly appreciated, hope not to pull any more hair out!

morrownr commented 1 month ago

@nvllsvm

Yup - it works flawlessly in USB 3.0 mode. I simultaneously played audio over Bluetooth while running iperf3. No hiccups or stuttering in the audio.

I withdraw my previous statements. It appears we have a really good engineer out there at Alfa. As far as I know, this would be the first USB3 WiFi adapter that has successfully integrated bluetooth when wifi is running at USB3. I have a mt7922 PCIe card and it is really good but bluetooth and wifi on the same device is no big deal for pcie devices.

I tried to read back up this thread that is way too long at this point... I got lost. Does bluetooth work on your adapter with Linux?

abdoun20 commented 1 month ago

i think its a BIOS settings issue , i have the same problem with the ALFA network card when i plug it to my pc the LED stays turned on, it doesnt work on my laptop[dell precision M4800] , it keeps connecting and disconnecting on windows, and shows your same error : [ [ 461.253922] usb 3-2: device descriptor read/64, error -110 [ 477.126286] usb 3-2: device descriptor read/64, error -110 ] during the boot process of ubuntu. but when i plug it on my brother's pc [dell latitude E6430] with older BIOS version it works just fine and the LED keeps blinking as normal .

morrownr commented 1 month ago

when i plug it to my pc the LED stays turned on...

As far as I can tell, that is currently normal behavior on Linux for usb wifi adapters. Basically the LED is serving as a power on/off indicator. This is the case with my Alfa axml and my Edup adapter that has the same chip.

i think its a BIOS settings issue

It could be or it could be because of the latest iteration of usb. My main dev box is 11 years old but it is an i7 chip so i have plenty of power. I do have a mdern laptop so I'll do a test to see what I can find out.

What kernels are you using and have you upgraded the firmware to the latest?