Getting standard USB webcams to work? 看全部

Hello everyone,

i am trying to create a simple online webcam with one of the many cheap webcams i have laying around but i dont get them to work with my Orange PI2. They just dont get recognized as an USB device.

Can somone maybe help me with this? Maybe its an driver problem or so.

Edited by MaqcBreaker at 2016-4-19 21:49

Hi,

i can only speak about orange pi pc but i think it will run also on opi2.

Load a image from armbian.com and install it. (http://www.armbian.com/orange-pi-2/)

(root)

  1. apt-get update
  2. apt-get upgrade

  3. apt-get install subversion-tools libcairo2-dev libjpeg62-turbo-dev libpango1.0-dev libgif-dev build-essential g++ imagemagick

Now you will (hopefully) find your device under "lsusb".

After this install mjpg-streamer:

  1. svn co https://svn.code.sf.net/p/mjpg-streamer/code/mjpg-streamer mjpg-streamer

  2. cd mjpg-streamer
  3.         
  4. make
  5. make install
Test ->

  1. mjpg_streamer -i "/usr/local/lib/input_uvc.so -d /dev/video0 -n -y -r 640x480 -f 15" -o "/usr/local/lib/output_http.so -n -w /usr/local/www -p 8080"
On my side it worked with a Logitech C170 Cam without any problems.

Bus 002 Device 002: ID 046d:082b Logitech, Inc.

Good luck!!!



  • Sofa lymon
  • 2016-4-17 12:50:57
what is the output of lsusb ?
quote: lymon replied at 2016-4-17 12:50
what is the output of lsusb ?

There is no new entry.

  1. orangepi@OrangePI:~$ lsusb
  2. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  3. Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  4. Bus 002 Device 002: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. JM20329 SATA Bridge
  5. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  6. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


  • Floor lymon
  • 2016-4-18 13:28:32
Maybe a power-supply problem and it's not registering because of that.
what kind of webcam is it ?

Have you tried connecting it through an external USB hub with a separate power supply ?

does it work on any other linux machines ?
  • 5# lymon
  • 2016-4-18 13:28:56
Maybe a power-supply problem and it's not registering because of that.
what kind of webcam is it ?

Have you tried connecting it through an external USB hub with a separate power supply ?

does it work on any other linux machines ?
12NextPage