-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various install.sh crashes due to unloaded kernel modules and missing dependencies on Bookworm Lite #116
Comments
Just tested all these fixes on a Pi4 running Pi Lite 32-bit Bookworm and can confirm all the above is correct. Thank you @Devonavar !! Minor notes:
|
Thanks! |
Reopening since I see you were using my workarounds and haven't committed anything yet. I'll let the process work as intended... |
Hey there, Thanks a lot for your input.
|
Thanks @quaxalber! Great to see a fix added here. However, this issue cites two fixes needed, only which one is addressed in your PR:
The trick for number 2 is that the path for |
Ah right, totally missed that. Another patch incoming then. I'll also add the Thanks again! |
Great - thank you! |
Hi! the default config.txt looks like this
the script does not add dtoverlay=dwc2 to the file because it already exists.
i update the config.txt to the following and now it works!
maybe you can update install.sh to fix that thx! |
Just installed bluetooth_2_usb on a fresh image of Raspberry PI OS Lite (32-bit) (bookworm), using a Raspberry Pi Zero W.
I encountered three crashes during the install process due to missing dependencies. These were easy to fix manually, but should probably be included in the script. I'm filing it here as a bug because I don't know the code at all, so I feel safer reporting it and letting someone who knows the whole process better fix it.
Error #1: (script error):
Aborting installation. Failed installing dependencies.
(python error):
Fix #1:
sudo apt install python3-dev
(missing dependency)Error HeuristicPerson#2: (script error):
Installation failed. The version information could not be retrieved.
(python error):
Exception: dwc2 module not present in your kernel. did you insmod it?
Fix HeuristicPerson#2:
sudo modprobe dwc2
(kernel module not loaded)Error #3: (script error):
Installation failed. The version information could not be retrieved.
(python error):
Exception: libcomposite module not present in your kernel. did you insmod it?
Fix #3:
sudo modprobe libcomposite
(kernel module not loaded)For both HeuristicPerson#2 and #3, the module was correctly added to /etc/modules, so presumably it would work on after reboot, and it just needs to be loaded in the script to the installation script doesn't error out.
Error #4:
dtoverlay=dwc2
is written to the wrong file in a new Bookworm installation (which is now necessary due to the Python3.11 version requirement). config.txt is now located at /boot/firmware/config.txt instead of /boot/config.txtWorkaround #4: Manually add
dtoverlay=dwc2
to /boot/firmware/config.txt. Presumably the script now needs some OS version checking code to fix this properly.The text was updated successfully, but these errors were encountered: