-
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
No leds on /sys/class/leds in Debian 12 #1
Comments
If I recall correctly this device use GPIO and SPI to manage LED. You probably have led at boot because it is supported by u-boot, since you use default kernel from debian it might be that you don't have the spi modules loaded or even compiled in the default debian one. Can you see the spi bus once debian is booted ? Look at the DTS definition and look at GPIO and SPI details to see if any modules is listed and check if those modules exists in the debian modules, and if so try to load them. |
If you read the wiki I wrote about this device I had the issue with led until I discovered there is a 74hc164 8-shift as gpio extender for power, sysfail, sys, hddfail gpio-led (note hdd led is gpio independant on GPIO26 MPP). It might be that the linux tree change the driver name it looks like it is now https://github.com/torvalds/linux/blob/2dde18cd1d8fac735875f2e4987f11817cc0bc2c/drivers/gpio/gpio-74x164.c#L4 gpio-74x164 not sure if Debian has it by default but you might want to change you dts to match with the new driver definition The HDD led also needed a patch in the past for the MVEBU sata kernel to call it on HDD activity see : https://github.com/benoitm974/ix4-300d/blob/master/kernel/0003-added-led-patch.patch it may not have pass the vanilla kernel or been changed over time... |
Thanks a lot for direction. |
I am creating step-by-step tutorial to install Debian 12 on ix4-300d but I am stuck on leds.
I cannot have leds available after boot.
HD leds works fine on power on but during linux booting something happens after 30 seconds. HD and power leds switch to off.
Once logged as root there are no leds devices in /sys/class/leds folder.
I am attaching the detailed log of last boot here
Do you have any idea what wrong?
Thanks for any help you can provide
alf45tar
The text was updated successfully, but these errors were encountered: