Opened 8 years ago
Closed 8 years ago
Last modified 6 years ago
#12746 closed Patch - Bug Fix (fixed)
CEC Fixes and raspberry Pi support
Reported by: | Owned by: | Peter Bennett | |
---|---|---|---|
Priority: | minor | Milestone: | 0.28.1 |
Component: | MythTV - libCEC | Version: | 0.28.0 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Raspberry Pi has built in CEC support, which was not working with MythTV.
The following is fixed in this patch:
- Add the missing initialization call to InitVideoStandalone?(), which is supposed to be always called on initialization, but some systems work without it being called.
- Fix the destructor code which was hanging the frontend when you exit the frontend. This affects all systems using CEC not only raspberry pi.
- Add support for the TV Menu button calling the MythTV menu. This only works with some TV's. This also affects all systems, not just raspberry pi.
- Change the keycode for Play from P to Ctrl-P. Having both Pause and Play map to P is restrictive, since some TV sets only allow as few as 11 buttons to be passed through, this will allow mapping pause to something else, like info or menu, which the TV remote does not provide. This also affects all systems, not just raspberry pi.
I have tested this successfully on Raspberry Pi with 2 brands on TV with CEC.
I would appreciate it if somebody can test this patch on a desktop system with Pulse-Eight CEC adaptor to make sure that still works there.
Attachments (1)
Change History (6)
Changed 8 years ago by
Attachment: | Ticket_2746_Fix_CEC.patch added |
---|
comment:1 Changed 8 years ago by
Hi Peter!
I tried it with my Pulse-Eight CEC adapter...
As I said on IRC it makes things better and it no longer hangs when I exit the frontend.
As far as being able to use my TV remote it is not possible right now, only a few keys are currently recognized by MythTV (left, right and exit IIRC), If I use their provided cec-client I see that a lot more keys could be processed (up, down, OK, red button, green button, yellow button, blue button, forward, backward, stop, play, pause).
My TV, a LG 60LM7200 IIRC, thinks that MythTV is a BD-R player in it's SimpLink? (LG name for CEC) memu...
Thank you and have a nice day!
Nicolas
comment:2 Changed 8 years ago by
Owner: | changed from Raymond Wagner to Peter Bennett |
---|---|
Status: | new → accepted |
comment:3 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:5 Changed 6 years ago by
Owner: | changed from Peter Bennett to Peter Bennett |
---|
Patch to fix CEC support