Re: USB device cannot be reconnected and khubd "blocked for more than 120 seconds"

2013-01-11 Thread Alex Riesen
On Fri, Jan 11, 2013 at 10:04 PM, Alex Riesen wrote: > Hi, > > the USB stick (an Cruzer Titanium 2GB) was not recognized at any of > the USB ports of this system (an System76 lemu4 laptop, XHCI device) > after it was removed. If I attempt to insert it again in any of the > ports (one of the two US

[PATCH] usb: misc: usb3503_probe() can be static

2013-01-11 Thread Fengguang Wu
Signed-off-by: Fengguang Wu --- drivers/usb/misc/usb3503.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next.orig/drivers/usb/misc/usb3503.c 2013-01-12 13:12:34.367933402 +0800 +++ linux-next/drivers/usb/misc/usb3503.c 2013-01-12 13:12:37.251933471 +0800 @@ -178,7

回复: 回复: how to disable usb hub suspend function

2013-01-11 Thread gavin.kx
not only disable auto suspend, also disable usb suspend when system suspend. gavin.kx 发件人: gavin.kx 发送时间: 2013-01-12 09:57 收件人: Alan Stern 抄送: linux-usb 主题: 回复: 回复: how to disable usb hub suspend function i use it on the android platform, and i can't generate the control file. what can i do ?

Re: [usb:usb-next 4/10] drivers/usb/misc/usb3503.c:238 usb3503_probe() error: we previously assumed 'pdata' could be null (see line 196)

2013-01-11 Thread Fengguang Wu
Dongjin, > Do I need to send another patch on top of it to fix the warning or Yes, you'll need to send another incremental fix to Greg. Thanks, Fengguang -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo i

Re: [usb:usb-next 4/10] drivers/usb/misc/usb3503.c:238 usb3503_probe() error: we previously assumed 'pdata' could be null (see line 196)

2013-01-11 Thread Dongjin Kim
Hello, Thanks for your notification. Do I need to send another patch on top of it to fix the warning or should I create a new patch version 2 and when should I do? Sorry, I am just new at patch work process. Regasds, Dongjin. 2013/1/12 Fengguang Wu : > > Hi Dongjin, > > FYI, there are new smatch

[usb:usb-next 4/10] drivers/usb/misc/usb3503.c:238 usb3503_probe() error: we previously assumed 'pdata' could be null (see line 196)

2013-01-11 Thread Fengguang Wu
Hi Dongjin, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next head: f8be6bfc5da027952e827a503e747fde5393adcc commit: 6a099c63650e50ebf7d1259b859a3d230aec4207 [4/10] USB: misc: Add USB3503 High-Speed Hub Controller driv

回复: 回复: how to disable usb hub suspend function

2013-01-11 Thread gavin.kx
i use it on the android platform, and i can't generate the control file. what can i do ? gavin.kx From: Alan Stern Date: 2013-01-11 23:11 To: gavin.kx CC: linux-usb Subject: Re: how to disable usb hub suspend function On Fri, 11 Jan 2013, gavin.kx wrote: > Dear sir: > i have a project that

Re: Re: how to disable usb hub suspend function

2013-01-11 Thread gavin.kx
i use it on the android platform, and i can't generate the control file. what can i do ? gavin.kx From: Ming Lei Date: 2013-01-11 23:10 To: gavin.kx CC: linux-usb Subject: Re: how to disable usb hub suspend function On Fri, Jan 11, 2013 at 10:16 PM, gavin.kx wrote: > Dear sir: > i have a

回复: Re: how to disable usb hub suspend function

2013-01-11 Thread gavin.kx
i use it on the android platform, and i can't generate the control file. what can i do ? gavin.kx From: Alan Stern Date: 2013-01-11 23:11 To: gavin.kx CC: linux-usb Subject: Re: how to disable usb hub suspend function On Fri, 11 Jan 2013, gavin.kx wrote: > Dear sir: > i have a project th

Re: [PATCH v5 2/4] usb: phy: samsung: Add host phy support to samsung-phy driver

2013-01-11 Thread Doug Anderson
Vivek, On Fri, Jan 11, 2013 at 4:40 AM, Vivek Gautam wrote: >>> +#define HOST_CTRL0_REFCLKSEL_MASK (0x3) >>> +#define HOST_CTRL0_REFCLKSEL_XTAL (0x0 << 19) >>> +#define HOST_CTRL0_REFCLKSEL_EXTL (0x1 << 19) >>> +#define HOST_CTRL0_REFCLKSEL_CLKCORE

Re: [PATCH 1/2] arm: tegra: Add new DT property to USB node.

2013-01-11 Thread Stephen Warren
On 01/11/2013 05:14 PM, Greg KH wrote: > On Mon, Dec 17, 2012 at 05:04:41PM -0500, Alan Stern wrote: >> On Mon, 17 Dec 2012, Stephen Warren wrote: >> >>> On 12/13/2012 11:59 PM, Venu Byravarasu wrote: As Tegra USB host driver is using instance number for resetting PORT0 twice, adding a ne

Re: [PATCH RESEND 2/2] usb: host: tegra: Resetting PORT0 based on information received via DT.

2013-01-11 Thread Stephen Warren
On 01/11/2013 05:14 PM, Greg KH wrote: > On Thu, Jan 03, 2013 at 01:29:32PM -0700, Stephen Warren wrote: >> On 01/03/2013 12:29 AM, Venu Byravarasu wrote: >>> Tegra USB host driver is using port instance number, >>> to handle some of the hardware issues on SOC e.g. reset PORT0 >>> twice etc. As ins

Re: [PATCH v3] usb: phy: use kzalloc to allocate struct tegra_usb_phy

2013-01-11 Thread Stephen Warren
On 01/11/2013 05:14 PM, Greg KH wrote: > On Fri, Dec 21, 2012 at 01:54:55PM -0700, Stephen Warren wrote: >> On 12/20/2012 11:34 PM, Venu Byravarasu wrote: >>> Use kzalloc instead of kmalloc to allocate struct tegra_usb_phy. >>> This ensures that all function pointers in member u_phy are >>> initial

Re: [PATCH 2/2]linux-usb:optimize to match the Huawei USB storage devices and support new switch command

2013-01-11 Thread Greg KH
On Fri, Jan 11, 2013 at 05:57:44PM +0800, fangxiaozhi 00110321 wrote: > From: fangxiaozhi > > 1. Optimize the match rules with new macro for Huawei USB storage devices, >to avoid to load USB storage driver for the modem interface >with Huawei devices. > 2. Add to support new switch comm

Re: [PATCH v3] usb: phy: use kzalloc to allocate struct tegra_usb_phy

2013-01-11 Thread Greg KH
On Fri, Dec 21, 2012 at 01:54:55PM -0700, Stephen Warren wrote: > On 12/20/2012 11:34 PM, Venu Byravarasu wrote: > > Use kzalloc instead of kmalloc to allocate struct tegra_usb_phy. > > This ensures that all function pointers in member u_phy are > > initialized to NULL. > > Seems fine to me. For t

Re: [PATCH RESEND 2/2] usb: host: tegra: Resetting PORT0 based on information received via DT.

2013-01-11 Thread Greg KH
On Thu, Jan 03, 2013 at 01:29:32PM -0700, Stephen Warren wrote: > On 01/03/2013 12:29 AM, Venu Byravarasu wrote: > > Tegra USB host driver is using port instance number, > > to handle some of the hardware issues on SOC e.g. reset PORT0 > > twice etc. As instance number based handling looks ugly, >

Re: [PATCH 1/2] arm: tegra: Add new DT property to USB node.

2013-01-11 Thread Greg KH
On Mon, Dec 17, 2012 at 05:04:41PM -0500, Alan Stern wrote: > On Mon, 17 Dec 2012, Stephen Warren wrote: > > > On 12/13/2012 11:59 PM, Venu Byravarasu wrote: > > > As Tegra USB host driver is using instance number for resetting > > > PORT0 twice, adding a new DT property for handling this. > > >

RE: [RFC PATCH 1/6] Core files for the DWC2 driver

2013-01-11 Thread Paul Zimmerman
Replying to myself... > From: Paul Zimmerman > Sent: Friday, January 11, 2013 2:22 PM > > > From: Felipe Balbi [mailto:ba...@ti.com] > > Sent: Friday, January 11, 2013 1:44 AM < snip > > > I would like it much better if you would follow what we did for dwc3 and > > have core IP in a separate dr

Re: Linux USB redirection

2013-01-11 Thread Chirkut Daruwalla
Hi, I got USBIP to work with LinuxMint 13 on both server and client side. I want to implement USB redir. on XRDP server. Xrdp server runs on a Linux system and allows multiple low power clients to connect to it, and to each client it presents a GUI desktop. If a USB device is plugged into a low

RE: [RFC PATCH 1/6] Core files for the DWC2 driver

2013-01-11 Thread Paul Zimmerman
> From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Friday, January 11, 2013 1:44 AM > > Hi, Hi Felipe, thanks for the review. > On Mon, Jan 07, 2013 at 11:51:36AM -0800, Paul Zimmerman wrote: > > > > Signed-off-by: Paul Zimmerman > > no commit log == no commit ;-) Will fix next time. > Also,

