I have compiled an image with your driver and tested on my vu uno with a Sony Bravia
The code work fine and the set name function too. We have in television menu the name we have set: linux stb.
ok, thanks for confirming.
So the conclusion is now I need to find out how to convince my tv to accept the device
Here is the debug of your driver with my Bravia.
eHdmiCEC: received message eHdmiCEC: received message 83 eHdmiCEC: send message 84 57 6B eHdmiCEC: received message 46 eHdmiCEC: send message 47 6C 69 6E 75 78 20 73 74 62 00
yes, your tv is actually requesting stuff.
Maybe I should just try to send the replies (such as name and menu status), even though the tv does not query them.
See whether that helps.
I have modifyed the code too to test the menuon function
Yes, I did not understand the reason for your menu status reply, untill you explained yesterday evening that this is the trigger for your tv to enable the rc passthrough mode.
I'm thinking we should perhaps make the menu status depend on the standby status: stb active = menu activated, so rc passthrough will be enabled, stb in standby = menu deactivated, so no more passthrough.
eHdmiCEC: received message 46 eHdmiCEC: send message 47 6C 69 6E 75 78 20 73 74 62 00 eHdmiCEC: send message 8E 00 ERROR reading PES (fd=40) - ERROR reading PES (fd=40) - Value too large for defined data type eHdmiCEC: received message 00 8E 00
Maybe the abort message sent by tv: 00 8E 00 contains the reason of the reject of menu active command that cause that the passtrough remote control is not activated, but we have to change code to read the debug messages because we have the error: Value too large for defined data type. Maybe it contains an ascii string ?
the 'value too large for defined data type' is just an errno which the dvb-core is (mis-)using to signal 'buffer overflow'.
So your box is too busy, and it is dropping PES data.
Not related to CEC
btw, I notice that your physical address is incorrect: eHdmiCEC: send message 82 ED 8E
So probably the vu does not support the ioctl, you should probably keep using your physical address configuration setting instead.
However, your tv does not even seem to care that you're reporting the wrong address. Mine is a lot harder to please it seems