Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Wifi Asus USB-AC51 doesn't work

Croton
Forum Novice
Forum  Novice
Posts: 10
Joined: Thu Jan 17, 2019 3:34 pm

Wifi Asus USB-AC51 doesn't work

#1

Post by Croton » Thu Jan 17, 2019 3:52 pm

Dear fellow users,

unfortunately my newly acquired "USB-AC51" Wifi dongle by Asus doesn't work on MX Linux 18, with kernel 4.19.13 (and 4.19.10, 4.19.0.1). Apparently their should be a driver available in the kernel (github.../torvalds/linux/blob/v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c#L30) and indeed the MX Network Tool displays that the driver is loaded. My first idea was that the chip changed in the model, but lsusb gives me the ID given in the kernel driver...

Symptoms: Wifi simply doesn't turn up in the NetworkManager
Loaded Drivers MX Network Tool: mt76, mt76x0 as well as the r8169 for ethernet are loaded
lsusb: ID 0b05:17d1 ASUSTek Computer, Inc. AC51 802.11a/b/g/n/ac Wireless Adapter [Mediatek MT7610/Ralink RT2870] (same ID as in kernel driver)

Can somebody give me a hint, what I miss? I have another dongle with an RTL8811AU chipset, which I wanted to decomission - here I had the driver DKMS installed before, but removed it via a deinstallation script before adding the new device. If I boot in the live image, the AC51 is also not recognized.

Thank you very much in advance for any hints...

User avatar
Mauser
Forum Guide
Forum Guide
Posts: 1069
Joined: Mon Jun 27, 2016 7:32 pm

Re: Wifi Asus USB-AC51 doesn't work

#2

Post by Mauser » Thu Jan 17, 2019 4:53 pm

Sounds like another ASUS software run device that's suppose be a hardware. I wish you good luck with it. I went through the lies of ASUS last week. You might look into the 4.20 kernel that's out to see if it will work for you. https://itsfoss.com/kernel-4-20-release/
I am command line illiterate. :confused:

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 19802
Joined: Fri Dec 15, 2006 8:07 pm

Re: Wifi Asus USB-AC51 doesn't work

#3

Post by Stevo » Thu Jan 17, 2019 8:10 pm

After you plug it in, run

Code: Select all

dmesg
in the terminal to see if any error messages show up there at the end. It could just be missing firmware.

But some other posts on the Ubuntu forum say that the MT7610U is just impossible to get running with a modern kernel.

Croton
Forum Novice
Forum  Novice
Posts: 10
Joined: Thu Jan 17, 2019 3:34 pm

Re: Wifi Asus USB-AC51 doesn't work

#4

Post by Croton » Fri Jan 18, 2019 4:08 pm

Thank you Stevo - It seems to be the issue:

[ 43.597094] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 43.621223] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 43.621260] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 43.621263] platform regulatory.0: Falling back to syfs fallback for: regulatory.db
[ 43.621726] cfg80211: failed to load regulatory.db
[ 43.718328] usb 1-2.4: reset high-speed USB device number 15 using xhci_hcd
[ 43.898012] mt76x0 1-2.4:1.0: ASIC revision: 76100002 MAC revision: 76502000
[ 43.922036] mt76x0 1-2.4:1.0: Direct firmware load for mediatek/mt7610u.bin failed with error -2
[ 43.922038] mt76x0 1-2.4:1.0: Falling back to syfs fallback for: mediatek/mt7610u.bin

However I don't know how to solve it. Can I download it somewhere, or is it in the drivers?

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 19802
Joined: Fri Dec 15, 2006 8:07 pm

Re: Wifi Asus USB-AC51 doesn't work

#5

Post by Stevo » Fri Jan 18, 2019 4:23 pm

I don't know about regulatory.db, but the mt7610u.bin file is in the firmware folder in this github: https://github.com/ulli-kroll/mt7610u

Make sure to read the instructions. I know the driver build fails on a 4.19 kernel, but

Code: Select all

sudo make installfw
will work to install the mt7610u.bin firmware.

Croton
Forum Novice
Forum  Novice
Posts: 10
Joined: Thu Jan 17, 2019 3:34 pm

Re: Wifi Asus USB-AC51 doesn't work

#6

Post by Croton » Fri Jan 18, 2019 4:44 pm

Unfortunately I get the same error after cloning the git and installing the firmware...

Code: Select all

