I’ve been having this issue randomly but more than 50% of the time: I have a USB DVD player/writer that I attach to the media box (Vero2). It happens about 50% of the time (intuitively, I haven’t measured accurately) that the menu item “Play disc” doesn’t appear but when I browse and click the VOB*_ files on the drive Kodi actually plays them. I suspect there’s no hardware issue but a software glitch, just don’t know where exactly. I’d say it’s somehow related with Kodi’s “System.HasMediaDVD” function.
For the record, I have tried various removable DVD drives (Samsung, LG, Mercedes Benz, …) The one that was most successful is a Bluray/DVD player/writer from Mercedes Benz. The issue with the “Play disc” menu item happens between ejecting/inserting DVDs as well as after the system has started. It is really a random issue.
This has indeed something to do with that issue, I’d say one form of the problem and that particular form is kind of solved — to me at least. It is slightly different in that we are able to play the disc every time in this very case… provided we use a short enough cable.
The issue I described in this thread’s first post is only about the menu item that appears or not on a random basis. So it’s not really the same issue, I’d say.
As for dmesg, I need to get rid of messages about cec that flood the system log. I’ll post the log as soon as I’m ready.
Just some more thoughts: given that the issue happen with all kinds of USB DVD players and that not all can be USB powered, I was tempted to rule out power issues. My reasoning is that a higher current on a DVD player/writer is needed only when writing while reading only requires a more humble amount of juice, which should fall below USB current limitation. I’ll post the logs anyways this said.
I think we have found the reason: there is a DC-to-DC power supply module that we put in cars, such as this one. Turns out to be the culprit. We’ve removed that DC-DC converter and powered the Vero box with the wall power module and the issue was gone.
I hate to have to retract my statement but, unfortunately — I didn’t take part to the tests so I had to trust what was reported to me. I did testing on my own and could not confirm the DVD issue was gone when the Vero2 box and/or DVD player was powered externally. However I strongly suspect ground loops to mess with the whole system and ground loops, believe me, there are countless of them.
What leads me to suspect ground loops is that we’ve never experienced any such issue when running all the devices with their own power supply (from mains). In such an environment all devices are isolated electrically so there are no ground loops. When put in cars, the 12V line is common to all devices and most of them have a linear instead of switched regulator. Wiring all the signal lines then closes the ground loop, which, to me is prone to injecting glitches such as what we’re observing.