[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: strange problem with usb wifi adapter



On Sun, Dec 12, 2021 at 10:07:12AM +0000, Andrew M.A. Cater wrote:
> On Sun, Dec 12, 2021 at 12:18:52AM +0000, Long Wind wrote:
> > 
> > Thank David!
> > 
> >  if this theory is correct, how does debian installer configure it? official image i use is supposed to be without non-free firmware 
> > 
> 
> If it's a particular Mediatek chipset, then the firmware for it may be
> in the firmware-linux-nonfree metapackage - which also pulls in 
> firmware-misc-nonfree which is the package where the actual driver is. 
> 99% of current wireless chips need additional firmware to operate correctly.
> https://packages.debian.org/bullseye/firmware-linux-nonfree 

As another hint to debugging, you may look into dmesg's output (do, e.g.
"sudo dmesg | less") for clues. An idea to clear the above question
would be to compare dmesg's output while the installer is running with
the one after the installed system boots.

Here's "my" kernel's output to dmesg while it's trying to feed "my" WiFi
hardware its firmware, to give you a rough idea on what to look for.
Searching for "wifi", or for your wifi's kernel module's name seem to be
good approaches:

  [   54.906353] Intel(R) Wireless WiFi driver for Linux
  [   54.906565] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
  [   54.996363] iwlwifi 0000:03:00.0: firmware: direct-loading firmware iwlwifi-6000g2a-6.ucode
  [   54.996531] iwlwifi 0000:03:00.0: loaded firmware version 18.168.6.1 6000g2a-6.ucode op_mode iwldvm
  [   54.996555] iwlwifi 0000:03:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)
  [   54.996617] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware

So it seems to load some iwlwifi-6000g2a-6.ucode, which seems to work
But that one "...-yoyo.bin". What that "-2" means is anyone's guess, but
my gues would be "No such file or directory" (keeping with the good old
ERRNO tradition, why should the kernel folks break that?).

Happy digging :)
-- 
tomás

Attachment: signature.asc
Description: PGP signature


Reply to: