Re: [PATCH net] net: usbnet: prevent buggy devices from killing us

2013-01-25 Thread Bjørn Mork
Joe Perches writes: > On Thu, 2013-01-24 at 20:16 +0100, Bjørn Mork wrote: >> A device sending 0 length frames as fast as it can has been >> observed killing the host system due to the resulting memory >> pressure. > [] >> diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c > [] >> @

[balbi-usb:xceiv 11/13] include/linux/usb/phy.h:194:2: warning: return makes integer from pointer without a cast

2013-01-25 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv head: a342da25a9a7f5a2f34030e5017043780a673cd1 commit: 84c5bc80a75b8db64e890d035ee1469822b85438 [11/13] usb: otg: add an api to bind the usb controller and phy config: i386-randconfig-x425 (attached as .config) All warnin

Re: [balbi-usb:xceiv 11/13] include/linux/usb/phy.h:194:2: warning: return makes integer from pointer without a cast

2013-01-25 Thread Felipe Balbi
Hi, On Fri, Jan 25, 2013 at 04:15:13PM +0800, kbuild test robot wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv > head: a342da25a9a7f5a2f34030e5017043780a673cd1 > commit: 84c5bc80a75b8db64e890d035ee1469822b85438 [11/13] usb: otg: add an api > to bind the usb c

