Re: dwc: Load order of glue diver and core driver

2012-08-15 Thread Felipe Balbi
Hi, On Thu, Aug 16, 2012 at 11:34:26AM +0530, Pratyush Anand wrote: > May be something silly, but I am not getting it :( > > Probe of glue logic driver such as dwc3_exynos_probe must be called > before core driver ie dwc3_probe. > > Since both drivers are called through module_init, How do we in

[RFC/PATCH] usb: gadget: composite: don't call f->set_alt() from USB_REQ_SET_CONFIGURATION

2012-08-15 Thread Felipe Balbi
currently, composite.c tries to make sure all functions will start on Alternate Setting zero when a configuration is set. I've been considering if that's necessary and even correct, provided f->set_alt() will, essentially, initialize all endpoints for that particular interface. This will generate

[PATCH 3/3] usb: musb: gadget: implement proper ->reset handling

2012-08-15 Thread Felipe Balbi
After introducing the new ->reset method on struct usb_gadget_driver, UDC drivers are required to implement proper handling for it. This patch adds proper ->reset handling for musb driver. Signed-off-by: Felipe Balbi --- drivers/usb/musb/musb_gadget.c | 13 ++--- 1 file changed, 10 inse

[PATCH 2/3] usb: dwc3: gadget: implement ->reset notification

2012-08-15 Thread Felipe Balbi
After introducing the new ->reset method on struct usb_gadget_driver, UDC drivers are required to implement proper handling for it. This patch adds proper ->reset handling for dwc3 driver. Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/gadget.c | 22 -- 1 file changed, 20

[PATCH 1/3] usb: gadget: add reset method to struct usb_gadget_driver

2012-08-15 Thread Felipe Balbi
Some gadget drivers might benefit from having separate ->disconnect and ->reset notifications. For those gadget drivers which don't care, they can implement only ->disconnect and UDC driver is required to call ->disconnect case ->reset isn't valid. Signed-off-by: Felipe Balbi --- include/linux/

dwc: Load order of glue diver and core driver

2012-08-15 Thread Pratyush Anand
Hi, May be something silly, but I am not getting it :( Probe of glue logic driver such as dwc3_exynos_probe must be called before core driver ie dwc3_probe. Since both drivers are called through module_init, How do we insure that? Regards Pratyush -- To unsubscribe from this list: send the

RE: Potential fsg->state problem at file_storage.c

2012-08-15 Thread Chen Peter-B29397
> > that sounds like a plan :-) Tomorrow I can send a series of patches > starting off the split, then people can just send in more patches for > other controllers as we go. cheers > I agree with this change > -- > balbi -- To unsubscribe from this list: send the line "unsubscribe linux-usb"

Re: [PATCH 0/3]: ezusb cleanup, FX2 support, firmware downloading support

2012-08-15 Thread Greg KH
On Fri, Aug 03, 2012 at 05:06:27PM +0200, René Bürgel wrote: > Hello, > > this is a patches-series for controllers using the ezusb-functions. > > ezusb: remove dependency to usb_serial interface > euzsb: add support for Cypress FX2LP > ezusb: add functions for firmware download Nice series, but

Re: [PATCH] USB: option: add ZTE K5006-Z

2012-08-15 Thread Bjørn Mork
Dan Williams wrote: >At some point you should just start adding them with >USB_DEVICE_INTERFACE_NUMBER, no? That's cleaner than the blacklisting >stuff IMHO, even though it does require more entries in the device >table. Yes, probably. I am just not sure I want to be responsible for that

Re: [PATCH 2/9] scripts/modpost: add a exception for USB gadget drivers

2012-08-15 Thread Sam Ravnborg
On Wed, Aug 15, 2012 at 09:59:12PM +0200, Sebastian Andrzej Siewior wrote: > The "driver" struct for a gadget driver is named *_driver. On module > load, the gadget expects a UDC driver to be loaded and avaiable. If this > is not the case => -ENODEV and bye bye. That means that the gadget > driver

[PATCH 3/9] usb/gadgets: move bind() callback back to struct usb_composite_driver

2012-08-15 Thread Sebastian Andrzej Siewior
This pertly reverts 07a18bd7 ("usb gadget: don't save bind callback in struct usb_composite_driver") and fixes new drivers. The section missmatch problems was solved by whitelisting bind callback in modpost. Signed-off-by: Sebastian Andrzej Siewior --- drivers/staging/ccg/ccg.c |3

[PATCH 5/9] staging/ccg: initialize ret in functionfs_ready_callback()

2012-08-15 Thread Sebastian Andrzej Siewior
The ret variable is not initialized and therefore random. I guess the Android compiler is doing this right :P Cc: de...@driverdev.osuosl.org Signed-off-by: Sebastian Andrzej Siewior --- drivers/staging/ccg/ccg.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/stagi

[PATCH 4/9] usb/gadget: move bind() callback back to struct usb_gadget_driver

2012-08-15 Thread Sebastian Andrzej Siewior
This partly reverts 07a18bd7 ("usb gadget: don't save bind callback in struct usb_composite_driver") and fixes new drivers. The section missmatch problems was solved by whitelisting bind callback in modpost. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/gadget/composite.c|3 ++

[PATCH 7/9] staging/ccg: Allow to overwrite composite's setup function

2012-08-15 Thread Sebastian Andrzej Siewior
I'm not going to swear here. The Android gadget includes composite.c from the main tree and overwrites functions. This would still work if I rename it and remove the const attribute but the problem rises again once we stop including composite.c and use it as a library function. Cc: de...@driverdev

[PATCH 6/9] usb/gadget: remove global struct usb_composite_driver in composite

2012-08-15 Thread Sebastian Andrzej Siewior
The direct user of the gadget driver (composite, dbgp, inode, file_storage) keeps a global variable where it stores a pointer to something which identifies the "current" instance from the time calling usb_gadget_probe_driver() and later in its ->bind() callback. This patch passes the struct usb_gad

[PATCH 8/9] usb/gadget: Add I2C dependency for USB_LPC32XX

2012-08-15 Thread Sebastian Andrzej Siewior
| drivers/usb/gadget/lpc32xx_udc.c: In function ‘isp1301_udc_configure’: | drivers/usb/gadget/lpc32xx_udc.c:606: error: implicit declaration of function ‘i2c_smbus_write_byte_data’ | drivers/usb/gadget/lpc32xx_udc.c:665: error: implicit declaration of function ‘i2c_smbus_read_word_data’ | drivers

[PATCH 9/9] usb/pxa25x: make it compile with debug again

2012-08-15 Thread Sebastian Andrzej Siewior
|drivers/usb/gadget/pxa25x_udc.h: In function 'dump_state': |drivers/usb/gadget/pxa25x_udc.h:228:20: error: invalid type argument of '->' (have 'struct usb_ep') Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/gadget/pxa25x_udc.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Towards library like fucntionality of composite.c

2012-08-15 Thread Sebastian Andrzej Siewior
Hi, The goal of this series is to remove a few global variables within composite.c. In the end we wouldn't #include "composite.c" anymore but use more as library and share across all gadgets. That is a longer way up there, this is the first step. The series was tested with dummy-hcd & mass-storag

[PATCH 2/9] scripts/modpost: add a exception for USB gadget drivers

2012-08-15 Thread Sebastian Andrzej Siewior
The "driver" struct for a gadget driver is named *_driver. On module load, the gadget expects a UDC driver to be loaded and avaiable. If this is not the case => -ENODEV and bye bye. That means that the gadget driver is initialized immediately. The initialization process includes calling ->bind() fo

[PATCH 1/9] gadget/composite: move bind callback into driver struct

2012-08-15 Thread Sebastian Andrzej Siewior
It was moved to be an argument in 07a18bd716ed5 ("usb gadget: don't save bind callback in struct usb_composite_driver"). The reason was to avoid the section missmatch. The warning was shown because ->bind is marked as __init becuase it is a one time init. The warning can be also suppresed by whitel

Re: [PATCHv2 0/8] *** ARM: Update arch-vt8500 to Devicetree ***

2012-08-15 Thread Stephen Warren
On 08/08/2012 07:54 PM, Tony Prisk wrote: > This patchset updates arch-vt8500 to devicetree and removes all the old-style > code. Support for WM8650 has also been added. Sorry for taking such a long time to re-review this. I scanned the series looking for just the changes to the issues I raised o

Re: gadgetfs, functionfs, composite

2012-08-15 Thread Michal Nazarewicz
Sebastian Andrzej Siewior writes: > On 08/15/2012 03:38 PM, Michal Nazarewicz wrote: >> Having said that, at the moment, FFS does not support asynch IO which >> GFS has implemented. I have it on my TODO list but never got to >> implementing it. > > sendpage() & splice() would probably do more goo

Re: [PATCH] USB: option: add ZTE K5006-Z

2012-08-15 Thread Dan Williams
On Wed, 2012-08-15 at 15:43 +0200, Bjørn Mork wrote: > The ZTE (Vodafone) K5006-Z use the following > interface layout: > > 00 DIAG > 01 secondary > 02 modem > 03 networkcard > 04 storage > > Ignoring interface #3 which is handled by the qmi_wwan > driver. At some point you should just start add

Re: usb3 writes fail with transcend rdf8

2012-08-15 Thread Joe Neo
In search of my problem with my new USB-3.0-Cardreader i found this mailiglist. I collected some more facts about the problem reading SDHC-Cards with an USB-3.0 cardreader: Cardreaders: - I have the same problem with the Transcend RDF8K - same problem on Kingston Media Reader FCR-HS3 - same probl

Why is lpc32xx_udc still using old style start/stop functions?

2012-08-15 Thread Sebastian Andrzej Siewior
The new style start/stop interface was merged in 352c2dc8b0, v3.1-rc1. The UDC was merged in 24a28e4, v3.5-rc1. We did not want old style udcs. Is anyone going to convert it to new style start/stop? Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a

Re: Removal of ccg

2012-08-15 Thread Sebastian Andrzej Siewior
On 08/15/2012 05:18 PM, Felipe Balbi wrote: Fair enough. We will see what we can do. In the worst case scenario, we can keep inode.c and ccg out of the rework (continue to support the legacy mode for those two cases for a while) and, maybe, help android folks update their code to use configfs. Ho

Re: Removal of ccg

2012-08-15 Thread Felipe Balbi
On Wed, Aug 15, 2012 at 07:54:35AM -0700, Greg Kroah-Hartmann wrote: > On Wed, Aug 15, 2012 at 05:37:50PM +0300, Felipe Balbi wrote: > > Hi, > > > > On Wed, Aug 15, 2012 at 06:30:20AM -0700, Greg Kroah-Hartmann wrote: > > > On Wed, Aug 15, 2012 at 10:36:14AM +0200, Sebastian Andrzej Siewior wrote:

Re: Potential fsg->state problem at file_storage.c

2012-08-15 Thread Felipe Balbi
Hi, On Wed, Aug 15, 2012 at 11:09:51AM -0400, Alan Stern wrote: > > FYI, dwc3 would look like this: > > > > diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c > > index e09a7c4..723a530 100644 > > --- a/drivers/usb/dwc3/gadget.c > > +++ b/drivers/usb/dwc3/gadget.c > > @@ -1846,6 +

Re: Potential fsg->state problem at file_storage.c

2012-08-15 Thread Alan Stern
On Wed, 15 Aug 2012, Felipe Balbi wrote: > > A better solution would be to have separate gadget driver callbacks for > > Reset and Disconnect. Then we could do the fsg_lun_fsync_sub() only > > during disconnect, not during reset. > > > > Alternatively, we could keep the single existing Disconnec

Re: Removal of ccg

2012-08-15 Thread Greg Kroah-Hartmann
On Wed, Aug 15, 2012 at 05:37:50PM +0300, Felipe Balbi wrote: > Hi, > > On Wed, Aug 15, 2012 at 06:30:20AM -0700, Greg Kroah-Hartmann wrote: > > On Wed, Aug 15, 2012 at 10:36:14AM +0200, Sebastian Andrzej Siewior wrote: > > > On the TODO list I read convert from sysfs to configfs. Great. That > >

Re: 10 seconds lag when connecting UPS device (usb_submit_urb(ctrl) failed: -1)

2012-08-15 Thread Alan Stern
On Tue, 14 Aug 2012, Laurent Bigonville wrote: > > But does the UPS work okay when you use the parameter? If it does, > > the quirk information can be added to a permanent table in the usbhid > > driver. > > Yes it seems to work, the userspace driver can communicate with the > device (at least I

Re: Potential fsg->state problem at file_storage.c

2012-08-15 Thread Felipe Balbi
On Wed, Aug 15, 2012 at 10:31:27AM -0400, Alan Stern wrote: > On Wed, 15 Aug 2012, Chen Peter-B29397 wrote: > > > Hi Alan, > > > > One of my colleagues reports a problem that the enumeration will fail if > > the storage has some problems. I can re-produce this problem if I add a > > big delay (li

Re: Removal of ccg

2012-08-15 Thread Felipe Balbi
Hi, On Wed, Aug 15, 2012 at 06:30:20AM -0700, Greg Kroah-Hartmann wrote: > On Wed, Aug 15, 2012 at 10:36:14AM +0200, Sebastian Andrzej Siewior wrote: > > On the TODO list I read convert from sysfs to configfs. Great. That > > means it should become what I suggested some time ago. > > > > The ccg

Re: Prolem of setting DeviceRemovable according ACPI information

2012-08-15 Thread Alan Stern
On Tue, 14 Aug 2012, Lan Tianyu wrote: > hi Alan: > Thanks for your reminder. Another question is that some hcds'(e.g xhci) > DeviceRemovable have > been set. They may be conflict with acpi information. How should we deal with > the conflict? I don't know. Let's see what Sarah thinks (wh

Re: [PATCH 4/5] drivers/usb/host/ohci-platform.c: fix error return code

2012-08-15 Thread Alan Stern
On Tue, 14 Aug 2012, Julia Lawall wrote: > From: Julia Lawall > > Convert a possibly 0 error return code to a negative one, as returned > elsewhere in the function. > diff --git a/drivers/usb/host/ohci-platform.c > b/drivers/usb/host/ohci-platform.c > index 10d85b9..e24ec9f 100644 > --- a/driv

Re: [PATCH 5/5] drivers/usb/host/ehci-platform.c: fix error return code

2012-08-15 Thread Alan Stern
On Tue, 14 Aug 2012, Julia Lawall wrote: > From: Julia Lawall > > Convert a possibly 0 error return code to a negative one, as returned > elsewhere in the function. ... > diff --git a/drivers/usb/host/ehci-platform.c > b/drivers/usb/host/ehci-platform.c > index 91acdde..764e010 100644 > --- a

Re: [PATCH v7 00/11] usb: musb: adding multi instance support

2012-08-15 Thread Christopher Harvey
On Thu, Aug 02, 2012 at 05:42:43PM +0530, Ravi Babu wrote: > This series of patches adds, > a) Multi instances support in musb driver > b) DT support for musb_dsps glue layer > c) DT support for NOP transceiver > > AM33xx and TI81xx has dual musb controller and has two usb PHY of same type. > This

