[linux-usb-devel] Please reactivate your Yahoo! Groups email address

2007-07-10 Thread Yahoo!Groups
Dear Yahoo! Groups member, You belong to one or more email groups provided by Yahoo! Groups (groups.yahoo.com). Recently, messages sent to you from Yahoo! Groups have been returned to us as undeliverable. As a result, we have temporarily turned off message delivery to this email address. If

[linux-usb-devel] genuflect convenient

2007-07-10 Thread Hull
VPSN Has Wild Day as Stock climbs $0.019 (90.48%) GAIN! VISION AIRSHIPS INC (Other OTC:VPSN.PK) The 24 hrs has been a sky rocket for VPSN. With major news to be released stirring interest has brought huge returns for investors. The key is, knowing when to get on and when to get off a stock, for s

Re: [linux-usb-devel] How to Suspend/Resume a usb device

2007-07-10 Thread Felipe Balbi
On 7/9/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Mon, 9 Jul 2007, Felipe Balbi wrote: > > > Hello all, > > > > How could I suspend/resume a usb device using libusb? I saw there's a > > function for reseting the device but what about suspending/resuming > > it? > > There's no way to do it using

[linux-usb-devel] [patch]additions to the quirk list

2007-07-10 Thread Oliver Neukum
Hi, this adds some scanners reported to be crashed by autosuspend to the quirk list. Regards Oliver Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> -- --- a/drivers/usb/core/quirks.c 2007-07-10 12:55:56.0 +0200 +++ b/drivers/usb/core/quirks.c 2007-07-10 12:56:04

Re: [linux-usb-devel] [PATCH] PXA27x UDC driver.

2007-07-10 Thread Vernon Sauder
Rodolfo Giometti wrote: > That's what I wish to do... I wish cleaning up as much possible my > pxa27x version af the driver so we can have something common where we > can work on. > > Sorry for the delay but in these next days I'll read back all your > suggestions and I'll provide a new patch ASAP.

Re: [linux-usb-devel] [PATCH] isp116x-hcd: prepare for urb->status

2007-07-10 Thread Alan Stern
On Fri, 06 Jul 2007, Alan Stern wrote: > This patch (as931), 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. Greg: Please ignore this submission. Offline discussion has indicated that om

Re: [linux-usb-devel] [PATCH] isp116x-hcd: prepare for urb->status

2007-07-10 Thread Greg KH
On Tue, Jul 10, 2007 at 11:02:24AM -0400, Alan Stern wrote: > On Fri, 06 Jul 2007, Alan Stern wrote: > > > This patch (as931), 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. > > Greg:

Re: [linux-usb-devel] [PATCH] PXA27x UDC driver.

2007-07-10 Thread Rodolfo Giometti
On Thu, Jun 28, 2007 at 02:29:49PM -0700, Andrew Morton wrote: > > > > + > > +static int > > +write_packet(volatile u32 * uddr, struct pxa27x_request *req, unsigned max) > > Please review Documentation/volatile-considered-harmful.txt The attibute volatile here is necessary in order to avoid getti

Re: [linux-usb-devel] [PATCH] PXA27x UDC driver.

2007-07-10 Thread Lothar Wassmann
Hi, > > > +static int > > > +write_packet(volatile u32 * uddr, struct pxa27x_request *req, unsigned > > > max) > > > > Please review Documentation/volatile-considered-harmful.txt > > The attibute volatile here is necessary in order to avoid getting the > following warnings from the compiler: >

Re: [linux-usb-devel] [PATCH]: cdc-subset to support new vendor/product ID

2007-07-10 Thread Jeff Garzik
jing xiang wrote: > Hi, > > This patch is for cdc subset to support Mavell vendor/product ID. > > Jing Xiang > > Signed-off-by: Jing Xiang<[EMAIL PROTECTED]> > > diff -uNpr linux-2.6.21.5/driver/usb/net/cdc_subset.c > linux-2.6.21.5.t/driver/usb/net/cdc_subset.c > --- linux-2.6.21.5/driver/usb/

Re: [linux-usb-devel] [PATCH] PXA27x UDC driver.

2007-07-10 Thread David Brownell
On Monday 09 July 2007, Rodolfo Giometti wrote: > On Sat, Jun 30, 2007 at 06:46:14AM -0700, David Brownell wrote: > > > > Has someone actually signed up to develop and maintain such a > > controller driver? If so, that would be a Fine Thing, but not > > one I've heard rumored before. I've assume

[linux-usb-devel] [patch 00/16] Authorizing (or not) USB devices to connect #3

2007-07-10 Thread inaky
Hi All This is another iteration of the authorization patches. Below I include the same design/rationale for the implementation. Since try #2, this is what has changed: - ported over to 2.6.22 - added docs in Documentation/usb - Moved from using device class to the device directory - add usb_dev_

[linux-usb-devel] [patch 03/16] usb: usb_get_configuration() obeys authorization

2007-07-10 Thread inaky
If called and the device is not authorized to be used, then we don't allow reading the configurations. Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> --- drivers/usb/core/config.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) Index: linux.hg/drivers/us

