On 30/05/2024 00:55, Pascal Hambourg wrote:
On 26/05/2024 at 22:29, Roland Clobus wrote:Your patch series works fine, the firmware is correctly identified and loaded. Unfortunately for me, it still needs a reconnect cycle.See the attached syslog for their effect. (I've used sid)Thank you for testing my patches but I did not expect them to solve the reattachment issue, only to identify the right module.After the r8712u module is first loaded without the firmware then unloaded and reloaded, what is the output ofls -d /sys/bus/usb/drivers/r8712u/1-3* ls -d /sys/bus/usb/devices/1-3/1-3* assuming the wireless adapter is identified as 1-3 ?
I've used the following to reproduce: * A live-build-based image with the Debian installer, generated for sid with in config/packages the hw-detect.udeb with the patches from #1033679 * Virtual-Manager boots the ISO image (UEFI secure boot)* When the GRUB menu is shown, I attach the USB network adapter from the host
* I select the Debian installer* Moment 1: the first d-i screen is shown. The USB device is seen by the kernel, but the module is not yet loaded
ls -d /sys/bus/usb/drivers/r8712u/1-3* No such file or directory ls -d /sys/bus/usb/drivers/usb/1-3* /sys/bus/usb/drivers/usb/1-3 ls -d /sys/bus/usb/devices/1-3/1-3* /sys/bus/usb/devices/1-3/1-3:1:0 lsmod | grep r8712u <empty> * Moment 2: the d-i screen 'No Ethernet card was detected' is shown(The firmware has been placed where it can be found, module r8712u has been removed and added)
ls -d /sys/bus/usb/drivers/r8712u/1-3* No such file or directory ls -d /sys/bus/usb/drivers/usb/1-3* No such file or directory ls -d /sys/bus/usb/devices/1-3/1-3* No such file or directory lsmod | grep r8712u r8712u 262144 0 cfg80211 1355776 1 r8712u usbcore 409600 5 xhci_hcd,usbhib,r8712u,usb_storage,xhci_pci* Moment 3: I disconnect and reconnect the USB device in virt-manager and select 'Detect network hardware' from the d-i menu. d-i shows a list of SSIDs
ls -d /sys/bus/usb/drivers/r8712u/1-3* /sys/bus/usb/drivers/r8712u/1-3:1.0 ls -d /sys/bus/usb/drivers/usb/1-3* /sys/bus/usb/drivers/usb/1-3 ls -d /sys/bus/usb/devices/1-3/1-3* /sys/bus/usb/devices/1-3/1-3:1:0 lsmod | grep r8712u r8712u 262144 0 cfg80211 1355776 1 r8712u usbcore 409600 5 xhci_hcd,usbhib,r8712u,usb_storage,xhci_pci With kind regards, Roland Clobus
OpenPGP_signature.asc
Description: OpenPGP digital signature