Управляем чем угодно откуда угодно

Веб камера Trust Webcam (145f:019c)

Виртурилка, 3G/4G, WiFi, моторчики, датчики, GPS и прочее - питание, драйвера, совместимость и т.д.

Веб камера Trust Webcam (145f:019c)

Сообщение orangeudav » 31 май 2014, 16:31

Помогите linux-нубу совладать с железякой :roll:

На ядре Linux ubuntu64 3.13.0-27-generic #50-Ubuntu SMP Thu May 15 18:06:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Эта камера видится вот так
Код: Выделить всё
[  266.442009] usb 1-1: new high-speed USB device number 2 using ehci-pci
[  266.634579] usb 1-1: New USB device found, idVendor=145f, idProduct=019c
[  266.634582] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  266.634584] usb 1-1: Product: Trust Webcam
[  266.634586] usb 1-1: Manufacturer: Novatek
[  266.904247] Linux video capture interface: v2.00
[  272.041602] 2:3:1: cannot get freq at ep 0x82
[  274.118626] uvcvideo: Found UVC 1.00 device Trust Webcam (145f:019c)
[  274.118650] usbcore: registered new interface driver snd-usb-audio
[  274.144775] input: Trust Webcam as /devices/pci0000:00/0000:00:11.0/0000:02:03.0/usb1/1-1/1-1:1.0/input/input5
[  274.145249] usbcore: registered new interface driver uvcvideo
[  274.145251] USB Video Class driver (1.1.1)
[  274.826020] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 4: -110 (exp. 2).
[  275.125197] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 4: -110 (exp. 2).
[  275.425039] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 4: -110 (exp. 2).
[  275.728574] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 4: -110 (exp. 2).
[  276.028937] uvcvideo: Failed to query (GET_DEF) UVC control 3 on unit 4: -110 (exp. 2).
[  276.328013] uvcvideo: Failed to query (GET_DEF) UVC control 3 on unit 4: -110 (exp. 2).
[  276.627669] uvcvideo: Failed to query (GET_DEF) UVC control 3 on unit 4: -110 (exp. 2).
[  276.927358] uvcvideo: Failed to query (GET_DEF) UVC control 7 on unit 4: -110 (exp. 2).
[  277.227772] uvcvideo: Failed to query (GET_DEF) UVC control 7 on unit 4: -110 (exp. 2).
[  277.526697] uvcvideo: Failed to query (GET_DEF) UVC control 7 on unit 4: -110 (exp. 2).
[  277.826761] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 4: -110 (exp. 1).
[  278.126123] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 4: -110 (exp. 1).
[  278.425765] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 4: -110 (exp. 1).
[  278.725896] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 4: -110 (exp. 1).
[  279.025384] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 4: -110 (exp. 1).
[  279.277550] 2:3:1: cannot get freq at ep 0x82
[  279.325180] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 4: -110 (exp. 1).
[  279.625728] uvcvideo: Failed to query (GET_CUR) UVC control 11 on unit 4: -110 (exp. 1).
[  280.100504] uvcvideo: Failed to query (GET_DEF) UVC control 10 on unit 4: -110 (exp. 2).
[  280.403823] uvcvideo: Failed to query (GET_DEF) UVC control 10 on unit 4: -110 (exp. 2).
[  280.700149] uvcvideo: Failed to query (GET_DEF) UVC control 8 on unit 4: -110 (exp. 2).
[  280.999872] uvcvideo: Failed to query (GET_DEF) UVC control 8 on unit 4: -110 (exp. 2).
[  281.299099] uvcvideo: Failed to query (GET_DEF) UVC control 8 on unit 4: -110 (exp. 2).
[  281.598710] uvcvideo: Failed to query (GET_DEF) UVC control 1 on unit 4: -110 (exp. 2).
[  281.899020] uvcvideo: Failed to query (GET_DEF) UVC control 1 on unit 4: -110 (exp. 2).
[  282.198029] uvcvideo: Failed to query (GET_DEF) UVC control 1 on unit 4: -110 (exp. 2).
[  284.795849] 2:3:1: cannot get freq at ep 0x82
[  291.041773] 2:3:1: cannot get freq at ep 0x82
[  296.795935] 2:3:1: cannot get freq at ep 0x82
[  302.797827] timeout: still 10 active urbs on EP #82
[  303.797061] timeout: still 8 active urbs on EP #82
[  304.796090] timeout: still 6 active urbs on EP #82

Gstreamer не ругается
Код: Выделить всё
gst-launch-1.0 v4l2src device=/dev/video0 ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock



А вот на виртурилке
Код: Выделить всё
[   92.078605] libertas_sdio: Libertas SDIO driver
[   92.088082] libertas_sdio: Copyright Pierre Ossman
[   97.852471] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[   97.992475] usb 1-1: New USB device found, idVendor=145f, idProduct=019c
[   98.003084] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   98.014821] usb 1-1: Product: Trust Webcam
[   98.023519] usb 1-1: Manufacturer: Novatek

gstreamer ругается
Код: Выделить всё
[root@virt2real ~]# gst-launch -v v4l2src device=/dev/video2 ! fakesink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video2' is not a capture device.
Additional debug info:
v4l2_calls.c(604): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Capabilities: 0x4000002
Setting pipeline to NULL ...
Freeing pipeline …

Вопрос традиционный - что делать? UVC на виртурилке нет?
orangeudav
 
Сообщения: 152
Зарегистрирован: 04 сен 2013, 15:35

Re: Веб камера Trust Webcam (145f:019c)

Сообщение Gol » 18 июн 2014, 15:23

orangeudav писал(а):Вопрос традиционный - что делать? UVC на виртурилке нет?

Эхх, больной вопрос. На ядре 2.6.32 с полноценной видеоподсистемой все вебки работали, UVC без проблем. На новом ядре всё поменялось, видеоподсистема костыльная так что UVC не работает. Это сейчас главная головная боль, не придумали ещё решение, а откатываться на 2.6.32 не хочется.
Аватара пользователя
Gol
 
Сообщения: 507
Зарегистрирован: 17 фев 2012, 01:44
Откуда: Тула-Свободный-Щёкино-Тула-Москва


Вернуться в Железо - заставляем работать

Кто сейчас на конференции

Сейчас этот форум просматривают: Bing [Bot], Google [Bot] и гости: 1

cron