Skip to content
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

DietPi v8.9.2 specific raspberrypi-sys-mods breaks loading of some drivers #5789

Closed
f-laurens opened this issue Oct 5, 2022 · 7 comments
Closed
Labels
Bug 🐞 Solution available 🥂 Definite solution has been done
Milestone

Comments

@f-laurens
Copy link

f-laurens commented Oct 5, 2022

For some unknown reason, after updating from DietPi v8.8.1 to v8.9.2, some drivers do not load anymore on my Raspberry Pi
(no kernel error messages, the drivers just do not load).
I have kept same kernel version (5.15.32) so this is not a driver upgrade/rebuild issue.
My guess is that this might be related to the new DietPi specific version of raspberrypi-sys-mods...

What would be the way to reinstall the standard (20220915) version of raspberrypi-sys-mods, in order to validate this?

@MichaIng
Copy link
Owner

MichaIng commented Oct 5, 2022

Which drivers do you mean in particular? We have a report that some LCD driver may not load correctly, leading to backlight sysfs entry (so backlight cannot be toggled).

Yes please test whether downgrading the package solves it again.

@f-laurens
Copy link
Author

f-laurens commented Oct 5, 2022

Which drivers do you mean in particular?

The driver that fails to load in my case is this specific NFC driver.

@f-laurens
Copy link
Author

f-laurens commented Oct 6, 2022

I downgraded package raspberrypi-sys-mods from version 2:20220915-dietpi1 to the original 20220915 version thru:

sudo apt-get remove raspberrypi-sys-mods
sudo apt-get autoremove
sudo apt-get install raspberrypi-sys-mods=20220915

and this indeed solves the problem for me: after rebooting, the NFC driver now loads correctly.

@f-laurens f-laurens changed the title DietPi v8.9.2 raspberrypi-sys-mods breaks loading of some drivers? DietPi v8.9.2 specific raspberrypi-sys-mods breaks loading of some drivers Oct 6, 2022
@Joulinar
Copy link
Collaborator

Joulinar commented Oct 6, 2022

thanks for sharing. Confirmed this solution by another user on our forum.

https://dietpi.com/forum/t/boot-problem-since-last-dietpi-upgrade/14538

MichaIng added a commit that referenced this issue Oct 6, 2022
- Raspberry Pi | Resolved an issue where some I2C and SPI device drivers were not loaded. Many thanks to @f-laurens and others for reporting this issue: #5789
@MichaIng
Copy link
Owner

MichaIng commented Oct 6, 2022

I think I found it, please test:

cd /tmp
curl -O https://dietpi.com/downloads/binaries/raspberrypi-sys-mods.deb
dpkg -i raspberrypi-sys-mods.deb
rm raspberrypi-sys-mods.deb

@f-laurens
Copy link
Author

I think I found it, please test:

This new version 2:20220915-dietpi2 indeed fixes the problem.
Thank!

@Joulinar Joulinar added Solution available 🥂 Definite solution has been done and removed Investigating 🤔 labels Oct 7, 2022
@MichaIng
Copy link
Owner

MichaIng commented Oct 7, 2022

Many thanks for the feedback 👍.

@MichaIng MichaIng added this to the v8.10 milestone Oct 7, 2022
mtekman pushed a commit to mtekman/DietPi that referenced this issue Oct 31, 2022
- Raspberry Pi | Resolved an issue where some I2C and SPI device drivers were not loaded. Many thanks to @f-laurens and others for reporting this issue: MichaIng#5789
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 Solution available 🥂 Definite solution has been done
Projects
None yet
Development

No branches or pull requests

3 participants