Posts: 8
Joined: Jun 2018
Reputation:
0
Hi. I have kodi on the rbp2 and the monitor is connected to it.
How i can setup for disable monitor when nothing play on kodi? aka sleep mod for kodi.
Posts: 8
Joined: Jun 2018
Reputation:
0
To my great regret, it did not work. Only black screen. But the monitor did not fall asleep.
Posts: 1,010
Joined: Sep 2014
Reputation:
102
asavah
Posting Freak
Posts: 1,010
2018-06-13, 19:37
(This post was last modified: 2018-06-13, 19:38 by asavah.)
What's your os?
Blackscreen is probably because vcgencmd is not on path.
Provide a debug log.
I has been working fine here since I wrote it.
Posts: 8
Joined: Jun 2018
Reputation:
0
My OS is standalon kodi image based on raspbian.
Posts: 688
Joined: Feb 2015
Reputation:
21
Raspbian has vcgencmd in /usr/bin/vcgencmd, and is part of the package libraspberrypi-bin, check if you have it installed, not sure if it is on Raspbian Lite.
Posts: 688
Joined: Feb 2015
Reputation:
21
vcgencmd is on the package "libraspberrypi-bin" in the Raspbian repositories.
Posts: 688
Joined: Feb 2015
Reputation:
21
Yeah, that is Xbian, not Raspbian. Better ask in their forums.
Posts: 8
Joined: Jun 2018
Reputation:
0
export PATH=$PATH:/opt/vc/bin/
this resolved problem with vcgencmd, but screen still not fall to offline
Posts: 1,010
Joined: Sep 2014
Reputation:
102
asavah
Posting Freak
Posts: 1,010
2018-06-14, 19:58
(This post was last modified: 2018-06-14, 20:01 by asavah.)
export PATH=$PATH:/opt/vc/bin/
Where did you put this?
This may solve the path issue for your user, but not for kodi,
it depends on how kodi is launched, if it's systemd unit it probably won't help as is.
I'm not familiar with xbian.
I've already asked you for a debug log.
Depending on what's on the log I may provide a 100% working workaround.