Re: Removal of ccg

2012-08-15 Thread Greg Kroah-Hartmann
On Wed, Aug 15, 2012 at 04:27:35PM +0200, Sebastian Andrzej Siewior wrote: > On 08/15/2012 04:19 PM, Greg Kroah-Hartmann wrote: > >>This does not solve all problems and provides a sysfs based interface. > > > >That's why it is in the staging tree, but it's also there because people > >are using and

Re: Potential fsg->state problem at file_storage.c

2012-08-15 Thread Alan Stern
On Wed, 15 Aug 2012, Chen Peter-B29397 wrote: > Hi Alan, > > One of my colleagues reports a problem that the enumeration will fail if > the storage has some problems. I can re-produce this problem if I add a > big delay (like 500ms) at handle_exception, at condition FSG_STATE_DISCONNECT, > please

Re: Removal of ccg

2012-08-15 Thread Sebastian Andrzej Siewior
On 08/15/2012 04:19 PM, Greg Kroah-Hartmann wrote: This does not solve all problems and provides a sysfs based interface. That's why it is in the staging tree, but it's also there because people are using and relying on it at the moment. The first item on the TODO list changes the user interf

Re: Removal of ccg

2012-08-15 Thread Greg Kroah-Hartmann
On Wed, Aug 15, 2012 at 04:10:46PM +0200, Sebastian Andrzej Siewior wrote: > On 08/15/2012 03:30 PM, Greg Kroah-Hartmann wrote: > >On Wed, Aug 15, 2012 at 10:36:14AM +0200, Sebastian Andrzej Siewior wrote: > >>On the TODO list I read convert from sysfs to configfs. Great. That > >>means it should b

