kobo-clara: wireless kernel module not properly installed
Describe your issue
What's the expected behaviour?
8189fs.ko is available at /lib/modules/6.1.0/kernel/drivers/net/wireless and can be loaded to use wifi on kobo-clara
What's the current behaviour?
8189fs.ko is stored in the file /lib/modules/6.1/kernel/drivers/net/wireless (wireless is not a directory).
Notice the incorrect path /lib/modules/6.1 instead of /lib/modules/6.1.0 where all the modules and modules.dep are.
How to reproduce your issue?
Run a fresh install:
pmbootstrap init
- Choose edge
- Choose kobo-clara
- Choose the rest in any way, make sure you're including firmware for the device
pmbootstrap install --sdcard=/dev/...
- Make sure waveform firmware file is available
- Insert SD card and boot
- Have no wifi bacause the module is in the wrong place
What device are you using?
kobo-clara
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v22.06
(supported until 2023-01-18) -
v22.12
-
[NOT POSSIBLE WITHOUT WIFI] I confirm that the issue still is present after running
sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: Please fill out
Sxmo 1.13.0
dwm-6.2
dmenu-5.0.12
/usr/bin/st 0.8.4.1
superd Version: 0.7.1
Server String: /dev/shm/user/10000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 52
Tile Size: 65496
User Name: panuh
Host Name: oswald
Server Name: PulseAudio (on PipeWire 0.3.65)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: auto_null
Default Source: auto_null.monitor
Cookie: 5f3f:2fc9
/usr/bin/sxmo_version.sh: line 32: : Permission denied
mmcli 1.20.2
armv7l
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
2023-02-14
Additional information
Workaround:
# mv /lib/modules/6.1/kernel/drivers/net/wireless /lib/modules/6.1.0/kernel/drivers/net/wireless/8189fs.ko
# depmod -a
# modprobe 8189fs
I guess something goes wrong here: https://gitlab.postmarketos.org/postmarketos/pmaports/-/blame/master/device/testing/linux-kobo-clara-mainline/APKBUILD#L67