victorjung
Posts: 3
Joined: Thu Jun 30, 2016 4:08 pm

USB Webcam issues.

Thu Jun 30, 2016 4:33 pm

Hello,
I have an issue with my cam on my raspi 2.
I am running jessie Debian, the cam is this one :
http://www.hardkernel.com/main/products ... 7517754892
My gola is to stream my webcam on my local Network.
I had it running well in the past but not anymore...

First what works or kinda:

Code: Select all

~$ lsusb
gives

Code: Select all

Bus 001 Device 007: ID 1b71:0056 
The fact that it doesn't name it as a webcam rings a first bell for me.

Code: Select all

v4l2-ctl --list-formats
returns:

Code: Select all

ioctl: VIDIOC_ENUM_FMT
Index                       : 0
Type                        : Video Capture
Pixel Format           : 'MJPG' (compressed)
Name                      : Motion-JPEG

Index                       : 1
Type                        : Video Capture
Pixel Format           : 'YUYV'
Name                      : YUYV 4:2:2
     
If I use fswebcam, I can get a still shot anytime I try.

But here what doesn't work:

-I had a lot of troubles to get mjpg_streamer to start,
now it does start with a few error for a few inappropriate ioctl device.
But, when I try to visualize the stream on a browser either locally or remotely, the html is displayed but not the stream, just a blank square for missing picture.

-If I launch vlc and try to open, dev/video0, it will load during few secs, display one pic, and freeze of maybe display another picture every 20 sec if I am lucky :)

I am not good with linux, and at this point I have no idea how to say what's going wrong...So please I am taking all insights :)
also I can provide further information and execute more tests on demand!

Thank you for the help!

victorjung
Posts: 3
Joined: Thu Jun 30, 2016 4:08 pm

Re: USB Webcam issues.

Sat Jul 02, 2016 8:57 am

Update :
here is the dmesg log:

Code: Select all

[  351.734917] usb 1-1.4: new high-speed USB device number 8 using dwc_otg
[  351.936973] usb 1-1.4: New USB device found, idVendor=1b71, idProduct=0056
[  351.937008] usb 1-1.4: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[  351.937025] usb 1-1.4: Product: USB 2.0 Camera
[  351.937041] usb 1-1.4: Manufacturer: Sonix Technology Co., Ltd.
[  351.992214] media: Linux media interface: v0.10
[  352.018736] Linux video capture interface: v2.00
[  352.046912] usb 1-1.4: 3:1: cannot get freq at ep 0x84
[  352.066667] usbcore: registered new interface driver snd-usb-audio
[  352.066723] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (1b71:0056)
[  352.087599] input: USB 2.0 Camera as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/input/input3
[  352.088403] usbcore: registered new interface driver uvcvideo
[  352.088416] USB Video Class driver (1.1.1)
is ther anything weird with it?
thank you.

Return to “Troubleshooting”