Subject: bug#23409: unable to load free firmware

From: [email-masked] (Ludovic Courtès)
Date: Tue, 03 May 2016 22:45:20 +0200

Quilro Ordonez <[email-masked]> skribis:

> El 2016-05-03 03:01, [email-masked] escribió:

[...]

>> Could you try, as root, something like (use the right package and
>> module
>> name below):
>>
>>   echo -n $(guix build b43-firmware-whatever)/lib/firmware \
>>      > /sys/module/firmware_class/parameters/path
>>   insmod b43-module-whatever-its-called
>>   dmesg | tail
>>
>> … and report back?
>
> These are the three options I tested:
>
> echo -n $(guix build b43-firmware-whatever)/lib/firmware      >
> /sys/module/firmware_class/parameters/path
> echo -n $(guix build b43-open)/lib/firmware      >
> /sys/module/firmware_class/parameters/path
> echo -n $(guix build b43-tools)/lib/firmware      >
> /sys/module/firmware_class/parameters/path
> echo -n $(guix build openfwwf)/lib/firmware      >
> /sys/module/firmware_class/parameters/path
> echo -n $(guix build openfwwf-firmware)/lib/firmware      >
> /sys/module/firmware_class/parameters/path
>
> The results for all those in the order of:
>
> guix build: error: openfwwf-firmware: unknown package

That’s because “openfwwf-firmware” is not the right package name, or is
not found.  Perhaps you need to adjust GUIX_PACKAGE_PATH so that the
recipe for “openfwwf-firmware” is found?

> bash: /sys/module/firmware_class/parameters/path: Permiso denegado

That’s because this is not performed as root.  This needs to be done in
a “root” shell, so:

  sudo bash
  export GUIX_PACKAGE_PATH=/path/to/recipes
  echo -n $(guix build openfwwf-firmware)/lib/firmware > \
     /sys/module/firmware_class/parameters/path

Could you try again?

(Please paste the exact commands and output in your reply.)

Thanks,
Ludo’.