Re: New USB core API to change interval and max packet size

2013-10-02 Thread Sarah Sharp
On Wed, Oct 02, 2013 at 10:22:52AM -0400, Alan Stern wrote: > On Tue, 1 Oct 2013, Sarah Sharp wrote: > > > > When you say a new API, what do you mean? New functions in usbcore > > > to be used by usb device drivers? > > > > Yes. You would export the function

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Sarah Sharp
On Wed, Oct 02, 2013 at 12:16:04AM +0300, Xenia Ragiadakou wrote: > On 10/01/2013 11:45 PM, Sarah Sharp wrote: > >Sure. I would actually suggest you first finish up the patch to issue a > >configure endpoint if userspace wants to clear a halt, but the endpoint > >isn't

New USB core API to change interval and max packet size

2013-10-01 Thread Sarah Sharp
but the endpoint isn't actually halted. Did your most current patch work? I can't remember what the status was. Sarah Sharp -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: issue with uvcvideo and xhci

2012-12-12 Thread Sarah Sharp
est you run perf and see where the bottle necks in the xHCI interrupt handler are. I suspect that part of it is that the interrupt handler reads the xHCI status register. That PCI register read is pretty costly, and it's not necessary since 99% of the time the host controller is going to report

Re: USB mini-summit at LinuxCon Vancouver

2011-08-09 Thread Sarah Sharp
On Tue, Aug 09, 2011 at 09:52:44AM +0200, Hans de Goede wrote: > Hi, > > On 08/08/2011 07:58 PM, Sarah Sharp wrote: > >On Fri, Aug 05, 2011 at 09:45:56AM +0200, Hans de Goede wrote: > >>Hi, > >> > >>On 08/05/2011 12:56 AM, Greg KH wrote: > >&

Re: USB mini-summit at LinuxCon Vancouver

2011-08-08 Thread Sarah Sharp
On Mon, Aug 08, 2011 at 01:23:56PM -0500, Theodore Kilgore wrote: > > > On Mon, 8 Aug 2011, Sarah Sharp wrote: > > > On Fri, Aug 05, 2011 at 09:45:56AM +0200, Hans de Goede wrote: > > > Hi, > > > > > > On 08/05/2011 12:56 AM, Greg KH wrote: &g

Re: USB mini-summit at LinuxCon Vancouver

2011-08-08 Thread Sarah Sharp
u, and any of the Intel folks who did the Moorestown USB 2.0 LPM), I think it will be more useful to have that discussion on-list or at another conference. Sarah Sharp -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2 0/2] USB: EHCI: Allow users to override 80% max periodic bandwidth

2011-06-30 Thread Sarah Sharp
odic transfers). But if Alan is fine with giving users a way to shoot themselves in the foot, and it's disabled by default, then I don't particularly mind this patch. Sarah Sharp -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: uvcvideo failure under xHCI

2011-06-17 Thread Sarah Sharp
On Fri, Jun 17, 2011 at 07:01:10PM +0200, Laurent Pinchart wrote: > Hi Sarah, > > On Friday 17 June 2011 18:46:20 Sarah Sharp wrote: > > On Fri, Jun 17, 2011 at 10:18:39AM +0200, Laurent Pinchart wrote: > > > On Thursday 16 June 2011 22:20:22 Alan Stern wrote: > >

Re: uvcvideo failure under xHCI

2011-06-17 Thread Sarah Sharp
On Fri, Jun 17, 2011 at 10:18:39AM +0200, Laurent Pinchart wrote: > On Thursday 16 June 2011 22:20:22 Alan Stern wrote: > > On Thu, 16 Jun 2011, Sarah Sharp wrote: > > > On Thu, Jun 16, 2011 at 03:39:11PM -0400, Alan Stern wrote: > > > > That's appropri

Re: uvcvideo failure under xHCI

2011-06-16 Thread Sarah Sharp
he individual frame status be set to -EPROTO, correct? That's what Alex was told to do when an isochronous TD had a completion code of "Incompatible Device Error". Sarah Sharp -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message

