submitted 21 hours ago* (last edited 20 hours ago) by to c/linux@lemmy.world
 

So I’ve got a living room computer running Cachy OS/Plasma Bigscreen that has replaced my Xbox. (I’m calling it the Xbox None)

It’s an old Dell Optiplex I picked up for cheap - runs indie titles pretty well and I can stream from my main PC.

Anyway, that’s not why I’m posting..

I can’t seem to find a way to get it to turn the TV on and off when it goes to sleep and wake up. Can anyone help?

Edit: thanks for the answers! I don’t want to buy an adapter so I guess I’ll live with having to use the remote. 🤷‍♂️ I am going to see if the TV settings can help me out though.

all 12 comments

sorted by: hot top controversial new old
[–] 11 points 21 hours ago (1 child)

I'm pretty sure it's a hardware feature of specific graphic cards. Not every HDMI port has that capability and most consumer GPUs don't have it. That's why the GPU on the Steam machine is so important. It has the CEC capability out of the box.

I have a similar setup to you, but I'm running bazzite. I got around it by putting my TV (offline Hisense Roku) into a power saving mode that essentially shuts the screen off and puts it in standby. Whenever there's a change in signal, the display kicks on. However that also isn't a feature on every TV.

  • source
  • hideshow 1 child comment
  • [–] 9 points 21 hours ago (3 children)

    It is rare that a computer have HDMI-CEC natively.
    Try the command "cec-ctl" (which is part of v4l-utils) or take a look at the Arch Wiki.

    Even if your hardware doesn't support it, you can still use displayport with an adapter or even a usb+hdmi adapter.

  • source
  • hideshow 3 child comments
  • [–] [S] 1 point 20 hours ago* (2 children)

    Ohhhh, I do have a display port and a display port to HDMI adapter already. Would this work or would the TV need display port too?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 19 hours ago* (last edited 19 hours ago) (1 child)

    The TV will be connected with HDMI and computer will have its DisplayPort converted to HDMI by a supported adapter. But:

    most adapters do not support the CEC Tunneling feature, and of those that do many did not actually connect the CEC pin. Unfortunately, this means that while a CEC device is created, it is actually all alone in the world and will never be able to see other CEC devices.

    DisplayPort to HDMI Adapters with working CEC

    HDMI-CEC Tunneling over DisplayPort | Arch Wiki

    TL;DR

    Connect your computer's DisplayPort with DP-HDMI adapter to TV's HDMI. To test if the adapter tunnels CEC, run in a terminal:

    cec-ctl --playback && cec-ctl -S
    

    Which should show at least two devices.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 20 hours ago (3 children)
  • [–] 2 points 20 hours ago (2 children)

    Would this work for an older receiver that doesn't have CEC natively?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 20 hours ago (1 child)

    I think you can buy an adapter

  • source
  • hideshow 1 child comment