Live data from Hacker News

Fix HDMI-CEC weirdness with a Raspberry Pi and a $7 cable

johnlian.net

11–20 of 147 posts

Re: Fix HDMI-CEC weirdness with a Raspberry Pi and a $7 cable

#14
I am using a raspberry pi pico with a modified pico-cec program to control my Jellyfin-client media PC. CEC is actually really fun to hack on, and once you get a custom setup working, it is (at least in my experience) rock solid.

Jellyfin even has a TV mode that you can enable in a normal desktop browser. So my media PC runs the browser in kiosk mode, and it has CEC buttons mapped to keyboard presses. Guests have used it, and I don't think anyone could tell that it wasn't a "smart" TV.

https://github.com/gkoh/pico-cec

Re: Fix HDMI-CEC weirdness with a Raspberry Pi and a $7 cable

#15

Now package that into a tiny device with an hdmi plug. Better hurry befor-, too late it’s cloned in china. Actually it would be funny if somebody integrated this fix into a cable

I think it will be a while. There is not even a Pulse-Eight clone on Aliexpress

Re: Fix HDMI-CEC weirdness with a Raspberry Pi and a $7 cable

#16

The first time I "discovered" CEC was when the arrow keys on my TV remote inadvertently navigated the PS3 system menu. I thought I was hallucinating because there was no mechanism for this magic to happen.

I was thrilled when I saw a Reddit comment about this, and it actually worked with my Sony dumb TV + PS5 + Sony RM-VZ320 universal remote.

(I was sad at having to give up my nice PS4 universal remote, and not finding an equivalent for the PS5.)

However, I couldn't find a button on the remote that was the equivalent of pressing a PS5 controller's PS Button, and that's pretty important to the messy PS5 UI. But the TV had menus that could simulate pressing that button. So I upgraded to a Sony RM-VLZ620, which added programmable macro buttons, which I kludged hard to navigate the TV menus. From my notes:

  ### Programming PS Button

  1. SET(Hold 3 seconds, for LED, then keep holding)
  2. middle-circle
  3. (Release SET)
  4. System-Control-1
  5. 9, 8, 1
  6. Options
  7. Up
  8. Down, Down, Down, Down
  9. middle-circle, middle-circle
  10. SET

  Note: The **Up** is a timing NOP, since otherwise
  the TV usually only sees only 3 Down rather than 4.

Re: Fix HDMI-CEC weirdness with a Raspberry Pi and a $7 cable

#17
Modern AV stuff is insane. I have no interest in taking it up as a hobby. I have an xbox, a TV, and a pair of bookshelf speakers. How am I supposed to get the audio to the speakers without a bulky expensive receiver box? Luckily, I have one of the last remaining TVs with a headphone jack. I don't use a remote for any of it.

Side note: Sometimes the TV doesn't come on when you press its power button. After a tremendous amount of experimentation, I determined this was because the "brain" was on, but the backlight was not. Power cycling it blind usually fixes it. That's harder than it sounds though because you have to navigate the menu blind using short and long button presses with the one button. But I'm scared to try a new TV, because then I'm going to have to figure out how to get audio out of the TV.

It seems like AV stuff used to be so simple. Now the simplest scenarios seem to require more and more knowledge about arcane connection standard interactions and network topology. Ugh.

Re: Fix HDMI-CEC weirdness with a Raspberry Pi and a $7 cable

#18
A long time ago I used one of these HDMI-CEC-to-USB/serial bridges: https://web.archive.org/web/20110219131237/http://rainshadow...

(I'd gotten a large LG monitor instead of a flatscreen tv, and it didn't talk HDMI-CEC but it had a serial-over-TRRS control interface, so I listened for messages on the bus and my media PC translated and relayed them to the monitor.)

Re: Fix HDMI-CEC weirdness with a Raspberry Pi and a $7 cable

#19
I saw the Steam Machine bragging about CEC and being able to turn the TV on when it does, which made me wonder why my setup doesn't do that.

Turns out that there's a special pin on your APU that has to be wired up, and AMD didn't bother for the Z1 Extreme chips. I wish "wake on signal" was a universal option.

Post reply on HN