Re: gadgetfs, functionfs, composite

2012-08-15 Thread Sebastian Andrzej Siewior
On 08/15/2012 03:38 PM, Michal Nazarewicz wrote: At this point the cleaning lady in my woke up: May I please remove inode.c, please? We don't need two APIs for the same thing. Like Felipe and Alan has pointed, GFS API is not compatible with FFS API, so just deleting it could potentially break s

Re: Removal of ccg

2012-08-15 Thread Sebastian Andrzej Siewior
On 08/15/2012 03:30 PM, Greg Kroah-Hartmann wrote: On Wed, Aug 15, 2012 at 10:36:14AM +0200, Sebastian Andrzej Siewior wrote: On the TODO list I read convert from sysfs to configfs. Great. That means it should become what I suggested some time ago. The ccg code is thight on sysfs, there is hard

Re: gadgetfs, functionfs, composite

2012-08-15 Thread Greg KH
On Wed, Aug 15, 2012 at 11:20:09AM +0300, Felipe Balbi wrote: > > Based on this it looks like we are stuck with this? No cleaning lady > > here? > > Either that or we keep gadgetfs out of the whole configfs rewrite and > schedule gadgetfs for removal on v4.8 or something... I agree, we need to ke

Re: [PATCH 3/8] usb/acpi: Bind ACPI node to USB port, not usb_device.

