MT7612u wireless chipset not working on Raspberry Pi 400
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-firmware (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux-raspi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I purchased the Alfa AWUS036ACM wireless adapter to use with my Raspberry Pi 400. The adapter works when using Raspberry Pi OS, but not when using "Ubuntu for Raspberry Pi" release 22.04. I have tested 64-bit variants for Ubuntu Desktop and Ubuntu Server, and the results are the same. I followed the Kernel Firmware Debugging steps, and included its output below. The LinuxWireless Debugging steps seem to only be appropriate if the wireless adapter is working to some capacity so the below output does not include those steps. I also attempted to follow the Kernel USB Debugging steps, but the commands do not seem appropriate for the Raspberry Pi 400. For example, `/proc/bus/usb` and `/sys/kernel/
As part of troubleshooting, I updated the bootloader for the Raspberry Pi 400 to version 507b2360 which was built on 2022-04-26. I also ran `sudo apt update` and `sudo apt full-upgrade`. Neither of these troubleshooting steps resolved the problem.
On a separate note, I have another Ubuntu Server release 22.04 that is installed on dedicated hardware (not the "Ubuntu for Raspberry Pi" variant), and the wireless adapter does work on this machine.
#### Raspberry Pi 400 Output ####
$ sudo modprobe usbmon
modprobe: FATAL: Module usbmon not found in directory /lib/modules/
$ lsb_release -rd
Description: Ubuntu 22.04 LTS
Release: 22.04
$ apt-cache policy linux-firmware
linux-firmware:
Installed: 20220329.
Candidate: 20220329.
Version table:
*** 20220329.
500 http://
100 /var/lib/
20220329.
500 http://
$ sudo udevadm control --log-priority debug
$ tail -f /var/log/syslog
Jul 22 20:56:03 ubuntu kernel: [ 533.687623] usb 2-1: new SuperSpeed USB device number 3 using xhci_hcd
Jul 22 20:56:03 ubuntu kernel: [ 533.709177] usb 2-1: New USB device found, idVendor=0e8d, idProduct=7612, bcdDevice= 1.00
Jul 22 20:56:03 ubuntu kernel: [ 533.709203] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Jul 22 20:56:03 ubuntu kernel: [ 533.709214] usb 2-1: Product: Wireless
Jul 22 20:56:03 ubuntu kernel: [ 533.709222] usb 2-1: Manufacturer: MediaTek Inc.
Jul 22 20:56:03 ubuntu kernel: [ 533.709230] usb 2-1: SerialNumber: 000000000
Jul 22 20:56:03 ubuntu systemd-udevd[451]: 2-1: Device is queued (SEQNUM=4179, ACTION=add)
Jul 22 20:56:03 ubuntu systemd-udevd[451]: Validate module index
Jul 22 20:56:03 ubuntu systemd-udevd[451]: Check if link configuration needs reloading.
Jul 22 20:56:03 ubuntu systemd-udevd[451]: 2-1: Device ready for processing (SEQNUM=4179, ACTION=add)
Jul 22 20:56:03 ubuntu systemd-udevd[451]: Successfully forked off 'n/a' as PID 1330.
Jul 22 20:56:03 ubuntu systemd-udevd[451]: 2-1: Worker [1330] is forked for processing SEQNUM=4179.
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-udevd[451]: 2-1:1.0: Device is queued (SEQNUM=4180, ACTION=add)
Jul 22 20:56:03 ubuntu systemd-udevd[451]: 2-1:1.0: SEQNUM=4180 blocked by SEQNUM=4179
Jul 22 20:56:03 ubuntu systemd-udevd[451]: 2-1: Device is queued (SEQNUM=4181, ACTION=bind)
Jul 22 20:56:03 ubuntu systemd-udevd[451]: 2-1: SEQNUM=4181 blocked by SEQNUM=4179
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-udevd[451]: 2-1:1.0: Device ready for processing (SEQNUM=4180, ACTION=add)
Jul 22 20:56:03 ubuntu systemd-udevd[451]: 2-1:1.0: sd-device-monitor: Passed 337 byte to netlink monitor
Jul 22 20:56:03 ubuntu systemd-udevd[451]: 2-1: SEQNUM=4181 blocked by SEQNUM=4180
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-udevd[451]: 2-1: Device ready for processing (SEQNUM=4181, ACTION=bind)
Jul 22 20:56:03 ubuntu systemd-udevd[451]: 2-1: sd-device-monitor: Passed 328 byte to netlink monitor
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:03 ubuntu systemd-
Jul 22 20:56:07 ubuntu systemd-udevd[451]: Cleanup idle workers
Jul 22 20:56:07 ubuntu systemd-
Jul 22 20:56:07 ubuntu systemd-
Jul 22 20:56:07 ubuntu systemd-udevd[451]: Worker [1330] exited
$ udevadm monitor --property
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[575.955014] add /devices/
ACTION=add
DEVPATH=
SUBSYSTEM=usb
DEVNAME=
DEVTYPE=usb_device
PRODUCT=
TYPE=0/0/0
BUSNUM=002
DEVNUM=004
SEQNUM=4185
MAJOR=189
MINOR=131
KERNEL[575.965837] add /devices/
ACTION=add
DEVPATH=
SUBSYSTEM=usb
DEVTYPE=
PRODUCT=
TYPE=0/0/0
INTERFACE=
MODALIAS=
SEQNUM=4186
KERNEL[575.966265] bind /devices/
ACTION=bind
DEVPATH=
SUBSYSTEM=usb
DEVNAME=
DEVTYPE=usb_device
DRIVER=usb
PRODUCT=
TYPE=0/0/0
BUSNUM=002
DEVNUM=004
SEQNUM=4187
MAJOR=189
MINOR=131
UDEV [575.975764] add /devices/
ACTION=add
DEVPATH=
SUBSYSTEM=usb
DEVNAME=
DEVTYPE=usb_device
PRODUCT=
TYPE=0/0/0
BUSNUM=002
DEVNUM=004
SEQNUM=4185
USEC_INITIALIZE
ID_VENDOR=
ID_VENDOR_
ID_VENDOR_ID=0e8d
ID_MODEL=Wireless
ID_MODEL_
ID_MODEL_ID=7612
ID_REVISION=0100
ID_SERIAL=
ID_SERIAL_
ID_BUS=usb
ID_USB_
ID_VENDOR_
ID_MODEL_
ID_PATH=
ID_PATH_
DRIVER=usb
ID_FOR_
MAJOR=189
MINOR=131
TAGS=:seat:
CURRENT_TAGS=:seat:
UDEV [575.983943] add /devices/
ACTION=add
DEVPATH=
SUBSYSTEM=usb
DEVTYPE=
PRODUCT=
TYPE=0/0/0
INTERFACE=
MODALIAS=
SEQNUM=4186
USEC_INITIALIZE
ID_VENDOR_
ID_MODEL_
ID_PATH=
ID_PATH_
.MM_USBIFNUM=00
UDEV [575.991091] bind /devices/
ACTION=bind
DEVPATH=
SUBSYSTEM=usb
DEVNAME=
DEVTYPE=usb_device
DRIVER=usb
PRODUCT=
TYPE=0/0/0
BUSNUM=002
DEVNUM=004
SEQNUM=4187
USEC_INITIALIZE
ID_VENDOR=
ID_VENDOR_
ID_VENDOR_ID=0e8d
ID_MODEL=Wireless
ID_MODEL_
ID_MODEL_ID=7612
ID_REVISION=0100
ID_SERIAL=
ID_SERIAL_
ID_BUS=usb
ID_USB_
ID_VENDOR_
ID_MODEL_
ID_PATH=
ID_PATH_
ID_FOR_
MAJOR=189
MINOR=131
TAGS=:seat:
CURRENT_TAGS=:seat:
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-firmware 20220329.
ProcVersionSign
Uname: Linux 5.15.0-1012-raspi aarch64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.15.0-1012-raspi.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.
CasperMD5CheckR
Date: Fri Jul 22 20:52:15 2022
Dependencies: firmware-sof-signed 2.0-1ubuntu3
ImageMediaBuild: 20220419
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lspci-vt: -[0000:
PackageArchitec
PciMultimedia:
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
ProcFB: 0 BCM2708 FB
ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.
RelatedPackageV
linux-
linux-
linux-firmware 20220329.
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux-firmware
StagingDrivers: snd_bcm2835 vc_sm_cma bcm2835_mmal_vchiq bcm2835_v4l2 bcm2835_codec bcm2835_isp
UpgradeStatus: No upgrade log present (probably fresh install)
acpidump:
tags: | added: kern-3993 |
Changed in linux-raspi (Ubuntu): | |
status: | New → Invalid |
Looks like this is one of the ones moved to the modules-extra package (this split is kernel specific, and wasn't done on the PC kernel which probably explains why this adapter works on your PC installation of Ubuntu Server). If you do the following:
$ sudo apt install linux-modules- extra-raspi
You should then be able to modprobe usbmon. I'll move the bug over to linux-raspi as it's technically a kernel issue.