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

The green state LED is not working #37

Closed
3PO opened this issue Jan 19, 2018 · 7 comments
Closed

The green state LED is not working #37

3PO opened this issue Jan 19, 2018 · 7 comments

Comments

@3PO
Copy link

3PO commented Jan 19, 2018

Usually the green onboard LED should show the SD card activity, but with this distro the LED is allways off.

This is the issue from gentoo-on-rpi3-64bit:

pi64 ~ # ls -r /sys/class/leds/*
ls: cannot access '/sys/class/leds/*': No such file or directory
pi64 ~ #

And this is from raspian:

raspberrypi ~ # ls -r /sys/class/leds/*
/sys/class/leds/led1:
uevent  trigger  subsystem  power  max_brightness  device  brightness  ..  .

/sys/class/leds/led0:
uevent  trigger  subsystem  power  max_brightness  device  brightness  ..  .
raspberrypi ~ #
@3PO
Copy link
Author

3PO commented Jan 26, 2018

The problem still exists in the new version 1.2.0.

@sakaki-
Copy link
Owner

sakaki- commented Jan 26, 2018

Needs CONFIG_BCM_VCIO and CONFIG_GPIO_BCM_EXP available and set in the kernel (see e.g. bamarni/pi64#6); this was added in the 4.11.y branch (raspberrypi/linux@3bd4441), but the currently shipped kernel with the image is 4.10.y (or 4.9.y) for vc4 accelerated video driver support / stability. Will have a look at booting 4.15 sometime soon though, now 1.2.0 release is out.

@yrabbit
Copy link

yrabbit commented Mar 14, 2018

It indeed does work with newer kernels.

rabbit@pi64 ~/kbuild/linux % uname -a
Linux pi64 4.16.0-rc2-v8+ #1 SMP PREEMPT Mon Feb 26 07:25:48 GMT 2018 aarch64 GNU/Linux
ROOT@pi64 ~ # ls -r /sys/class/leds/*
/sys/class/leds/led1@  /sys/class/leds/led0@

@sakaki-
Copy link
Owner

sakaki- commented Mar 16, 2018

I have the 4.14.y in testing atm, and will make this the default kernel for the image shortly. This does have CONFIG_BCM_VCIO and CONFIG_GPIO_BCM_EXP defined in bcmrpi3_defconfig, so the LED should work.

@sakaki-
Copy link
Owner

sakaki- commented Mar 24, 2018

I've unmasked 4.14* now, if you emaint sync --repo rpi and then update bcmrpi3-kernel-bin and reboot, you should have a working green LED ^-^

@sakaki-
Copy link
Owner

sakaki- commented Apr 4, 2018

v1.2.1 is out now - supports the RPi3 B+ (as well as B), uses kernel 4.14, and... the green LED finally blinks ^-^

@yrabbit
Copy link

yrabbit commented Apr 4, 2018

Very good :)

@sakaki- sakaki- closed this as completed Apr 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants