[PATCH v2 00/11] usbip: features to USB over WebSocket

2015-04-14 Thread Nobuo Iwata
Dear all, This series of patches introduces WebSocket to USB/IP. 0. Version info V2) # Formatted patches from linux-next. # Fixed change log word wrapping. # Removed SSL patches. # Fixed a bug that vendor and product names are not shown by usbws list -l because usbip_names_init() was not calle

[PATCH v2 01/11] usbip: exporting devices

2015-04-14 Thread Nobuo Iwata
USB/IP supports a function to import USB devices from application-side machine by attach command. The usage is as following. dev:# (Physically attach your USB device.) dev:# insmod usbip-core.ko and usbip-host.ko dev:# usbipd -D // Start usbip daemon. dev:# usbip list -l // List local USB devices

[PATCH v2 04/11] usbip: kernel module for userspace URBs transmission

2015-04-14 Thread Nobuo Iwata
Originally, USB/IP transmits requests and response PDUs for preparation to transfer URBs in user space, after the preparation, URBs are transmitted in kernel space. To make easy to introduce application network protocols like WebSocket and so on, the driver, usbip_ux.ko, forwards URBs to USB/IP

[PATCH v2 03/11] usbip: safe completion against usb_kill_urb()

2015-04-14 Thread Nobuo Iwata
stub_shutdown_connection() : drivers/usb/usbip/stub_dev.c stub_device_cleanup_urbs() : drivers/usb/usbip/stub_main.c requests to kill pending URBs and clears priv lists. stub_complete() : drivers/usb/usbip/stub_tx.c might be called with URBs to have been requested to kill. To avoid kernel

[PATCH v2 02/11] usbip: readme and manuals about exporting devices

2015-04-14 Thread Nobuo Iwata
This patch adds function and usage of export to README and manuals. The wording, 'server' and 'client' is changed also. For existing attach command, the daemon runs device side machine and attach command is executed in application side machine. Then 'server' is used for device side and 'client'

[PATCH v2 06/11] usbip: readme about user space URBs transmission

2015-04-14 Thread Nobuo Iwata
Addition to README regarding user space URBs transmission. Signed-off-by: Nobuo Iwata --- tools/usb/usbip/README | 22 ++ 1 file changed, 22 insertions(+) diff --git a/tools/usb/usbip/README b/tools/usb/usbip/README index 74f4afb..6b61da5 100644 --- a/tools/usb/usbip/README

[PATCH v2 07/11] usbip: letting send and receive replaceable

2015-04-14 Thread Nobuo Iwata
This patch allows to substitute send, receive and shutdown routines for both a) request/response PDUs among utilities and b) user space URBs transmission. usbip_sock_t is introduced instead of sockfd. it includes function pointers of send/receive/shutdown routines, an argument for the routines

[PATCH v2 08/11] usbip: letting connection establishment replaceable

2015-04-14 Thread Nobuo Iwata
To introduce some application protocols like WebSocket, this patch allows to substitute connection establishment and termination. In combination with previous patch, both connection and transmission can be replaced. usbip_connection_operations_t includes open and close operation. Open method r

[PATCH v2 05/11] usbip: tools for userspace URBs transmission

2015-04-14 Thread Nobuo Iwata
Originally, USB/IP transmits requests and response PDUs for preparation to transfer URBs in user space, after completion of the preparation, URBs are transmitted in kernel space. To make easy to introduce application network protocols like WebSocket, the driver, usbip_ux.ko, forwards URBs to US

[PATCH v2 10/11] usbip: added const qualifier to arguments of some functions