2012-08-15 Thread Lan Tianyu
于 2012/8/15 21:32, Greg Kroah-Hartman 写道: On Wed, Aug 15, 2012 at 10:29:50AM +0800, Lan Tianyu wrote: On 2012年08月15日 08:28, Greg Kroah-Hartman wrote: On Tue, Jul 17, 2012 at 03:28:43PM -0700, Sarah Sharp wrote: --- a/drivers/usb/core/usb.h +++ b/drivers/usb/core/usb.h @@ -1,5 +1,9 @@ #includ

[PATCH] USB: option: add ZTE K5006-Z

2012-08-15 Thread Bjørn Mork
The ZTE (Vodafone) K5006-Z use the following interface layout: 00 DIAG 01 secondary 02 modem 03 networkcard 04 storage Ignoring interface #3 which is handled by the qmi_wwan driver. Cc: Thomas Schäfer Cc: Signed-off-by: Bjørn Mork --- drivers/usb/serial/option.c |2 ++ 1 file changed, 2

[PATCH net] net: qmi_wwan: new devices: UML290 and K5006-Z

2012-08-15 Thread Bjørn Mork
Newer firmware versions for the Pantech UML290 use a different subclass ID. The Windows driver match on both IDs, so we do that as well. The ZTE (Vodafone) K5006-Z is a new device. Cc: Dan Williams Cc: Thomas Schäfer Signed-off-by: Bjørn Mork --- I'll prepare a backport for stable-3.4 and -3.

