1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to get the TiVo to play nice with HDMI-CEC

Discussion in 'TiVo Coffee House - TiVo Discussion' started by bdraw, Nov 1, 2016.

Tags:
  1. AppleTechy

    AppleTechy New Member

    11
    0
    Dec 30, 2017
    Thanks, I didn’t know those existed. However that won’t work for me. I like the Apple TV remote too much to give up using it :)


    Sent from my iPhone using Tapatalk
     
  2. kpeters59

    kpeters59 Well-Known Member

    1,151
    214
    Jun 19, 2007
    Why would that stop the Apple TV Remote from working?

    -KP
     
  3. AppleTechy

    AppleTechy New Member

    11
    0
    Dec 30, 2017
    So the issue is that the Apple TV keeps using CEC to hijack the TV. So I would have to put an adapter on the Apple TV line. And I have the Apple TV configured to use CEC to turn everything on/off and control volume.


    Sent from my iPhone using Tapatalk
     
  4. kpeters59

    kpeters59 Well-Known Member

    1,151
    214
    Jun 19, 2007
    Welcome to the wonderful world of CEC. The reason I never rely on it. It's amusing to see what it does, though.

    The Raspi CEC adapter arrangement can't be setup to overcome some of these issues? It's the most interesting thing I've seen in CEC in awhile...

    -KP
     
    Last edited: Jan 1, 2018
  5. AppleTechy

    AppleTechy New Member

    11
    0
    Dec 30, 2017
    Well that’s what I am trying to do. I simply have it inline between the TiVo and receiver hoping to have it declare a CEC device so the AppleTV(even sometimes the Playstation) realizes a device is currently playing and won’t hijack it. But with the CEC adapter I can’t even get the LG TV to recognize the adapter as a CEC device. I just need the TV to recognize the CEC adapter as a CEC device, that’s it


    Sent from my iPhone using Tapatalk
     
  6. kpeters59

    kpeters59 Well-Known Member

    1,151
    214
    Jun 19, 2007
    Maybe if you unplug everything else, the TiVo and Pulse-Eight adaptor will be detected. This might indicate that it's physical address isn't set correctly?

    -KP
     
  7. AppleTechy

    AppleTechy New Member

    11
    0
    Dec 30, 2017
    I’m thinking it’s physical address isn’t being set correctly but setting it based off the other CEC registered addresses, it theoretically should be right.


    Sent from my iPhone using Tapatalk
     
  8. kpeters59

    kpeters59 Well-Known Member

    1,151
    214
    Jun 19, 2007
    Does it get detected if you plug it directly in to the TV CEC port?

    -KP
     
  9. dalesd

    dalesd Member

    155
    0
    Aug 2, 2001
    Massachusetts
    Hi Guys,

    I almost got this working. A few notes:
    Raspbian Jesse ins't easily available any more, so I used RASPBIAN STRETCH LITE instead.

    Code:
    E: Unable to locate package liblockdev1-dev
    This package isn't available, but things seem to work without it.

    ssh is now disabled by default in Raspbian. The easy (for me) fix was to create an empty file on the boot partition of the SD card. Name that file "ssh" and ssh will be enabled. Do this on your PC before you put the SD card in the RPi.

    Here's what I wand to do where I'm stuck.

    TiVo is connected to the Denon AV receiver with the CEC device in-line. I also have a Chromecast 4k connected to the AV receiver. I can cast to the Chromecast and it automatically switches to the correct input, but to change back to the TiVo, I need to get the AV receiver remote and change the input. This is no big deal for me, but it's quite confusing for other household members.

    Can I get this to work? I think it's very similar to what bdraw is doing, (make the TiVo show up in the input select screen when you push the "input" button on the TiVo remote) but I can't figure out the syntax of the command I need.
    Could someone help me out with the command I need to do this?

    Here's what I get when I query the CEC bus for a list of devices:

    Code:
    pi@raspberrypi:~ $ echo scan | cec-client -s -d 1
    opening a connection to the CEC adapter...
    requesting CEC bus information ...
    CEC bus information
    ===================
    device #0: TV
    address:       0.0.0.0
    active source: no
    vendor:        LG
    osd string:    TV
    CEC version:   1.3a
    power status:  on
    language:      eng
    
    
    device #1: Recorder 1
    address:       1.0.0.0
    active source: no
    vendor:        LG
    osd string:    CECTester
    CEC version:   1.3a
    power status:  on
    language:      eng
    
    
    device #3: Tuner 1
    address:       1.0.0.0
    active source: no
    vendor:        Denon
    osd string:    AV Receiver
    CEC version:   unknown
    power status:  on
    language:      ???
    
    
    device #4: Playback 1
    address:       1.6.0.0
    active source: no
    vendor:        Google
    osd string:    Chromecast
    CEC version:   1.4
    power status:  on
    language:      ???
    
    
    device #5: Audio
    address:       1.0.0.0
    active source: no
    vendor:        Denon
    osd string:    AVR-X2300W
    CEC version:   1.4
    power status:  on
    language:      ???
    
    
     
  10. kpeters59

    kpeters59 Well-Known Member

    1,151
    214
    Jun 19, 2007
    How can there be 2 devices with the same address?
    Wouldn't that be some kind of conflict?

    -KP
     
  11. AppleTechy

    AppleTechy New Member

    11
    0
    Dec 30, 2017
    Well I tried plugging it in directly to the TV HDMI 1. Even the TV wouldn't pick up that the CEC.
     
  12. kpeters59

    kpeters59 Well-Known Member

    1,151
    214
    Jun 19, 2007
    So, it sounds like the Pulse-Eight is not working properly.

    Is there a way to 'reset' it and start over?

    -KP
     
  13. AppleTechy

    AppleTechy New Member

    11
    0
    Dec 30, 2017
    Not sure. My google skills pulled up nothing. I think the USB Adapter runs its own firmware, so I event thought about reseting that but I couldn't find out any info
     
  14. AppleTechy

    AppleTechy New Member

    11
    0
    Dec 30, 2017
    Yeah I am having the same issue. With my setup. And even when its plugged directly into the TV and I am declaring the address, the LG TV still won't pick it up. You figure it out?
     
  15. kpeters59

    kpeters59 Well-Known Member

    1,151
    214
    Jun 19, 2007
  16. alexb

    alexb Active Member TCF Club

    419
    54
    Jan 4, 2003
    Kirkland, WA
    I gave up using CEC long time ago it is so unreliable, just have you harmony activity set the right inputs and output fo each activity. Works reliably, simple to use and understand. I see no benefit to ARC with a reciever. No if you have source -> TV (picture and sound) -> soundbar (sound only) that makes sense to me but for receivers always go source (picture and sound) -> reciever -> TV (picture only).

    But whatever works for you.
     
  17. bimmer95

    bimmer95 New Member

    1
    1
    Jan 15, 2018
    The Pulse-8 adapter defaults to physical address 1.0.0.0 and has no intelligence built in to auto detect the actual port to which it is connected. You have to manually assign the physical address it should be using via whatever application you're running. For instance, if your receiver is 2.0.0.0 and the adapter is connected to HDMI-3, then the physical address should be 2.3.0.0.

    I've been running a modified version of pyCecClient on a RPi for the last year or so to get around issues with my TV automatically switching away from my old DVR when first turned on, along with redirecting CEC commands to IR commands. I got the original code from this site, Raspberry Pi as HDMI-CEC to IR Bridge

    I'm currently in the process of changing the IR commands to TCP socket connections, as that seems more reliable now that I have a Bolt Vox instead of a crappy TWC DVR. I was able to change channels on the Bolt via the original TV remote over the weekend before running out of free time. Shouldn't take much more work at this point to get everything else working.
     
    kpeters59 likes this.
  18. rhettf

    rhettf R3T1CAL

    177
    1
    Apr 5, 2012
    Oakland, CA
    I just set this up, thank you so much for the tutorial! I was running into a little trouble at first and it was because I use ARC with my TV. So while the receiver plugged into HDMI 2 on the back of my LG the TV assigned HDMI 5 to the port when ARC is on.

    So while I thought I would run the command:

    cec-client -b 2 -p 1 -o TiVo

    I actually had to enter:

    cec-client -b 5 -p 1 -o TiVo

    Now I have a happy wife! If you ever figure out how to get the input to switch with the use of the TiVo button, I would love to know!
     
    AppleTechy likes this.
  19. AppleTechy

    AppleTechy New Member

    11
    0
    Dec 30, 2017
    Thanks so much. This worked for me! For anyone else I have an LG TV 65UJ6540. The TiVo is a Roamio Pro. The Yamaha receiver is a TSR-7810. So moral of the story if you are using an LG tv and have arc enabled it changes the port number. I was able to get the TV to recognize the device by running `cec-client -b 5 -p 3 -o TiVo` even though the receiver is plugged into port 2 on the TV
     
  20. wsmeyer

    wsmeyer New Member

    5
    1
    Jun 23, 2009
    This is awesome and is exactly what I am trying to accomplish.

    Unfortunately the current version; RASPBIAN STRETCH LITE is different enough that the setup doesn't seem to work.

    This works:
    - sudo apt-get update
    - sudo apt-get upgrade
    - sudo apt-get dist-upgrade

    This fails:
    - reboot
    Should it be sudo reboot?
    I just power cycled to reboot.

    This part fails:
    - sudo apt-get install git cmake liblockdev1-dev libudev-dev libxrandr-dev python-dev swig
    - ERROR: Unable to locate package liblockdev1-dev
    Someone else mentioned it worked without it so I just continued.

    Next line fails:
    - git clone [ URL ] https ://github .com/Pulse-Eight/platform.git [ URL /]
    But works removing the [ URL ] :
    - git clone https ://github. com/Pulse-Eight/platform.git

    Then these work:
    - mkdir platform/build
    - cd platform/build

    Then this fails: - cmake ..
    Honestly can't remember the error but I can run through it again if necessary.

    This failed: - git clone git://github.com/Pulse-Eight/libcec.git
    But I did figure out how to install git.

    I was not able to get anywhere after that. Would really like to get this going but I'm afraid I don't have the knowledge to figure it out from scratch.

    Any help much appreciated!
     
    Last edited: Jun 2, 2018

Share This Page