VirtualBox

Ticket #18725: wcamlog

File wcamlog, 13.5 KB (added by SuperPrower, 5 years ago)

Excerpts from logs

Line 
1# ===============
2# VirtualBox Log
3# ===============
4...
5119:08:58.902155 VUSB: Attached 'Webcam' to port 1 on RootHub#1 (FullSpeed)
6119:08:59.128347 USBWEBCAM: request 0x80 0x06 0x0600 0x0000 10, cb 18
7119:08:59.128926 USBWEBCAM: request 0x80 0x06 0x0600 0x0000 10, cb 18
8119:08:59.129270 USBWEBCAM: request 0x80 0x06 0x0600 0x0000 10, cb 18
9119:20:28.921386 VUSB: Detached 'Webcam' from port 1 on RootHub#1
10119:20:32.274390 VUSB: Attached '00007ff9f9410a90[proxy 1908:2311]' to port 1 on RootHub#1 (HighSpeed)
11
12
13$ lsusb
14Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
15Bus 001 Device 006: ID 80ee:0030 VirtualBox
16Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
17$ lsusb -t
18/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
19/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 480M
20 |__ Port 1: Dev 6, If 0, Class=Video, Driver=uvcvideo, 12M
21 |__ Port 1: Dev 6, If 1, Class=Video, Driver=uvcvideo, 12M
22
23$ dmesg
24...
25[ +3.064803] usb 1-1: new full-speed USB device number 6 using xhci_hcd
26[ +0.014035] usb 1-1: New USB device found, idVendor=80ee, idProduct=0030
27[ +0.000008] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
28[ +0.000005] usb 1-1: Product: VirtualBox Webcam - UVC Camera (046d:0825)
29[ +0.000004] usb 1-1: Manufacturer: VirtualBox
30[ +0.000004] usb 1-1: SerialNumber: 6eef766aaba4069e
31[ +0.005067] uvcvideo: Found UVC 1.00 device VirtualBox Webcam - UVC Camera (046d:0825) (80ee:0030)
32[ +0.002180] input: VirtualBox Webcam - UVC Camera as /devices/pci0000:00/0000:00:0c.0/usb1/1-1/1-1:1.0/input/input49
33...
34
35
36$ gst-launch-1.0 -v -m camerabin
37...
380:00:00.205111196 15881 0x88fee00 INFO v4l2 v4l2_calls.c:596:gst_v4l2_open:<camerasrc-real-src-actual-src-v4l:src> Opened device 'VirtualBox Webcam - UVC Camera ' (/dev/video0) successfully
390:00:00.205164436 15881 0x88fee00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<camerasrc-real-src-actual-src-v4l> completed state change to READY
400:00:00.205201023 15881 0x88fee00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<camerasrc-real-src-actual-src-v4l> notifying about state-changed NULL to READY (VOID_PENDING pending)
410:00:00.205246302 15881 0x88fee00 INFO GST_STATES gstbin.c:2952:gst_bin_change_state_func:<camerasrc-real-src> child 'camerasrc-real-src-actual-src-v4l' changed state to 2(READY) successfully
420:00:00.206126777 15881 0x88fee00 INFO GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideocrop.so" loaded
43
440:00:00.206178091 15881 0x88fee00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element "videocrop" named "src-crop"
45
460:00:00.206639376 15881 0x88fee00 INFO GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element camerasrc-real-src:(any) to element src-crop:(any)
470:00:00.206685557 15881 0x88fee00 INFO GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link camerasrc-real-src:src and src-crop:sink
480:00:00.206756325 15881 0x88fee00 INFO v4l2 gstv4l2object.c:1196:gst_v4l2_object_fill_format_list:<camerasrc-real-src-actual-src-v4l:src> got 1 format(s):
490:00:00.206792405 15881 0x88fee00 INFO v4l2 gstv4l2object.c:1202:gst_v4l2_object_fill_format_list:<camerasrc-real-src-actual-src-v4l:src> MJPG
500:00:00.207621489 15881 0x88fee00 INFO v4l2 gstv4l2object.c:4136:gst_v4l2_object_probe_caps:<camerasrc-real-src-actual-src-v4l:src> probed caps:
51image/jpeg, width=(int)1280, height=(int)960, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
52image/jpeg, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
53image/jpeg, width=(int)1184, height=(int)656, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
54image/jpeg, width=(int)960, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
55image/jpeg, width=(int)1024, height=(int)576, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
56image/jpeg, width=(int)960, height=(int)544, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
57image/jpeg, width=(int)800, height=(int)600, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
58image/jpeg, width=(int)864, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
59image/jpeg, width=(int)800, height=(int)448, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
60image/jpeg, width=(int)752, height=(int)416, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
61image/jpeg, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
62image/jpeg, width=(int)640, height=(int)360, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
63image/jpeg, width=(int)544, height=(int)288, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
64image/jpeg, width=(int)432, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
65image/jpeg, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
66image/jpeg, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
67image/jpeg, width=(int)320, height=(int)176, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
68image/jpeg, width=(int)176, height=(int)144, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 };
69image/jpeg, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 25/1, 20/1, 15/1, 10/1, 5/1 }
70
710:00:00.207737128 15881 0x88fee00 INFO GST_PADS gstpad.c:4230:gst_pad_peer_query:<src-crop:src> pad has no peer
720:00:00.208131863 15881 0x88fee00 INFO GST_ELEMENT_PADS gstutils.c:1227:gst_element_get_compatible_pad:<src-crop> Could not find a compatible pad to link to camerasrc-real-src:src
730:00:00.208198762 15881 0x88fee00 INFO GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link camerasrc-real-src:src and src-crop:sink
740:00:00.208244698 15881 0x88fee00 INFO GST_PADS gstpad.c:4230:gst_pad_peer_query:<src-crop:src> pad has no peer
750:00:00.208580080 15881 0x88fee00 INFO GST_PADS gstpad.c:4230:gst_pad_peer_query:<src-crop:src> pad has no peer
760:00:00.209010574 15881 0x88fee00 INFO GST_ELEMENT_PADS gstelement.c:920:gst_element_get_static_pad: found pad camerasrc-real-src:src
770:00:00.209119311 15881 0x88fee00 INFO GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: camerasrc-real-src and src-crop in same bin, no need for ghost pads
780:00:00.209174846 15881 0x88fee00 INFO GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link camerasrc-real-src:src and src-crop:sink
790:00:00.209237310 15881 0x88fee00 INFO GST_PADS gstpad.c:4230:gst_pad_peer_query:<src-crop:src> pad has no peer
800:00:00.209487092 15881 0x88fee00 INFO GST_PADS gstpad.c:2434:gst_pad_link_prepare: caps are incompatible
810:00:00.209526143 15881 0x88fee00 INFO GST_PADS gstpad.c:2529:gst_pad_link_full: link between camerasrc-real-src:src and src-crop:sink failed: no common format
820:00:00.209583393 15881 0x88fee00 INFO GST_PARENTAGE gstbin.c:1799:gst_bin_remove_func:<camerasrc> removed child "src-crop"
830:00:00.209642419 15881 0x88fee00 WARN default camerabingeneral.c:87:gst_camerabin_add_element_full:<camerasrc> error: linking src-crop failed
840:00:00.209701572 15881 0x88fee00 INFO GST_ERROR_SYSTEM gstelement.c:2145:gst_element_message_full_with_details:<camerasrc> posting message: GStreamer error: negotiation problem.
850:00:00.209772949 15881 0x88fee00 INFO GST_ERROR_SYSTEM gstelement.c:2172:gst_element_message_full_with_details:<camerasrc> posted error message: GStreamer error: negotiation problem.
86...
87
88# =======================================
89# after plugging camera as usb 3.0 device
90# =======================================
91
92$ dmesg
93[ +0.015087] usb 1-1: New USB device found, idVendor=1908, idProduct=2311
94[ +0.000011] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
95[ +0.000007] usb 1-1: Product: USB2.0 PC CAMERA
96[ +0.000006] usb 1-1: Manufacturer: Generic
97[ +0.010273] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA (1908:2311)
98[ +0.000928] input: USB2.0 PC CAMERA as /devices/pci0000:00/0000:00:0c.0/usb1/1-1/1-1:1.0/input/input6
99[ +0.000266] usbcore: registered new interface driver uvcvideo
100[ +0.000002] USB Video Class driver (1.1.1)
101
102$ lsusb
103Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
104Bus 001 Device 002: ID 1908:2311 GEMBIRD
105Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
106
107$ lsusb -t
108/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
109/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 480M
110 |__ Port 1: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
111 |__ Port 1: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
112
113$ gst-launch-1.0 -v -m camerabin
114...
1150:00:00.212138258 15913 0x92dee00 INFO v4l2 v4l2_calls.c:596:gst_v4l2_open:<camerasrc-real-src-actual-src-v4l:src> Opened device 'USB2.0 PC CAMERA' (/dev/video0) successfully
1160:00:00.212170842 15913 0x92dee00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<camerasrc-real-src-actual-src-v4l> completed state change to READY
1170:00:00.212191958 15913 0x92dee00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<camerasrc-real-src-actual-src-v4l> notifying about state-changed NULL to READY (VOID_PENDING pending)
1180:00:00.212218418 15913 0x92dee00 INFO GST_STATES gstbin.c:2952:gst_bin_change_state_func:<camerasrc-real-src> child 'camerasrc-real-src-actual-src-v4l' changed state to 2(READY) successfully
1190:00:00.212241405 15913 0x92dee00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<camerasrc-real-src> completed state change to READY
1200:00:00.212259731 15913 0x92dee00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<camerasrc-real-src> notifying about state-changed NULL to READY (VOID_PENDING pending)
1210:00:00.212820238 15913 0x92dee00 INFO GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideocrop.so" loaded
1220:00:00.212854533 15913 0x92dee00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element "videocrop" named "src-crop"
1230:00:00.213037873 15913 0x92dee00 INFO GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseTransform@0x94ac890> adding pad 'sink'
1240:00:00.213078939 15913 0x92dee00 INFO GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseTransform@0x94ac890> adding pad 'src'
1250:00:00.213134276 15913 0x92dee00 INFO GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element camerasrc-real-src:(any) to element src-crop:(any)
1260:00:00.213160913 15913 0x92dee00 INFO GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link camerasrc-real-src:src and src-crop:sink
127
1280:00:00.213203691 15913 0x92dee00 INFO v4l2 gstv4l2object.c:1196:gst_v4l2_object_fill_format_list:<camerasrc-real-src-actual-src-v4l:src> got 1 format(s):
1290:00:00.213225446 15913 0x92dee00 INFO v4l2 gstv4l2object.c:1202:gst_v4l2_object_fill_format_list:<camerasrc-real-src-actual-src-v4l:src> YUYV
1300:00:00.213341622 15913 0x92dee00 INFO v4l2 gstv4l2object.c:4136:gst_v4l2_object_probe_caps:<camerasrc-real-src-actual-src-v4l:src> probed caps:
131video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 15/1 };
132video/x-raw, format=(string)YUY2, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 15/1 };
133video/x-raw, format=(string)YUY2, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 15/1 };
134video/x-raw, format=(string)YUY2, width=(int)176, height=(int)144, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 15/1 };
135video/x-raw, format=(string)YUY2, width=(int)160, height=(int)120, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 30/1, 15/1 }
136
1370:00:00.213374921 15913 0x92dee00 INFO GST_PADS gstpad.c:4230:gst_pad_peer_query:<src-crop:src> pad has no peer
1380:00:00.213535035 15913 0x92dee00 INFO GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: camerasrc-real-src and src-crop in same bin, no need for ghost pads
1390:00:00.213567003 15913 0x92dee00 INFO GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link camerasrc-real-src:src and src-crop:sink
1400:00:00.213598941 15913 0x92dee00 INFO GST_PADS gstpad.c:4230:gst_pad_peer_query:<src-crop:src> pad has no peer
1410:00:00.213779221 15913 0x92dee00 INFO GST_PADS gstpad.c:2586:gst_pad_link_full: linked camerasrc-real-src:src and src-crop:sink, successful

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy