v4l2src problems

Krzysztof Borowczyk k.borowczyk at samsung.com
Mon Sep 1 01:54:29 PDT 2014


Hi,

Unfortunately it's not possible for me to show the full pipeline. While I tried to prepare simple test I noticed some more important details. The problem happens when I kill my application while playing, without stopping the pipeline first. It leaves the driver(?) with some bad state making it impossible to play the video, even with such simple pipeline:

gst-launch v4l2src ! videoconvert ! autovideosink

The only way to get the video back that I've found yet is to unplug the camera.
Here are some dmesg logs from two different cameras:

[ 2394.947784] usb 3-3: Product: A4 tech USB2.0 Camera
[ 2394.947786] usb 3-3: Manufacturer: A4 tech Corp.
[ 2394.948713] uvcvideo: Found UVC 1.00 device A4 tech USB2.0 Camera (0ac8:3450)
[ 2394.950436] input: A4 tech USB2.0 Camera as /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/input/input20
[ 2718.693349] xhci_hcd 0000:00:14.0: Signal while waiting for configure endpoint command
[ 2718.693390] usb 3-3: Not enough bandwidth for altsetting 0
[ 2730.361485] xhci_hcd 0000:00:14.0: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 2730.361497] xhci_hcd 0000:00:14.0: @0000000115c5b640 00000000 00000000 0c000000 03058000
[ 2734.779894] xhci_hcd 0000:00:14.0: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 2734.779905] xhci_hcd 0000:00:14.0: @0000000115c5b4b0 00000000 00000000 0c000000 03058001
[ 2734.851438] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880118562a40
[ 2734.851443] xhci_hcd 0000:00:14.0: Trying to add endpoint 0x82 without dropping it.
[ 2734.851447] usb 3-3: Not enough bandwidth for altsetting 7
[ 2734.851450] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880118562a40
[ 2766.364525] xhci_hcd 0000:00:14.0: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 2766.364537] xhci_hcd 0000:00:14.0: @0000000115c5b460 00000000 00000000 0c000000 03058000
[ 2768.917255] xhci_hcd 0000:00:14.0: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 2768.917266] xhci_hcd 0000:00:14.0: @0000000115c5b6e0 00000000 00000000 0c000000 03058000
[ 2768.988562] xhci_hcd 0000:00:14.0: Trying to add endpoint 0x82 without dropping it.
[ 2768.988572] usb 3-3: Not enough bandwidth for altsetting 7
[ 2833.792230] xhci_hcd 0000:00:14.0: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 2833.792241] xhci_hcd 0000:00:14.0: @0000000115c5b5d0 00000000 00000000 0c000000 03058001
[ 2833.991282] xhci_hcd 0000:00:14.0: Trying to add endpoint 0x82 without dropping it.
[ 2833.991290] usb 3-3: Not enough bandwidth for altsetting 7
[ 2836.452934] xhci_hcd 0000:00:14.0: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 2836.452945] xhci_hcd 0000:00:14.0: @0000000115c5b4c0 00000000 00000000 0c000000 03058000
[ 2836.522924] xhci_hcd 0000:00:14.0: Trying to add endpoint 0x82 without dropping it.
[ 2836.522933] usb 3-3: Not enough bandwidth for altsetting 7
[ 2860.830475] xhci_hcd 0000:00:14.0: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 2860.830484] xhci_hcd 0000:00:14.0: @0000000115c5b4b0 00000000 00000000 0c000000 03058001
dfdf[ 2860.899552] xhci_hcd 0000:00:14.0: Trying to add endpoint 0x82 without dropping it.
[ 2860.899561] usb 3-3: Not enough bandwidth for altsetting 7


And the second one:


[ 3438.648345] usb 3-3: new high-speed USB device number 6 using xhci_hcd
[ 3438.708083] usb 3-3: New USB device found, idVendor=0ac8, idProduct=3460
[ 3438.708088] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3438.708091] usb 3-3: Product: Venus USB2.0 Camera
[ 3438.708094] usb 3-3: Manufacturer: Vimicro Corp.
[ 3438.709049] uvcvideo: Found UVC 1.00 device Venus USB2.0 Camera (0ac8:3460)
[ 3438.710815] input: Venus USB2.0 Camera as /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/input/input22
[ 3456.390183] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
[ 3456.689777] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
[ 3458.688046] uvcvideo: Failed to set UVC probe control : -32 (exp. 26).
[ 3463.681056] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[ 3468.674812] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[ 3473.668599] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[ 3479.685042] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
[ 3479.984665] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
[ 3483.656854] uvcvideo: Failed to set UVC probe control : -32 (exp. 26).
[ 3488.649846] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[ 3561.666145] xhci_hcd 0000:00:14.0: Signal while waiting for configure endpoint command
[ 3561.666188] usb 3-3: Not enough bandwidth for altsetting 0
[ 3563.409230] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88011845bf00
[ 3563.409239] xhci_hcd 0000:00:14.0: Trying to add endpoint 0x82 without dropping it.
[ 3563.409247] usb 3-3: Not enough bandwidth for altsetting 7
[ 3563.409252] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88011845bf00
[ 3564.606879] xhci_hcd 0000:00:14.0: Trying to add endpoint 0x82 without dropping it.
[ 3564.606888] usb 3-3: Not enough bandwidth for altsetting 7
[ 3565.292648] xhci_hcd 0000:00:14.0: Trying to add endpoint 0x82 without dropping it.
[ 3565.292656] usb 3-3: Not enough bandwidth for altsetting 7
[ 3565.588348] xhci_hcd 0000:00:14.0: Trying to add endpoint 0x82 without dropping it.
[ 3565.588357] usb 3-3: Not enough bandwidth for altsetting 7
[ 3565.855374] xhci_hcd 0000:00:14.0: Trying to add endpoint 0x82 without dropping it.
[ 3565.855382] usb 3-3: Not enough bandwidth for altsetting 7
[ 3566.123293] xhci_hcd 0000:00:14.0: Trying to add endpoint 0x82 without dropping it.
[ 3566.123302] usb 3-3: Not enough bandwidth for altsetting 7

-- 
Best regards,
Krzysztof Borowczyk



More information about the gstreamer-devel mailing list