On Tue, Aug 14, 2012 at 10:21:16PM +0200, Sebastian Andrzej Siewior wrote:
The remaining non-composite users are:
- dbgp
very simple, not doing much ep0
- file_storage
will be removed in v3.8
- gadgetfs
Here are my problems at a central spot.
So gadgetfs. Its ep0 handling can be
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:
snip
As a prerequisite it adds an operation to configfs. The operation
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 -usermode_setup is
David Miller da...@davemloft.net 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
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 impossible
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
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 {
{
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, but the
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 device,
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 reused
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 tianyu@intel.com
This patch turns each USB port on a hub into a new struct device. This
new
Sebastian Andrzej Siewior bige...@linutronix.de 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
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 linux/pm.h
+#ifdef
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 d...@redhat.com
Cc: Thomas Schäfer tschae...@t-online.de
Signed-off-by: Bjørn Mork bj...@mork.no
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 tschae...@t-online.de
Cc: sta...@vger.kernel.org
Signed-off-by: Bjørn Mork bj...@mork.no
---
于 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 @@
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 keep it
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
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 become
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
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 see
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 relying
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 patch
On Tue, 14 Aug 2012, Julia Lawall wrote:
From: Julia Lawall julia.law...@lip6.fr
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
On Tue, 14 Aug 2012, Julia Lawall wrote:
From: Julia Lawall julia.law...@lip6.fr
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
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 (when
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 code is
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 (like 500ms)
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 can see
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
means it
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 Disconnect
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 +1846,15 @@
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:
On
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.
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
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
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 adding them
Sebastian Andrzej Siewior bige...@linutronix.de 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
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
on
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
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() for
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-storage
|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 bige...@linutronix.de
---
drivers/usb/gadget/pxa25x_udc.h |2 +-
1 file changed, 1
| 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’
|
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
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:
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 bige...@linutronix.de
---
Dan Williams d...@redhat.com 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
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 your
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 in
the
50 matches
Mail list logo