No nazdar,
pořídil jsem si jen tak na hraní webkamerku Tesco Value VW111 za 69.70kč ;D
No, podle lsusb se hlásí jako Bus 003 Device 003: ID 093a:262a Pixart Imaging, Inc., využívá ovladač gspca_pac7302
Po spuštění třeba VLC, GUVCview apod. se na kamerce rozsvítí LEDka, kamerka nabídne 14 ovládacích prvků, GUVCview reaguje i na tlačítko, JENŽE obraz žádnej (a taky není možný nastavit rozlišení a snímkovou frekvenci).
Po připojení do USB se představí jako (relevantní úryvek z dmesg):
[11023.220072] usb 3-2: new full-speed USB device number 6 using uhci_hcd
[11023.428104] usb 3-2: New USB device found, idVendor=093a, idProduct=262a
[11023.428111] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[11023.431131] gspca_main: gspca_pac7302-2.14.0 probing 093a:262a
[11023.436155] input: gspca_pac7302 as /devices/pci0000:00/0000:00:1d.2/usb3/3-2/input/input21
Z v4l2-ctl jsem vytáhnul následující informace:
$ v4l2-ctl -d /dev/video2 --all
libv4l2: error setting pixformat: Device or resource busy
Driver Info (not using libv4l2):
Driver name : gspca_pac7302
Card type : USB Camera (093a:262a)
Bus info : usb-0000:00:1d.2-2
Driver version: 3.14.12
Capabilities : 0x85000001
Video Capture
Read/Write
Streaming
Device Capabilities
Device Caps : 0x05000001
Video Capture
Read/Write
Streaming
Priority: 2
Video input : 0 (gspca_pac7302: ok)
Format Video Capture:
Width/Height : 640/480
Pixel Format : 'PJPG' ## Nebo RGB3
Field : None
Bytes per Line: 640
Size Image : 115790
Colorspace : JPEG (JFIF/ITU601)
Streaming Parameters Video Capture:
Frames per second: invalid (0/0)
Read buffers : 2
User Controls
brightness (int) : min=0 max=32 step=1 default=16 value=16 flags=slider
contrast (int) : min=0 max=255 step=1 default=127 value=127 flags=slider
saturation (int) : min=0 max=255 step=1 default=127 value=127 flags=slider
whitebalance_software (bool) : default=1 value=0
red_balance (int) : min=0 max=200 step=1 default=100 value=100 flags=slider
blue_balance (int) : min=0 max=200 step=1 default=100 value=100 flags=slider
gamma_software (int) : min=500 max=3000 step=1 default=1500 value=1500
exposure (int) : min=0 max=1023 step=1 default=66 value=66 flags=inactive
gain_automatic (bool) : default=1 value=1 flags=update
gain (int) : min=0 max=62 step=1 default=15 value=15 flags=inactive
horizontal_flip (bool) : default=0 value=0
vertical_flip (bool) : default=0 value=0
white_balance_temperature (int) : min=0 max=255 step=1 default=55 value=55
sharpness (int) : min=0 max=15 step=1 default=8 value=8 flags=slider
Tohle dí GUVCview:
$ guvcview
guvcview 1.7.3
file guvcview_video.mkv has extension type 1
file guvcview_image.jpg has extension type 0
** (guvcview:11823): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
file guvcview_image.jpg has extension type 0
Video file suffix detected: 0
Image file suffix detected: 2
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:947:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:947:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = Adresář nebo soubor neexistuje
Cannot connect to server request channel
jack server is not running or cannot be started
video device: /dev/video2
Unable to find parent usb device.Unable to find parent usb device.Unable to find parent usb device.vid:093a
pid:262a
driver:gspca_pac7302
Init. USB Camera (093a:262a) (location: usb-0000:00:1d.2-2)
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 640, height = 480 }
Time interval between frame:
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 640, height = 480 }
Time interval between frame:
{ pixelformat = 'YU12', description = 'YU12' }
{ discrete: width = 640, height = 480 }
Time interval between frame:
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 640, height = 480 }
Time interval between frame:
checking muxed H264 format support
device doesn't seem to support uvc H264 (0)
checking format: YV12
fps is set to 1/1
drawing controls
VIDIOC_G_EXT_CTRLS failed
using VIDIOC_G_CTRL for user class controls
control type: 0x00000006 not supported
fps is set to 1/1
GUVCVIEW Signals:
SIGUSR1: Video stop/start capture
SIGUSR2: Image capture
SIGINT (ctrl+c): Exit
examples:
kill -s SIGUSR1 'pid'
killall -s USR2 guvcview
Checking video mode 640x480@32bpp : OK
Could not grab image (select timeout): Prostředek je dočasně nepřístupný
ioctl (-1069263343) retried 4 times - giving up: Prostředek je dočasně nepřístupný)
VIDIOC_DQBUF - Unable to dequeue buffer : Prostředek je dočasně nepřístupný
Error grabbing image
↑ Tohle se periodicky opakuje ↑
Nemá někdo šajnu, co s tím? Jiná kamerka funguje na všem normálně.
Myslím, že funkčnost odpovídá ceně... ;D
Huš, rudoarmějče, prej to na linuxovejch distrech fungovalo, taky jsem to vyzkoušel u známejch na Woknouzech a šlo to. Tady bude problém s dekódováním obrazovýho proudu.