Re: [RFC 1/7] xhci: Fix LPM disable/enable during device reset.

2012-07-07 Thread Sarah Sharp
On Fri, Jul 06, 2012 at 12:16:45PM -0400, Alan Stern wrote: On Thu, 5 Jul 2012, Sarah Sharp wrote: The USB 3.0 specification says that sending a Set Feature or Clear Feature for U1/U2 Enable is not a valid request when the device is in the Default or Addressed state. It is only valid

Re: [PATCH 3/4] usbdevfs: Use scatter-gather lists for large bulk transfers

2012-07-07 Thread Hans de Goede
Hi, On 07/06/2012 07:51 PM, Greg Kroah-Hartman wrote: On Wed, Jul 04, 2012 at 09:18:03AM +0200, Hans de Goede wrote: +static void snoop_urb_data(struct urb *urb, unsigned len) +{ + int i, size; + + if (!usbfs_snoop) + return; + + if (urb-num_sgs == 0) { +

Re: [PATCH 4/4] usb/hcd: Ensure scatter-gather is not used for isoc transfers

2012-07-07 Thread Hans de Goede
Hi, On 07/06/2012 07:52 PM, Greg Kroah-Hartman wrote: On Wed, Jul 04, 2012 at 09:18:04AM +0200, Hans de Goede wrote: We don't support sg for isoc transfers, enforce this. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Alan Stern st...@rowland.harvard.edu ---

Re: [PATCH] From 2.6.39-rc1 onward, the Logitech Quickcam Fusion webcam (046d:08c1) stops

2012-07-07 Thread Oleksij Rempel
On 07.07.2012 11:20, Eric Ding wrote: On 07/06/2012 11:47 PM, Alan Stern wrote: On Fri, 6 Jul 2012, Alan Cox wrote: Yes, but we still need to know the reason why. Neither Rafael nor I has been able to figure out why that commit messed things up. Was the driver doing any dynamic

Re: [PATCH] From 2.6.39-rc1 onward, the Logitech Quickcam Fusion webcam (046d:08c1) stops

2012-07-07 Thread Eric Ding
On 07/07/2012 06:09 PM, Oleksij Rempel wrote: On 07.07.2012 11:20, Eric Ding wrote: On 07/06/2012 11:47 PM, Alan Stern wrote: On Fri, 6 Jul 2012, Alan Cox wrote: Yes, but we still need to know the reason why. Neither Rafael nor I has been able to figure out why that commit messed things

Re: [PATCH 4/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2012-07-07 Thread Laurent Pinchart
Hi Bhupesh, On Tuesday 03 July 2012 23:42:59 Bhupesh SHARMA wrote: Hi Laurent, Thanks for your review and sorry for being late with my replies. I have a lot on my plate these days :) No worries, I'm no less busy anyway :-) On Tuesday, June 19, 2012 4:19 AM Laurent Pinchart wrote: On

Re: [PATCH 5/5] usb: gadget/uvc: Add support for 'USB_GADGET_DELAYED_STATUS' response for a set_intf(alt-set 1) command

2012-07-07 Thread Laurent Pinchart
Hi Bhupesh, On Tuesday 03 July 2012 23:47:14 Bhupesh SHARMA wrote: On Wednesday, June 20, 2012 3:19 AM Laurent Pinchart wrote: On Friday 01 June 2012 15:08:58 Bhupesh Sharma wrote: This patch adds the support in UVC webcam gadget design for providing USB_GADGET_DELAYED_STATUS in response

Re: [PATCH] From 2.6.39-rc1 onward, the Logitech Quickcam Fusion webcam (046d:08c1) stops

2012-07-07 Thread Oleksij Rempel
On 07.07.2012 13:38, Eric Ding wrote: On 07/07/2012 06:09 PM, Oleksij Rempel wrote: On 07.07.2012 11:20, Eric Ding wrote: On 07/06/2012 11:47 PM, Alan Stern wrote: On Fri, 6 Jul 2012, Alan Cox wrote: Yes, but we still need to know the reason why. Neither Rafael nor I has been able to

Re: [PATCH v8 06/14] USB: Chipidea: rename struct ci13xxx variables from udc to ci

2012-07-07 Thread Richard Zhao
On Fri, Jul 06, 2012 at 11:07:21AM -0700, Greg KH wrote: On Fri, Jun 29, 2012 at 05:48:54PM +0800, Richard Zhao wrote: struct ci13xxx represent the controller, which may be device or host, so name its variables as ci. Signed-off-by: Richard Zhao richard.z...@freescale.com Reviewed-by:

[PATCH v9 REBASE 2/9] USB: Chipidea: add unified ci13xxx_{add,remove}_device for platform drivers

2012-07-07 Thread Richard Zhao
Platform drivers do the similar things to add/remove ci13xxx device, so create a unified one. Signed-off-by: Richard Zhao richard.z...@freescale.com Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Alexander Shishkin alexander.shish...@linux.intel.com --- drivers/usb/chipidea/ci13xxx_msm.c

[PATCH v9 REBASE 3/9] USB: Chipidea: add ci13xxx device id management

2012-07-07 Thread Richard Zhao
We use ida_simple_get and ida_simple_remove to manage the ids. Signed-off-by: Richard Zhao richard.z...@freescale.com Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Alexander Shishkin alexander.shish...@linux.intel.com --- drivers/usb/chipidea/core.c | 21 - 1 file

[PATCH v9 REBASE 4/9] usb: chipidea: select USB_EHCI_ROOT_HUB_TT in USB_CHIPIDEA_HOST of Kconfig

2012-07-07 Thread Richard Zhao
ci13xxx host needs Root Hub Transaction Translators. Reported-by: Shawn Guo shawn@freescale.com Signed-off-by: Richard Zhao richard.z...@freescale.com Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Alexander Shishkin alexander.shish...@linux.intel.com Acked-by: Marek Vasut ma...@denx.de

[PATCH v9 REBASE 5/9] usb: otg: add notify_connect/notify_disconnect callback

2012-07-07 Thread Richard Zhao
This let usb phy driver has a chance to change hw settings when connect status change. Signed-off-by: Richard Zhao richard.z...@freescale.com Acked-by: Felipe Balbi ba...@ti.com Tested-by: Subodh Nijsure snijs...@grid-net.com --- include/linux/usb/otg.h | 21 + 1 file

[PATCH v9 REBASE 7/9] usb: chipidea: permit driver bindings pass phy pointer

2012-07-07 Thread Richard Zhao
Sometimes, the driver bindings may know what phy they use. For example, when using device tree, the usb controller may have a phandler pointing to usb phy. Signed-off-by: Richard Zhao richard.z...@freescale.com Reviewed-by: Marek Vasut ma...@denx.de Acked-by: Felipe Balbi ba...@ti.com Tested-by:

[PATCH v9 REBASE 6/9] USB: notify phy when root hub port connect change

2012-07-07 Thread Richard Zhao
Phy may need to change settings when port connect change. Signed-off-by: Richard Zhao richard.z...@freescale.com Tested-by: Subodh Nijsure snijs...@grid-net.com --- drivers/usb/core/hub.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/core/hub.c

[PATCH v9 REBASE 8/9] usb: otg: add basic mxs phy driver support

2012-07-07 Thread Richard Zhao
mxs phy is used in Freescale i.MX SoCs, for example imx23, imx28, imx6Q. This patch adds the basic host support. Signed-off-by: Richard Zhao richard.z...@freescale.com Signed-off-by: Marek Vasut ma...@denx.de Cc: Peter Chen peter.c...@freescale.com Acked-by: Felipe Balbi ba...@ti.com Tested-by:

Re: [PATCH V7 2/9] usb: make usb port a real device

2012-07-07 Thread Lan Tianyu
On 2012/7/7 2:12, Greg KH wrote: On Fri, Jul 06, 2012 at 02:13:53PM +0800, Lan Tianyu wrote: Change since v4: remove struct usb_port-udev member since it is not used. This patch is to make usb port a real device under usb hub interface. Move port_owner to struct usb_port. As this adds sysfs

Re: [PATCH V7 9/9] usb : Add usb port's power control attributes

2012-07-07 Thread Lan Tianyu
On 2012/7/7 2:14, Greg KH wrote: On Fri, Jul 06, 2012 at 02:14:00PM +0800, Lan Tianyu wrote: Change since v5: Add usb_autopm_get/put_interface() around the port power operations in the control attribute's callback to deal with situation that control attribute is changed when the usb hub is

Re: [PATCH] From 2.6.39-rc1 onward, the Logitech Quickcam Fusion webcam (046d:08c1) stops

2012-07-07 Thread Oleksij Rempel
On 07.07.2012 15:55, Eric Ding wrote: On 07/07/2012 09:11 PM, Oleksij Rempel wrote: On 07.07.2012 13:38, Eric Ding wrote: On 07/07/2012 06:09 PM, Oleksij Rempel wrote: On 07.07.2012 11:20, Eric Ding wrote: On 07/06/2012 11:47 PM, Alan Stern wrote: On Fri, 6 Jul 2012, Alan Cox wrote: Yes,

Re: infos about device ZTE MF821D 2G,3G,4G/LTE usb-modem/networkcard

2012-07-07 Thread Thomas Schäfer
The modem works at /dev/USB2. In my point of view 19d2 0326 should/could be added to the option driver. Thomas -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] From 2.6.39-rc1 onward, the Logitech Quickcam Fusion webcam (046d:08c1) stops

2012-07-07 Thread Rafael J. Wysocki
On Saturday, July 07, 2012, Alan Stern wrote: On Sat, 7 Jul 2012, Oleksij Rempel wrote: Ok, i guess i know your problem but i doubt it will be completely fixed by changing powermanagement behavior. Two logitech cams i tested is really easy to confuse/brake/freeze. Just turn off the

Re: [PATCH V7 2/9] usb: make usb port a real device

2012-07-07 Thread Greg KH
On Sat, Jul 07, 2012 at 11:01:53PM +0800, Lan Tianyu wrote: On 2012/7/7 2:12, Greg KH wrote: On Fri, Jul 06, 2012 at 02:13:53PM +0800, Lan Tianyu wrote: Change since v4: remove struct usb_port-udev member since it is not used. This patch is to make usb port a real device under usb hub

usb: dwc3: resume phy during gadget initialization on recent cores breaks phy suspend

2012-07-07 Thread Paul Zimmerman
Commit usb: dwc3: resume phy during gadget initialization on recent cores breaks phy suspend on cores newer than 1.94a. The core will still operate, but the power savings provided by phy suspend are lost. Pratyush, did you see an actual problem caused by the original code? If so, then you need to

Re: [PATCH 3/4] usbdevfs: Use scatter-gather lists for large bulk transfers

2012-07-07 Thread Greg Kroah-Hartman
On Sat, Jul 07, 2012 at 09:11:27AM +0200, Hans de Goede wrote: Hi, On 07/06/2012 07:51 PM, Greg Kroah-Hartman wrote: On Wed, Jul 04, 2012 at 09:18:03AM +0200, Hans de Goede wrote: +static void snoop_urb_data(struct urb *urb, unsigned len) +{ + int i, size; + + if (!usbfs_snoop) +

Re: [PATCH V7 2/9] usb: make usb port a real device

2012-07-07 Thread Sarah Sharp
On Fri, Jul 06, 2012 at 11:12:32AM -0700, Greg KH wrote: On Fri, Jul 06, 2012 at 02:13:53PM +0800, Lan Tianyu wrote: Change since v4: remove struct usb_port-udev member since it is not used. This patch is to make usb port a real device under usb hub interface. Move port_owner to struct

Re: [PATCH] From 2.6.39-rc1 onward, the Logitech Quickcam Fusion webcam (046d:08c1) stops

2012-07-07 Thread Alan Stern
On Sat, 7 Jul 2012, Rafael J. Wysocki wrote: Well, the quirk does make sense. What doesn't make sense is why moving the runtime PM operation pointers from usb_bus_type to usb_device_type should cause any change in the autosuspend behavior. That's what we would like to know. I think

Re: Bug#677472: [3.1-3.2 regression] Immediate wake on suspend, associated with OHCI on MCP51

2012-07-07 Thread Alan Stern
On Sat, 7 Jul 2012, Octavio Alvarez wrote: If you build a kernel with CONFIG_USB_DEBUG enabled, what shows up in /sys/kernel/debug/usb/ohci/*/registers? [Sat Jul 07 12:49:27 -0700 -- alvarezp@octavio:/sys/kernel/debug/usb] $ grep . ohci/*/registers bus pci, device :00:0b.0 OHCI Host

Re: [3.1-3.2 regression] Immediate wake on suspend, associated with OHCI on MCP51

2012-07-07 Thread Jonathan Nieder
Hi, Quick administrivia. Alan Stern wrote: Yes, that commit enables wakeup for USB host controllers by default. Before that, you had to enable wakeup by hand. The question is: Why does the controller think it needs to wake up the system? Yotam Benshalom from

[PATCH RESEND 2/3] usb: storage: add support for write cache quirk

2012-07-07 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Add support for write cache quirk on usb hdd. scsi driver will be set to wce by detecting write cache quirk in quirk list when plugging usb hdd. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Pankaj Kumar pankaj...@samsung.com

[PATCH RESEND 1/3] scsi: set to WCE if usb cache quirk is present.

2012-07-07 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Make use of USB quirk method to identify such HDD while reading the cache status in sd_probe(). If cache quirk is present for the HDD, lets assume that cache is enabled and make WCE bit equal to 1. Signed-off-by: Namjae Jeon namjae.j...@samsung.com

Re: [PATCH] From 2.6.39-rc1 onward, the Logitech Quickcam Fusion webcam (046d:08c1) stops

2012-07-07 Thread Eric Ding
On 07/08/2012 09:52 AM, Alan Stern wrote: On Sat, 7 Jul 2012, Rafael J. Wysocki wrote: Well, the quirk does make sense. What doesn't make sense is why moving the runtime PM operation pointers from usb_bus_type to usb_device_type should cause any change in the autosuspend behavior. That's

Re: [PATCH] From 2.6.39-rc1 onward, the Logitech Quickcam Fusion webcam (046d:08c1) stops

2012-07-07 Thread Eric Ding
On 07/08/2012 03:18 AM, Alan Stern wrote: Apparently the behavior before commit e1620d5 was that the webcam didn't get suspended, and after the commit it did. Unfortunately the usbmon traces do not explain this difference; all they show is when/whether a suspend took place. For example,

[PATCH v2 1/1] Input: xpad - Handle all variations of Mad Catz Beat Pad

2012-07-07 Thread Yuri Khan
* Add a quirk to usbhid to ignore this device --- drivers/hid/hid-ids.h |3 +++ drivers/hid/usbhid/hid-quirks.c |2 ++ drivers/input/joystick/xpad.c |1 + 3 files changed, 6 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index d1cdd2d..43c3d75