second webcam

Hello,

I just installed a second cam on my Pi but can't access it. I looked with lsusb and 2 cam's where shown. On webserver I only find 1 usb-port to connect. I'm thinking over what I'm doing wrong. Normally if I connect a second cam port 8081 is accessible and shows up second cam. I tried also Ip 192.168.1.serverIP:8081 what should provied the control of mjpg-streamer. Reboot and restart of webcam server didn't help. Hmm. Any suggestions?

Thanks
Klaus

Comments

  • edited July 2018
    Only for clarifying, webcam's are the same and I also used an active hub to have no powerloss. Also both cam's work on another Pi with mjpg-streamer very well.

  • First check with ls -l /dev/video* if both appear. Are you using the latest pi image which has new webcam handling. It uses webcams listen in /dev/v4l/by-id/ so check with 
    ls /dev/v4l/by-id/

    You can also change it to use webcam by path whcih might be required if id is identical:
    ls /dev/v4l/by-path/

    Whcih one is used is defined in /usr/local/Repetier-Setup/etc/webcam.conf
  • Thank you very much. I have to use /dev/v4l/by-path/ and then both cam's usb-ports show up.

    Kind regards

    Klaus
Sign In or Register to comment.