[linux-usb-devel] [patch 05/16] usb: usb_generic_probe() obeys authorization

2007-07-10 Thread inaky
If called and the device is not authorized to be used, then we won't choose a configuration (as they are not a concept that exists for an unauthorized device). However, the device is added to the system. Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> --- drivers/usb/core/generic.c | 1

[linux-usb-devel] [patch 07/16] usb: cleanup usb_register_bus() and hook up sysfs group

2007-07-10 Thread inaky
This path cleans the exit paths of usb_register_bus() [to use a goto schema], maximum line length (keeping it under ~75). Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> --- drivers/usb/core/hcd.c | 33 ++--- 1 file changed, 18 insertions(+), 15 deletions(-)

[linux-usb-devel] [patch 08/16] usb: usb_register_bus() - add sysfs group for authorized_default

2007-07-10 Thread inaky
This patch adds the hookup of the /sys/class/usb_host/*/authorized_default to usb_register_bus() and usb_unregister_bus(). Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> --- drivers/usb/core/hcd.c |9 + 1 file changed, 9 insertions(+) Index: linux.hg/drivers/usb/core/hcd.c

[linux-usb-devel] [patch 09/16] usb: initialize authorization and wusb bits in USB devices

2007-07-10 Thread inaky
Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> --- drivers/usb/core/usb.c | 12 1 file changed, 12 insertions(+) Index: linux.hg/drivers/usb/core/usb.c === --- linux.hg.orig/drivers/usb/core/usb.c2007

[linux-usb-devel] [patch 06/16] usb: add the concept of default authorization to USB hosts

2007-07-10 Thread inaky
This introduces /sys/class/usb_host/*/authorized_default; it dictates what is going to be the default authorization state for devices connected to the host. User space can set that using the sysfs file. By default it is set to be 'authorized' (!0) for normal, wired USB devices and 'unauthorized' (

[linux-usb-devel] [patch 13/16] wusb: teach choose_address() about wireless devices

2007-07-10 Thread inaky
Modify choose_address() so it knows about our special scheme of addressing WUSB devices (1:1 w/ port number). Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> --- drivers/usb/core/hub.c | 34 +- 1 file changed, 25 insertions(+), 9 deletions(-) Index: lin

[linux-usb-devel] [patch 10/16] usb: split usb_new_device for clarity and refactoring

2007-07-10 Thread inaky
This patch takes hub.c:usb_new_device() and splits it in three parts: - The actual actions of adding a new device (quirk detection, announcement and autoresume tracking) - Actual discovery and probing of the configuration and interfaces (split into __usb_configure_device()) - Configuration o

[linux-usb-devel] [patch 12/16] usb: hook up device authorization to sysfs

2007-07-10 Thread inaky
Makes it possible to control the authorization of USB devices through sysfs's /sys/usb/devices/*/authorize. Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> --- drivers/usb/core/devio.c | 64 +-- 1 file changed, 62 insertions(+), 2 deletions(

[linux-usb-devel] [patch 16/16] usb: document device authorization

2007-07-10 Thread inaky
Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> --- Documentation/usb/authorization.txt | 92 1 file changed, 92 insertions(+) Index: linux.hg/Documentation/usb/authorization.txt === --

[linux-usb-devel] [patch 01/16] usb: introduce usb_device authorization bits

2007-07-10 Thread inaky
This just modifies 'struct usb_device' to contain the 'authorized' bit. It also adds a 'wusb' bit. This is needed because nonauthorized (and thus non-authenticated) wusb devices will fail certain kind of simple requests (such as string descriptors). By knowing the device is WUSB, we just avoid them

[linux-usb-devel] [patch 11/16] usb: introduce usb_authorize/deauthorize()

2007-07-10 Thread inaky
These USB API functions will do the full authorization/deauthorization to be used for a device. When authorized we effectively allow a configuration to be set. Reverse that when deauthorized. Effectively this means that we have to clean all the configuration descriptors on deauthorize and reload t

[linux-usb-devel] [patch 15/16] usb: add usb_dev_reset_delayed

2007-07-10 Thread inaky
Introduce a new utility function to be able to reset a device from interrupt context using a workqueue. If a reset is already pending, it won't schedule another one. Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> --- drivers/usb/core/hub.c | 92 +++

[linux-usb-devel] [patch 14/16] wusb: add authenticathed bit to usb_dev

2007-07-10 Thread inaky
This bit indicates the system that the WUSB device has been crypto authenticated and thus can operate as normal. Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> --- include/linux/usb.h |1 + 1 file changed, 1 insertion(+) Index: linux.hg/include/linux/usb.h =

[linux-usb-devel] [patch 02/16] usb: usb_set_configuration() obeys authorization

2007-07-10 Thread inaky
Will refuse to configure a non-authorized device. Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> --- drivers/usb/core/message.c |5 + 1 file changed, 5 insertions(+) Index: linux.hg/drivers/usb/core/message.c ===

[linux-usb-devel] [patch 04/16] usb: usb_probe_interface() obeys authorization

2007-07-10 Thread inaky
If called and the device is not authorized to be used, it won't configure the interface and print a message saying so. Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> --- drivers/usb/core/driver.c |5 + 1 file changed, 5 insertions(+) Index: linux.hg/drivers/usb/core/driver.c =

Re: [linux-usb-devel] [Em28xx] dvb-core random crashes

2007-07-10 Thread Alan Stern
On Tue, 10 Jul 2007, Christoph wrote: > Alan Stern schrieb: > > On Sun, 8 Jul 2007, Markus Rechberger wrote: > > > >> On 7/8/07, Christoph <[EMAIL PROTECTED]> wrote: > >>> Hallo Markus! > >>> > >>> I'm using a Pinnacle PCTV DVB-T for several months now without serious > >>> problems. > >>> So far

Re: [linux-usb-devel] [Em28xx] dvb-core random crashes

2007-07-10 Thread David Brownell
On Tuesday 10 July 2007, Alan Stern wrote: > On Tue, 10 Jul 2007, Christoph wrote: > > > For whatever it's worth, the crash occurred in end_async_unlink because > > > ehci->reclaim was NULL. This may imply that ehci->reclaim_ready was > > > set when it shouldn't be. Don't ask me how either of th

[linux-usb-devel] Trust WB-5400 webcam

2007-07-10 Thread Rial Juan
A while ago (see http://sourceforge.net/mailarchive/message.php?msg_name=200703012044.54014.laurent.pinchart%40skynet.be ) there was a thread about support for the Trust WB-5400 webcam, that ended in a request for the output of lsusb -v but never got replied to. Well, here's the output of lsusb

[linux-usb-devel] patch usb-add-usb_autopm_get_interface_burst.patch added to gregkh-2.6 tree

2007-07-10 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: USB: add usb_autopm_get_interface_burst() to my gregkh-2.6 tree. Its filename is usb-add-usb_autopm_get_interface_burst.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/gr

[linux-usb-devel] patch usb-storage-implement-autosuspend.patch added to gregkh-2.6 tree

2007-07-10 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: [PATCH 2/2] usb-storage: implement autosuspend to my gregkh-2.6 tree. Its filename is usb-storage-implement-autosuspend.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/gr

Re: [linux-usb-devel] patch usb-add-usb_autopm_get_interface_burst.patch added to gregkh-2.6 tree

2007-07-10 Thread Alan Stern
On Tue, 10 Jul 2007 [EMAIL PROTECTED] wrote: > This is a note to let you know that I've just added the patch titled > > Subject: USB: add usb_autopm_get_interface_burst() > > to my gregkh-2.6 tree. Its filename is > > usb-add-usb_autopm_get_interface_burst.patch > > This tree can be

Re: [linux-usb-devel] [PATCH] Printer Gadget Driver v0.2.0 (kernel 2.6.21.3)

2007-07-10 Thread David Brownell
Finally, I made time to review this code! On Monday 25 June 2007, Craig W. Nadler wrote: > --- a/Documentation/usb/gadget_printer.txt  1969-12-31 19:00:00.0 > -0500 > +++ b/Documentation/usb/gadget_printer.txt  2007-06-26 00:03:59.0 > -0400 > @@ -0,0 +1,498 @@ > + ..

Re: [linux-usb-devel] High speed devices with kernel 2.6.21.5.

2007-07-10 Thread Branden Sletteland
Just tried 2.6.21-rc1 and I get the same problem. Are there snap shots before this? Attached is a dmesg dump from a 2.6.20.11 kernel on the same hardware config. Branden On 6/30/07, Alan Stern <[EMAIL PROTECTED]> wrote: On Sat, 30 Jun 2007, Branden Sletteland wrote: > Yes, we have been using

Re: [linux-usb-devel] patch usb-add-usb_autopm_get_interface_burst.patch added to gregkh-2.6 tree

2007-07-10 Thread Greg KH
On Tue, Jul 10, 2007 at 05:46:02PM -0400, Alan Stern wrote: > On Tue, 10 Jul 2007 [EMAIL PROTECTED] wrote: > > > This is a note to let you know that I've just added the patch titled > > > > Subject: USB: add usb_autopm_get_interface_burst() > > > > to my gregkh-2.6 tree. Its filename is >

[linux-usb-devel] usblp: "Big cleanup" breaks O_NONBLOCK

2007-07-10 Thread Pete Zaitcev
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 pretend that the transfer has succeeded

Re: [linux-usb-devel] Trust WB-5400 webcam

2007-07-10 Thread Steve Calfee
At 01:22 PM 7/10/2007, Rial Juan wrote: >Bus 007 Device 003: ID 0c45:624e Microdia >Device Descriptor: > bLength18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass0 (Defined at Interface level) > bDeviceSubClass 0 > bDeviceProto

[linux-usb-devel] New driver proposal: iuu_phoenix

2007-07-10 Thread Alain Degreffe
Hi, I try to make a new driver for infinity unlimited usb. I use the usbserial layer to manage the lowlevel functions like probing or ttyUSBx creation/selection. The driver works but only after a first sequence "open and close" of the device by a program in the user space. After this first "open/cl