2015-04-14 Thread Nobuo Iwata
This patch adds 'const' qualifier to 'char*' arguments of library interfaces to make acceptable std::string.c_str(). Essentially, these qualifiers are better to be used even if not to use C++. Although, I just added to functions related to previous patch. Also, it changes C++ reserved words (ie

[PATCH v2 11/11] usbip: USB over WebSocket

2015-04-14 Thread Nobuo Iwata
This patch adds utilities transmit packets via WebSocket protocol. WebSocket version of utilities as following. usbws : command usbwsa : application-side daemon usbwsd : device-side daemon The command supports all sub-command (ie. list, connect, disconnect, port, bind, unbind, attach and de

[PATCH v2 09/11] usbip: deriving functions as libraries

2015-04-14 Thread Nobuo Iwata
To utilize core parts of USB/IP to application protocol implementations, this patch derives libraries by exposing some functions of utilities and removing some unnecessary portions. Following functions are exposed. For command: - usbip_attach_device() - usbip_detach_port() - usbip_bind_device()

Re: [PATCH v2] Documentation usb serial: fixed how to provide vendor and product id

2015-04-14 Thread Johan Hovold
On Mon, Apr 13, 2015 at 10:09:27PM +0200, Marek Belisko wrote: > From: "H. Nikolaus Schaller" > > While trying to test a Cinterion GSM/GPS/3G module I had reconfigured > the USB interface by mistake and therefore needed to run a different > USB driver than CDC-ACM. It turned out that I need the "

Re: [PATCH] hso: fix refcnt leak in recent patch.

2015-04-14 Thread NeilBrown
On Tue, 14 Apr 2015 08:50:01 +0200 Olivier Sobrie wrote: > Hello Neil, > > On Tue, Apr 14, 2015 at 11:03:03AM +1000, NeilBrown wrote: > > On Tue, 14 Apr 2015 09:36:34 +1000 NeilBrown wrote: > > > > > > > > > > > Prior to > > > commit 29bd3bc1194c624ce863cab2a7da9bc1f0c3b47b > > > hso: fi

Re: Mouse works with eHCI, fails with xHCI - can't set config #1, error -110

2015-04-14 Thread Alistair Grant
On Mon, Apr 13, 2015 at 04:24:50PM -0400, Alan Stern wrote: > On Mon, 13 Apr 2015, Mathias Nyman wrote: > > > Another difference between EHCI and xHCI iss that xHCI needs to reset (the > > host side) > > of a control endpoint if it stalled. > > > > From xHCI 1.0 4.8.3: > > > > "A STALL detect

RE: Bug: Toggling green led on Olinuxino Maxi, also toggles USB

2015-04-14 Thread Peter Chen
> > > > On Sun, Apr 12, 2015 at 12:06:10PM +0200, Stefan Wahren wrote: > > > [...] > > > > > > I think the problem has something to with USB OTG, because GPIO 65 > > > is on the same pin for USB_OTG_ID. > > > My idea was to set "dr_mode" in olinuxino dts explicit to "host" and > > > it works, but

Re: [PATCH 1/5] usb: xhci: cleanup xhci_hcd allocation

2015-04-14 Thread Roger Quadros
On 13/04/15 15:48, Mathias Nyman wrote: > Hi > > On 09.04.2015 12:22, Roger Quadros wrote: >> Hi, >> >> On 07/04/15 17:23, Mathias Nyman wrote: >>> Hi >>> >>> On 02.04.2015 15:23, Roger Quadros wrote: HCD core allocates memory for HCD private data in usb_create_[shared_]hcd() so make use

[PATCH v2] cdc-acm: prevent infinite loop when parsing CDC headers.

2015-04-14 Thread Quentin Casasnovas
Phil and I found out a problem with commit: 7e860a6e7aa6 ("cdc-acm: add sanity checks") It added some sanity checks to ignore potential garbage in CDC headers but also introduced a potential infinite loop. This can happen at the first loop iteration (elength = 0 in that case) if the descriptio

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-14 Thread Roger Quadros
On 10/04/15 12:18, Chanwoo Choi wrote: > On 04/10/2015 05:46 PM, Robert Baldyga wrote: >> On 04/10/2015 10:10 AM, Chanwoo Choi wrote: >>> On 04/10/2015 04:45 PM, Robert Baldyga wrote: On 04/10/2015 09:17 AM, Chanwoo Choi wrote: > Hi Robert, > > On 04/09/2015 06:24 PM, Robert Baldyg

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-14 Thread Roger Quadros
Fixed Kishon's id. On 14/04/15 13:01, Roger Quadros wrote: > On 10/04/15 12:18, Chanwoo Choi wrote: >> On 04/10/2015 05:46 PM, Robert Baldyga wrote: >>> On 04/10/2015 10:10 AM, Chanwoo Choi wrote: On 04/10/2015 04:45 PM, Robert Baldyga wrote: > On 04/10/2015 09:17 AM, Chanwoo Choi wrote:

Re: [PATCH] genirq: provide dummy set_irq_wake()

2015-04-14 Thread Roger Quadros
Hi Thomas, On 30/03/15 16:15, Roger Quadros wrote: > Without this system suspend is broken on systems that have > drivers calling enable/disable_irq_wake() for interrupts based off > the dummy irq hook. > (e.g. drivers/gpio/gpio-pcf857x.c) > > http://article.gmane.org/gmane.linux.kernel/1879035 >

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-14 Thread Chanwoo Choi
On 04/14/2015 07:02 PM, Roger Quadros wrote: > Fixed Kishon's id. > > On 14/04/15 13:01, Roger Quadros wrote: >> On 10/04/15 12:18, Chanwoo Choi wrote: >>> On 04/10/2015 05:46 PM, Robert Baldyga wrote: On 04/10/2015 10:10 AM, Chanwoo Choi wrote: > On 04/10/2015 04:45 PM, Robert Baldyga wr

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-14 Thread Roger Quadros
On 14/04/15 13:31, Chanwoo Choi wrote: > On 04/14/2015 07:02 PM, Roger Quadros wrote: >> Fixed Kishon's id. >> >> On 14/04/15 13:01, Roger Quadros wrote: >>> On 10/04/15 12:18, Chanwoo Choi wrote: On 04/10/2015 05:46 PM, Robert Baldyga wrote: > On 04/10/2015 10:10 AM, Chanwoo Choi wrote: >

[RFC][PATCH v2 01/13] usb: otg-fsm: Add documentation for struct otg_fsm

2015-04-14 Thread Roger Quadros
struct otg_fsm is the interface to the OTG state machine. Document the input, output and internal state variables. Definations are taken from Table 7-2 and Table 7-4 of the USB OTG & EH Specification Rev.2.0 Re-arrange some of the members as per use case for more clarity. Signed-off-by: Roger Qu

[RFC][PATCH v2 13/13] ARM: dts: dra7x-evm: Enable dual-role for usb1

2015-04-14 Thread Roger Quadros
Now that we have dual-role support working at USB core, enable dual-role support for usb1 controller. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra7-evm.dts | 2 +- arch/arm/boot/dts/dra72-evm.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/

[RFC][PATCH v2 10/13] udc-core: fix lock circular dependency on udc_lock

2015-04-14 Thread Roger Quadros
we need to unlock the usb_lock mutex before calling usb_otg_register_gadget() else it will cause a circular locking dependency. Signed-off-by: Roger Quadros --- drivers/usb/gadget/udc/udc-core.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget

[RFC][PATCH v2 04/13] usb: gadget: add usb_gadget_start/stop()

2015-04-14 Thread Roger Quadros
The OTG state machine needs a mechanism to start and stop the gadget controller. Add usb_gadget_start() and usb_gadget_stop(). Signed-off-by: Roger Quadros --- drivers/usb/gadget/udc/udc-core.c | 74 +++ include/linux/usb/gadget.h| 3 ++ 2 files chang

[RFC][PATCH v2 11/13] usb: add "dual-role" mode to dr_mode device tree helper

2015-04-14 Thread Roger Quadros
We need to differentiat between "otg" and "dual-role" operation. dual-role means capability to operate as host or device depending on the ID pin status but no support for any of the OTG features like SRP, HNP and on the fly role-swap. The only way to change the role for a dual-role device is to to

[RFC][PATCH v2 03/13] usb: otg-fsm: Prevent build warning "VDBG" redefined

2015-04-14 Thread Roger Quadros
If usb/otg-fsm.h and usb/composite.h are included together then it results in the build warning [1]. Prevent that by moving the VDBG defination into the usb-otg-fsm.c file where it is used. Also get rid of MPC_LOC which doesn't seem to be used by anyone. [1] - warning fixed by this patch: In

[RFC][PATCH v2 07/13] usb: otg: Add dual-role device (DRD) support

2015-04-14 Thread Roger Quadros
DRD mode is a reduced functionality OTG mode. In this mode we don't support SRP, HNP and dynamic role-swap. In DRD operation, the controller mode (Host or Peripheral) is decided based on the ID pin status. Once a cable plug (Type-A or Type-B) is attached the controller selects the state and doesn'

[RFC][PATCH v2 00/13] USB: OTG/DRD Core functionality

2015-04-14 Thread Roger Quadros
This is an attempt to centralize OTG/Dual-role functionality in the kernel. As of now I've got Dual-role functionality working pretty reliably on dra7-evm. xhci side of things for OTG/DRD use are fixed in http://thread.gmane.org/gmane.linux.kernel/1923161 Changelog: - v2 - Use add/remove_h

[RFC][PATCH v2 08/13] usb: otg: hub: Notify OTG fsm when A device sets b_hnp_enable

2015-04-14 Thread Roger Quadros
This is the a_set_b_hnp_enable flag in the OTG state machine diagram and must be set when the A-Host has successfully set the b_hnp_enable feature of the OTG-B-Peripheral attached to it. When this bit changes we kick our OTG FSM to make note of the change and act accordingly. Signed-off-by: Roger

[RFC][PATCH v2 05/13] usb: otg: add OTG core

2015-04-14 Thread Roger Quadros
The OTG core instantiates the OTG Finite State Machine per OTG controller and manages starting/stopping the host and gadget controllers based on the bus state. It provides APIs for the following tasks - Registering an OTG capable controller - Registering Host and Gadget controllers to OTG core -

[RFC][PATCH v2 12/13] usb: dwc3: add dual-role support

2015-04-14 Thread Roger Quadros
Register with the USB OTG core. Since we don't support OTG yet we just work as a dual-role device even if device tree says "otg". Use extcon framework to get VBUS/ID cable events and kick the OTG state machine. Signed-off-by: Roger Quadros --- drivers/usb/dwc3/core.c | 146

[RFC][PATCH v2 02/13] usb: otg-fsm: support multiple instances

2015-04-14 Thread Roger Quadros
Move the state_changed variable into struct otg_fsm so that we can support multiple instances. Signed-off-by: Roger Quadros --- drivers/usb/common/usb-otg-fsm.c | 10 -- include/linux/usb/otg-fsm.h | 1 + 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/usb/co

[RFC][PATCH v2 06/13] usb: hcd: Add hcd add/remove functions for OTG use

2015-04-14 Thread Roger Quadros
The existing usb_add/remove_hcd() functionality remains unchanged for non-OTG devices. For OTG devices they only register the HCD with the OTG core. Introduce _usb_add/remove_hcd() for use by OTG core. These functions actually add/remove the HCD. Signed-off-by: Roger Quadros --- drivers/usb/com

[RFC][PATCH v2 09/13] usb: gadget: udc: adapt to OTG

2015-04-14 Thread Roger Quadros
Register with OTG core when gadget function driver is available and unregister when function driver is unbound. Ignore softconnect sysfs control when we're in OTG mode as OTG FSM takes care of gadget softconnect using the b_bus_req mechanism. Signed-off-by: Roger Quadros --- drivers/usb/gadget/

Re: [PATCH] cdc-acm: prevent infinite loop when parsing CDC headers.

2015-04-14 Thread Sergei Shtylyov
Hello. On 4/13/2015 7:20 PM, Sergei Shtylyov wrote: Phil and I found out a problem with commit: 7e860a6e ("cdc-acm: add sanity checks") It added some sanity checks to ignore potential garbage in CDC headers but also introduced a potential infinite loop. This can happen at the first lo

[PATCH v2] usb: Enable LPM for USB 2.01+ full-speed devices

2015-04-14 Thread Rupesh Tatiya
USB 2.01+ full-speed devices can have extended descriptor as well and can support LPM. Signed-off-by: Rupesh Tatiya --- drivers/usb/core/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 9ef2d2c..1ed7b5d 100644 --- a/d

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-14 Thread Greg Kroah-Hartman
On Mon, Apr 13, 2015 at 03:10:46PM -0700, Arun Ramamurthy wrote: > Getting phys by index instead of phy names so that we do > not have to create a naming scheme when multiple phys > are present > > Signed-off-by: Arun Ramamurthy > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden > --- > drive

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-14 Thread Chanwoo Choi
On 04/14/2015 07:38 PM, Roger Quadros wrote: > On 14/04/15 13:31, Chanwoo Choi wrote: >> On 04/14/2015 07:02 PM, Roger Quadros wrote: >>> Fixed Kishon's id. >>> >>> On 14/04/15 13:01, Roger Quadros wrote: On 10/04/15 12:18, Chanwoo Choi wrote: > On 04/10/2015 05:46 PM, Robert Baldyga wrote

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-14 Thread Arnd Bergmann
On Tuesday 14 April 2015 13:19:34 Greg Kroah-Hartman wrote: > On Mon, Apr 13, 2015 at 03:10:46PM -0700, Arun Ramamurthy wrote: > > Getting phys by index instead of phy names so that we do > > not have to create a naming scheme when multiple phys > > are present > > > > Signed-off-by: Arun Ramamurt

[PATCH] ff-core: use new debug macros

2015-04-14 Thread Oliver Neukum
Replace old pr_* with dev_* debugging macros Signed-off-by: Oliver Neukum --- drivers/input/ff-core.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/input/ff-core.c b/drivers/input/ff-core.c index f50f6dd..b81c88c 100644 --- a/drivers/input/ff-core.c +++ b

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-14 Thread Greg Kroah-Hartman
On Tue, Apr 14, 2015 at 01:33:08PM +0200, Arnd Bergmann wrote: > On Tuesday 14 April 2015 13:19:34 Greg Kroah-Hartman wrote: > > On Mon, Apr 13, 2015 at 03:10:46PM -0700, Arun Ramamurthy wrote: > > > Getting phys by index instead of phy names so that we do > > > not have to create a naming scheme w

[PATCH 1/1] USB: cp210x: add ID for KCF Technologies PRN device

2015-04-14 Thread Mark Edwards
Added the USB serial console device ID for KCF Technologies PRN device which has a USB port for its serial console. Signed-off-by: Mark Edwards --- drivers/usb/serial/cp210x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index 84ce

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-14 Thread Arnd Bergmann
On Tuesday 14 April 2015 14:37:37 Greg Kroah-Hartman wrote: > On Tue, Apr 14, 2015 at 01:33:08PM +0200, Arnd Bergmann wrote: > > This is true, but all other drivers do the same for GENERIC_PHY at the > > moment. If this one gets changed, we should probably apply the same > > solution to all current

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-14 Thread Greg Kroah-Hartman
On Tue, Apr 14, 2015 at 03:17:30PM +0200, Arnd Bergmann wrote: > On Tuesday 14 April 2015 14:37:37 Greg Kroah-Hartman wrote: > > On Tue, Apr 14, 2015 at 01:33:08PM +0200, Arnd Bergmann wrote: > > > This is true, but all other drivers do the same for GENERIC_PHY at the > > > moment. If this one gets

Re: [PATCH] genirq: provide dummy set_irq_wake()

2015-04-14 Thread Gregory CLEMENT
Hi Roger, On 14/04/2015 12:13, Roger Quadros wrote: > Hi Thomas, > > On 30/03/15 16:15, Roger Quadros wrote: >> Without this system suspend is broken on systems that have >> drivers calling enable/disable_irq_wake() for interrupts based off >> the dummy irq hook. >> (e.g. drivers/gpio/gpio-pcf857

Re: SanDisk Ultra Fit (32 GB version) unbbotable

2015-04-14 Thread Greg KH
On Tue, Apr 14, 2015 at 01:46:56AM +0200, frederik.hofe wrote: > SanDisk Ultra Fit (32 GB version) > USB 3.0 Flash Drive > > I have this USB stick that works fine when using it with win7 or Linux. > But if I try to boot linux from it (Be it a installation image or xubuntu > installed on it from an

Re: Bug: Toggling green led on Olinuxino Maxi, also toggles USB

2015-04-14 Thread Fabio Estevam
Hi Stefan, On Tue, Apr 14, 2015 at 5:43 AM, Peter Chen wrote: >> So setting "dr_mode" to "host" is the one and only solution for this case? > From my point, yes. I also agree this could be a good solution. Care to submit a patch with this fix? Thanks, Fabio Estevam -- To unsubscribe from th

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-14 Thread Kishon Vijay Abraham I
Hi, On Tuesday 14 April 2015 06:57 PM, Greg Kroah-Hartman wrote: On Tue, Apr 14, 2015 at 03:17:30PM +0200, Arnd Bergmann wrote: On Tuesday 14 April 2015 14:37:37 Greg Kroah-Hartman wrote: On Tue, Apr 14, 2015 at 01:33:08PM +0200, Arnd Bergmann wrote: This is true, but all other drivers do the

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-14 Thread Kishon Vijay Abraham I
Hi Arnd, On Tuesday 14 April 2015 06:47 PM, Arnd Bergmann wrote: On Tuesday 14 April 2015 14:37:37 Greg Kroah-Hartman wrote: On Tue, Apr 14, 2015 at 01:33:08PM +0200, Arnd Bergmann wrote: This is true, but all other drivers do the same for GENERIC_PHY at the moment. If this one gets changed, w

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-14 Thread Alan Stern
On Mon, 13 Apr 2015, Arun Ramamurthy wrote: > Getting phys by index instead of phy names so that we do > not have to create a naming scheme when multiple phys > are present > > Signed-off-by: Arun Ramamurthy > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden You have not responded to the com

Re: Mouse works with eHCI, fails with xHCI - can't set config #1, error -110

2015-04-14 Thread Alan Stern
On Tue, 14 Apr 2015, Alistair Grant wrote: > Hi Mathias and Alan, > > As Mathias requested, I've included the usbmon output with the patch > applied. > > It didn't make any difference to the end result, the mouse still fails > to initialise correctly (no real surprise, I think), but is getting t

Re: OTG & EH test driver

2015-04-14 Thread Felipe Balbi
Hi, (always Cc linux-usb) On Mon, Apr 13, 2015 at 11:23:28PM -0500, Linux mail wrote: > Hi Felipe, > > Do you know why this patch is not in the mainline. It seems the ehset.c > mainline implementation is not passing the Suspend/Resume test. which patch ? -- balbi signature.asc Description:

Re: MUSB dual-role on AM335x behaving weirdly

2015-04-14 Thread Maxime Ripard
Hi, On Thu, Feb 05, 2015 at 02:21:42PM +0100, Maxime Ripard wrote: > Hi, > > On Thu, Jan 22, 2015 at 08:37:45AM +0100, Yegor Yefremov wrote: > > I have the same experience with 3.15. The switching is working when > > CONFIG_USB_MUSB_DUAL_ROLE is set and dr_mode = "otg". But since 3.16 > > it seem

Re: SanDisk Ultra Fit (32 GB version) unbbotable

2015-04-14 Thread Alan Stern
On Tue, 14 Apr 2015, frederik.hofe wrote: > SanDisk Ultra Fit (32 GB version) > USB 3.0 Flash Drive > > I have this USB stick that works fine when using it with win7 or Linux. > But if I try to boot linux from it (Be it a installation image or > xubuntu installed on it from another usb stick) th

Re: Linux USB driver failure (Ubutu 14.10 64 Bit) with formerly working HID device.

2015-04-14 Thread Alan Stern
On Tue, 14 Apr 2015, Graeme Gill wrote: > Hi, > > I have a user reporting a problem with a particular USB HID device > on Linux that I suspect is a Linux driver issue, or possibly > a failure in my (user mode driver) to handle an unexpected > Linux USB response. > > The device is an X-Rite Color

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-14 Thread Arun Ramamurthy
My apologies Alan, I missed that comment I was indeed trying to avoid the 80 column rule. It looks like i will have to resend this patch, so i will reformat the code then. Thanks On 15-04-14 07:41 AM, Alan Stern wrote: On Mon, 13 Apr 2015, Arun Ramamurthy wrote: Getting phys by index instead

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-14 Thread Arun Ramamurthy
On 15-04-14 07:21 AM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 14 April 2015 06:57 PM, Greg Kroah-Hartman wrote: On Tue, Apr 14, 2015 at 03:17:30PM +0200, Arnd Bergmann wrote: On Tuesday 14 April 2015 14:37:37 Greg Kroah-Hartman wrote: On Tue, Apr 14, 2015 at 01:33:08PM +0200, Arnd Berg

Re: Bug: Toggling green led on Olinuxino Maxi, also toggles USB

2015-04-14 Thread Stefan Wahren
Hi Fabio, > Fabio Estevam hat am 14. April 2015 um 16:15 geschrieben: > > > Hi Stefan, > > On Tue, Apr 14, 2015 at 5:43 AM, Peter Chen wrote: > > >> So setting "dr_mode" to "host" is the one and only solution for this case? > > > From my point, yes. > > I also agree this could be a good solution

Re: [PATCH] ff-core: use new debug macros

2015-04-14 Thread Dmitry Torokhov
On Tue, Apr 14, 2015 at 02:06:10PM +0200, Oliver Neukum wrote: > Replace old pr_* with dev_* debugging macros Not so new anymore ;) Applied, thank you. > > Signed-off-by: Oliver Neukum > --- > drivers/input/ff-core.c | 10 -- > 1 file changed, 4 insertions(+), 6 deletions(-) > > diff

Re: [PATCHv2 2/3] usb: ehci-platform: Use devm_of_phy_get_by_index

2015-04-14 Thread Arnd Bergmann
On Tuesday 14 April 2015 11:05:35 Arun Ramamurthy wrote: > > > > [1] -> > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/kbuild/kconfig-language.txt#n111 > > > Kishon,removing select GENERIC_PHY also breaks the builds for certain > architectures (i386 and x84_

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-14 Thread Peter Chen
On Tue, Apr 14, 2015 at 08:29:34PM +0900, Chanwoo Choi wrote: > On 04/14/2015 07:38 PM, Roger Quadros wrote: > > On 14/04/15 13:31, Chanwoo Choi wrote: > >> On 04/14/2015 07:02 PM, Roger Quadros wrote: > >>> Fixed Kishon's id. > >>> > >>> On 14/04/15 13:01, Roger Quadros wrote: > On 10/04/15 1

Re: [PATCH 1/1] USB: cp210x: add ID for KCF Technologies PRN device

2015-04-14 Thread Johan Hovold
On Tue, Apr 14, 2015 at 08:52:34AM -0400, Mark Edwards wrote: > Added the USB serial console device ID for KCF Technologies PRN device > which has a USB port for its serial console. > > Signed-off-by: Mark Edwards Thanks for the patch. I'll queue it up for 4.1. Johan -- To unsubscribe from this