linux-3.7.1: kmemleak reports in comm "usb-storage"?

2013-01-11 Thread Martin Mokrejs
Hi, I am not sure how should I interpret this but I am attaching the whole kmemleak file I have after # w 23:02:23 up 2 days, 2:43, 16 users, load average: 2.17, 1.85, 1.51 [cut] I have several SATA drives connected over USB 2 and 3 (and mounted) but am not accessing them. Maybe there is

Re: simulate Isochronous IN transfers

2013-01-11 Thread Alan Stern
On Fri, 11 Jan 2013, Dan Clapp wrote: > Hello, > > I have been successful at testing code and getting data on my virtual Fedrora > 17 > machine, using libusb on the Host side and dummy_hcd and g_zero gadget driver > on > the device side. The source/sink and loopback testing works fine... > >

Re: [PATCH 07/14] usb: ehci-omap: Instantiate PHY devices if required

2013-01-11 Thread Alan Stern
On Fri, 11 Jan 2013, Roger Quadros wrote: > Apart from what you mentioned I did some more trivial changes. e.g. > > + !IS_ENABLED(CONFIG_USB_EHCI_HCD_OMAP) && \ > instead of > + !defined(CONFIG_USB_EHCI_HCD_OMAP) && \ Ah, that's a very good catch. There's another entry needing the sam

