Re: [alsa-devel] Fw: Isochronous transfer error on USB3

2014-01-09 Thread Clemens Ladisch
Mauro Carvalho Chehab wrote: I'm getting an weird behavior with em28xx, especially when the device is connected into an audio port. http://git.linuxtv.org/mchehab/experimental.git/blob/refs/heads/em28xx-v4l2-v6:/drivers/media/usb/em28xx/em28xx-audio.c What happens is that, when I

Re: [alsa-devel] Fw: Isochronous transfer error on USB3

2014-01-09 Thread Mauro Carvalho Chehab
Em Thu, 09 Jan 2014 09:17:13 +0100 Clemens Ladisch clem...@ladisch.de escreveu: Mauro Carvalho Chehab wrote: I'm getting an weird behavior with em28xx, especially when the device is connected into an audio port.

Re: [alsa-devel] Fw: Isochronous transfer error on USB3

2014-01-09 Thread Mauro Carvalho Chehab
Em Thu, 9 Jan 2014 09:29:57 -0200 Mauro Carvalho Chehab m.che...@samsung.com escreveu: Em Thu, 09 Jan 2014 09:17:13 +0100 Clemens Ladisch clem...@ladisch.de escreveu: Mauro Carvalho Chehab wrote: I'm getting an weird behavior with em28xx, especially when the device is connected into

Re: [alsa-devel] Fw: Isochronous transfer error on USB3

