RPi5 with three TV tuners

  • Hi all,

    I've been running a RPi4 with three XBox TV tuners for quite a few years. Ive upgraded to a Pi5 and when I plug in two tuners it seems reasonably okay. As soon as I plug the third tuner in, it doesn't boot properly, doesn't connect to the network, etc. It doesn't better whether I plug the third tuner into the USB socket on the Pi, or if I plug all three into a UBS3 hub (so all on a USB3 socket).

    Has anyone else had a similar problem? I'm starting to think I will need to run one system (RPi4) as the TV server, and the RPi5 as the client!

    To give a bit more information about the problem, I have just enabled debug logging, and rebooted after plugging in the third tuner. I'm running LE21 RC (latest nightly build) although the stable build doesn't do better. The remote control (flirc adapter) now doesn't work, and it isn't connected to the network (it shows in my modem settings as connected but "This device either does not support or is not configured for IPv4 addressing."), so I'm going to have trouble getting the log files.

    This may help, although I don't understand the timeline. This was a freshly installed system this morning, so Feb 27 logging may indicate problems with the date and time.

    https://paste.libreelec.tv/normal-raven.log

    Best wishes,

    Mark

    Edited 3 times, last by elliottmc (March 9, 2024 at 10:56 AM).

  • As a follow-up, I've reconnected the same three tuners to the RPi4, and reinstalled, and they are working fine as before.

    So there's definitely something going on with the RPi5 and/or LE12 in this configuration.

    Best wishes,

    Mark

  • Power source issue? If you could connect those tuners thru (external) powered usb hub...

    The RPi5 has the official 27W (5A) power supply, so I don't think this is very likely. The RPi4 has a 3A power supply and has been working for years.

    I did try connecting the tuners to a hub, but not a powered one. I'm reluctant to spend more money on one in order to test this, although I may be able to put my hands on one.

  • I did try connecting the tuners to a hub, but not a powered one. I'm reluctant to spend more money on one in order to test this, although I may be able to put my hands on one.

    Try to get one powered hub at least for testing, no need to be USB3, one old could be good too. Just to check it what's happen if the tuners doesn't draw the power from RPi. I'm not saying that the problem can't be something else, but if with one or two (exactly the same) tuner it's working well, should be useful to exclude the power issue.

  • Your note that the FLIRC USB is not working makes this seem like a USB issue not related to PVR. Did you try USB devices individually in each port and see what lsusb shows.

  • This doesn't sound like a LibreELEC issue.

    And USB isn't something I know too much about.

    I'd suggest opening a kernel issue and describing the issue,

    where a USB expert may have better advice.


    If you can reproduce the issue with RPiOS then that would be even better (as there may be more debugging tools available).

  • Your note that the FLIRC USB is not working makes this seem like a USB issue not related to PVR. Did you try USB devices individually in each port and see what lsusb shows.

    The FLIRC works fine until the third TV tuner is plugged in.

    Unfortunately at that point, the Pi doesn't get an IP address, so I cannot connect to it via ssh.

    I've been plugging the tuners in first to the USB3 ports, and then only to the USB2. I wonder if it is a problem with the tuner and the USB2 port of the Pi, rather than simply the third tuner.

    Thanks for the suggestion. I will have a look and report back.

    Best wishes,

    Mark

  • Looks like the RPi5 is very sensitive to the power source.

    Delivering a maximum of 5.1V, 5A, it supports USB PD (Power Delivery), so Raspberry Pi 5
    can communicate with it and select the most appropriate power profile. This enables
    Raspberry Pi 5 to increase the USB current limit automatically from the default 600mA to
    1.6A, in order to provide extra power for devices connected to the four Type A USB ports.

    (https://datasheets.raspberrypi.com/power-supply/2…oduct-brief.pdf)

    The RPi4 have a maximum USB port output of 1.2A without to request a "genuine" power source.

    So... could be a possibility that the RPi5 to don't "recognize" the power source as a "genuine Raspberry 27W" power source (and limit the power delivery on USB)?

  • If you see anything like "needs the official PSU" written in documentation this is simply meaning "needs a PSU with the capabilities of the official PSU" as there is 100% no hardcoded requirement or secret handshaking to check whether the user has an official RPi branded PSU. RPi != Apple :)

  • Update with more testing after resolving my network issues and updating to the latest nightly build.

    If I have three tuners connected, I can ssh in and lsusb shows them all fine. But for some weird reason I cannot connect through the web interface to TVHeadEnd.

    If I remove one tuner, it all works fine. As soon as I plug the third tuner in, I don't get a response from TVHeadEnd.

    But the stability issues seem to be resolved. LibreElec doesn't seem to be crashing now.