Re: [PATCH v3 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-25 Thread kishon
On Friday 25 January 2013 01:18 PM, Felipe Balbi wrote: On Thu, Jan 24, 2013 at 09:32:46PM -0800, Stephen Warren wrote: On 01/24/2013 06:19 PM, Kishon Vijay Abraham I wrote: Added a new driver for the usb part of control module. This has an API to power on the USB2 phy and an API to write to th

Re: [PATCH v1 1/8] usb: otg: palmas-usb: make palmas-usb as a comparator driver

2013-01-25 Thread kishon
On Friday 25 January 2013 01:13 PM, Felipe Balbi wrote: Hi, On Fri, Jan 25, 2013 at 08:42:24AM +0530, Kishon Vijay Abraham I wrote: palmas-usb is made as a comparator driver to omap usb2 phy, so that omap usb can make use of palmas for srp and also to set vbus. Signed-off-by: Kishon Vijay Abra

Re: [PATCH v3 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-25 Thread Felipe Balbi
hi, On Fri, Jan 25, 2013 at 02:12:41PM +0530, kishon wrote: > On Friday 25 January 2013 01:18 PM, Felipe Balbi wrote: > >On Thu, Jan 24, 2013 at 09:32:46PM -0800, Stephen Warren wrote: > >>On 01/24/2013 06:19 PM, Kishon Vijay Abraham I wrote: > >>>Added a new driver for the usb part of control mod

Re: [PATCH v3 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-25 Thread kishon
On Friday 25 January 2013 02:15 PM, Felipe Balbi wrote: hi, On Fri, Jan 25, 2013 at 02:12:41PM +0530, kishon wrote: On Friday 25 January 2013 01:18 PM, Felipe Balbi wrote: On Thu, Jan 24, 2013 at 09:32:46PM -0800, Stephen Warren wrote: On 01/24/2013 06:19 PM, Kishon Vijay Abraham I wrote: Ad

Re: [PATCH v1 1/8] usb: otg: palmas-usb: make palmas-usb as a comparator driver

2013-01-25 Thread Felipe Balbi
On Fri, Jan 25, 2013 at 02:14:07PM +0530, kishon wrote: > On Friday 25 January 2013 01:13 PM, Felipe Balbi wrote: > >Hi, > > > >On Fri, Jan 25, 2013 at 08:42:24AM +0530, Kishon Vijay Abraham I wrote: > >>palmas-usb is made as a comparator driver to omap usb2 phy, so that > >>omap usb can make use o

[PATCH v4 2/3] usb: gadget: introduce gadget state tracking

2013-01-25 Thread Felipe Balbi
that's useful information to expose to userland. Signed-off-by: Felipe Balbi --- drivers/usb/gadget/udc-core.c | 23 +++ include/linux/usb/gadget.h| 9 + 2 files changed, 32 insertions(+) diff --git a/drivers/usb/gadget/udc-core.c b/drivers/usb/gadget/udc-core.c

[PATCH v4 1/3] usb: common: introduce usb_state_string()

2013-01-25 Thread Felipe Balbi
this function will receive enum usb_device_state and return a human-readable string from it or, case an unknown value is passed as argument, the string "UNKNOWN". Signed-off-by: Felipe Balbi --- drivers/usb/usb-common.c | 21 + include/linux/usb/ch9.h | 9 + 2 files

[PATCH v4 0/3] usb: gadget: state tracking

2013-01-25 Thread Felipe Balbi
here's v4 Changes since v3: - Remove direct inclusion of Chances since v2: - split usb_state_string() to a separate patch, placed it on usb-common.c and renamed from usb_device_state_string() - moved NOTATTACHED to udc-core.c::usb_add_gadget_udc(). Felipe Balbi

[PATCH v4 3/3] usb: dwc3: gadget: implement gadget state tracking

2013-01-25 Thread Felipe Balbi
make use of the previously introduced gadget->state field. Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/ep0.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index d7da073..ec4b563 100644 --- a/drivers/usb/d

Re: [PATCH v4 2/3] usb: gadget: introduce gadget state tracking

2013-01-25 Thread Felipe Balbi
Hi, On Fri, Jan 25, 2013 at 11:12:41AM +0200, Felipe Balbi wrote: > that's useful information to expose to userland. > > Signed-off-by: Felipe Balbi > --- > drivers/usb/gadget/udc-core.c | 23 +++ > include/linux/usb/gadget.h| 9 + > 2 files changed, 32 insertio

Re: Hibernate fails to freeze fuse write

2013-01-25 Thread Miklos Szeredi
On Fri, Jan 25, 2013 at 1:03 AM, Sarah Sharp wrote: > Hi Miklos, > > I'm running some tests with an NTFS formated USB 3.0 device. First, I > flush any caches by running `echo 3 > /proc/sys/vm/drop_caches`. Next, > I begin a copy of a 1.1 GB file to the device. I immediately attempt to > hiberna

Re: [PATCH v4 2/3] usb: gadget: introduce gadget state tracking

2013-01-25 Thread Felipe Balbi
Hi, On Fri, Jan 25, 2013 at 11:29:57AM +0200, Felipe Balbi wrote: > Hi, > > On Fri, Jan 25, 2013 at 11:12:41AM +0200, Felipe Balbi wrote: > > that's useful information to expose to userland. > > > > Signed-off-by: Felipe Balbi > > --- > > drivers/usb/gadget/udc-core.c | 23

Re: [RESEND PATCH v5 3/7] usb: chipidea: add otg id switch and vbus connect/disconnect detect

2013-01-25 Thread Alexander Shishkin
Peter Chen writes: > On Thu, Jan 24, 2013 at 05:25:17PM +0200, Alexander Shishkin wrote: >> Peter Chen writes: >> >> > The main design flow is the same with msm otg driver, that is the id and >> > vbus interrupt are handled at core driver, others are handled by >> > individual drivers. >> > >>

Re: [V5 PATCH 24/26] usb: gadget: mv_udc: add device tree support

2013-01-25 Thread Mark Rutland
On Fri, Jan 25, 2013 at 02:13:54AM +, chao xie wrote: > 2013/1/24 Mark Rutland : > > Hello, > > > > On Thu, Jan 24, 2013 at 06:38:48AM +, Chao Xie wrote: > >> In original driver, we have callbacks in platform data, and some > >> dynamically allocations variables in platform data. > >> Now,

Re: [V5 PATCH 26/26] usb: ehci: ehci-mv: add device tree support

2013-01-25 Thread Mark Rutland
[...] > >> @@ -170,19 +202,36 @@ static int mv_ehci_probe(struct platform_device > >> *pdev) > >> } > >> > >> platform_set_drvdata(pdev, ehci_mv); > >> - ehci_mv->pdata = pdata; > >> ehci_mv->hcd = hcd; > >> > >> - ehci_mv->clknum = pdata->clknum; > >> - for (clk_i =

[PATCH v4 2/4] ARM: OMAP: devices: create device for usb part of control module

2013-01-25 Thread Kishon Vijay Abraham I
A seperate driver has been added to handle the usb part of control module. A device for the above driver is created here, using the register address information to be used by the driver for powering on the PHY and for writing to the mailbox. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mac

[PATCH v4 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-25 Thread Kishon Vijay Abraham I
Added a new driver for the usb part of control module. This has an API to power on the USB2 phy and an API to write to the mailbox depending on whether MUSB has to act in host mode or in device mode. Writing to control module registers for doing the above task which was previously done in omap glu

[PATCH v4 3/4] ARM: OMAP2: MUSB: Specify omap4 has mailbox

2013-01-25 Thread Kishon Vijay Abraham I
Added has_mailbox to the musb platform data to specify that omap uses an external mailbox (in control module) to communicate with the musb core during device connect and disconnect. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/usb-musb.c |3 +++ include/linux/usb/musb.h

[PATCH v4 4/4] drivers: usb: start using the control module driver

2013-01-25 Thread Kishon Vijay Abraham I
Start using the control module driver for powering on the PHY and for writing to the mailbox instead of writing to the control module registers on their own. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/usb/omap-usb.txt |4 ++ Documentation/devicetree/bindings/

[PATCH v4 0/4] usb: musb/dwc3: add driver for control module

2013-01-25 Thread Kishon Vijay Abraham I
Added a new driver for the usb part of control module. This has an API to power on the USB2 phy and an API to write to the mailbox depending on whether MUSB has to act in host mode or in device mode. Also added an API to power on usb3 phy (omap5). Writing to control module registers for doing the

[PATCH v3 1/3] ARM: dts: omap: Add omap control usb data

2013-01-25 Thread Kishon Vijay Abraham I
Add omap control usb data in omap4 device tree file. This will have the register address of registers to power on the PHY and to write to mailbox. The information about this data node is available @ Documentation/devicetree/bindings/usb/omap-usb.txt Signed-off-by: Kishon Vijay Abraham I --- arch

[PATCH v3 3/3] ARM: dts: omap: Add usb_otg and glue data

2013-01-25 Thread Kishon Vijay Abraham I
Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-.dts file. The dt data specifies among others the interface type (ULPI or UTMI), mode which is mostly OTG, power that specifies the amount of power this can supply when in host mode. The

[PATCH v3 2/3] ARM: dts: omap: Add omap-usb2 dt data

2013-01-25 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Since omap-usb2 is connected to ocp2scp, omap-usb2 dt data is added as a child node of ocp2scp. The information about this data node is availabe @ Documentation/devicetree/bindings/usb/usb-phy.txt Acked-by: Felipe Balbi Signed-off-by: Kishon Vija

Re: [PATCH v4 4/4] drivers: usb: start using the control module driver

2013-01-25 Thread Felipe Balbi
Hi, On Fri, Jan 25, 2013 at 03:54:00PM +0530, Kishon Vijay Abraham I wrote: > Start using the control module driver for powering on the PHY and for > writing to the mailbox instead of writing to the control module > registers on their own. > > Signed-off-by: Kishon Vijay Abraham I > --- > Docum

[PATCH v3 0/3] ARM: dts: omap: add dt data for MUSB

2013-01-25 Thread Kishon Vijay Abraham I
This patch series adds dt data to get MUSB working in omap4 and omap3. Long time back a patch series with the same title was sent but only a part of it got merged. The rest of it wasn't merged because of adding omap control usb data to glue and usb phy. Now there exists a separate driver for contr

[PATCH v3 6/6] USB: MUSB: OMAP: get PHY by phandle for dt boot

2013-01-25 Thread Kishon Vijay Abraham I
The OMAP glue has been modified to get PHY by phandle for dt boot. Signed-off-by: Kishon Vijay Abraham I --- There were some comments w.r.t this patch for returning EPROBE_DEFER if not able to get the phy, in my previous version. Currently we can't have that because the gadget driver doesn't do a

[PATCH v4 2/2] usb: phy: omap-usb2: enable 960Mhz clock for omap5

2013-01-25 Thread Kishon Vijay Abraham I
"usb_otg_ss_refclk960m" is needed for usb2 phy present in omap5. For omap4, the clk_get of this clock will fail since it does not have this clock. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/phy/omap-usb2.c | 28 +++- 1 file changed, 27 insertions(+), 1 deleti

[PATCH v4 0/2] usb: phy: add usb3 phy driver

2013-01-25 Thread Kishon Vijay Abraham I
Apologies for the delay in sending this version. Added a driver for usb3 phy that handles the interaction between usb phy device and dwc3 controller. Changes from v3: * Changed the property name from "ctrl_module" to "ctrl-module" Changes from v2: * used control module driver APIs to write to c

[PATCH v4 1/2] usb: phy: add a new driver for usb3 phy

2013-01-25 Thread Kishon Vijay Abraham I
Added a driver for usb3 phy that handles the interaction between usb phy device and dwc3 controller. This also includes device tree support for usb3 phy driver and the documentation with device tree binding information is updated. Currently writing to control module register is taken care in this

Re: [PATCH v4 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-25 Thread Mark Rutland
On Fri, Jan 25, 2013 at 10:23:57AM +, Kishon Vijay Abraham I wrote: > Added a new driver for the usb part of control module. This has an API > to power on the USB2 phy and an API to write to the mailbox depending on > whether MUSB has to act in host mode or in device mode. > > Writing to contr

[PATCH v4 09/11] usb: dwc3: core: add dt support for dwc3 core

2013-01-25 Thread Kishon Vijay Abraham I
Added dt support for dwc3 core and update the documentation with device tree binding information. Getting a PHY is now done using devm_usb_get_phy_by_phandle() for dt boot. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/usb/dwc3.txt | 22 ++ dri

Re: [PATCH v4 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-25 Thread Felipe Balbi
On Fri, Jan 25, 2013 at 11:01:41AM +, Mark Rutland wrote: > On Fri, Jan 25, 2013 at 10:23:57AM +, Kishon Vijay Abraham I wrote: > > Added a new driver for the usb part of control module. This has an API > > to power on the USB2 phy and an API to write to the mailbox depending on > > whether

[PATCH 1/2] usb: dwc3: exynos/omap: Change platform device IDs for no_op_xceive to AUTO

2013-01-25 Thread Vivek Gautam
Multiple dwc3 probe calls try to allocate no_op_xceive platform device. Having static IDs for these will throw sysfs error -EEXIST. Changing these static platform device IDs to AUTO to enable multiple dwc3 controller support on a SoC. Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/dwc3-exynos.

[PATCH 0/2] usb: dwc3: Change platform device IDs to AUTO

2013-01-25 Thread Vivek Gautam
Multiple dwc3 controllers will try to allocate multiple platform devices for no_op_xceive (for usb2_phy and usb3_phy) as well as xhci-hcd. This patchset updates the platform devices IDs for allocated devices to AUTO in order to support multiple dwc3 controllers. This is based on 'dwc3' branch of F

[PATCH 2/2] usb: dwc3: host: Change platform device ID for xhci-hcd to AUTO

2013-01-25 Thread Vivek Gautam
Multiple dwc3 controllers will try to allocate multiple xhci-hcd interfaces. Changing platform device IDs from NONE to AUTO to support such cases. Signed-off-by: Vivek Gautam --- drivers/usb/dwc3/host.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/dwc3/ho

Re: [PATCH v4 4/4] drivers: usb: start using the control module driver

2013-01-25 Thread kishon
On Friday 25 January 2013 03:57 PM, Felipe Balbi wrote: Hi, On Fri, Jan 25, 2013 at 03:54:00PM +0530, Kishon Vijay Abraham I wrote: Start using the control module driver for powering on the PHY and for writing to the mailbox instead of writing to the control module registers on their own. Sign

[balbi-usb:xceiv 16/20] warning: (USB_MUSB_HDRC && ..) selects OMAP_CONTROL_USB which has unmet direct dependencies (USB_SUPPORT && ..)

2013-01-25 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv head: 5088b6f5bcf1747345ef9fe217fc80935b1b07df commit: 57f6ce072e35770a63be0c5d5e82f90d8da7d665 [16/20] usb: phy: add a new driver for usb3 phy config: make ARCH=x86_64 allyesconfig All warnings: warning: (USB_MUSB_HDRC

Re: [PATCH net] net: usbnet: prevent buggy devices from killing us

2013-01-25 Thread Oliver Neukum
On Friday 25 January 2013 08:13:15 Bjørn Mork wrote: > Oliver Neukum writes: > > On Thursday 24 January 2013 20:16:56 Bjørn Mork wrote: > >> A device sending 0 length frames as fast as it can has been > >> observed killing the host system due to the resulting memory > >> pressure. > >> > >> Tempo

Re: [RESEND PATCH v5 4/7] usb: chipidea: consolidate ci_role_driver's API for both roles

2013-01-25 Thread Alexander Shishkin
Peter Chen writes: > On Thu, Jan 24, 2013 at 04:35:30PM +0200, Alexander Shishkin wrote: >> Peter Chen writes: >> >> > - Create init/destroy API for probe and remove >> > - start/stop API are only used otg id switch process >> > - Create the gadget at ci_hdrc_probe if the gadget is supported >>

composite.c:1156 warn: calling potential NULL 'f->set_alt()'

2013-01-25 Thread Dan Carpenter
I'm working on some new Smatch stuff and I hit the following problem which I don't know how to fix. drivers/usb/gadget/composite.c:1156 composite_setup() warn: calling potential NULL 'f->set_alt()' drivers/usb/gadget/composite.c 1143 /* function drivers must handle get/set alt

Re: [PATCH 1/2]linux-usb:Define a new macro for USB storage match rules

2013-01-25 Thread Sergei Shtylyov
Hello. On 25-01-2013 6:44, fangxiaozhi 00110321 wrote: From: fangxiaozhi 1. Define a new macro for USB storage match rules: matching with Vendor ID and interface descriptors. Signed-off-by: fangxiaozhi diff -up

Re: [PATCH v3 11/11] usb: dwc3: core: stray statements are removed

2013-01-25 Thread Sergei Shtylyov
Hello. On 25-01-2013 7:00, Kishon Vijay Abraham I wrote: No functional change. Stray statements where removed from dwc3 core. s/where/are/ Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/core.c |3 --- 1 file changed, 3 deletions(-) WBR, Sergei -- To unsubscribe fro

Re: [PATCH net] net: usbnet: prevent buggy devices from killing us

2013-01-25 Thread Bjørn Mork
Oliver Neukum writes: > On Friday 25 January 2013 08:13:15 Bjørn Mork wrote: >> Oliver Neukum writes: >> > On Thursday 24 January 2013 20:16:56 Bjørn Mork wrote: >> >> A device sending 0 length frames as fast as it can has been >> >> observed killing the host system due to the resulting memory >>

Re: [PATCH v4 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-25 Thread Mark Rutland
[...] > > > +OMAP CONTROL USB > > > + > > > +Required properties: > > > + - compatible: Should be "ti,omap-control-usb" > > > + - reg : Address and length of the register set for the device. It > > > contains > > > + the address of "control_dev_conf" and "otghs_control" or > > > "phy_power_usb

Re: [PATCH v2 1/6] usb: otg: Add an API to bind the USB controller and PHY

2013-01-25 Thread Roger Quadros
On 01/25/2013 04:33 AM, Kishon Vijay Abraham I wrote: > In order to support platforms which has multiple PHY's (of same type) and > which has multiple USB controllers, a new design is adopted wherin the binding > information (between the PHY and the USB controller) should be passed to the > PHY lib

Re: 3.4.4: disabling irq

2013-01-25 Thread Udo van den Heuvel
On 2013-01-02 17:46, Alan Stern wrote: > Or else leave those devices unplugged entirely -- use a network login > instead of the USB keyboard and mouse. When the motion service is off, i.e. the USB webcam isnt used, the issue does not happen. On the other hand: If it is on, within a few days I

Re: [PATCH v2 2/6] usb: otg: utils: add facilities in phy lib to support multiple PHYs of same type

2013-01-25 Thread Roger Quadros
On 01/25/2013 04:33 AM, Kishon Vijay Abraham I wrote: > In order to add support for multipe PHY's of the same type, new API's > for adding PHY and getting PHY has been added. Now the binding > information for the PHY and controller should be done in platform file > using usb_bind_phy API. And for g

[PATCH 1/2] usb-uas: set max_lun and max_channel

2013-01-25 Thread Gerd Hoffmann
256 luns is what the sam-4 address method 0 can handle and what the qemu uas emulation supports. So pick that for now. Signed-off-by: Gerd Hoffmann --- drivers/usb/storage/uas.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index

[PATCH 2/2] usb-uas: update MAINTAINERS entry

2013-01-25 Thread Gerd Hoffmann
Cc: Sarah Sharp Signed-off-by: Gerd Hoffmann --- MAINTAINERS |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8ae709e..c5b37de 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7911,9 +7911,10 @@ F: drivers/net/wireless/ath/ar5523/ USB

Re: [PATCH 2/2] usb-uas: update MAINTAINERS entry

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 02:52:09PM +0100, Gerd Hoffmann wrote: > Cc: Sarah Sharp > Signed-off-by: Gerd Hoffmann > --- > MAINTAINERS |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 8ae709e..c5b37de 100644 > --- a/MAINTAINERS > +++ b

[PATCH v2] usb-uas: set max_lun and max_channel

2013-01-25 Thread Gerd Hoffmann
256 luns is what the sam-4 address method 0 can handle and what the qemu uas emulation supports. So pick that for now. [ v2: unlike the other two max_* fields max_channel isn't max+1 ] Signed-off-by: Gerd Hoffmann --- drivers/usb/storage/uas.c |2 ++ 1 file changed, 2 insertions(+) diff -

Re: [PATCH 1/2] usb-uas: set max_lun and max_channel

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 02:52:04PM +0100, Gerd Hoffmann wrote: > 256 luns is what the sam-4 address method 0 can handle and what > the qemu uas emulation supports. So pick that for now. > > Signed-off-by: Gerd Hoffmann > --- > drivers/usb/storage/uas.c |2 ++ > 1 file changed, 2 insertions(

Re: Regarding Docbook

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 07:29:07PM +0530, Anil Nair wrote: > Hello All, > > Wishing a happy new year to all. :) > > I was compiling the Docbook present in Linux Kernel version 3.8-rc4 > using the command, > "make pdfdocs" > > The compilation stops with the following error, > > "make: *** No rul

[PATCH corrected] usb/gadget: nokia: use function framework for ACM

2013-01-25 Thread Andrzej Pietrasiewicz
From: Sebastian Andrzej Siewior This patch converts the nokia gadget to make use of the function framework to request the ACM function. The "old" include interface for acm is now removed since nokia was the last user of it (for ACM). Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Andr

Re: [PATCH 2/2] usb-uas: update MAINTAINERS entry

2013-01-25 Thread Gerd Hoffmann
Hi, >> diff --git a/MAINTAINERS b/MAINTAINERS >> index 8ae709e..c5b37de 100644 >> --- a/MAINTAINERS >> +++ b/MAINTAINERS >> @@ -7911,9 +7911,10 @@ F:drivers/net/wireless/ath/ar5523/ >> USB ATTACHED SCSI >> M: Matthew Wilcox >> M: Sarah Sharp >> +M: Gerd Hoffmann > > Should Matthew

Re: [PATCH 2/2] usb-uas: update MAINTAINERS entry

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 03:19:22PM +0100, Gerd Hoffmann wrote: > Hi, > > >> diff --git a/MAINTAINERS b/MAINTAINERS > >> index 8ae709e..c5b37de 100644 > >> --- a/MAINTAINERS > >> +++ b/MAINTAINERS > >> @@ -7911,9 +7911,10 @@ F: drivers/net/wireless/ath/ar5523/ > >> USB ATTACHED SCSI > >> M:

Re: Add USB Device

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 09:30:25AM -0500, Hoyt Duff wrote: > Vendor ID: 0x04b4 > Device ID: 0x6830 > Cypress Semiconductor > USB2.0 Storage Device > > # uname -a > Linux titan.maximumhoyt.com 3.4.24-desktop-3.mga2 #1 SMP Sat Jan 5 > 02:42:54 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux > > # cat /proc

Re: USB3 host dying on SIGKILL

2013-01-25 Thread Frank Lömker
Hello, On 01/23/2013 01:01 PM, Frank Lömker wrote: > We have a somewhat UVC compliant USB2 camera connected to a USB3 port. > It works mostly great. But when we SIGKILL the program which opened the > device, the corresponding host controller dies and the system must be > rebooted to access the USB

RE: [PATCH v1 0/6] USB: Add support for multiple PHYs of same type

2013-01-25 Thread Mohammed, Afzal
Hi Kishon, On Thu, Jan 24, 2013 at 17:21:45, Mohammed, Afzal wrote: > On Wed, Jan 23, 2013 at 19:56:37, ABRAHAM, KISHON VIJAY wrote: > > On Wednesday 23 January 2013 07:28 PM, Mohammed, Afzal wrote: > > > USB first instance of am335x works in mainline as of now. > > > Can you check if this serie

Re: [PATCH v4 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-25 Thread Felipe Balbi
Hi, On Fri, Jan 25, 2013 at 12:29:43PM +, Mark Rutland wrote: > > > > + depending upon omap4 or omap5. > > > > + - reg-names: The names of the register addresses corresponding to the > > > > registers > > > > + filled in "reg". > > > > + - ti,type: This is used to differentiate whether th

Re: [PATCH 2/2] usb-uas: update MAINTAINERS entry

2013-01-25 Thread Gerd Hoffmann
Hi, >> Sarah, is there some way to avoid using streams? The UAS specs seems to >> imply using streams is mandatory when connected to a USB-3 port, is that >> correct? Is there some way to force usb3 devices into usb2 mode even >> when plugged into a usb3 port? I'd like to have a no_streams mo

Re: Trouble with a USB 2.0 device with xhci_hcd

2013-01-25 Thread Alan Stern
On Thu, 24 Jan 2013, Sarah Sharp wrote: > On Thu, Jan 24, 2013 at 10:51:04AM -0500, Alan Stern wrote: > > On Wed, 23 Jan 2013, Sarah Sharp wrote: > > > > > > So I guess my next question is: What are you plans, if any, to add the > > > > "new" enumeration scheme to xHCI? Is this a huge amount of w

Re: USB subsystem stops working

2013-01-25 Thread Alan Stern
On Fri, 25 Jan 2013, Ming Lei wrote: > On Fri, Jan 25, 2013 at 4:11 AM, Alan Stern wrote: > > > > Okay, here's a second test I'd like you to try. It fixes all the > > problems on my machine. > > > > For this test you don't need to change any settings under /sys. Just > > apply this patch and se

Re: USB subsystem stops working

2013-01-25 Thread Alan Stern
On Fri, 25 Jan 2013, Norbert Preining wrote: > Hi Alan, > > here some status update, and a slight problem: I cannot recreate > the problem anymore ... maybe because I pulled from master the latest > changes, but whatever I do currently, I cannot trigger it again. > No way. > > The last git commi

Re: [PATCH 2/2] usb-uas: update MAINTAINERS entry

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 04:04:33PM +0100, Gerd Hoffmann wrote: > > Oh, and any hints on what device on the market today actually follows > > the UAS spec so I can buy one for testing? > > /me asked the same a while ago, here is the reply > > > > I would suggest getting a TI UAS evaluation board

Re: [PATCH v4 2/3] usb: gadget: introduce gadget state tracking

2013-01-25 Thread Alan Stern
On Fri, 25 Jan 2013, Felipe Balbi wrote: > I guess it would be good to have a: > > enum usb_gadget_state usb_gadget_get_state(struct usb_gadget *gadget) > { > return gadget->state; > } > > right ?? At least dwc3 can make use of it. This seems like unnecessary embellishment. What's wrong

Re: [PATCH v4 2/3] usb: gadget: introduce gadget state tracking

2013-01-25 Thread Felipe Balbi
Hi, On Fri, Jan 25, 2013 at 10:27:24AM -0500, Alan Stern wrote: > On Fri, 25 Jan 2013, Felipe Balbi wrote: > > > I guess it would be good to have a: > > > > enum usb_gadget_state usb_gadget_get_state(struct usb_gadget *gadget) > > { > > return gadget->state; > > } > > > > right ?? At least

Re: USB subsystem stops working

2013-01-25 Thread Ming Lei
On Fri, Jan 25, 2013 at 11:23 PM, Alan Stern wrote: > On Fri, 25 Jan 2013, Ming Lei wrote: > > Good. Can I add your Tested-by: when I submit it? Sure, please feel free to add the below: Tested-by: Ming Lei Thanks, -- Ming Lei -- To unsubscribe from this list: send the line "unsubsc

[PATCH v2] usb: add driver for xsens motion trackers

2013-01-25 Thread Frans Klaver
Signed-off-by: Frans Klaver --- This is a revision of the xsens_mt module. Since previous one, I've reduced the allocated buffers, cause there seem to be no problems with the default size right now. Filtering the correct interface has been moved to the probe function, which seems more appropria

Re: [PATCH v4 2/3] usb: gadget: introduce gadget state tracking

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 05:31:35PM +0200, Felipe Balbi wrote: > Hi, > > On Fri, Jan 25, 2013 at 10:27:24AM -0500, Alan Stern wrote: > > On Fri, 25 Jan 2013, Felipe Balbi wrote: > > > > > I guess it would be good to have a: > > > > > > enum usb_gadget_state usb_gadget_get_state(struct usb_gadget

Re: [PATCH v4 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-25 Thread Mark Rutland
On Fri, Jan 25, 2013 at 02:59:28PM +, Felipe Balbi wrote: > Hi, > > On Fri, Jan 25, 2013 at 12:29:43PM +, Mark Rutland wrote: > > > > > + depending upon omap4 or omap5. > > > > > + - reg-names: The names of the register addresses corresponding to > > > > > the registers > > > > > + fi

[GIT PULL] usb: musb: patches for v3.9:x

2013-01-25 Thread Felipe Balbi
Hi Greg, here's MUSB's pull request. Let me know if you want any changes. This one merged cleanly on top of your usb-next branch. The following changes since commit 9931faca02c604c22335f5a935a501bb2ace6e20: Linux 3.8-rc3 (2013-01-09 18:59:55 -0800) are available in the git repository at: g

[GIT PULL] usb: dwc3: patches for v3.9

2013-01-25 Thread Felipe Balbi
Hi Greg, here's dwc3 for v3.9 merge window. It also merged just fine with your usb-next branch. The following changes since commit 7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619: Linux 3.8-rc4 (2013-01-17 19:25:45 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/

[GIT PULL] usb: gadget: patches for v3.9

2013-01-25 Thread Felipe Balbi
Hi Greg, Here's the pull request for Gadget framework. Incredible this one also merged just fine ;-) The following changes since commit 9931faca02c604c22335f5a935a501bb2ace6e20: Linux 3.8-rc3 (2013-01-09 18:59:55 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/l

[GIT PULL] usb: phy: patches for v3.9

2013-01-25 Thread Felipe Balbi
Hi Greg, Here are some transceiver changes for v3.9 merge window. This tag merged clean, but there were some automatic merge resolutions by git. The following changes since commit d1c3ed669a2d452cacfb48c2d171a1f364dae2ed: Linux 3.8-rc2 (2013-01-02 18:13:21 -0800) are available in the git repo

Re: [PATCH v4 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-25 Thread Felipe Balbi
Hi, On Fri, Jan 25, 2013 at 04:14:02PM +, Mark Rutland wrote: > On Fri, Jan 25, 2013 at 02:59:28PM +, Felipe Balbi wrote: > > Hi, > > > > On Fri, Jan 25, 2013 at 12:29:43PM +, Mark Rutland wrote: > > > > > > + depending upon omap4 or omap5. > > > > > > + - reg-names: The names of th

Re: [PATCH v4 2/3] usb: gadget: introduce gadget state tracking

2013-01-25 Thread Felipe Balbi
On Fri, Jan 25, 2013 at 08:07:31AM -0800, Greg KH wrote: > On Fri, Jan 25, 2013 at 05:31:35PM +0200, Felipe Balbi wrote: > > Hi, > > > > On Fri, Jan 25, 2013 at 10:27:24AM -0500, Alan Stern wrote: > > > On Fri, 25 Jan 2013, Felipe Balbi wrote: > > > > > > > I guess it would be good to have a: > >

Re: Add USB Device

2013-01-25 Thread Hoyt Duff
On 1/25/13, Greg KH wrote: > On Fri, Jan 25, 2013 at 09:30:25AM -0500, Hoyt Duff wrote: >> Vendor ID: 0x04b4 >> Device ID: 0x6830 >> Cypress Semiconductor >> USB2.0 Storage Device >> >> # uname -a >> Linux titan.maximumhoyt.com 3.4.24-desktop-3.mga2 #1 SMP Sat Jan 5 >> 02:42:54 UTC 2013 x86_64 x86

Re: Add USB Device

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 11:31:00AM -0500, Hoyt Duff wrote: > On 1/25/13, Greg KH wrote: > > On Fri, Jan 25, 2013 at 09:30:25AM -0500, Hoyt Duff wrote: > >> Vendor ID: 0x04b4 > >> Device ID: 0x6830 > >> Cypress Semiconductor > >> USB2.0 Storage Device > >> > >> # uname -a > >> Linux titan.maximumho

Re: [PATCH v4 2/3] usb: gadget: introduce gadget state tracking

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 06:27:20PM +0200, Felipe Balbi wrote: > On Fri, Jan 25, 2013 at 08:07:31AM -0800, Greg KH wrote: > > On Fri, Jan 25, 2013 at 05:31:35PM +0200, Felipe Balbi wrote: > > > Hi, > > > > > > On Fri, Jan 25, 2013 at 10:27:24AM -0500, Alan Stern wrote: > > > > On Fri, 25 Jan 2013,

Re: [PATCH v2] usb: add driver for xsens motion trackers

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 05:05:44PM +0100, Frans Klaver wrote: > Signed-off-by: Frans Klaver > > --- > > This is a revision of the xsens_mt module. Since previous one, I've > reduced the allocated buffers, cause there seem to be no problems with > the default size right now. That's good. Bigger

[PATCH] USB: misc: usb3503: Fix compiler warning

2013-01-25 Thread Dongjin Kim
This patch fixes the compiler warning of uninitialized variable. drivers/usb/misc/usb3503.c: In function ‘usb3503_probe’: drivers/usb/misc/usb3503.c:215:13: warning: ‘mode’ may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Dongjin Kim --- drivers/usb/misc/usb3503.c |

Re: [GIT PULL] usb: musb: patches for v3.9:x

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 06:15:03PM +0200, Felipe Balbi wrote: > Hi Greg, > > here's MUSB's pull request. Let me know if you want any changes. This > one merged cleanly on top of your usb-next branch. > > The following changes since commit 9931faca02c604c22335f5a935a501bb2ace6e20: > > Linux 3.8

Re: [GIT PULL] usb: dwc3: patches for v3.9

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 06:16:11PM +0200, Felipe Balbi wrote: > Hi Greg, > > here's dwc3 for v3.9 merge window. It also merged just fine with your > usb-next branch. > > The following changes since commit 7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619: > > Linux 3.8-rc4 (2013-01-17 19:25:45 -0800) >

Re: [PATCH v4 1/4] drivers: usb: phy: add a new driver for usb part of control module

2013-01-25 Thread Mark Rutland
On Fri, Jan 25, 2013 at 04:23:46PM +, Felipe Balbi wrote: > Hi, > > On Fri, Jan 25, 2013 at 04:14:02PM +, Mark Rutland wrote: > > On Fri, Jan 25, 2013 at 02:59:28PM +, Felipe Balbi wrote: > > > Hi, > > > > > > On Fri, Jan 25, 2013 at 12:29:43PM +, Mark Rutland wrote: > > > > > > >

Re: [GIT PULL] usb: gadget: patches for v3.9

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 06:17:23PM +0200, Felipe Balbi wrote: > Hi Greg, > > Here's the pull request for Gadget framework. Incredible this one also > merged just fine ;-) > > The following changes since commit 9931faca02c604c22335f5a935a501bb2ace6e20: > > Linux 3.8-rc3 (2013-01-09 18:59:55 -08

Re: [GIT PULL] usb: phy: patches for v3.9

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 06:18:54PM +0200, Felipe Balbi wrote: > Hi Greg, > > Here are some transceiver changes for v3.9 merge window. This tag merged > clean, but there were some automatic merge resolutions by git. > > The following changes since commit d1c3ed669a2d452cacfb48c2d171a1f364dae2ed: >

Re: Add USB Device

2013-01-25 Thread Hoyt Duff
usb.ids On 1/25/13, Greg KH wrote: > On Fri, Jan 25, 2013 at 11:31:00AM -0500, Hoyt Duff wrote: >> On 1/25/13, Greg KH wrote: >> > On Fri, Jan 25, 2013 at 09:30:25AM -0500, Hoyt Duff wrote: >> >> Vendor ID: 0x04b4 >> >> Device ID: 0x6830 >> >> Cypress Semiconductor >> >> USB2.0 Storage Device >>

Re: [GIT PULL] usb: phy: patches for v3.9

2013-01-25 Thread Felipe Balbi
On Fri, Jan 25, 2013 at 09:13:36AM -0800, Greg KH wrote: > On Fri, Jan 25, 2013 at 06:18:54PM +0200, Felipe Balbi wrote: > > Hi Greg, > > > > Here are some transceiver changes for v3.9 merge window. This tag merged > > clean, but there were some automatic merge resolutions by git. > > > > The fol

Re: Add USB Device

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 12:18:36PM -0500, Hoyt Duff wrote: > usb.ids The top of the usb.ids file says how to have it updated, please read that and follow the directions there. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to maj

Re: Add USB Device

2013-01-25 Thread Hoyt Duff
It would be helpful if the website provided that direction (or provided that direction in a more clear manner if it already does) instead of implying that one needs to join the mail list. Thanks. On 1/25/13, Greg KH wrote: > On Fri, Jan 25, 2013 at 12:18:36PM -0500, Hoyt Duff wrote: >> usb.ids >

Re: [Pull Request] USB/xhci: Misc fixes for 3.8.

2013-01-25 Thread Greg Kroah-Hartman
On Thu, Jan 24, 2013 at 04:19:35PM -0800, Sarah Sharp wrote: > The following changes since commit dba63b2f733ebfd89bbb15e8fe8ca10fd3871a7f: > > USB: EHCI: fix build error in ehci-mxc (2013-01-23 11:27:08 -0800) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linu

Re: [PATCH 1/2]linux-usb:Define a new macro for USB storage match rules

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 04:18:34PM +0400, Sergei Shtylyov wrote: > Hello. > > On 25-01-2013 6:44, fangxiaozhi 00110321 wrote: > > >From: fangxiaozhi > > >1. Define a new macro for USB storage match rules: > > matching with Vendor ID and interface descriptors. > > >Signed-off-by: fangxiaozh

Re: [PATCH v2] usb: add driver for xsens motion trackers

2013-01-25 Thread Alan Stern
On Fri, 25 Jan 2013, Greg KH wrote: > > +static int has_required_endpoints(const struct usb_host_interface > > *interface) > > +{ > > + __u8 i; > > + int has_bulk_in = 0; > > + int has_bulk_out = 0; > > + > > + for (i = 0; i < interface->desc.bNumEndpoints; ++i) { > > + if (usb_

Re: Add USB Device

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 12:41:21PM -0500, Hoyt Duff wrote: > It would be helpful if the website provided that direction (or > provided that direction in a more clear manner if it already does) > instead of implying that one needs to join the mail list. Again, you are going to have to be more speci

Re: 3.4.4: disabling irq

2013-01-25 Thread Alan Stern
On Fri, 25 Jan 2013, Udo van den Heuvel wrote: > On 2013-01-02 17:46, Alan Stern wrote: > > Or else leave those devices unplugged entirely -- use a network login > > instead of the USB keyboard and mouse. > > When the motion service is off, i.e. the USB webcam isnt used, the > issue does not ha

RE: [PATCH v2 0/2] usb: exynos: Fix compatible strings used for device

2013-01-25 Thread Kukjin Kim
Vivek Gautam wrote: > > Using chip specific compatible string as it should be. > So fixing this for ehci-s5p, ohci-exynos and dwc3-exynos > which till now used a generic 'exynos' in their compatible strings. > > Changes from v1: > - Changing compatible string from "samsung,exynos5250-dwc3"

  1   2   >