2014-01-09 Thread Clemens Ladisch
Mauro Carvalho Chehab wrote: Clemens Ladisch clem...@ladisch.de escreveu: Mauro Carvalho Chehab wrote: .period_bytes_min = 64, /* 12544/2, */ This is wrong (if the driver doesn't install other constraints on the period length, like the USB audio class driver does). Ok, how

Re: Isochronous transfer error on USB3

2014-01-08 Thread Mauro Carvalho Chehab
Em Thu, 02 Jan 2014 14:07:22 -0800 Sarah Sharp sarah.a.sh...@linux.intel.com escreveu: On Sun, Dec 29, 2013 at 02:54:40AM -0200, Mauro Carvalho Chehab wrote: It seems that usb_unlink_urb() is causing troubles with xHCI: the endpoint stops streaming, but, after that, it doesn't start again,

Re: Isochronous transfer error on USB3

2014-01-08 Thread Mauro Carvalho Chehab
Em Wed, 08 Jan 2014 14:31:28 -0200 Mauro Carvalho Chehab m.che...@samsung.com escreveu: Em Thu, 02 Jan 2014 14:07:22 -0800 Sarah Sharp sarah.a.sh...@linux.intel.com escreveu: On Sun, Dec 29, 2013 at 02:54:40AM -0200, Mauro Carvalho Chehab wrote: It seems that usb_unlink_urb() is causing

Re: Isochronous transfer error on USB3

2014-01-08 Thread Mauro Carvalho Chehab
Em Wed, 08 Jan 2014 15:05:12 -0200 Mauro Carvalho Chehab m.che...@samsung.com escreveu: Em Wed, 08 Jan 2014 14:31:28 -0200 Mauro Carvalho Chehab m.che...@samsung.com escreveu: Em Thu, 02 Jan 2014 14:07:22 -0800 Sarah Sharp sarah.a.sh...@linux.intel.com escreveu: On Sun, Dec 29, 2013

Fw: Isochronous transfer error on USB3

2014-01-08 Thread Mauro Carvalho Chehab
: Isochronous transfer error on USB3 Em Wed, 08 Jan 2014 15:05:12 -0200 Mauro Carvalho Chehab m.che...@samsung.com escreveu: Em Wed, 08 Jan 2014 14:31:28 -0200 Mauro Carvalho Chehab m.che...@samsung.com escreveu: Em Thu, 02 Jan 2014 14:07:22 -0800 Sarah Sharp sarah.a.sh...@linux.intel.com

Re: Fw: Isochronous transfer error on USB3

2014-01-08 Thread Alan Stern
On Wed, 8 Jan 2014, Mauro Carvalho Chehab wrote: Hi Hans/Takashi, I'm getting an weird behavior with em28xx, especially when the device is connected into an audio port. I'm using, on my tests, an em28xx HVR-950 device, using this tree:

Re: Isochronous transfer error on USB3

2014-01-02 Thread Sarah Sharp
On Sun, Dec 29, 2013 at 02:54:40AM -0200, Mauro Carvalho Chehab wrote: It seems that usb_unlink_urb() is causing troubles with xHCI: the endpoint stops streaming, but, after that, it doesn't start again, and lots of debug messages are produced. I emailed you the full log after start streaming

Re: Isochronous transfer error on USB3

2013-12-28 Thread Mauro Carvalho Chehab
Em Mon, 18 Mar 2013 09:51:24 -0700 Sarah Sharp sarah.a.sh...@linux.intel.com escreveu: On Tue, Mar 12, 2013 at 10:57:22AM +0100, jean-philippe francois wrote: 2013/3/12 jean-philippe francois jp.franc...@cynove.com: 2013/3/12 Sarah Sharp sarah.a.sh...@linux.intel.com: On Mon, Mar 11,

Re: Isochronous transfer error on USB3

2013-03-18 Thread Sarah Sharp
On Tue, Mar 12, 2013 at 10:57:22AM +0100, jean-philippe francois wrote: 2013/3/12 jean-philippe francois jp.franc...@cynove.com: 2013/3/12 Sarah Sharp sarah.a.sh...@linux.intel.com: On Mon, Mar 11, 2013 at 01:21:48PM +0100, jean-philippe francois wrote: Hi, The company I work for is

Re: Isochronous transfer error on USB3

2013-03-18 Thread Sarah Sharp
On Wed, Mar 13, 2013 at 03:34:15PM +0100, jean-philippe francois wrote: 2013/3/12 jean-philippe francois jp.franc...@cynove.com: 2013/3/12 jean-philippe francois jp.franc...@cynove.com: 2013/3/12 Sarah Sharp sarah.a.sh...@linux.intel.com: On Mon, Mar 11, 2013 at 01:21:48PM +0100,

Re: Isochronous transfer error on USB3

2013-03-13 Thread jean-philippe francois
2013/3/12 jean-philippe francois jp.franc...@cynove.com: 2013/3/12 jean-philippe francois jp.franc...@cynove.com: 2013/3/12 Sarah Sharp sarah.a.sh...@linux.intel.com: On Mon, Mar 11, 2013 at 01:21:48PM +0100, jean-philippe francois wrote: Hi, The company I work for is doing USB cameras, for

Re: Isochronous transfer error on USB3

2013-03-12 Thread jean-philippe francois
2013/3/12 Sarah Sharp sarah.a.sh...@linux.intel.com: On Mon, Mar 11, 2013 at 01:21:48PM +0100, jean-philippe francois wrote: Hi, The company I work for is doing USB cameras, for which I wrote the drivers (out of tree). Kernel driver or userspace driver? Kernel driver. Raw camera data are

Re: Isochronous transfer error on USB3

2013-03-12 Thread jean-philippe francois
2013/3/12 jean-philippe francois jp.franc...@cynove.com: 2013/3/12 Sarah Sharp sarah.a.sh...@linux.intel.com: On Mon, Mar 11, 2013 at 01:21:48PM +0100, jean-philippe francois wrote: Hi, The company I work for is doing USB cameras, for which I wrote the drivers (out of tree). Kernel driver

Re: Isochronous transfer error on USB3

2013-03-11 Thread Sarah Sharp
On Mon, Mar 11, 2013 at 01:21:48PM +0100, jean-philippe francois wrote: Hi, The company I work for is doing USB cameras, for which I wrote the drivers (out of tree). Kernel driver or userspace driver? Raw camera data are transferred using isochronous transfer, which work fine when used on