On 25/05/2024 at 22:10, Roland Clobus wrote:
When I run the Debian installer, the missing firmware file is correctly identified and installed by 'check-missing-firmware.sh'. However, the kernel module is mis-identified as 'usb'.
This is a more generic issue already reported in #1033679 <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033679>Can you give a try to the attached patches ? They came to late for bookworm, maybe it is time to reconsider them.
Attached is a patch that allows the module to be identified correctly. If desired, I can send the patch instead as a merge request on Salsa.
IMO $address should be included in the search pattern. Else if there is another device reported as "usb" then your patch will wrongly resolve it as r8712u too.
However, using 'modprobe -r r8712u' and 'modprobe r8712u' is not sufficient to enable the adapter, it still needs a physical reconnect. In the attached screenshot from the installer (sid) the result of the patch is shown. Also in the QEMU environment, I need to disconnect and reconnect the USB device from the host.
Looks like a driver/device issue.