-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Cannot move ACT LED functionality to GPIO pin #1363
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
Comments
The easy method for now is to create an overlay that overwrites the GPIO reference of the ACT LED with the original &gpio. The dtparam will then work as before. It's a bit of a hack, though. I would have liked to be able to do this from the existing dtparam, but the |
I'll reply again when I've pushed some suitable overlays. |
The active branches - rpi-4.1.y, rpi-4.4.y and rpi-4.5.y now include the pi3-act-led overlay. From the README:
The source will be built into future releases, but you can download a precompiled version for 4.1 here, and for 4.4 and 4.5 here. |
Thank you! |
Yes, that's correct. |
See: raspberrypi/linux#1361 kernel: vchiq_arm: Access the dequeue_pending flag locked See: raspberrypi/linux@a7419d5 kernel: BCM270X_DT: Add pi3-act-led overlay See: raspberrypi/linux#1363 firmware: sdram: cache the last set_frequency firmware: pwm_sdm: Set SDRAM turbo frequency to default if pwm_sdm is enabled See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=136445 firmware: vchiq_lib: Don't overwrite loop count mid-loop See: https://discourse.osmc.tv/t/frequent-random-muting-then-freezing/9875/104 firmware: arm_loader: Change mini-UART initialisation order See: #553
See: raspberrypi/linux#1361 kernel: vchiq_arm: Access the dequeue_pending flag locked See: raspberrypi/linux@a7419d5 kernel: BCM270X_DT: Add pi3-act-led overlay See: raspberrypi/linux#1363 firmware: sdram: cache the last set_frequency firmware: pwm_sdm: Set SDRAM turbo frequency to default if pwm_sdm is enabled See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=136445 firmware: vchiq_lib: Don't overwrite loop count mid-loop See: https://discourse.osmc.tv/t/frequent-random-muting-then-freezing/9875/104 firmware: arm_loader: Change mini-UART initialisation order See: raspberrypi/firmware#553
This worked perfectly. Thank you! |
You're welcome. |
See: raspberrypi/linux#1361 kernel: vchiq_arm: Access the dequeue_pending flag locked See: raspberrypi/linux@a7419d5 kernel: BCM270X_DT: Add pi3-act-led overlay See: raspberrypi/linux#1363 firmware: sdram: cache the last set_frequency firmware: pwm_sdm: Set SDRAM turbo frequency to default if pwm_sdm is enabled See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=136445 firmware: vchiq_lib: Don't overwrite loop count mid-loop See: https://discourse.osmc.tv/t/frequent-random-muting-then-freezing/9875/104 firmware: arm_loader: Change mini-UART initialisation order See: raspberrypi#553
@Cristov9000 could You please help me with that?? i connected led to 17 and 12 pins on gpio, place both script compilations (4.1, and 4.4 , 4.5) on sd card (boot/overlays on this small 50mb boot partition) and line "dtoverlay=pi3-act-led, gpio=18" to config file in /boot and it does not work. The original light for sdcard stop to blink. it blink again when i comment this line i put in config file. |
Try connecting the LED to header pins 12 (GPIO18) and 14 (GND). Be careful to get it the right way round. |
@pelwell thank You for You unswer:) but still dont work, but led stop ti light - it is 100% off now, any other idea? i connect power to 12 and ground to 14 |
Can you post the content of config.txt? |
For more options and information seehttp://www.raspberrypi.org/documentation/configuration/config-txt.mdSome settings may impact device functionality. See link above for detailsdtoverlay=pi3-act-led, gpio=18 uncomment if you get no picture on HDMI for a default "safe" mode#hdmi_safe=1 uncomment this if your display has a black border of unused pixels visibleand your display can output without overscandisable_overscan=1 uncomment the following to adjust overscan. Use positive numbers if consolegoes off screen, and negative if there is too much border#overscan_left=16 uncomment to force a console size. By default it will be display's size minusoverscan.#framebuffer_width=1280 uncomment if hdmi display is not detected and composite is being output#hdmi_force_hotplug=1 uncomment to force a specific HDMI mode (this will force VGA)#hdmi_group=1 uncomment to force a HDMI mode rather than DVI. This can make audio work inDMT (computer monitor) modeshdmi_drive=2 uncomment to increase signal to HDMI, if you have interference, blanking, orno display#config_hdmi_boost=4 uncomment for composite PAL#sdtv_mode=2 #uncomment to overclock the arm. 700 MHz is the default. Uncomment some or all of these to enable the optional hardware interfaces#dtparam=i2c_arm=on Uncomment this to enable the lirc-rpi module#dtoverlay=lirc-rpi Additional overlays and parameters are documented /boot/overlays/READMEEnable audio (loads snd_bcm2835)dtparam=audio=on |
Remove the space after the comma. |
@pelwell YOU ARE THE GENIUS!!!!!!! coma :) now it is working:) THANK YOU VERY MUCH!!! |
See: raspberrypi/linux#1361 kernel: vchiq_arm: Access the dequeue_pending flag locked See: raspberrypi/linux@a7419d5 kernel: BCM270X_DT: Add pi3-act-led overlay See: raspberrypi/linux#1363 firmware: sdram: cache the last set_frequency firmware: pwm_sdm: Set SDRAM turbo frequency to default if pwm_sdm is enabled See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=136445 firmware: vchiq_lib: Don't overwrite loop count mid-loop See: https://discourse.osmc.tv/t/frequent-random-muting-then-freezing/9875/104 firmware: arm_loader: Change mini-UART initialisation order See: raspberrypi#553
Previously on the Pi2 You could move the ACT led functionality to another GPIO pin by adding dtparam=act_led_gpio=XX to /boot/config.txt. This functionality is lost on the Pi3 with the GPIO extender. Looking for a work around. Thank you!
The text was updated successfully, but these errors were encountered: