USB video capture shuts up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi I am using a v4l2 usb video capturer (em28xx based), and it is working
fine for around 5 minutes. However, it stops capturing after this time.

There is no error message sent to kmsg ot the application, which
apparently waits for more data to be received.

The debug dump from usbmon is:

cee45c00 2165674255 C Zi:1:004:2 0:1:2008:0 40 0:0:644 0:1448:644
0:2896:644 0:4344:644 0:5792:604 25224 = 88888888 16811781 11883b82
4d8b4e7d 4b8f4e7a 4d8c5077 4f885077 4f885179
cee45c00 2165675109 S Zi:1:004:2 -115:1:2008 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cffdac00 2165679260 C Zi:1:004:2 0:1:0:0 40 0:0:612 0:1448:608 0:2896:608
0:4344:644 0:5792:644 25656 = 88888888 39a13c74 3aa33a75 39a23776 3a9f3b78
3a9e3c78 3c9f3e77 449c4374
cffdac00 2165680145 S Zi:1:004:2 -115:1:0 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cff3a800 2165684234 C Zi:1:004:2 0:1:40:0 40 0:0:644 0:1448:644 0:2896:644
0:4344:644 0:5792:644 25420 = 88888888 10831081 10892f82 4487437f 3e87437f
468b437d 428f447a 46924379
cff3a800 2165685089 S Zi:1:004:2 -115:1:40 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cee45400 2165773132 C Zi:1:004:2 0:1:80:0 40 0:0:608 0:1448:608 0:2896:608
0:4344:608 0:5792:608 25504 = 88888888 43823c7e 39863380 2e853281 34833883
3a843e84 40814380 4280467e
cee45400 2165773651 S Zi:1:004:2 -115:1:80 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cee45000 2165773773 C Zi:1:004:2 0:1:120:0 40 -18:0:0 -18:1448:0
-18:2896:0 -18:4344:0 -18:5792:0 0
cee45000 2165773803 S Zi:1:004:2 -115:1:120 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cee45c00 2165773895 C Zi:1:004:2 0:1:160:0 40 -18:0:0 -18:1448:0
-18:2896:0 -18:4344:0 -18:5792:0 0
cee45c00 2165773895 S Zi:1:004:2 -115:1:160 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cffdac00 2165774017 C Zi:1:004:2 0:1:200:0 40 -18:0:0 -18:1448:0
-18:2896:0 -18:4344:0 -18:5792:0 0
cffdac00 2165774017 S Zi:1:004:2 -115:1:200 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cff3a800 2165774108 C Zi:1:004:2 0:1:240:0 40 -18:0:0 -18:1448:0
-18:2896:0 -18:4344:0 -18:5792:0 0
cff3a800 2165774139 S Zi:1:004:2 -115:1:240 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cee45400 2165774230 C Zi:1:004:2 0:1:280:0 40 -18:0:0 -18:1448:0
-18:2896:0 -18:4344:0 -18:5792:0 0
cee45400 2165774230 S Zi:1:004:2 -115:1:280 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cee45000 2165774353 C Zi:1:004:2 0:1:320:0 40 -18:0:0 -18:1448:0
-18:2896:0 -18:4344:0 -18:5792:0 0
cee45000 2165774353 S Zi:1:004:2 -115:1:320 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cee45c00 2165774444 C Zi:1:004:2 0:1:360:0 40 -18:0:0 -18:1448:0
-18:2896:0 -18:4344:0 -18:5792:0 0
cee45c00 2165774475 S Zi:1:004:2 -115:1:360 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cffdac00 2165774566 C Zi:1:004:2 0:1:400:0 40 -18:0:0 -18:1448:0
-18:2896:0 -18:4344:0 -18:5792:0 0
cffdac00 2165774597 S Zi:1:004:2 -115:1:400 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cff3a800 2165774688 C Zi:1:004:2 0:1:440:0 40 -18:0:0 -18:1448:0
-18:2896:0 -18:4344:0 -18:5792:0 0
cff3a800 2165774688 S Zi:1:004:2 -115:1:440 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cff3a800 2165774719 E Zi:1:004:2 -27 0
cee45400 2165774749 C Zi:1:004:2 0:1:480:0 40 -18:0:0 -18:1448:0
-18:2896:0 -18:4344:0 -18:5792:0 0
cee45400 2165774780 S Zi:1:004:2 -115:1:480 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cee45400 2165774780 E Zi:1:004:2 -27 0
cee45000 2165774810 C Zi:1:004:2 0:1:520:0 40 -18:0:0 -18:1448:0
-18:2896:0 -18:4344:0 -18:5792:0 0
cee45000 2165774871 S Zi:1:004:2 -115:1:520 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cee45000 2165774871 E Zi:1:004:2 -27 0
cee45c00 2165774902 C Zi:1:004:2 0:1:560:0 40 -18:0:0 -18:1448:0
-18:2896:0 -18:4344:0 -18:5792:0 0
cee45c00 2165774932 S Zi:1:004:2 -115:1:560 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cee45c00 2165774932 E Zi:1:004:2 -27 0
cffdac00 2165774993 C Zi:1:004:2 0:1:600:0 40 -18:0:0 -18:1448:0
-18:2896:0 -18:4344:0 -18:5792:0 0
cffdac00 2165774993 S Zi:1:004:2 -115:1:600 40 -18:0:1448 -18:1448:1448
-18:2896:1448 -18:4344:1448 -18:5792:1448 57920 <
cffdac00 2165775024 E Zi:1:004:2 -27 0


I am using kernel 2.6.34-rc7, and now the E messages are shown. In kernels
2.6.33 and 2.6.32 the bus went on sending callbacks with 0s.
I assume that there is still some work in progress on the ehci module, and
eventually this issue will be solved.

Also, when I stop the application the following message is shown:

em28xx #0: cannot change alternate number to 0 (error=-110)

And when I rmmod ehci-hcd:

rmmod ehci-hcd
ehci-omap ehci-omap.0: remove, state 1
usb usb1: USB disconnect, address 1
usb 1-2: USB disconnect, address 2
usb 1-2.4: USB disconnect, address 3
usb 1-2.4.2: USB disconnect, address 4
em28xx #0: disconnecting em28xx #0 video
em28xx #0: V4L2 device vbi0 deregistered
em28xx #0: V4L2 device video0 deregistered
ehci-omap ehci-omap.0: force halt; handshake fa064814 0000c000 00000000 ->
-110
ehci-omap ehci-omap.0: USB bus 1 deregistered



Do you know how can I investigate this further?

Thanks in advance,

Simon

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux