I am curious if anyone has tried using Bazzite with an HDMI-CEC adapter such as this one made by Pulse Eight. Does it work at all? If so, is it plug and play? I am using the gnome-bazzite image with a mini PC.
I had the exact same query, for me was not plug and play but got it working
(mini-pc, gnome-bazzite (without steam mode))
first checked it was picked up with
lsusb
then as was unsure if it shipped with it I installed libCEC via brew
brew install libCEC
then, as the systemd services are already made but inactive:
sudo systemctl enable cec-onboot.service
and
sudo systemctl enable cec-onpoweroff.service
now for me the final service, cec-onsleep.service did not work, it would run but not turn off the TV via CEC so disabled that and made my own
created a new file samed sleep-cec.serivice (chose to put it in a new systemd/user/ directory in .config for home:
[Unit]
Description=Run CEC actions for sleep
DefaultDependencies=no
Before=systemd-suspend.service
[Service]
Type=oneshot
ExecStart=-/usr/bin/cec-control onpoweroff
[Install]
WantedBy=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
it seems the default one was triggered too late, after the hdmi connection was severed, so the above just makes it run earlier
then enabling it
sudo systemctl enable /PATH/TOTHE/FILEMADE/sleep-cec.service
these three of course just handle turning on/off the TV in sync with the pc, for other stuff you’d need to set up some other custom stuff with cec-client
hope it helps! took me a while today to figure it out and saw this in my research so wanted to come back and drop my solution
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.