Re: [PATCH 01/14] mfd: omap-usb-host: Consolidate OMAP USB-HS platform data

2013-01-11 Thread Tony Lindgren
* Roger Quadros [130111 01:43]: > Tony, > > On 01/11/2013 01:45 AM, Tony Lindgren wrote: > > * Roger Quadros [130110 08:54]: > >> Let's have a single platform data structure for the OMAP's High-Speed > >> USB host subsystem instead of having 3 separate ones i.e. one for > >> board data, one for

simulate Isochronous IN transfers

2013-01-11 Thread Dan Clapp
Hello, I have been successful at testing code and getting data on my virtual Fedrora 17 machine, using libusb on the Host side and dummy_hcd and g_zero gadget driver on the device side. The source/sink and loopback testing works fine... However, as I am waiting for hardware to be developed and t

Re: [PATCH 04/14] usb: phy: nop: Handle power supply regulator for the PHY

2013-01-11 Thread Russell King - ARM Linux
On Thu, Jan 10, 2013 at 06:51:24PM +0200, Roger Quadros wrote: > We use "vcc" as the supply name for the PHY's power supply. > The power supply will be enabled during .init() and disabled > during .shutdown() > > Signed-off-by: Roger Quadros > --- > drivers/usb/otg/nop-usb-xceiv.c | 18 +++

[PATCHv2] USB: select USB_ARCH_HAS_EHCI for MXS

2013-01-11 Thread Maxime Ripard
Commit 09f6ffde (USB: EHCI: fix build error by making ChipIdea host a normal EHCI driver) introduced a dependency on USB_EHCI_HCD for the chipidea USB host driver, that in turns depends on USB_ARCH_HAS_EHCI. If this symbol is not set for MXS, the MXS boards are not able to use the chipidea driver

Re: [PATCH 07/14] usb: ehci-omap: Instantiate PHY devices if required

2013-01-11 Thread Russell King - ARM Linux
On Fri, Jan 11, 2013 at 06:03:21PM +0200, Roger Quadros wrote: > diff --git a/include/linux/platform_data/usb-omap.h > b/include/linux/platform_data/usb-omap.h > index d63eb7d..927b8a1 100644 > --- a/include/linux/platform_data/usb-omap.h > +++ b/include/linux/platform_data/usb-omap.h > @@ -38,6 +3

Re: ehci-hcd compile error

