** Tags added: kern-3993 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-firmware in Ubuntu. https://bugs.launchpad.net/bugs/1982627
Title: MT7612u wireless chipset not working on Raspberry Pi 400 Status in linux-firmware package in Ubuntu: Invalid Status in linux-raspi package in Ubuntu: New 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/debug/usb/usbmon/` do not exist on the filesystem. 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/5.15.0-1012-raspi $ lsb_release -rd Description: Ubuntu 22.04 LTS Release: 22.04 $ apt-cache policy linux-firmware linux-firmware: Installed: 20220329.git681281e4-0ubuntu3.2 Candidate: 20220329.git681281e4-0ubuntu3.2 Version table: *** 20220329.git681281e4-0ubuntu3.2 500 500 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 Packages 100 /var/lib/dpkg/status 20220329.git681281e4-0ubuntu1 500 500 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 Packages $ 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-udevd[1330]: 2-1: Processing device (SEQNUM=4179, ACTION=add) Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: Failed to get watch handle, ignoring: No such file or directory Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: /usr/lib/udev/rules.d/50-udev-default.rules:13 Importing properties from results of builtin command 'usb_id' 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-udevd[1330]: 2-1: /usr/lib/udev/rules.d/50-udev-default.rules:13 Importing properties from results of builtin command 'hwdb --subsystem=usb' Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: hwdb modalias key: "usb:v0E8Dp7612:Wireless " Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: /usr/lib/udev/rules.d/50-udev-default.rules:50 MODE 0664 Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: /usr/lib/udev/rules.d/60-drm.rules:3 Importing properties from results of builtin command 'path_id' Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: Setting permissions /dev/bus/usb/002/003, uid=0, gid=0, mode=0664 Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: Handling device node '/dev/bus/usb/002/003', devnum=c189:130 Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: sd-device: Created db file '/run/udev/data/c189:130' for '/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1' Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: Failed to get watch handle, ignoring: No such file or directory Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: Device processed (SEQNUM=4179, ACTION=add) Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: sd-device-monitor: Passed 900 byte to netlink monitor 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-udevd[1330]: 2-1:1.0: Processing device (SEQNUM=4180, ACTION=add) Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1:1.0: /usr/lib/udev/rules.d/50-udev-default.rules:14 Importing properties from results of builtin command 'hwdb --subsystem=usb' Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1:1.0: hwdb modalias key: "usb:v0E8Dp7612d0100dc00dsc00dp00icFFiscFFipFFin00" Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1:1.0: /usr/lib/udev/rules.d/60-drm.rules:3 Importing properties from results of builtin command 'path_id' Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1:1.0: /usr/lib/udev/rules.d/80-drivers.rules:5 RUN 'kmod load '$env{MODALIAS}'' Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1:1.0: sd-device: Created db file '/run/udev/data/+usb:2-1:1.0' for '/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0' Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1:1.0: Running built-in command "kmod load 'usb:v0E8Dp7612d0100dc00dsc00dp00icFFiscFFipFFin00'" Jul 22 20:56:03 ubuntu systemd-udevd[1330]: Loading module: usb:v0E8Dp7612d0100dc00dsc00dp00icFFiscFFipFFin00 Jul 22 20:56:03 ubuntu systemd-udevd[1330]: Failed to find module 'usb:v0E8Dp7612d0100dc00dsc00dp00icFFiscFFipFFin00' Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1:1.0: Device processed (SEQNUM=4180, ACTION=add) Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1:1.0: sd-device-monitor: Passed 580 byte to netlink monitor 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-udevd[1330]: 2-1: Processing device (SEQNUM=4181, ACTION=bind) Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: Failed to get watch handle, ignoring: No such file or directory Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: /usr/lib/udev/rules.d/50-udev-default.rules:13 Importing properties from results of builtin command 'usb_id' Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: /usr/lib/udev/rules.d/50-udev-default.rules:13 Importing properties from results of builtin command 'hwdb --subsystem=usb' Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: hwdb modalias key: "usb:v0E8Dp7612:Wireless " Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: /usr/lib/udev/rules.d/60-drm.rules:3 Importing properties from results of builtin command 'path_id' Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: Handling device node '/dev/bus/usb/002/003', devnum=c189:130 Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: sd-device: Created db file '/run/udev/data/c189:130' for '/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1' Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: Failed to get watch handle, ignoring: No such file or directory Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: Device processed (SEQNUM=4181, ACTION=bind) Jul 22 20:56:03 ubuntu systemd-udevd[1330]: 2-1: sd-device-monitor: Passed 901 byte to netlink monitor Jul 22 20:56:07 ubuntu systemd-udevd[451]: Cleanup idle workers Jul 22 20:56:07 ubuntu systemd-udevd[1330]: Unload module index Jul 22 20:56:07 ubuntu systemd-udevd[1330]: Unloaded link configuration context. 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/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1 (usb) ACTION=add DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1 SUBSYSTEM=usb DEVNAME=/dev/bus/usb/002/004 DEVTYPE=usb_device PRODUCT=e8d/7612/100 TYPE=0/0/0 BUSNUM=002 DEVNUM=004 SEQNUM=4185 MAJOR=189 MINOR=131 KERNEL[575.965837] add /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0 (usb) ACTION=add DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0 SUBSYSTEM=usb DEVTYPE=usb_interface PRODUCT=e8d/7612/100 TYPE=0/0/0 INTERFACE=255/255/255 MODALIAS=usb:v0E8Dp7612d0100dc00dsc00dp00icFFiscFFipFFin00 SEQNUM=4186 KERNEL[575.966265] bind /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1 (usb) ACTION=bind DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1 SUBSYSTEM=usb DEVNAME=/dev/bus/usb/002/004 DEVTYPE=usb_device DRIVER=usb PRODUCT=e8d/7612/100 TYPE=0/0/0 BUSNUM=002 DEVNUM=004 SEQNUM=4187 MAJOR=189 MINOR=131 UDEV [575.975764] add /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1 (usb) ACTION=add DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1 SUBSYSTEM=usb DEVNAME=/dev/bus/usb/002/004 DEVTYPE=usb_device PRODUCT=e8d/7612/100 TYPE=0/0/0 BUSNUM=002 DEVNUM=004 SEQNUM=4185 USEC_INITIALIZED=575974968 ID_VENDOR=MediaTek_Inc. ID_VENDOR_ENC=MediaTek\x20Inc. ID_VENDOR_ID=0e8d ID_MODEL=Wireless ID_MODEL_ENC=Wireless\x20 ID_MODEL_ID=7612 ID_REVISION=0100 ID_SERIAL=MediaTek_Inc._Wireless_000000000 ID_SERIAL_SHORT=000000000 ID_BUS=usb ID_USB_INTERFACES=:ffffff: ID_VENDOR_FROM_DATABASE=MediaTek Inc. ID_MODEL_FROM_DATABASE=MT7612U 802.11a/b/g/n/ac Wireless Adapter ID_PATH=platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1 ID_PATH_TAG=platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1 DRIVER=usb ID_FOR_SEAT=usb-platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1 MAJOR=189 MINOR=131 TAGS=:seat: CURRENT_TAGS=:seat: UDEV [575.983943] add /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0 (usb) ACTION=add DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0 SUBSYSTEM=usb DEVTYPE=usb_interface PRODUCT=e8d/7612/100 TYPE=0/0/0 INTERFACE=255/255/255 MODALIAS=usb:v0E8Dp7612d0100dc00dsc00dp00icFFiscFFipFFin00 SEQNUM=4186 USEC_INITIALIZED=575983144 ID_VENDOR_FROM_DATABASE=MediaTek Inc. ID_MODEL_FROM_DATABASE=MT7612U 802.11a/b/g/n/ac Wireless Adapter ID_PATH=platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1:1.0 ID_PATH_TAG=platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_1_0 .MM_USBIFNUM=00 UDEV [575.991091] bind /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1 (usb) ACTION=bind DEVPATH=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1 SUBSYSTEM=usb DEVNAME=/dev/bus/usb/002/004 DEVTYPE=usb_device DRIVER=usb PRODUCT=e8d/7612/100 TYPE=0/0/0 BUSNUM=002 DEVNUM=004 SEQNUM=4187 USEC_INITIALIZED=575974968 ID_VENDOR=MediaTek_Inc. ID_VENDOR_ENC=MediaTek\x20Inc. ID_VENDOR_ID=0e8d ID_MODEL=Wireless ID_MODEL_ENC=Wireless\x20 ID_MODEL_ID=7612 ID_REVISION=0100 ID_SERIAL=MediaTek_Inc._Wireless_000000000 ID_SERIAL_SHORT=000000000 ID_BUS=usb ID_USB_INTERFACES=:ffffff: ID_VENDOR_FROM_DATABASE=MediaTek Inc. ID_MODEL_FROM_DATABASE=MT7612U 802.11a/b/g/n/ac Wireless Adapter ID_PATH=platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1 ID_PATH_TAG=platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1 ID_FOR_SEAT=usb-platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1 MAJOR=189 MINOR=131 TAGS=:seat: CURRENT_TAGS=:seat: ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: linux-firmware 20220329.git681281e4-0ubuntu3.2 ProcVersionSignature: Ubuntu 5.15.0-1012.14-raspi 5.15.39 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/controlC0', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer' Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer' CasperMD5CheckResult: unknown 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:00]---00.0-[01]----00.0 VIA Technologies, Inc. VL805/806 xHCI USB 3.0 Controller PackageArchitecture: all PciMultimedia: ProcEnviron: TERM=xterm-256color 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.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:CA:5A:4D vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 dwc_otg.lpm_enable=0 console=tty1 root=LABEL=writable rootfstype=ext4 rootwait fixrtc quiet splash RelatedPackageVersions: linux-restricted-modules-5.15.0-1012-raspi N/A linux-backports-modules-5.15.0-1012-raspi N/A linux-firmware 20220329.git681281e4-0ubuntu3.2 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: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1982627/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp