Error in orangepi lite with camera

edited January 2023 in Questions & Answers
Hi! Today i upgrade an orangepi lite from debian from oldstable to stable. After it i can not see camera (In oldstable debian i installed mjpg software manual).

Welcome to ARMBIAN 5.73 stable Debian GNU/Linux 11 (bullseye) 5.10.60-sunxi

user@orangepilite:~$ lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 1d50:6029 OpenMoko, Inc. Marlin 2.0 (Serial)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
In settings web-camera i can see it but it is no way to silect:
https://imgur.com/a/K2KpQyl
I think that for manual installing i use the script:
https://github.com/ogra1/mjpg-streamer

cat /var/snap/mjpg-streamer/current/config
INPUTOPTS="input_uvc.so -d /dev/video0"
PORT="-p 8081"
DAEMON="true"
#mjpg-streamer -i "input_uvc.so -d /dev/video4" -o "output_http.so"



Comments

  • Are thea all greyed out and not selectable? New server version tests if the entry is running and only allows selecting running streamer webcams.

    So you should check if mjpg_streamer is running:
    ps aux | grep mjpg

    If none is running these entries are just shown because you had them reported. But you need to find out why mjpg_streamer is not working any more. Maybe they are linked agains libraries not existent on the newer os so you need to recompile streamer. Try starting them in ssh console manually to see errors.
  • Since you see the list of webcams you seem at least to have isntalled our webcam scripts as described here:
    https://www.repetier-server.com/setting-webcam-repetier-server-linux/

  • Repetier said:
    Are thea all greyed out and not selectable? New server version tests if the entry is running and only allows selecting running streamer webcams.

    So you should check if mjpg_streamer is running:
    ps aux | grep mjpg

    If none is running these entries are just shown because you had them reported. But you need to find out why mjpg_streamer is not working any more. Maybe they are linked agains libraries not existent on the newer os so you need to recompile streamer. Try starting them in ssh console manually to see errors.
    ps aux | grep mjpg
    user      2841  0.0  0.1   6860   536 pts/0    S+   18:07   0:00 grep mjpg


  • edited January 2023
    Repetier said:
    Since you see the list of webcams you seem at least to have isntalled our webcam scripts as described here:
    https://www.repetier-server.com/setting-webcam-repetier-server-linux/


    I repeat commands from the link. It works OK! Thx!
Sign In or Register to comment.