79772058

Date: 2025-09-22 21:12:49
Score: 0.5
Natty:
Report link

Specific setup:

This configuration presents the same issue, it shows "No such file or directory" when trying to open the video with ffplay /dev/video1

GCC553 starts in a weird sleep state when first connected, you need to poke it a few times for it to start up.

Solution

Figure out what device your Live Gamer is at

#: v4l2-ctl --list-devices | grep "Live Gamer" -A 3
Live Gamer Ultra-Video: Live Ga (usb-0000:10:00.3-2):
         /dev/video3
         /dev/video4
         /dev/media0 

Now poke the first device in that list a few times with v4l2-ctl -d /dev/video3 --stream-mmap --stream-count=1 --stream-to=/dev/null
If that returns VIDIOC_STREAMON returned -1 (No such file or directory) then run it again
When it works correctly it will return something else, in my case it returns <

Yes, that command does return the less-than symbol. I do not know why it only returns that. No there is nothing else returned. I understand that this sounds confusing.

Once you get < from that command the device is awake and ready and you can connect to it with ffplay /dev/video3

This works reliably when the device has been recently plugged in or my computer has been just turned on.

Notes

I find that ffplay without parameters will open the nv12/yv12 pixel format. I prefer to open the bgr24 one because it has a wider range of colors. To get the it to display correctly I use ffplay /dev/video3 -f v4l2 -pixel_format bgr24 -vf vflip where -vf vflip is needed because otherwise the image will display upside-down.

GCC553 gets corrupted after being connected for a long time, if this happens reconnect it by physically unplugging and plugging it back again.

I have not found a reliable way to reset the usb device without disconnecting it. If it the v4l2-ctl command is getting stuck you may need to reconnect the usb device. If I do I will modify this answer. Maybe a kernel mod removal and insertion could make the device reset but I have not tested that. The command usbresetdid not work for me, it just hangs.

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kryztoval