10 Responses

  1. JP at | | Reply

    You ROCK! I’m not using a RasPi, but this gave me the information I needed to find my use-case solution!
    I’m using an Orange Pi Zero SBC as a standalone controller to power/utilize a USB webcam for security, running Armbian with MotionEye installed, later to stream to a home server.
    Should anyone else see this, the workaround I used was: instead of using the path “/dev/v4l/by-id” (didn’t work) use “/dev/v4l/by-path”. Also — and this turned out to be important — when configuring the camera (the “Add Camera…” box) MotionEye still wouldn’t work with the default V4L camera. I had to use the drop-down box to choose the “integrated camera” option. To be fair, this last wrinkle may not have been the fault of the Orange Pi or Armbian, as the webcam was purchased from AliExpress…

    Orange Pi Zero (H2 quad core)
    Armbian 21.02.2 Buster
    IMC Network webcam
    Motion version 4.3.2

  2. Maurize at | | Reply

    Hi! I’m doing all that you wrote in the article however I can’t get see the second video signal

  3. PeTe at | | Reply

    Thanks for this. I had the same problem, caused by finicky fragile USB cable, and I remember I used to solve it by a cron script with a custom C program that reset the usb hub driver. Today I was determined to find a better solution and yours worked, even when the camera disconnects, it can come back after a couple of seconds. So I agree, you ROCK!

    By the way, do you know what is the difference between index0 and index1?

  4. Kimberly at | | Reply

    My camera turns grey every so often after running for a bit and renaming camera with v4l ID fixed it. Thanks!

  5. JerryMigs at | | Reply

    Just came across this today. I have spent countless hours trying to solve the “unable to open device” message in Motioneye. This solved it for me. Had to follow the update by JP and use the “by-path” directory. To add a camera I selected Local v4l2 camera as Camera Type and MML Service 16.1 for Camera. Thanks so much for the post.

Please comment with your real name using good manners.

Leave a Reply