Re: [PATCH 3/8] usb/acpi: Bind ACPI node to USB port, not usb_device.

2012-08-15 Thread Greg Kroah-Hartman
On Wed, Aug 15, 2012 at 10:29:50AM +0800, Lan Tianyu wrote: > On 2012年08月15日 08:28, Greg Kroah-Hartman wrote: > > On Tue, Jul 17, 2012 at 03:28:43PM -0700, Sarah Sharp wrote: > >> --- a/drivers/usb/core/usb.h > >> +++ b/drivers/usb/core/usb.h > >> @@ -1,5 +1,9 @@ > >> #include > >> > >> +#ifdef

Re: gadgetfs, functionfs, composite

2012-08-15 Thread Michal Nazarewicz
Sebastian Andrzej Siewior writes: > So gadgetfs. Its ep0 handling can be done in kernel and some requests > can be offloded to userland. Lets assume the host sends > USB_REQ_SET_INTERFACE and ->usermode_setup is set. That means it returns > with 0 (aka ACKs the request), wakes up the ep0 userland

Re: [PATCH 1/8] usb: make usb port a real device

2012-08-15 Thread Greg Kroah-Hartman
On Wed, Aug 15, 2012 at 09:58:33AM +0800, Lan Tianyu wrote: > On 2012年08月15日 08:27, Greg Kroah-Hartman wrote: > > On Tue, Jul 17, 2012 at 03:28:42PM -0700, Sarah Sharp wrote: > >> From: Lan Tianyu > >> > >> This patch turns each USB port on a hub into a new struct device. This > >> new device has

Re: Removal of ccg

2012-08-15 Thread Greg Kroah-Hartmann
On Wed, Aug 15, 2012 at 10:36:14AM +0200, Sebastian Andrzej Siewior wrote: > On the TODO list I read convert from sysfs to configfs. Great. That > means it should become what I suggested some time ago. > > The ccg code is thight on sysfs, there is hardly generic code available > which could be reu

Re: [PATCH 1/2] input: usb: hid: Bump maximum global item tag report size to 128 bytes

2012-08-15 Thread Marek Vasut
Dear Jiri Kosina, > On Sun, 5 Aug 2012, Marek Vasut wrote: > > The Freescale i.MX28 BootROM USB recovery mode implements the USB HID > > protocol, yet the global item tag report size is 128. Linux checks if > > this is 96 as of now, see [1]. This causes Linux to refuse to communicate > > with this