Re: uvcvideo failure under xHCI

2011-06-16 Thread Sarah Sharp
On Thu, Jun 16, 2011 at 01:39:43PM -0400, Alan Stern wrote: > On Thu, 16 Jun 2011, Sarah Sharp wrote: > > > > > > Alan, does that seem correct? > > > > > > The description of the behavior of ehci-hcd and uhci-hcd is correct. > > > ohci-hcd behave

Re: uvcvideo failure under xHCI

2011-06-16 Thread Sarah Sharp
On Thu, Jun 16, 2011 at 10:35:49AM -0400, Alan Stern wrote: > On Thu, 16 Jun 2011, Laurent Pinchart wrote: > > On Thursday 16 June 2011 04:59:57 Sarah Sharp wrote: > > > On Wed, Jun 15, 2011 at 06:39:57PM -0700, Sarah Sharp wrote: > > > > I've grepped through dri

Re: uvcvideo failure under xHCI

2011-06-15 Thread Sarah Sharp
On Wed, Jun 15, 2011 at 06:39:57PM -0700, Sarah Sharp wrote: > When I plug in a webcam under an xHCI host controller in 3.0-rc3+ > (basically top of Greg's usb-linus branch) with xHCI debugging turned > on, the host controller occasionally cannot keep up with the isochronous >

uvcvideo failure under xHCI

2011-06-15 Thread Sarah Sharp
tus and frame status to when the xHCI host controller skips over transfers? -EREMOTEIO? Or does it need to set the URB's status to zero, but only set the individual frame status to -EXDEV? Sarah Sharp -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: USB mini-summit at LinuxCon Vancouver

2011-06-10 Thread Sarah Sharp
On Thu, Jun 09, 2011 at 08:18:05PM -0700, Greg KH wrote: > On Thu, Jun 09, 2011 at 05:21:03PM -0700, Sarah Sharp wrote: > > Topic 1 > > --- > > > > The KVM folks suggested that it would be good to get USB and > > virtualization developers together to talk abo

USB mini-summit at LinuxCon Vancouver

2011-06-09 Thread Sarah Sharp
interval in frames, not microframes. There needs to be some way for the drivers to communicate their bandwidth needs to the USB core. We've known about this issue for a while, and I think it's time to get everyone in the same room and hash out an API. (I will send out an API proposal late

Re: Status of the patches under review (85 patches) and some misc notes about the devel procedures

2010-05-10 Thread Sarah Sharp
On Mon, May 10, 2010 at 07:39:37PM +0200, Jean-Francois Moine wrote: > On Mon, 10 May 2010 13:25:00 -0300 > Mauro Carvalho Chehab wrote: > > > Sarah Sharp wrote: > > > On Sat, May 08, 2010 at 03:45:41PM -0700, Mauro Carvalho Chehab > > > wrote: > > >>

Re: Status of the patches under review (85 patches) and some misc notes about the devel procedures

2010-05-10 Thread Sarah Sharp
ers to request a specific polling rate and frame list length for an endpoint. However, I expect that the call would have to be either before or part of the call to usb_set_interface(), because of how the xHCI hardware tracks endpoints. So even if we had the ideal interface, the drivers would still need cod

[PATCH] gspca: Try a less bandwidth-intensive alt setting.

2010-05-03 Thread Sarah Sharp
interface setting. Signed-off-by: Sarah Sharp Tested-by: Andiry Xu --- drivers/media/video/gspca/gspca.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index 222af47..6de3117 100644 --- a

xHCI bandwidth error with USB webcam

2010-04-12 Thread Sarah Sharp
looks a bit hackish; can with experience with that driver look it over? Can anyone tell me where to look for the usb_set_interface() in uvcvideo? Sarah Sharp 8<-- >From 0e6bc81b178364ee9771c64a06ab006588c73ae6 Mon Sep 17 00:00:00 2001 From: Sarah Sharp Date: Mon,