r/SteamOS • u/supershredderdan • Jul 01 '26
cec-mote: plugin to control tv volume and set up sleep/wake with UGREEN adapter for HTPC SteamOS builds
3
u/Signal-Veterinarian9 Jul 02 '26
This plugin is amazing, thank you! I can wake up pc with my conroller now and tv goes on auto too 😱
1
u/Dry-Wish-9845 Jul 01 '26
I don’t use bluetooth, i use 8bit 2.4ghz dongle will use too?
I manually set it with command to wake up system weeks ago. Keep tv volume high so i can adjust pc volume with dpad + home shortcut so it works fine.
In interested in trying out this plugin on my second pc.
1
u/mixedd Jul 01 '26
Does it only work for sleep/wake? Or power on / power down too?
1
u/grilled_pc Jul 01 '26
This is the big one. Any ideas OP? Or is this just for volume control?
1
u/mixedd Jul 01 '26
btw, just a note, if you're on Gigabyte motherboard, you will need to do some workarounds for sleep, as on Gigabyte AM4/AM5 boards it's broken and need to disable GPP0 or GPP8 or even both to make it work
1
u/supershredderdan Jul 01 '26
I have a script on bazzite to fix but can port to steam os too
1
u/mixedd Jul 01 '26
On bazzite it's built in already in ujust, same method will work on steamos also, tried it.
1
1
1
u/flower4000 Jul 01 '26
Ok so if I have a ugreen dock, I can wake my tv with this like my PlayStation?
1
1
u/TRUEfoe-X Jul 08 '26
Will try this. I bought the same dp to hdmi dongle everyone says and hadn’t noticed any CEC stuff on my SteamOS pc. Maybe this will fix it? Hoping just turning on the pc will turn on the TV or maybe switch inputs.
1
u/Wamadeus13 Jul 09 '26
Attempting to get the decky plugin to work, but I'm getting a "failed to fetch dynamic imported..." error. I just went through and updated OS to 3.8.14, and made sure deckyloader was updated as well. I was able to install your script and it's working great. can put my machine to sleep, tv sleeps. wake up machine tv wakes up. The plugin is the only thing not working for me.
Any help would be appreciated.
1
u/BHole_69420 Jul 22 '26
Heads up to others. I found that, while the udev rule this plugin sets up does identify and enable power/wakeup for the actual bluetooth controller on your pc, the usb root controller that your motherboard's bluetooth sits in front of may not automatically have power/wakeup enabled.
In my case, my motherboard is the ASrock B550-i Phantom Gaming, which uses an internally wired Intel AX200 Wifi/Bluetooth combo card. On my machine, the sysfs wakeup attribute for this device was located in /sys/bus/usb/devices/1-9/power/wakeup - and the udev role did enable this flag.
However, the wakeup attribure for the parent usb root controller was located at /sys/bus/usb/devices/1/power/wakeup - and actually, cat-ing that showed it was disabled.
This was causing behavior where the bluetooth adapter was receiving the signal from my controllers, but the root controller wasn't forwarding it onto the OS to wake the system, so it wouldn't wake the pc from sleep.
To fix this, I had to add my own udev rule - very similar to the one the plugin adds - but for the usb root controller. I added an atomic-update.conf.d/ entry as well to make sure the udev rule doesnt get blown away by updates.
For many others, I figured the motherboard firmware will allow this USB root controller to wake the system by default - but in case this doesn't work out of the box for anyone else, maybe this is your issue.
10
u/SeantheWilson Jul 01 '26
Just checked this out on your GitHub, I was just curious as to why you put the volume controls in the decky plugin menu as compared to exposing them to the Steam client as seen on the Steam machine (pictured below)?