Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Hi I used only the leds_off line: dtoverlay=hifiberry-dacplus,leds_off=true But the led keeps burning. Peet Peet's Profile: http://forums.slimdevices.com/member.php?userid=44328 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
You need to replace Code: dtoverlay=hifiberry-dacplus with Code: dtoverlay=hifiberry-dacplus,leds_off=true jd68's Profile: http://forums.slimdevices.com/member.php?userid=30795 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
When I opened config.txt the first line was already there. I think the line comes when I let piCore know that I use a HifiBerre Amp2. Regards Peet Peet's Profile: http://forums.slimdevices.com/member.php?userid=44328 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Why 2 dtoverlay=hifiberry-dacplus lines? Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Hi Jeff In config.txt: dtoverlay=hifiberry-dacplus dtoverlay=hifiberry-dacplus,leds_off=true But the led keeps burning after 'backup' and 'reboot'. Little bit stupid. Regards Peet Peet's Profile: http://forums.slimdevices.com/member.php?userid=44328 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Peet wrote: > Hi everybody > > It's weekend and time for piCore. > > HifiBerry writes: > If the software youÂre using doesnÂt provide the Amp2 as an output > option, you should use the HiFiBerry DAC+ driver as the Amp2 is > basically a DAC+ with an integrated power stage. > > I read the wrong README, but I found the good one of Greg. He used the > DAC+ and I understood it had to be: > > dtoverlay=hifiberry-dacplus, leds_off=true > > I changed config.txt but nothing happens with the led. I controlled > config.txt and it was set like I wanted and placed below > dtoverlay=hifiberry-dacplus. > > Asking HifiBerry was the answer: I don't know, we do not support > piCore. > > So I'm still doing something wrong or it's end of story. > > Regards Peet Adding ",leds_off=true" to the config.txt does indeed kill the LEDs on a DAC+ Code: dtoverlay=hifiberry-dacplus Is already inserted by the picoreplayer squeezelite settings so complete line is Code: dtoverlay=hifiberry-dacplus,leds_off=true NOTE NO Spaces ! Jeff *Want a webapp ?* Get SqueezeLite-X ! https://forums.slimdevices.com/showthread.php?108550-Announce-Squeezelite-X=903953=1#post903953 Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Hi everybody It's weekend and time for piCore. HifiBerry writes: If the software youÂre using doesnÂt provide the Amp2 as an output option, you should use the HiFiBerry DAC+ driver as the Amp2 is basically a DAC+ with an integrated power stage. I read the wrong README, but I found the good one of Greg. He used the DAC+ and I understood it had to be: dtoverlay=hifiberry-dacplus, leds_off=true I changed config.txt but nothing happens with the led. I controlled config.txt and it was set like I wanted and placed below dtoverlay=hifiberry-dacplus. Asking HifiBerry was the answer: I don't know, we do not support piCore. So I'm still doing something wrong or it's end of story. Regards Peet Peet's Profile: http://forums.slimdevices.com/member.php?userid=44328 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
> Load: dtoverlay=hifiberry-dacplus,= Is a bit misleading then *Want a webapp ?* Get SqueezeLite-X ! https://forums.slimdevices.com/showthread.php?108550-Announce-Squeezelite-X=903953=1#post903953 Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
You need to read the README file. Assuming hifiberry-dacplus works for your DAC? Code: Name: hifiberry-dacplus Info: Configures the HifiBerry DAC+ audio card Load: dtoverlay=hifiberry-dacplus,= Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec Digital volume control. Enable with "dtoverlay=hifiberry-dacplus,24db_digital_gain" (The default behaviour is that the Digital volume control is limited to a maximum of 0dB. ie. it can attenuate but not provide gain. For most users, this will be desired as it will prevent clipping. By appending the 24dB_digital_gain parameter, the Digital volume control will allow up to 24dB of gain. If this parameter is enabled, it is the responsibility of the user to ensure that the Digital volume control is set to a value that does not result in clipping/distortion!) slave Force DAC+ Pro into slave mode, using Pi as master for bit clock and frame clock. leds_offIf set to 'true' the onboard indicator LEDs are switched off at all times. dtoverlay=hifiberry-dacplus,leds_off Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Hi Paul Here it is: 34522 Regards Peet +---+ |Filename: config.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=34522| +---+ Peet's Profile: http://forums.slimdevices.com/member.php?userid=44328 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Post your complete config.txt - someone might see a problem. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Hi Greg I followed your answer. I found that the HifiBerry Amp2 uses the DAC+. On https://github.com/raspberrypi/linux...t/dts/overlays the "hifiberry-dacplus-overlay.dts" on I found: leds_off = <_dacplus>,"hifiberry-dacplus,leds_off?"; Then I learned to work with vi. I looged in via ssh and used m1, c1, vicfg. Then I scrolled down and opened the 'insert mode' with 'o'. Now I wrote the 'leds_off' line. With 'ESC' and ':wq!' I stopped vi. And then reboot piCore. But the led on the Amp2 remains burning! What do I wrong or forget or don't see? Regards Peet Peet's Profile: http://forums.slimdevices.com/member.php?userid=44328 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
You need to read through the README to find the parameters that are valid for your dtoverlay. Your are hoping for a "leds_off" parameter. Then you need to 'Edit config.txt' (https://docs.picoreplayer.org/how-to/edit_config_txt/) to add ",leds_off" your dtoverlay command line. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Hi Greg I got an answer of HifiBerry. The Amp2 can be seen as a DAC+. I got the name of a website where I can found what I need: You can try the led_off parameter: https://github.com/raspberrypi/linux/tree/7fb9d006d3ff3baf2e205e0c85c4e4fd0a64fcd0/arch/arm/boot/dts/overlays I looked at it but as I said: I don't know Linux. Can you tell me what to do and how do to it. Thanks and regards Peet Peet's Profile: http://forums.slimdevices.com/member.php?userid=44328 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Peet wrote: > Hi slartibartfast > > I see you used the second code of Greg. > I don't need the first code? > > Regards PeetThe first code might be the other LED. I didn't bother with that > one since it isn't on all the time. Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Hi slartibartfast I see you used the second code of Greg. I don't need the first code? Regards Peet Peet's Profile: http://forums.slimdevices.com/member.php?userid=44328 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Peet wrote: > Hi Greg > > Thanks for the code. > > I wrote in the beginning that I know nothing of Linux. > How do I get this code in piCore? > > Regards PeetTo turn off the red LED on a Pi3B I added a command on the tweaks page.[image: https://uploads.tapatalk-cdn.com/20210427/afbdd7e3cbee71fd51c0c1371e7bd203.jpg] Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
hi Peet, If my previous reply didn't ring any bells for you I suggest you wait for pCP 8.0.0, it should be a lot easier. Even the pCP 8.0.0 is pretty basic as it doesn't turn off ethernet leds. Use a bit of tape or blutac as a interim solution. regards Greg Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Hi Greg Thanks for the code. I wrote in the beginning that I know nothing of Linux. How do I get this code in piCore? Regards Peet Peet's Profile: http://forums.slimdevices.com/member.php?userid=44328 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Here's a bit of beta code. I included it here for other readers than are not using RPi3. This is only for the power and activity leds. You will need to grab the couple of off lines of code. Code: # # LEDS # - ACT LED = /sys/class/leds/led0 # - PWR LED = /sys/class/leds/led1 # pcp_rpi_leds() { local OPTION="$1" case "$OPTION" in on|ON) pcp_rpi_leds_on ;; off|OFF) pcp_rpi_leds_off ;; *) echo "Invalid option: $OPTION" ;; esac } pcp_rpi_leds_on() { pcp_rpi_details case "$TYPE" in 0) echo 1 | sudo tee /sys/class/leds/led0/brightness ;; 1) echo "Not supported on RPi1" ;; *) echo 1 | sudo tee /sys/class/leds/led0/brightness echo 1 | sudo tee /sys/class/leds/led1/brightness ;; esac } pcp_rpi_leds_off() { pcp_rpi_details case "$TYPE" in 0) echo 0 | sudo tee /sys/class/leds/led0/brightness ;; 1) echo "Not supported on RPi1" ;; *) echo 0 | sudo tee /sys/class/leds/led0/brightness echo 0 | sudo tee /sys/class/leds/led1/brightness ;; esac } Off code: Code: echo 0 | sudo tee /sys/class/leds/led0/brightness echo 0 | sudo tee /sys/class/leds/led1/brightness Looks like the HiFiBerry AMP audio driver doesn't have params for the leds. Code: Name: hifiberry-amp Info: Configures the HifiBerry Amp and Amp+ audio cards Load: dtoverlay=hifiberry-amp Params: There is an HiFiBerry AMP100 driver that does have param for the leds but I don't know it that driver works for the AMP2? Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Hi Greg I use a PI 3b and HifiBerry Amp2. Peet's Profile: http://forums.slimdevices.com/member.php?userid=44328 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
We don't have a timeline for pCP8.0.0. It's just a matter of when it is good enough for users. The command to turn the leds off depends on which model RPi you have. The command to turn the leds off depends on which HAT you have. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
Hi Greg In 'Card Control' there is a possibility to enable/disable the headphone op the Pi but not of the leds. When do you expect version 8? Is it possible with Cron to set off the leds. And what is then the syntax ( I'm not a Linux user). Peet's Profile: http://forums.slimdevices.com/member.php?userid=44328 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off
There are many Raspberry Pi's and many HiFiBerry HATs, some you can turn off the LEDs others you can't. :( pCP8.0.0 will have the ability to turn off the RPi's LEDs (if possible). The HiFiBerry HAT will require adding "leds_off" to the driver in config.txt (if possible). Is there an option in [Card Control]? Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=114449 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins