On Thu, Jul 19, 2007 at 07:54:22PM +0200, Alain Degreffe wrote:
> I have a newbie question :-)
>
> I would like to have to threads: 1 reading process and one writing
> process...
>
> For the moment as soon I write to device, I begin to read the answer but it
> is not very efficient because the is
From: S.Caglar Onur <[EMAIL PROTECTED]>
Following trivial patch converts smarttabs/whitespaces into real tabs.
Signed-off-by: S.Caglar Onur <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/storage/dpcm.c | 56 ++--
From: Yoshihiro Shimoda <[EMAIL PROTECTED]>
This patch incorporates some updates. Updates include:
- Fix the problem that control transfer might fail
- Change from GFP_KERNEL to GFP_ATOMIC
- Clean up some coding style issue
Signed-off-by: Yoshihiro Shimoda <[EMAIL PROTECTED]>
Signed-off-by: G
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as940 renames hcd_data_lock in hcd.c to hcd_urb_list_lock,
which is more descriptive of the lock's job. It also introduces a
convenient inline routine for testing whether a particular USB device
is a root hub.
Signed-off-by: Alan Stern <[EMAIL PRO
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as939) moves a couple of routine in hcd.c around. The
purpose is to put all the general URB- and endpoint-related routines
(submit, unlink, giveback, and disable) together in one spot.
There are no functional changes.
Signed-off-by: Alan Stern <[
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/uss720.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/mi
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/usbtest.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/mi
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/usblcd.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/phidgetmotorcontrol.c | 13 +++--
1 files changed, 7 insertions(+), 6 deletions(-)
diff -
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/phidgetkit.c | 13 +++--
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/dr
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/legousbtower.c | 28 +++-
1 files changed, 15 insertions(+), 13 deletions(
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/ldusb.c | 20 +++-
1 files changed, 11 insertions(+), 9 deletions(-)
diff --git a
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/iowarrior.c | 21 -
1 files changed, 12 insertions(+), 9 deletions(-)
diff --
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/ftdi-elan.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/auerswald.c | 25 +++--
1 files changed, 15 insertions(+), 10 deletions(-)
di
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/appledisplay.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/driv
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/adutux.c | 24 +---
1 files changed, 13 insertions(+), 11 deletions(-)
diff -
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/core/message.c | 34 ++
1 files changed, 18 insertions(+), 16 deletions
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/image/microtek.c | 19 ++-
1 files changed, 10 insertions(+), 9 deletions(-)
diff --gi
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/image/mdc800.c | 45 ---
1 files changed, 21 insertions(+), 24
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/storage/onetouch.c | 13 +++--
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/d
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/class/usblp.c | 18 ++
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/class/cdc-acm.c | 18 ++
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/atm/usbatm.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/u
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/atm/ueagle-atm.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/us
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/atm/speedtch.c |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/usb
This done in anticipation of removal of urb->status, which will make
that patch easier to review and apply in the future.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/atm/cxacru.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/atm/c
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as938) adds an unusual_devs entry for the Nikon DSC D100.
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
Cc: Phil Dibowitz <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/storage/unusual_devs.h |7 +
From: Jesper Juhl <[EMAIL PROTECTED]>
Coverity scan found (CID: 1708) this in
drivers/usb/serial/io_ti.c::edge_shutdown() :
...
2797for (i=0; i < serial->num_ports; ++i) {
2798edge_port = usb_get_serial_port_data(serial->port[i]);
2799edge_remov
From: Thomas Dahlmann <[EMAIL PROTECTED]>
MAINTAINERS entry for amd5536udc driver.
Signed-off-by: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
MAINTAINERS |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/M
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as936) updates the kerneldoc for usb_unlink_urb. The
explanation of how endpoint queues are meant to work is now clearer
and in better agreement with reality.
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL
From: Alan Stern <[EMAIL PROTECTED]>
It has recently been pointed out that short control transfers should
have a status stage, even if they generate an error because
URB_SHORT_NOT_OK was set. This patch (as935) changes uhci-hcd to
enable the status stage when this happens.
Signed-off-by: Alan St
From: Florin Malita <[EMAIL PROTECTED]>
Coverity (1709, 1710, 1711, 1712, 1713) actually flagged these as
REVERSE_INULLs (NULL check performed after dereference). But looking at
the other drivers I can't see any similar tests and the USB core already
makes sure urb is non-null - so might as well g
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as937) fixes a minor bug in the autosuspend usage-counting
code. Each hub's usage counter keeps track of the number of
unsuspended children. However the current driver increments the
counter after registering a new child, by which time the child m
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as934) adds a new readonly binary sysfs attribute file
called "descriptors" for each USB device. The attribute contains the
device descriptor followed by the raw descriptor entry (config plug
subsidiary descriptors) for the current configuration.
From: Alan Stern <[EMAIL PROTECTED]>
This patch (as931b), adapted from a patch by Olav Kongas, makes a small
set of conservative changes to the isp116x-hcd driver in preparation
for the removal of urb->status.
finish_request() is moved up in the source and is called
as soon as the
From: Pete Zaitcev <[EMAIL PROTECTED]>
I found the first regresson in the rewritten ("all dynamic" and "no races")
driver. If application uses O_NONBLOCK, I return -EAGAIN despite the URB
being submitted successfuly. This causes the application to resubmit the
same data erroneously.
The fix is to
From: Kevin Lloyd <[EMAIL PROTECTED]>
This patch adds new devices to the Sierra Wireless driver. This is being
resubmitted because the dependent patch (patch 01/02) needed to be
resubmitted.
Signed-off-by: Kevin Lloyd <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
From: Kevin Lloyd <[EMAIL PROTECTED]>
This patch adds compatibility with Sierra Wireless' new TRU-Install
feature. Future devices that use this feature will not work unless this
patch has been applied.
Signed-off-by: Kevin Lloyd <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTEC
From: Matthias Kaehlcke <[EMAIL PROTECTED]>
The FTDI ELAN driver uses a semaphore as mutex. Use the mutex API
instead of the (binary) semaphore.
Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/ftdi-elan.c | 13
From: Matthias Kaehlcke <[EMAIL PROTECTED]>
The Adutux driver uses a semaphore as mutex. Use the mutex API
instead of the (binary) semaphore.
Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/misc/adutux.c | 35 ++
From: Matthias Kaehlcke <[EMAIL PROTECTED]>
The ELAN U132 adapter driver uses the semaphore u132_module_lock
as mutex. Use the mutex API instead of the (binary) semaphore.
Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/h
From: Matthias Kaehlcke <[EMAIL PROTECTED]>
The USB gadget serial driver uses a semaphore as mutex. Use the
mutex API instead of the (binary) semaphore.
Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>
Acked-by: David Brownell <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROT
Here are some more USB patches and fixes against your 2.6.22 git tree.
They add a new usb gadget driver, more urb->status cleanups, a new sysfs
attribute to get the raw config of the usb device, and some bugfixes and
documentation updates.
Please pull from:
master.kernel.org:/pub/scm/linu
Alan Stern wrote:
>> I've tried a suspend / resume cycle with another USB serial device, a
>> Belkin RS-232 serial converter which uses the mct_u232 driver.
>>
>> And here we're seeing basically the same thing. When initially plugged
>> in, it comes up as /dev/ttyUSB0. I can fire up minicom, a
On Thu, 19 Jul 2007 12:56:59 -0700 (PDT)
[EMAIL PROTECTED] wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=8783
>
>Summary: drivers/usb/serial/ipaq.c, synce does not work with
> Pocket PC (XDA), OS version 3.19
>Product: Drivers
>Version
On Thu, 19 Jul 2007, James Graves wrote:
> Hello all,
>
> We're working on suspend / resume again with a Sierra Wireless modem
> (the MC8775 in our case).
>
> We're actually doing a 'suspend' this time (instead of 'hibernate').
> The openSUSE website was very helpful in setting up the paramete
Hello all,
We're working on suspend / resume again with a Sierra Wireless modem
(the MC8775 in our case).
We're actually doing a 'suspend' this time (instead of 'hibernate').
The openSUSE website was very helpful in setting up the parameters for
the s2ram utility.
Anyway, the first issue we'
Hello guys, I do have the device here,
kernel 2.6.17.13
I'll start testing as soon as I get home from work ;)
br
On Thu 19 Jul 2007 13:21, Domen Puncer wrote:
> On 19/07/07 11:36 -0500, Alex Villacís Lasso wrote:
> > At last I managed to fix the problem with transfers with the dongle. It
> > ha
On 19/07/07 11:36 -0500, Alex Villacís Lasso wrote:
> At last I managed to fix the problem with transfers with the dongle. It
> happens that this dongle does not support payloads larger than 256
> bytes, so the driver has to manually fragment anything bigger.
>
> The version attached in the tar
I have a newbie question :-)
I would like to have to threads: 1 reading process and one writing
process...
For the moment as soon I write to device, I begin to read the answer but it
is not very efficient because the iso7816 don't give a real way to know if
the write is finish or if the read will
From: Randy Dunlap <[EMAIL PROTECTED]>
Add kernel-doc entries in for:
Warning(linux-2.6.22-git12//include/linux/usb.h:162): No description found for
parameter 'intf_assoc'
Warning(linux-2.6.22-git12//include/linux/usb.h:268): No description found for
parameter 'intf_assoc[USB_MAXIADS]'
Signed
On Thu, Jul 19, 2007 at 12:41:26PM -0400, Jeremy Katz wrote:
> On Thu, 2007-07-19 at 09:11 -0700, Greg KH wrote:
> > On Thu, Jul 19, 2007 at 09:37:42AM -0400, Jeremy Katz wrote:
> > > The Blackberry Pearl can run in two modes; a usb-storage only mode
> > > and a mode that allows access via mass sto
At last I managed to fix the problem with transfers with the dongle. It
happens that this dongle does not support payloads larger than 256
bytes, so the driver has to manually fragment anything bigger.
The version attached in the tarball is the first version I consider
worthy to submit for inc
On Thu, 2007-07-19 at 09:11 -0700, Greg KH wrote:
> On Thu, Jul 19, 2007 at 09:37:42AM -0400, Jeremy Katz wrote:
> > The Blackberry Pearl can run in two modes; a usb-storage only mode
> > and a mode that allows access via mass storage and to its database.
> > The berry_charge module will set the de
Sehr geehrte Damen und Herren,
in dem E-Mail mit dem Betreff '[linux-usb-devel] You've received a postcard
from a Class mate!'
(gesendet am Thu, 19 Jul 2007 18:37:20 +0200) mit der angegebenen
Absenderadresse '"egreetings.com" <[EMAIL PROTECTED]>' wurde der
Virus 'Email.Phishing.RB-1217' gefunden
On Thu, Jul 19, 2007 at 09:37:42AM -0400, Jeremy Katz wrote:
> The Blackberry Pearl can run in two modes; a usb-storage only mode
> and a mode that allows access via mass storage and to its database.
> The berry_charge module will set the device to dual mode and thus we
> should ignore its native m
Jeremy Katz wrote:
> The Blackberry Pearl can run in two modes; a usb-storage only mode
> and a mode that allows access via mass storage and to its database.
> The berry_charge module will set the device to dual mode and thus we
> should ignore its native mode if that module is built
Looks good.
On Wed, 2007-07-18 at 15:57 -0700, Andrew Morton wrote:
> On Tue, 17 Jul 2007 09:10:18 +0200
> Soeren Sonnenburg <[EMAIL PROTECTED]> wrote:
>
> > the attached minimally intrusive patch is based on Matthew Garret's
> > patch 'Make appletouch shut up when it has nothing to say' patches (e.g.
> > htt
On Tue, 17 Jul 2007 09:10:18 +0200
Soeren Sonnenburg <[EMAIL PROTECTED]> wrote:
> the attached minimally intrusive patch is based on Matthew Garret's
> patch 'Make appletouch shut up when it has nothing to say' patches (e.g.
> http://lkml.org/lkml/2007/5/13/117): Matthews description follows /
> s
From: Juergen Beisert <[EMAIL PROTECTED]>
Trivial patch to build the IOWARRIOR when it is selected in Kconfig.
Signed-off-by: Juergen Beisert <[EMAIL PROTECTED]>
Index: drivers/usb/Makefile
===
--- drivers/usb/Makefile
+++ drivers/u
On Wed, 18 Jul 2007, David Brownell wrote:
> On Wednesday 18 July 2007, Alan Stern wrote:
> > We currently don't have any way to go from the endpoint structure to
> > the usb_device structure, so dev is not implicit.
>
> Easy enough to fix if we want. Similarly with the relevant interface
> (a on
Am Donnerstag 19 Juli 2007 schrieb Jeremy Katz:
> On Thu, 2007-07-19 at 15:45 +0200, Oliver Neukum wrote:
> > Am Donnerstag 19 Juli 2007 schrieb Jeremy Katz:
> > > +/* Jeremy Katz <[EMAIL PROTECTED]>:
> > > + * The Blackberry Pearl can run in two modes; a usb-storage only mode
> > > + * and a mode
On Thu, 19 Jul 2007, Oliver Neukum wrote:
> Hi,
>
> it seems to me that some drivers, in particular usbfs & cdc-acm
> are unable to implement reset_resume() because they don't know
> the device state. So what would be the correct response if the
> system is put to sleep while any of these drivers
On Thu, 2007-07-19 at 15:45 +0200, Oliver Neukum wrote:
> Am Donnerstag 19 Juli 2007 schrieb Jeremy Katz:
> > +/* Jeremy Katz <[EMAIL PROTECTED]>:
> > + * The Blackberry Pearl can run in two modes; a usb-storage only mode
> > + * and a mode that allows access via mass storage and to its database.
>
Am Donnerstag 19 Juli 2007 schrieb Jeremy Katz:
> +/* Jeremy Katz <[EMAIL PROTECTED]>:
> + * The Blackberry Pearl can run in two modes; a usb-storage only mode
> + * and a mode that allows access via mass storage and to its database.
> + * The berry_charge module will set the device to dual mode an
The Blackberry Pearl can run in two modes; a usb-storage only mode
and a mode that allows access via mass storage and to its database.
The berry_charge module will set the device to dual mode and thus we
should ignore its native mode if that module is built
Signed-off-by: Jeremy Katz <[EMAIL PROTE
Hi,
it seems to me that some drivers, in particular usbfs & cdc-acm
are unable to implement reset_resume() because they don't know
the device state. So what would be the correct response if the
system is put to sleep while any of these drivers is bound to a device
that has the RESET_RESUME quirk?
Am Donnerstag 19 Juli 2007 schrieb [EMAIL PROTECTED]:
> OOps ;-)
>
> 2 missing characters...
>
> Now it compile without warning or error
>
+ /* shutdown our urbs */
+ dbg("%s - shutting down urbs", __FUNCTION__);
+ result = usb_unlink_urb(port->write_ur
Hi,
our list of devices which cannot be suspended keeps growing.
Regards
Oliver
Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]>
--
--- greg26/drivers/usb/core/quirks.c~ 2007-07-19 08:55:26.0 +0200
+++ greg26/drivers/usb/core/quirks.c2007-07-19 09:52:48.
OOps ;-)
2 missing characters...
Now it compile without warning or error
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Oliver
Neukum
Envoyé : jeudi 19 juillet 2007 8:22
À : linux-usb-devel@lists.sourceforge.net
Cc : Alain Degreffe
Objet : Re: [linux
71 matches
Mail list logo