2013-01-11 Thread Roger Quadros
On 01/11/2013 05:09 PM, Alan Stern wrote: > On Fri, 11 Jan 2013, Roger Quadros wrote: > >>> --- usb-3.7.orig/drivers/usb/host/ehci.h >>> +++ usb-3.7/drivers/usb/host/ehci.h >>> @@ -221,6 +221,8 @@ struct ehci_hcd { /* one per >>> controlle >>> #ifdef DEBUG >>> struct de

Re: [PATCH 07/14] usb: ehci-omap: Instantiate PHY devices if required

2013-01-11 Thread Roger Quadros
On 01/11/2013 05:28 PM, Alan Stern wrote: > On Fri, 11 Jan 2013, Roger Quadros wrote: > >> Alan, >> >> Thanks for the patch. I've pasted the version that builds and works and >> put you as the Author of the patch, hope it is fine. > > As far as I can see, yours is the same as what I posted except

Re: Re: how to disable usb hub suspend function

2013-01-11 Thread gavin.kx
i have found the document Thank you very much. current to the USB host controllers during hibernation. (It's possible to work around the hibernation-forces-disconnect problem by using the USB Persist facility.) The reset_resume method is used by the USB Persist facility (see Documentation/usb/pe

Re: [PATCH 07/14] usb: ehci-omap: Instantiate PHY devices if required

2013-01-11 Thread Alan Stern
On Fri, 11 Jan 2013, Roger Quadros wrote: > Alan, > > Thanks for the patch. I've pasted the version that builds and works and > put you as the Author of the patch, hope it is fine. As far as I can see, yours is the same as what I posted except that: You altered the changes to ehci-hcd.c

Re: Re: how to disable usb hub suspend function

2013-01-11 Thread gavin.kx
Thank you for your reply. i also want to know by do this, do other devices also can do suspending ? gavin.kx From: Alan Stern Date: 2013-01-11 23:11 To: gavin.kx CC: linux-usb Subject: Re: how to disable usb hub suspend function On Fri, 11 Jan 2013, gavin.kx wrote: > Dear sir: > i have a proje

Re: how to disable usb hub suspend function

2013-01-11 Thread Alan Stern
On Fri, 11 Jan 2013, gavin.kx wrote: > Dear sir: > i have a project that need disable usb hub suspend function, How can i do ? > Thank you ! You can prevent any USB device from suspending by doing: echo on >/sys/bus/usb/devices/.../power/control Fill in the "..." part with the path for

Re: how to disable usb hub suspend function

2013-01-11 Thread Ming Lei
On Fri, Jan 11, 2013 at 10:16 PM, gavin.kx wrote: > Dear sir: > i have a project that need disable usb hub suspend function, How can i do ? Suppose you mean USB autosuspend, you can disable it by below command: echo on > /sys/bus/usb/devices/HUB-DEV/power/control and HUB-DEV is the hub

Re: ehci-hcd compile error

2013-01-11 Thread Alan Stern
On Fri, 11 Jan 2013, Roger Quadros wrote: > > --- usb-3.7.orig/drivers/usb/host/ehci.h > > +++ usb-3.7/drivers/usb/host/ehci.h > > @@ -221,6 +221,8 @@ struct ehci_hcd { /* one per > > controlle > > #ifdef DEBUG > > struct dentry *debug_dir; > > #endif > > + >

[PATCH v6 1/4] ARM: EXYNOS: Update & move usb-phy types to generic include layer

2013-01-11 Thread Vivek Gautam
Updating the names of usb-phy types to more generic names: USB_PHY_TYPE_DEIVCE & USB_PHY_TYPE_HOST; and further update its dependencies. Signed-off-by: Praveen Paneri Signed-off-by: Vivek Gautam --- Changes from v5: - None drivers/usb/host/ehci-s5p.c |9 + drivers/

[PATCH v6 2/4] usb: phy: samsung: Add host phy support to samsung-phy driver

2013-01-11 Thread Vivek Gautam
This patch adds host phy support to samsung-usbphy driver and further adds support for samsung's exynos5250 usb-phy. Signed-off-by: Praveen Paneri Signed-off-by: Vivek Gautam --- .../devicetree/bindings/usb/samsung-usbphy.txt | 12 +- drivers/usb/phy/Kconfig|

[PATCH v6 4/4] USB: ohci-exynos: Add phy driver support

2013-01-11 Thread Vivek Gautam
Adding the phy-driver to ohci-exynos. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam Acked-by: Jingoo Han --- drivers/usb/host/ohci-exynos.c | 84 ++-- 1 files changed, 63 insertions(

[PATCH v6 3/4] USB: ehci-s5p: Add phy driver support

2013-01-11 Thread Vivek Gautam
Adding the phy driver to ehci-s5p. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam Acked-by: Jingoo Han --- drivers/usb/host/ehci-s5p.c | 80 +++--- 1 files changed, 59 insertions(+),

[PATCH v6 0/4] Adding usb2.0 host-phy support for exynos5250

2013-01-11 Thread Vivek Gautam
Changes from v5: - Rebased on top of latest patches: usb: phy: samsung: Introducing usb phy driver for hsotg (v9) usb: phy: samsung: Add support to set pmu isolation (v6) As a result adding hostphy enable mask and hostphy register offsets to driver data in order to access the

Re: [PATCH RFC] usb: dwc3: Remove dwc3 dependency on gadget.

2013-01-11 Thread Vivek Gautam
Hi, On Fri, Jan 11, 2013 at 7:29 PM, Felipe Balbi wrote: > Hi, > > On Fri, Jan 11, 2013 at 07:13:55PM +0530, Vivek Gautam wrote: >> On Thu, Jan 10, 2013 at 6:32 PM, Felipe Balbi wrote: >> > Hi, >> > >> > On Mon, Dec 24, 2012 at 07:28:33PM +0530, Vivek Gautam wrote: >> >> DWC3 controller curretl

how to disable usb hub suspend function

2013-01-11 Thread gavin.kx
Dear sir: i have a project that need disable usb hub suspend function, How can i do ? Thank you !

Re: [PATCH RFC] usb: dwc3: Remove dwc3 dependency on gadget.

2013-01-11 Thread Felipe Balbi
Hi, On Fri, Jan 11, 2013 at 07:13:55PM +0530, Vivek Gautam wrote: > On Thu, Jan 10, 2013 at 6:32 PM, Felipe Balbi wrote: > > Hi, > > > > On Mon, Dec 24, 2012 at 07:28:33PM +0530, Vivek Gautam wrote: > >> DWC3 controller curretly depends on CONFIG_USB and CONFIG_USB_GADGET. > >> Some hardware may

Re: [PATCH v5 2/4] usb: phy: samsung: Add host phy support to samsung-phy driver

2013-01-11 Thread Vivek Gautam
Hi Felipe, On Fri, Jan 11, 2013 at 6:28 PM, Felipe Balbi wrote: > Hi, > > On Fri, Jan 11, 2013 at 06:10:48PM +0530, Vivek Gautam wrote: >> Hi Doug, >> >> Sorry!! for the delayed response. >> >> >> On Thu, Dec 20, 2012 at 4:31 AM, Doug Anderson wrote: >> > Vivek, >> > >> > I don't really have a

Re: [PATCH RFC] usb: dwc3: Remove dwc3 dependency on gadget.

2013-01-11 Thread Vivek Gautam
Hi Felipe, On Thu, Jan 10, 2013 at 6:32 PM, Felipe Balbi wrote: > Hi, > > On Mon, Dec 24, 2012 at 07:28:33PM +0530, Vivek Gautam wrote: >> DWC3 controller curretly depends on CONFIG_USB and CONFIG_USB_GADGET. >> Some hardware may like to use only host feature on dwc3. >> So, removing the depende

Re: [PATCH v5 2/4] usb: phy: samsung: Add host phy support to samsung-phy driver

2013-01-11 Thread Felipe Balbi
Hi, On Fri, Jan 11, 2013 at 06:10:48PM +0530, Vivek Gautam wrote: > Hi Doug, > > Sorry!! for the delayed response. > > > On Thu, Dec 20, 2012 at 4:31 AM, Doug Anderson wrote: > > Vivek, > > > > I don't really have a good 1 foot view about how all of the USB > > bits fit together, but a fe

Re: [PATCH 1/1] usb: fsl-mxc-udc: fix build error due to mach/hardware.h

2013-01-11 Thread Felipe Balbi
Hi, On Fri, Jan 11, 2013 at 05:56:28PM +0800, Peter Chen wrote: > It changes the driver to use platform_device_id rather than cpu_is_xxx > to determine the SoC type, and updates the platform code accordingly. > > Compile ok at imx_v6_v7_defconfig with CONFIG_USB_FSL_USB2 enable. > Tested at mx51

Re: [PATCH v5 2/4] usb: phy: samsung: Add host phy support to samsung-phy driver

2013-01-11 Thread Vivek Gautam
Hi Doug, Sorry!! for the delayed response. On Thu, Dec 20, 2012 at 4:31 AM, Doug Anderson wrote: > Vivek, > > I don't really have a good 1 foot view about how all of the USB > bits fit together, but a few detail-oriented comments below. > > > On Tue, Dec 18, 2012 at 6:43 AM, Vivek Gautam

Verificación de su cuenta de correo

2013-01-11 Thread Sistema de webmail Administration.Correo
Su buzón ha superado el límite de 2 GB de almacenamiento también se define por su administrador, son 2.30GB correr, no puede ser capaz de enviar o recibir nuevos mensajes hasta que se confirme su buzón. Para volver a validar su buzón de correo. hacer haga clic en el enlace de abajo:   htt

[Resend PATCH v4 09/10] usb: expose usb port's pm qos flags to user space

2013-01-11 Thread Lan Tianyu
This patch is to expose usb port's pm qos flags(pm_qos_no_power_off, pm_qos_remote_wakeup) to user space. User can set pm_qos_no_power_off flag to prohibit the port from being powered off. Signed-off-by: Lan Tianyu --- drivers/usb/core/port.c | 11 ++- 1 file changed, 10 insertions(+),

[Resend PATCH v4 08/10] usb: add usb port auto power off mechanism

2013-01-11 Thread Lan Tianyu
This patch is to add usb port auto power off mechanism. When usb device is suspending, usb core will suspend usb port and usb port runtime pm callback will clear PORT_POWER feature to power off port if all conditions were met. These conditions are remote wakeup disable, pm qos NO_POWER_OFF flag cle

[Resend PATCH v4 10/10] usb: add usb_device_allow_power_off() and usb_device_prevent_power_off() function.

2013-01-11 Thread Lan Tianyu
Some usb devices can't be resumed correctly after power off. This patch is to add usb_device_allow_power_off() and usb_device_prevent_power_off() for device's driver. Call pm_runtime_get_sync(portdev) to increase port's usage count and then port will not be suspended. The device will not be powered

[Resend PATCH v4 07/10] usb: add runtime pm support for usb port device

2013-01-11 Thread Lan Tianyu
This patch is to add runtime pm callback for usb port device. Set/clear PORT_POWER feature in the resume/suspend callbak. Add portnum for struct usb_port to record port number. Do pm_rumtime_get_sync/put(portdev) when a device is plugged/unplugged to prevent it from being powered off when it is act

[Resend PATCH v4 03/10] USB: Set usb port's DeviceRemovable according acpi information

2013-01-11 Thread Lan Tianyu
ACPI provide "_PLD" and "_UPC" aml methods to describe usb port visibility and connectability. This patch is to add usb_hub_adjust_DeviceRemovable() to adjust usb hub port's DeviceRemovable according ACPI information and invoke it in the rh_call_control(). When hub descriptor request is issued at

[Resend PATCH v4 06/10] usb: Register usb port's acpi power resources

2013-01-11 Thread Lan Tianyu
This patch is to register usb port's acpi power resources. Create link between usb port device and its acpi power resource. Signed-off-by: Lan Tianyu --- drivers/usb/core/port.c |3 +++ drivers/usb/core/usb-acpi.c | 20 drivers/usb/core/usb.h |6 ++ 3

[Resend PATCH v4 02/10] usb: Add driver/usb/core/(port.c,hub.h) files

2013-01-11 Thread Lan Tianyu
This patch is to create driver/usb/core/(port.c,hub.h) files and move usb port related code into port.c. Signed-off-by: Lan Tianyu --- drivers/usb/core/Makefile |1 + drivers/usb/core/hub.c| 107 + drivers/usb/core/hub.h| 97

[Resend PATCH v4 04/10] usb: Add "portX/connect_type" attribute to expose usb port's connect type

2013-01-11 Thread Lan Tianyu
Some platforms provide usb port connect types through ACPI. This patch is to add this new attribute to expose these information to user space. Signed-off-by: Lan Tianyu --- Documentation/ABI/testing/sysfs-bus-usb |9 +++ drivers/usb/core/port.c | 43

[Resend PATCH v4 05/10] usb: Create link files between child device and usb port device.

2013-01-11 Thread Lan Tianyu
To show the relationship between usb port and child device, add link file "port" under usb device's sysfs directoy and "device" under usb port device's sysfs directory. They are linked to each other. Signed-off-by: Lan Tianyu --- drivers/usb/core/hub.c | 26 ++ 1 file c

[Resend PATCH v4 01/10] PM/Qos: Expose dev_pm_qos_flags symbol

2013-01-11 Thread Lan Tianyu
The dev_pm_qos_flags() will be used in the usb core which could be compiled as a module. This patch is to export it. Signed-off-by: Lan Tianyu --- drivers/base/power/qos.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/power/qos.c b/drivers/base/power/qos.c index ff46387..e2

[Resend PATCH V4 0/10] usb: usb port power off mechanism anc expose usb port connect type

2013-01-11 Thread Lan Tianyu
Change since v1: optimize the export connect type patch and adjust the DeviceRemovalbe flag in the rh_call_control() after GetHubDescriptor request being processed. move all debounce operation to usb port's runtime resume callback(). Add did_runtime_put in the struct usb_port to call

Re: ehci-hcd compile error

2013-01-11 Thread Roger Quadros
On 01/10/2013 10:28 PM, Alan Stern wrote: > On Thu, 10 Jan 2013, Felipe Balbi wrote: > >> -ENOROGER :-p >> >> On Thu, Jan 10, 2013 at 08:23:56PM +0200, Felipe Balbi wrote: >>> Hi >>> >>> On Thu, Jan 10, 2013 at 12:01:09PM -0500, Alan Stern wrote: On Thu, 10 Jan 2013, Felipe Balbi wrote:

Re: [PATCH 1/1] usb: fsl-mxc-udc: fix build error due to mach/hardware.h

2013-01-11 Thread Shawn Guo
On Fri, Jan 11, 2013 at 12:56:51PM +0200, Felipe Balbi wrote: > Hi, > > On Fri, Jan 11, 2013 at 05:56:28PM +0800, Peter Chen wrote: > > It changes the driver to use platform_device_id rather than cpu_is_xxx > > to determine the SoC type, and updates the platform code accordingly. > > > > Compile

Re: [PATCH 07/14] usb: ehci-omap: Instantiate PHY devices if required

2013-01-11 Thread Roger Quadros
On 01/11/2013 12:59 PM, Roger Quadros wrote: > On 01/10/2013 10:48 PM, Alan Stern wrote: >> On Thu, 10 Jan 2013, Roger Quadros wrote: >> >>> If the OMAP's Host controller is in PHY mode then we instantiate >>> a platform device for the PHY (one for each port in PHY mode) and >>> hold a reference to

Re: [PATCH 07/14] usb: ehci-omap: Instantiate PHY devices if required

2013-01-11 Thread Roger Quadros
On 01/10/2013 10:48 PM, Alan Stern wrote: > On Thu, 10 Jan 2013, Roger Quadros wrote: > >> If the OMAP's Host controller is in PHY mode then we instantiate >> a platform device for the PHY (one for each port in PHY mode) and >> hold a reference to it so that we can use the usb_phy API, e.g. >> whi

Re: [PATCH 1/1] usb: fsl-mxc-udc: fix build error due to mach/hardware.h

2013-01-11 Thread Felipe Balbi
Hi, On Fri, Jan 11, 2013 at 05:56:28PM +0800, Peter Chen wrote: > It changes the driver to use platform_device_id rather than cpu_is_xxx > to determine the SoC type, and updates the platform code accordingly. > > Compile ok at imx_v6_v7_defconfig with CONFIG_USB_FSL_USB2 enable. > Tested at mx51

RE: [BUILD BREAK] usb: gadget: fsl_mxc_udc can't compile on current v3.8-rc3

2013-01-11 Thread Mehresh Ramneek-B31383
> -Original Message- > From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Friday, January 11, 2013 3:18 PM > To: Li Yang-R58472 > Cc: ba...@ti.com; Chen Peter-B29397; Mehresh Ramneek-B31383; > ker...@pengutronix.de; Greg KH; linux-usb@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org > Sub

[PATCH 2/2]linux-usb:optimize to match the Huawei USB storage devices and support new switch command

2013-01-11 Thread fangxiaozhi 00110321
From: fangxiaozhi 1. Optimize the match rules with new macro for Huawei USB storage devices, to avoid to load USB storage driver for the modem interface with Huawei devices. 2. Add to support new switch command for new Huawei USB dongles. Signed-off-by: fangxiaozhi -

[PATCH 1/1] usb: fsl-mxc-udc: fix build error due to mach/hardware.h

2013-01-11 Thread Peter Chen
It changes the driver to use platform_device_id rather than cpu_is_xxx to determine the SoC type, and updates the platform code accordingly. Compile ok at imx_v6_v7_defconfig with CONFIG_USB_FSL_USB2 enable. Tested at mx51 bbg board, it works ok after enable phy clock (Need another patch to fix th

Re: [PATCH] usb: phy: samsung: Add support to set pmu isolation

2013-01-11 Thread Vivek Gautam
Hi Sylwester, On Fri, Jan 11, 2013 at 2:51 PM, Sylwester Nawrocki wrote: > On 01/11/2013 09:08 AM, Vivek Gautam wrote: >> Adding support to parse device node data in order to get >> required properties to set pmu isolation for usb-phy. >> >> Signed-off-by: Vivek Gautam > > Thanks for addressing

Re: [BUILD BREAK] usb: gadget: fsl_mxc_udc can't compile on current v3.8-rc3

2013-01-11 Thread Felipe Balbi
Hi, On Fri, Jan 11, 2013 at 09:24:16AM +, Li Yang-R58472 wrote: > > > > -Original Message- > > From: Felipe Balbi [mailto:ba...@ti.com] > > Sent: Friday, January 11, 2013 4:41 PM > > To: Chen Peter-B29397 > > Cc: ba...@ti.com; ker...@pengutronix.de; Li Yang-R58472; Greg KH; linux- >

RE: [PATCH] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet adapter driver

2013-01-11 Thread Freddy
Hi, >> +static int ax88179_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, >> + u16 size, void *data) { >> + int ret; >> + ret = usbnet_read_cmd(dev, cmd, >> + USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, >> +

Re: [PATCH 04/14] usb: phy: nop: Handle power supply regulator for the PHY

2013-01-11 Thread Roger Quadros
On 01/10/2013 08:06 PM, Sergei Shtylyov wrote: > Hello. > > On 01/10/2013 07:51 PM, Roger Quadros wrote: > >> We use "vcc" as the supply name for the PHY's power supply. >> The power supply will be enabled during .init() and disabled >> during .shutdown() > >> Signed-off-by: Roger Quadros >> --

Re: [PATCH 01/14] mfd: omap-usb-host: Consolidate OMAP USB-HS platform data

2013-01-11 Thread Roger Quadros
Tony, On 01/11/2013 01:45 AM, Tony Lindgren wrote: > * Roger Quadros [130110 08:54]: >> Let's have a single platform data structure for the OMAP's High-Speed >> USB host subsystem instead of having 3 separate ones i.e. one for >> board data, one for USB Host (UHH) module and one for USB-TLL modul

RE: [BUILD BREAK] usb: gadget: fsl_mxc_udc can't compile on current v3.8-rc3

2013-01-11 Thread Li Yang-R58472
> -Original Message- > From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Friday, January 11, 2013 4:41 PM > To: Chen Peter-B29397 > Cc: ba...@ti.com; ker...@pengutronix.de; Li Yang-R58472; Greg KH; linux- > u...@vger.kernel.org; linuxppc-...@lists.ozlabs.org > Subject: Re: [BUILD BREAK] us

Re: [PATCH] usb: phy: samsung: Add support to set pmu isolation

2013-01-11 Thread Sylwester Nawrocki
On 01/11/2013 09:08 AM, Vivek Gautam wrote: > Adding support to parse device node data in order to get > required properties to set pmu isolation for usb-phy. > > Signed-off-by: Vivek Gautam Thanks for addressing my all comments, Reviewed-by: Sylwester Nawrocki -- To unsubscribe from this lis

Re: [BUILD BREAK] usb: gadget: fsl_mxc_udc can't compile on current v3.8-rc3

2013-01-11 Thread Felipe Balbi
Hi, On Fri, Jan 11, 2013 at 08:35:29AM +, Chen Peter-B29397 wrote: > > > I am working on it, but there are two versions, this one and chipidea's. > > > > > > Anyway, I will send a patch to fix this problem. > > > > if you're already using chipidea, then send me a patch removing this > > drive

RE: [BUILD BREAK] usb: gadget: fsl_mxc_udc can't compile on current v3.8-rc3

2013-01-11 Thread Chen Peter-B29397
> > > > > > > I am working on it, but there are two versions, this one and chipidea's. > > > > Anyway, I will send a patch to fix this problem. > > if you're already using chipidea, then send me a patch removing this > driver and focus your effort on chipidea. > Added Sascha Now, not all of FS

Re: [BUILD BREAK] usb: gadget: fsl_mxc_udc can't compile on current v3.8-rc3

2013-01-11 Thread Felipe Balbi
On Fri, Jan 11, 2013 at 03:23:59AM +, Chen Peter-B29397 wrote: > > > > > > > > > Some recent patch has caused fsl_mxc_udc.c driver to fail compilation > > > > because it can't find anymore. > > > > > > > > I would like this to be fixed still during this -rc cycle. > > > > > > Me too, who's s

Re: [PATCH] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet adapter driver

2013-01-11 Thread Christian Riesch
Hi, On 2013-01-11 03:45, Ming Lei wrote: Cc netdev and usb lists. On Fri, Jan 11, 2013 at 9:17 AM, wrote: From: Freddy Xin This patch adds a driver for ASIX's AX88179 family of USB 3.0/2.0 to gigabit ethernet adapters. It's based on the AX88xxx driver but the usb commands used to access r

[PATCH] usb: phy: samsung: Add support to set pmu isolation

2013-01-11 Thread Vivek Gautam
Adding support to parse device node data in order to get required properties to set pmu isolation for usb-phy. Signed-off-by: Vivek Gautam --- Changes from v5: - Using a global spin_lock member in 'samsung_usbphy' structure to be used in samsung_usbphy_init() and samsung_usbphy_shutdown()