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 actually halted. Did your most

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 in the USB core, and put a prototype in a USB

New USB core API to change interval and max packet size

2013-10-01 Thread Sarah Sharp
on that but i 'm not sure that i understood. 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 actually halted. Did your most current patch work? I can't remember what the status was. Sarah Sharp

Re: issue with uvcvideo and xhci

2012-12-12 Thread Sarah Sharp
% of the time the host controller is going to report an OK status. And there's no guarantee that when the host does have an error that it will set a bad status. But without an analysis by perf, we won't really know where the bottlenecks are. Sarah Sharp -- To unsubscribe from this list: send the line

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: On Thu, Aug 04, 2011 at 07:21:47PM -0300, Mauro Carvalho Chehab wrote

Re: USB mini-summit at LinuxCon Vancouver

2011-08-08 Thread Sarah Sharp
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: 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: On Thu, Aug 04, 2011 at 07:21:47PM -0300, Mauro Carvalho Chehab

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

2011-06-30 Thread Sarah Sharp
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 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 appropriate. But nobody should ever set an isochronous URB's

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: On Thu, 16 Jun 2011, Sarah Sharp wrote

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 drivers/media/video, and it seems like none

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 behaves the same way too. And they all agree with the behavior

Re: uvcvideo failure under xHCI

2011-06-16 Thread Sarah Sharp
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 to majord...@vger.kernel.org More majordomo info

uvcvideo failure under xHCI

2011-06-15 Thread Sarah Sharp
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: 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 transfers, and it tells

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 about how to virtualize the xHCI host

USB mini-summit at LinuxCon Vancouver

2011-06-09 Thread Sarah Sharp
. 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 later this month.) Hope to see you there! Sarah

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

2010-05-10 Thread Sarah Sharp
(), because of how the xHCI hardware tracks endpoints. So even if we had the ideal interface, the drivers would still need code like this to fall back to less-bandwidth intensive alternate settings. Is there a different way you think we should handle running out of bandwidth? Sarah Sharp

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

2010-05-03 Thread Sarah Sharp
interface setting. Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com Tested-by: Andiry Xu andiry...@amd.com --- 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

xHCI bandwidth error with USB webcam

2010-04-12 Thread Sarah Sharp
; 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 sarah.a.sh...@linux.intel.com Date: Mon, 12