Subject: bug#23409: unable to load free firmware

From: Quilro Ordonez <[email-masked]>
Date: Thu, 12 May 2016 11:11:15 -0500

Thank you for your help Alex. Below is my report.

El 2016-05-12 04:52, Alex Kost escribió:
> Quilro Ordonez (2016-05-11 22:01 +0300) wrote:
> 
>> El 2016-05-05 03:42, Alex Kost escribió:
>>> Ludovic Courtès (2016-05-03 11:01 +0300) wrote:
>>> 
>>>> Quilíro: firmware files are searched for in the directory specified 
>>>> in
>>>> the /sys/module/firmware_class/parameters/path pseudo-file (see the
>>>> (gnu
>>>> build activation) module.)
>>>> 
>>>> 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?
>> 
>> Here it is:
>> 
>> $ sudo bash
>> # export GUIX_PACKAGE_PATH=/home/quiliro/guix/packages
>> # echo -n $(guix build openfwwf-firmware) >
>> /sys/module/firmware_class/parameters/path
>> substitute: updating list of substitutes from
>> 'https://mirror.hydra.gnu.org'... 100.0%
>> substitute: updating list of substitutes from
>> 'https://mirror.hydra.gnu.org'... 100.0%
>> substitute: updating list of substitutes from
>> 'https://mirror.hydra.gnu.org'... 100.0%
>> substitute: updating list of substitutes from
>> 'https://mirror.hydra.gnu.org'... 100.0%
>> # cat /sys/module/firmware_class/parameters/path
>> /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2
>> # insmod b43-open
>> insmod: ERROR: could not load module b43-open: No such file or 
>> directory
>> # echo -n $(guix build openfwwf-firmware)/lib/firmware >
>> /sys/module/firmware_class/parameters/path
>> # cat /sys/module/firmware_class/parameters/path
>> /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/lib/firmware
>> o# insmod b43-open
>> insmod: ERROR: could not load module b43-open: No such file or 
>> directory
> 
> I have no idea what I suggest but did you try:
> 
>   # insmod
> /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/b43-open

# insmod 
/gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/b43-open
insmod: ERROR: could not insert module 
/gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/b43-open: 
Is a directory
#