Potential fsg->state problem at file_storage.c

2012-08-15 Thread Chen Peter-B29397
Hi Alan, One of my colleagues reports a problem that the enumeration will fail if the storage has some problems. I can re-produce this problem if I add a big delay (like 500ms) at handle_exception, at condition FSG_STATE_DISCONNECT, please see below code: 3050 case FSG_STATE_DISCONNECT:

[PATCH] usb: dwc3: gadget: warn about endpoint already enabled before changing ep name

2012-08-15 Thread Felipe Balbi
In case some gadget driver tries to enable an endpoint which is already enabled, we print a nice WARN so we can track broken gadget drivers. The only problem is that we're printing the WARN when we already changed endpoint's name, which would result in endpoints named as: ep1in-bulk-bulk-bulk-bulk

Re: USB interrupt times

2012-08-15 Thread Russell King
On Wed, Aug 15, 2012 at 11:02:37AM +0200, Jiri Kosina wrote: > On Tue, 14 Aug 2012, Russell King wrote: > > > > Actually, Henrik (added to CC) has been doing some latency improvements > > > both for input core in general, and for HID devices as well lately. I > > > still have his patchset in my

Re: USB interrupt times

2012-08-15 Thread Jiri Kosina
On Tue, 14 Aug 2012, Russell King wrote: > > Actually, Henrik (added to CC) has been doing some latency improvements > > both for input core in general, and for HID devices as well lately. I > > still have his patchset in my to-review queue, as I have just came back > > from offline vacation, b

Re: [PATCH 2/2] input: usb: hid: Add quirk for Freescale i.MX28 ROM recovery

2012-08-15 Thread Jiri Kosina
On Sun, 5 Aug 2012, Marek Vasut wrote: > > diff --git a/drivers/hid/usbhid/hid-quirks.c > > b/drivers/hid/usbhid/hid-quirks.c index 903eef3..6a09570 100644 > > --- a/drivers/hid/usbhid/hid-quirks.c > > +++ b/drivers/hid/usbhid/hid-quirks.c > > @@ -101,6 +101,7 @@ static const struct hid_blacklist

Removal of ccg

2012-08-15 Thread Sebastian Andrzej Siewior
On the TODO list I read convert from sysfs to configfs. Great. That means it should become what I suggested some time ago. The ccg code is thight on sysfs, there is hardly generic code available which could be reused with the configfs interface. So can we remove ccg from staging right away? I don'

Re: [PATCH 1/2] input: usb: hid: Bump maximum global item tag report size to 128 bytes

2012-08-15 Thread Jiri Kosina
On Sun, 5 Aug 2012, Marek Vasut wrote: > The Freescale i.MX28 BootROM USB recovery mode implements the USB HID > protocol, yet the global item tag report size is 128. Linux checks if > this is 96 as of now, see [1]. This causes Linux to refuse to communicate > with this device, making it impossibl

Re: [PATCH net 0/3] qmi_wwan: simplify device matching and add a few new devices

2012-08-15 Thread Bjørn Mork
David Miller writes: > Ok I changed my mind and applied this to 'net'. Thanks. Bjørn -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: gadgetfs, functionfs, composite

2012-08-15 Thread Felipe Balbi
HI, On Wed, Aug 15, 2012 at 10:17:46AM +0200, Sebastian Andrzej Siewior wrote: > On 08/15/2012 08:11 AM, Felipe Balbi wrote: > >>So gadgetfs. Its ep0 handling can be done in kernel and some requests > >>can be offloded to userland. Lets assume the host sends > >>USB_REQ_SET_INTERFACE and ->usermod

Re: gadgetfs, functionfs, composite

2012-08-15 Thread Sebastian Andrzej Siewior
On 08/15/2012 08:11 AM, Felipe Balbi wrote: So gadgetfs. Its ep0 handling can be done in kernel and some requests can be offloded to userland. Lets assume the host sends USB_REQ_SET_INTERFACE and ->usermode_setup is set. That means it returns with 0 (aka ACKs the request), wakes up the ep0 userla

Re: [RFC 0/2] USB gadget - configfs

2012-08-15 Thread Joel Becker
On Tue, Jul 10, 2012 at 10:54:44AM +0200, Andrzej Pietrasiewicz wrote: > Dear Joel, > > Thank you for your review. > > @Sebastian, Alan, Felipe: Thank you, too. > > On Monday, July 02, 2012 11:09 AM Joel Becker wrote: > > > > > > > > As a prerequisite it adds an operation to configfs. The op