Modify

Opened 3 years ago

Last modified 3 years ago

#19399 new defect

mjpg-streamer uvcvideo: Failed to resubmit video URB (-19)

Reported by: pesda1.0@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: uvcvideo: Failed to resubmit video URB (-19) Cc: pesda1.0@…

Description

Experience issue with mjpg-streamer
http://res.cloudinary.com/metsys/image/upload/v1427974469/951/mjpeg.png

config mjpg-streamer 'core'
<------>option enabled '1'
<------>option input 'uvc'
<------>option output 'http'
<------>option device '/dev/video0'
<------>option resolution '640x480'
<------>option fps '1'
<------>option www '/www/webcam'
<------>option port '1234'
<------>option username
<------>option password

root@OpenWrt:~# ls /dev | grep video
video0
root@OpenWrt:~# lsusb
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Bus 001 Device 010: ID 046d:0802 Logitech, Inc. Webcam C200

root@OpenWrt:~# dmesg | grep video
[ 13.650000] Linux video capture interface: v2.00
[ 14.730000] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0802)
[ 14.800000] usbcore: registered new interface driver uvcvideo
[ 237.710000] uvcvideo: Failed to resubmit video URB (-19).
[ 237.720000] uvcvideo: Failed to resubmit video URB (-19).
[ 237.720000] uvcvideo: Failed to resubmit video URB (-19).
[ 237.730000] uvcvideo: Failed to resubmit video URB (-19).
[ 237.730000] uvcvideo: Failed to resubmit video URB (-19).
[ 244.340000] uvcvideo: Found UVC 1.00 device A4 TECH USB2.0 PC Camera J (0ac8:c40a)
[ 365.210000] uvcvideo: Failed to resubmit video URB (-19).
[ 365.210000] uvcvideo: Failed to resubmit video URB (-19).
[ 365.210000] uvcvideo: Failed to resubmit video URB (-19).
[ 365.220000] uvcvideo: Failed to resubmit video URB (-19).
[ 365.220000] uvcvideo: Failed to resubmit video URB (-19).
[ 368.050000] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0802)
[52946.560000] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0802)
[53167.520000] uvcvideo: Failed to resubmit video URB (-19).
[53167.520000] uvcvideo: Failed to resubmit video URB (-19).
[53167.530000] uvcvideo: Failed to resubmit video URB (-19).
[53167.530000] uvcvideo: Failed to resubmit video URB (-19).
[53167.540000] uvcvideo: Failed to resubmit video URB (-19).
[53172.120000] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0802)

Attachments (1)

mjpeg.png (136.5 KB) - added by pesda1.0@… 3 years ago.
MJPG Streamer

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by pesda1.0@…

MJPG Streamer

comment:1 Changed 3 years ago by pesda1.0@…

Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: starting application
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: MJPG Streamer Version: svn rev: exported
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: Using V4L2 device.: /dev/video0
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: Desired Resolution: 640 x 480
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: Frames Per Second.: 1
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: Format............: JPEG
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: TV-Norm...........: DEFAULT
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: FPS coerced ......: from 1 to 5
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: Frame period time ......: 1000 ms
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: www-folder-path...: /www/webcam/
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: HTTP TCP port.....: 7776
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: username:password.: disabled
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: commands..........: enabled
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: starting input plugin input_uvc.so
Thu Apr 2 13:17:56 2015 user.info MJPG-streamer [30470]: starting output plugin: output_http.so (ID: 00)
Thu Apr 2 13:18:00 2015 user.info MJPG-streamer [30470]: serving client: 10.0.0.2
Thu Apr 2 13:18:00 2015 user.info MJPG-streamer [30470]: serving client: 10.0.0.2

comment:2 Changed 3 years ago by anonymous

comment:3 Changed 3 years ago by anonymous

URB might indicate USB is involved (see kernel /Documentation/usb/URB.txt)
(-19) means

"#define ENODEV          19      /* No such device */
  • is the camera attached to a powered USB HUB
  • check for USB autosuspend (found in http://www.ideasonboard.org/uvc/faq/ )
  • maybe the hardware is too slow
  • dont know why another cam is detected ( Found UVC 1.00 device A4 TECH USB2.0 PC Camera J (0ac8:c40a) ) - maybe a bug ?

comment:4 Changed 3 years ago by pesda1.0@…

1) yes, it attached to a powered USB HUB Dlink DUB-H7
2)# cat /sys/module/usbcore/parameters/autosuspend
cat: can't open '/sys/module/usbcore/parameters/autosuspend': No such file or directory
root@OpenWrt:~# uname -a
Linux OpenWrt 3.10.49 #1 Wed Apr 1 18:46:21 CEST 2015 mips GNU/Linux

# echo -1 > /sys/module/usbcore/parameters/autosuspend
-ash: can't create /sys/module/usbcore/parameters/autosuspend: nonexistent directory

could you help please to understand?

3) this work on mikrotik rb951g-2hnd CPU nominal frequency:600 MHz http://routerboard.com/RB951G-2HnD
4) it was attempt to connect A4 TECH camera pk 835 mj (but it fail to start) - not a bug

Also I added video higher how it work ( http://youtu.be/sQO-smUQn3Q )

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.