Dear community,
I just bought a UVC-compatible webcam as I thought it will work without any problem on OpenWrt with uvc_streamer...
But... but... it doesn't work...
The problem is as follows:
root@OpenWrt:/tmp# uvc_streamer
Using V4L2 device: /dev/video0
Resolution.......: 640 x 480
frames per second: 5
TCP port.........: 8080
Unable to set format: 22.
Init v4L2 failed !! exit fatal
init_VideoIn failed
Not really good...
I also tried to take a picture with spcacat, and it doesn't work neither:
root@OpenWrt:/tmp# spcacat
Spcaview version: 1.1.8 date: 25:12:2007 (C) mxhaard@magic.fr
video /dev/video0
Camera found: CMS-V28SET
VIDIOCGPICT brightnes=32125 hue=32768 color=63897 contrast=13107 whiteness=43690depth=16 palette=8
Hmm did not support Video_channel
StreamId: 8 Camera
try palette 21 depth 8
Couldnt set palette first try 21
Damned second try fail
try palette 15 depth 12
Couldnt set palette first try 15
Damned second try fail
try palette 4 depth 24
Couldnt set palette first try 4
Damned second try fail
try palette 3 depth 16
Couldnt set palette first try 3
Damned second try fail
try palette 5 depth 32
Couldnt set palette first try 5
Damned second try fail
probe size in
Available Resolutions width 640 heigth 480
Available Resolutions width 384 heigth 288
Available Resolutions width 352 heigth 288
Available Resolutions width 320 heigth 240
Available Resolutions width 192 heigth 144
Available Resolutions width 176 heigth 144
Available Resolutions width 160 heigth 120
Invalid palette in check palette fatal !!
Format asked 15 check -1
Couldnt set videopict params with VIDIOCSPICT
I made some researches online, and found 2 hints:
1. a problem of YUV video
But cannot specify the YUV format in uvc_streamer...
I wish I could install uvccapture in OpenWrt (coz we can call 'uvccapture -f yuv'), but I didn't find this package for Kamikaze.
Any idea about YUV webcams?
2. a problem with the ehci driver (kmod-usb2)
Found in this OpenWrt ticket: https://lists.openwrt.org/pipermail/ope … 11051.html
It seems to be working if we comment the one and only line "ehci-usb" of the file "/etc/modules.d/50-usb2" provided by the package "kmod-usb2".
The problem is that, contrary to the example on this ticket, if I comment this line, nothing happen when I plug/unplug the webcam.
It doesn't mount it anymore on /dev/video0 so I cannot test it.
Any idea for my webcam problem?
(Last edited by $p00ky on 16 Jan 2010, 13:46)