On Sat, Jun 01, 2024 at 09:13:01AM +0200, Pascal Hambourg wrote:
> 
> I don't know much about packaging, but comparing with other packages you may
> need to add the patch names to a file debian/patches/series. Or I guess you
> could just apply the patches manually with patch -p1 < patch" before
> building the package.

Just running patch did the trick, even without the -p1 flag.

Running the patched installer, the output was a bit different, and it
DID unload the module ("ath9k_htc: Driver unloaded"), but it still
output errors trying to unload the usb module, and it did NOT try to
configure the wireless network:

Jun  1 07:21:49 check-missing-firmware: looking at dmesg for the first time
Jun  1 07:21:49 check-missing-firmware: saving timestamp for a later use: [   
10.585522]
Jun  1 07:21:49 check-missing-firmware: failed to perform usb 3-3 lookup (got: 
0 entries, expected: 1)
Jun  1 07:21:49 check-missing-firmware: => sticking with the usb module
Jun  1 07:21:49 check-missing-firmware: using module usb instead of usb 3-3
Jun  1 07:21:49 check-missing-firmware: looking for firmware file 
ath9k_htc/htc_9271-1.4.0.fw requested by ath9k_htc
Jun  1 07:21:49 check-missing-firmware: failed to perform usb 3-3 lookup (got: 
0 entries, expected: 1)
Jun  1 07:21:49 check-missing-firmware: => sticking with the usb module
Jun  1 07:21:49 check-missing-firmware: using module usb instead of usb 3-3
Jun  1 07:21:49 check-missing-firmware: looking for firmware file 
ath9k_htc/htc_9271-1.4.0.fw requested by ath9k_htc
Jun  1 07:21:49 check-missing-firmware: failed to perform usb 3-3 lookup (got: 
0 entries, expected: 1)
Jun  1 07:21:49 check-missing-firmware: => sticking with the usb module
Jun  1 07:21:49 check-missing-firmware: using module usb instead of usb 3-3
Jun  1 07:21:50 check-missing-firmware: no module matching firmware htc_9271.fw 
found
Jun  1 07:21:50 check-missing-firmware: looking for firmware file htc_9271.fw 
requested by usb
Jun  1 07:21:50 check-missing-firmware: failed to perform usb 3-3 lookup (got: 
0 entries, expected: 1)
Jun  1 07:21:50 check-missing-firmware: => sticking with the usb module
Jun  1 07:21:50 check-missing-firmware: using module usb instead of usb 3-3
Jun  1 07:21:50 check-missing-firmware: no module matching firmware htc_9271.fw 
found
Jun  1 07:21:50 check-missing-firmware: looking for firmware file htc_9271.fw 
requested by usb
Jun  1 07:21:50 check-missing-firmware: missing firmware files 
(ath9k_htc/htc_9271-1.4.0.fw htc_9271.fw) for ath9k_htc usb
Jun  1 07:21:50 check-missing-firmware: mainloop iteration #1
Jun  1 07:21:50 check-missing-firmware: lookup with /firmware/Contents-firmware
Jun  1 07:21:50 check-missing-firmware: installing firmware package 
/firmware/firmware-ath9k-htc_1.4.0-108-gd856466+dfsg1-1.3+deb12u1_all.deb (main)
Jun  1 07:21:50 check-missing-firmware: installing firmware package 
/firmware/firmware-atheros_20230210-5_all.deb (non-free-firmware)
Jun  1 07:21:51 check-missing-firmware: removing and loading kernel module 
ath9k_htc
Jun  1 07:21:51 kernel: [   13.528483] usbcore: deregistering interface driver 
ath9k_htc
Jun  1 07:21:51 kernel: [   13.528507] ath9k_htc: Driver unloaded
Jun  1 07:21:52 kernel: [   13.745690] usbcore: registered new interface driver 
ath9k_htc
Jun  1 07:21:52 check-missing-firmware: removing and loading kernel module usb
Jun  1 07:21:52 check-missing-firmware: modprobe: FATAL: Module usb not found.
Jun  1 07:21:52 check-missing-firmware: modprobe: FATAL: Module usb not found 
in directory /lib/modules/6.1.0-18-amd64
Jun  1 07:21:52 check-missing-firmware: removing and loading kernel module 
usbcore as well (actual module for usb)
Jun  1 07:21:52 check-missing-firmware: modprobe: FATAL: Module usbcore is in 
use.
Jun  1 07:21:53 check-missing-firmware: looking at dmesg again, restarting from 
timestamp: [   10.585522]
Jun  1 07:21:53 check-missing-firmware: timestamp found, truncating dmesg 
accordingly
Jun  1 07:21:53 check-missing-firmware: saving timestamp for a later use: [   
13.745690]
Jun  1 07:21:53 check-missing-firmware: no missing firmware in loaded kernel 
modules

Reply via email to