paul- wrote: 
> vcgencmd needs to run with root access.  Pretty much everything in pCP
> is running under root anyway.   Which is why we don't have a ton of udev
> rules to change device permissions.
Hi Paul and paul-,

Thanks for your help. I can confirm that when I run vcgencmd as root I
can turn on and off the HDMI output.

This is what I did. First I installed rpi-vc.tcz by setting HDMI power
to "off" on the Tweaks page.
After reboot, the HDMI output is turned off at the end of the boot
sequence and the connected monitor goes in standby mode.

When I then type:
"sudo vcgencmd display_power 1"
the HDMI output is turned on, and the Jivelite GUI is displayed on the
connected monitor
And when I then type:
"sudo vcgencmd display_power 0"
the HDMI output is turned off, and the connected monitor goes in standby
mode.
And then typing:
"sudo vcgencmd display_power 1"
turns on the HDMI output again.

When I then use the power button on the Remote Control to turn off pCP,
the audio stops and the screen turns black, but the monitor does not go
in standby mode, indicating that the HDMI output stays ON.

So now I need to figure out if I can issue command "sudo vcgencmd
display_power 1" at the end of the boot sequence (and when turning on
pCP after the player was turned off), and issue command "sudo vcgencmd
display_power 0" after turning off the player. I will try if I can get
this to work on one of the coming days. And of course suggestions on how
to accomplish this are welcome.



| LMS 7.9.3 | Squeezebox Boom | RPi0W + pCP 6.1.0 + HiFiBerry DAC |
------------------------------------------------------------------------
CJS's Profile: http://forums.slimdevices.com/member.php?userid=68700
View this thread: http://forums.slimdevices.com/showthread.php?t=112748

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to