08-01-2024, 08:51 PM
Hi Tim hi to all guys...
Regarding the CEC HDMI functionality
an user of my community Faceboock
"Hardware and software DAC HIFI Rasperry"
https://www.facebook.com/groups/318663196139962
... tells me that the functionality does not work well
he said...that
after installing the user-side packages "myuser" ( with sudo privileges )
if I run "mpc play" or "mpc pause" or "mpc next" from the terminal, the commands are executed correctly. The same commands are present in the script. sh
but they have no effect,
if the terminal control with the cec-client utility the remote control keys are interpreted correctly. In the configuration file of the service that I report below is defined the user "pi". If I change "pi" to "myuser" nothing works. [Unit]
Description=cecmon
[Service]
ExecStart=bash moode_cec_mon_v1.0.sh
WorkingDirectory=/opt/shoefone/cec
StandardOutput=inherit
StandardError=inherit
Restart = always
User=pi
[Install]
WantedBy=multi-user.target
what is wrong...
tnks 4Urs support
Regarding the CEC HDMI functionality
an user of my community Faceboock
"Hardware and software DAC HIFI Rasperry"
https://www.facebook.com/groups/318663196139962
... tells me that the functionality does not work well
he said...that
after installing the user-side packages "myuser" ( with sudo privileges )
if I run "mpc play" or "mpc pause" or "mpc next" from the terminal, the commands are executed correctly. The same commands are present in the script. sh
but they have no effect,
if the terminal control with the cec-client utility the remote control keys are interpreted correctly. In the configuration file of the service that I report below is defined the user "pi". If I change "pi" to "myuser" nothing works. [Unit]
Description=cecmon
[Service]
ExecStart=bash moode_cec_mon_v1.0.sh
WorkingDirectory=/opt/shoefone/cec
StandardOutput=inherit
StandardError=inherit
Restart = always
User=pi
[Install]
WantedBy=multi-user.target
what is wrong...
tnks 4Urs support