[  216.463575] usb 1-4: New USB device found, idVendor=0b05, idProduct=17d1, bcdDevice= 1.00
[  216.463578] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  216.463581] usb 1-4: Product: WiFi
[  216.463583] usb 1-4: Manufacturer: MediaTek
[  216.463584] usb 1-4: SerialNumber: 1.0
[  216.627808] usb 1-4: reset high-speed USB device number 11 using xhci_hcd
[  216.838625] mt76x0 1-4:1.0: ASIC revision: 76100002 MAC revision: 76502000
[  216.862779] mt76x0 1-4:1.0: Direct firmware load for mediatek/mt7610u.bin failed with error -2
[  216.862782] mt76x0 1-4:1.0: Falling back to syfs fallback for: mediatek/mt7610u.bin
it is really strange... I guess I will have to order the 30m Cat7 cable 9_9 - But at least the issue becomes a little clearer to me now, thanks again!

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4562
Joined: Wed Apr 11, 2018 5:09 pm

Re: Wifi Asus USB-AC51 doesn't work

#7

Post by fehlix » Fri Jan 18, 2019 4:50 pm

Stevo wrote:
Fri Jan 18, 2019 4:23 pm
I don't know about regulatory.db,
Regdb defines allowed frequency/channels and signal power for wifi
per country.
Recent kernel try to load a newer version hence the error msg.
See here:
package request: recent wireless-regdb regulatory database
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 19802
Joined: Fri Dec 15, 2006 8:07 pm

Re: Wifi Asus USB-AC51 doesn't work

#8

Post by Stevo » Fri Jan 18, 2019 6:16 pm

Remember that the very smart guys on the Ubuntu forums tried their utmost to get it working and gave up. Maybe you can sells yours and get one that is known to work OOTB on MX.

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4562
Joined: Wed Apr 11, 2018 5:09 pm

Re: Wifi Asus USB-AC51 doesn't work

#9

Post by fehlix » Fri Jan 18, 2019 6:56 pm

Stevo wrote:
Fri Jan 18, 2019 6:16 pm
Remember that the very smart guys on the Ubuntu forums tried their utmost to get it working and gave up. Maybe you can sells yours and get one that is known to work OOTB on MX.
Is that's about building the package? Is there any issue with building that package?

I assume they gave up to set all automtilcally by detecting the region the user is in.

The request is about to have the package, so we could easily give the user
on option setup this up manually.

Currently we do not have either the package (automatically loaded - by the krenel)
nore somethin the user can setup this easily.

Otherwise my self installed regdb, works and gives me no kernel error msgs anymore,
and turns on wifi channel 13 ( you have only 12 in US ) in 2.4 GHz (802.11g/n)
and set full wifi singal strength in the wifi automatically.

Note: In some countries is allowed what is not in others regarding wifi channel's and -power .
To give the user a option to adjust thos would certainly nice,
other wise they might get in confflct with regulations, when travelling.
And havin those regdb, avaiable loaded by the kernel, would be the first step,
to provide this.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 19802
Joined: Fri Dec 15, 2006 8:07 pm

Re: Wifi Asus USB-AC51 doesn't work

#10

Post by Stevo » Fri Jan 18, 2019 9:45 pm

fehlix wrote:
Fri Jan 18, 2019 6:56 pm
Stevo wrote:
Fri Jan 18, 2019 6:16 pm
Remember that the very smart guys on the Ubuntu forums tried their utmost to get it working and gave up. Maybe you can sells yours and get one that is known to work OOTB on MX.
Is that's about building the package? Is there any issue with building that package?

I assume they gave up to set all automtilcally by detecting the region the user is in.

The request is about to have the package, so we could easily give the user
on option setup this up manually.

Currently we do not have either the package (automatically loaded - by the krenel)
nore somethin the user can setup this easily.

Otherwise my self installed regdb, works and gives me no kernel error msgs anymore,
and turns on wifi channel 13 ( you have only 12 in US ) in 2.4 GHz (802.11g/n)
and set full wifi singal strength in the wifi automatically.

Note: In some countries is allowed what is not in others regarding wifi channel's and -power .
To give the user a option to adjust thos would certainly nice,
other wise they might get in confflct with regulations, when travelling.
And havin those regdb, avaiable loaded by the kernel, would be the first step,
to provide this.
:puppy:
No, I was talking about an mt7610u-based wi-fi device.

I built wireless-regdb 2018.10.24 and sent it up to the test repo, along with the 20190114 firmware-nonfree packages ported from Sid, which still don't have the mt7610u.bin file, though. I installed and rebooted, and everything still seems to work as before.

Post Reply

Return to “Hardware /Configuration”