Re: [linux-usb-devel] isp1362 hack for isp1161x?

2008-01-30 Thread Felipe Balbi
Hi, On Jan 30, 2008 3:36 AM, Cristian Chiarello <[EMAIL PROTECTED]> wrote: > Hi, > > I have readed "isp116x embedded programming guide" and if I haven't > misunderstood, it's need to add ITL buffer management and to change irq > handler routine. Is this the just way? > > Hack the isp1362 nxp open

testers sought: USB autosuspend for sierra

2008-01-30 Thread Oliver Neukum
Hi, this should implement USB autosuspend and hence some power savings if enabled for devices using the sierra driver. Please test. Regards Oliver --- linux-2.6.24-sierra/drivers/usb/serial/sierra.c.alt 2008-01-29 19:34:49.0 +0100 +++ linux-2.6.24-sierra/dr

Re: [patch v6 3/4] USB: add Cypress c67x00 OTG controller HCD driver

2008-01-30 Thread Peter Korsgaard
> "Alan" == Alan Stern <[EMAIL PROTECTED]> writes: Alan> On Tue, 29 Jan 2008, Peter Korsgaard wrote: >> This patch adds HCD support for the Cypress c67x00 family of devices. >> --- /dev/null >> +++ linux-2.6/drivers/usb/c67x00/c67x00-hcd.c >> +int c67x00_urb_dequeue(struct usb_hcd *hcd,

Re: [BUG] 2.6.24-git usb reset problems

2008-01-30 Thread Jens Axboe
On Wed, Jan 30 2008, Geert Uytterhoeven wrote: > On Tue, 29 Jan 2008, Jens Axboe wrote: > > On Tue, Jan 29 2008, Jens Axboe wrote: > > > On Tue, Jan 29 2008, James Bottomley wrote: > > > > On Tue, 2008-01-29 at 11:10 -0800, Matthew Dharm wrote: > > > > > For some reason, usb_sg_init is boned during

Re: [BUG] 2.6.24-git usb reset problems

2008-01-30 Thread Geert Uytterhoeven
On Tue, 29 Jan 2008, Jens Axboe wrote: > On Tue, Jan 29 2008, Jens Axboe wrote: > > On Tue, Jan 29 2008, James Bottomley wrote: > > > On Tue, 2008-01-29 at 11:10 -0800, Matthew Dharm wrote: > > > > For some reason, usb_sg_init is boned during auto-sense. > > > > > > OK, that's implicating the scsi

some fixes of the sierra driver

2008-01-30 Thread Oliver Neukum
Hi, while I was adding autosuspend to that driver I noticed a few issues. You were having DMAed buffers as a part of a structure. This will fail on platforms that are not DMA-coherent (arm, sparc, ppc, ...) Please test this patch to fix it. Regards Oliver --- linux-

at91 udc and gadget file storage

2008-01-30 Thread Atsushi Nemoto
Hi. I'm trying at91_udc driver with g_file_storage on AT91SAM9260-EK board. I'm using kernel 2.6.24 and 2.6.22(+at91-exp.patch). When I load the g_file_storage module, host can detect storage device soon, but take few _minutes_ to detect its partition table. This storage image file works fine w

rfc:issues on suspend and soft disconnect in serial drivers

2008-01-30 Thread Oliver Neukum
Hi, I've been looking at these issue in usb serial drivers. It seems to me that kill_traffic() should be enhanced. If this is coupled with the enhancements of the anchor stuff I posted recently this removes all races in the drivers not using the standard URBs. Additionally this modification will m

Re: [BUG] 2.6.24-git usb reset problems

2008-01-30 Thread James Bottomley
On Wed, 2008-01-30 at 11:38 +0100, Jens Axboe wrote: > On Wed, Jan 30 2008, Geert Uytterhoeven wrote: > > On Tue, 29 Jan 2008, Jens Axboe wrote: > > > On Tue, Jan 29 2008, Jens Axboe wrote: > > > > On Tue, Jan 29 2008, James Bottomley wrote: > > > > > On Tue, 2008-01-29 at 11:10 -0800, Matthew Dhar

[patch]sane memory allocation in option driver

2008-01-30 Thread Oliver Neukum
Hi, the option driver - violates DMA coherency rules - allocates ~16500 bytes in one chunk This patch splits out the buffers and uses __get_free_page() to avoid higher order allocations. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Regards Oliver --- linux-2.6

[patch]error handling in trancevibrator

2008-01-30 Thread Oliver Neukum
Hi, trancevibrator should not pretend success if it returns an error. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Regards Oliver --- linux-2.6.24-ser/drivers/usb/misc/trancevibrator.c.alt 2008-01-30 15:56:49.0 +0100 +++ linux-2.6.24-ser/drivers/u

Re: [patch v6 3/4] USB: add Cypress c67x00 OTG controller HCD driver

2008-01-30 Thread Alan Stern
On Wed, 30 Jan 2008, Peter Korsgaard wrote: > >> +static void c67x00_sched_done(unsigned long __c67x00) > >> +{ > >> + struct c67x00_hcd *c67x00 = (struct c67x00_hcd *)__c67x00; > >> + struct c67x00_urb_priv *urbp, *tmp; > >> + struct urb *urb; > >> + > >> + spin_lock(&c67x00->lock); > >>

Re: at91 udc and gadget file storage

2008-01-30 Thread Alan Stern
On Wed, 30 Jan 2008, Atsushi Nemoto wrote: > Hi. I'm trying at91_udc driver with g_file_storage on AT91SAM9260-EK > board. I'm using kernel 2.6.24 and 2.6.22(+at91-exp.patch). > > When I load the g_file_storage module, host can detect storage device > soon, but take few _minutes_ to detect its

Problem: hiddev stops sending events after some error recoveries

2008-01-30 Thread Salvador Eduardo Tropea
Hello! Here another problem I found (see the "Problem: Device RESET when reading hiddev" thread): I'm using Debian GNU/Linux 4.0 (etch) with kernel 2.6.18. I found a problem that looks like a bug in hiddev kernel code, but I'm not sure. Here is what I found: The problem happends when I'm reading f

Missleading hiddev.txt documentation?

2008-01-30 Thread Salvador Eduardo Tropea
Hello! Me again. I'm using Debian GNU/Linux 4.0 (etch) with kernel 2.6.18. The kernel docs about the hiddev API says: "The hid-core.c module parses the report, and returns to hiddev.c the individual usages that have changed within the report." But when reading the hiddev device I get: 1) All t

please test: autosuspend for trancevibrator

2008-01-30 Thread Oliver Neukum
Hi, this implements autosuspend for the trancevibrator driver. I hope this can serve as a model for PID devices. Could you please test this patch? Regards Oliver --- linux-2.6.24-ser/drivers/usb/misc/trancevibrator.c.alt2 2008-01-30 16:18:27.0 +0100 +++

Problem: Device RESET when reading hiddev

2008-01-30 Thread Salvador Eduardo Tropea
Hello! My name is Salvador and I'm designing a hardware implementation of an USB HID device. My current target is an FPGA and I'm using Linux to test my device. I'm using Debian GNU/Linux 4.0 (etch) with kernel 2.6.18. I found a problem that looks like a bug in hiddev kernel code, but I'm not sure

Re: Problem: hiddev stops sending events after some error recoveries

2008-01-30 Thread Alan Stern
On Wed, 30 Jan 2008, Salvador Eduardo Tropea wrote: > Hello! > > Here another problem I found (see the "Problem: Device RESET when > reading hiddev" thread): > I'm using Debian GNU/Linux 4.0 (etch) with kernel 2.6.18. > I found a problem that looks like a bug in hiddev kernel code, but I'm > not

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-01-30 Thread Robert Spitzenpfeil
* unusual_devs.h: entry which does NOT work ( lacks: US_FL_IGNORE_RESIDUE | US_FL_FIX_INQUIRY), ) UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100, "Oracom Co., Ltd", "ORC-200M", US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_IGNORE_RESIDUE), * /s

please test: autosuspend for idmouse

2008-01-30 Thread Oliver Neukum
Hi, could you please get in touch with me about testing this patch implementing autosuspend for the fingerprint function of devices driven by the idmouse driver? Regards Oliver --- linux-2.6.24-ser/drivers/usb/misc/idmouse.c.alt 2008-01-30 17:35:17.0 +

RE: some fixes of the sierra driver

2008-01-30 Thread Kevin Lloyd
Hi Oliver, I will get to testing this and get back to you with the results asap. I expect that this will work as I have seen it implemented this way before. Thanks, -Kevin -Original Message- From: Oliver Neukum [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 3:22 AM To: Lin

RE: testers sought: USB autosuspend for sierra

2008-01-30 Thread Kevin Lloyd
Oliver, Thank you for this patch, we will get to testing it and respond with results. -Kevin -Original Message- From: Oliver Neukum [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 1:32 AM To: Linux Development Group; linux-usb@vger.kernel.org Subject: testers sought: USB aut

Re: [BUG] 2.6.24-git usb reset problems

2008-01-30 Thread Jens Axboe
On Wed, Jan 30 2008, James Bottomley wrote: > On Wed, 2008-01-30 at 11:38 +0100, Jens Axboe wrote: > > On Wed, Jan 30 2008, Geert Uytterhoeven wrote: > > > On Tue, 29 Jan 2008, Jens Axboe wrote: > > > > On Tue, Jan 29 2008, Jens Axboe wrote: > > > > > On Tue, Jan 29 2008, James Bottomley wrote: > >

Re: at91 udc and gadget file storage

2008-01-30 Thread David Brownell
On Wednesday 30 January 2008, Atsushi Nemoto wrote: > When I load the g_file_storage module, host can detect storage device > soon, but take few _minutes_ to detect its partition table. That's a common symptom when the underlying controller driver has issues with handling stalls. "modprobe g_stor

Re: [BUG] 2.6.24-git usb reset problems

2008-01-30 Thread Jens Axboe
On Wed, Jan 30 2008, Jens Axboe wrote: > On Wed, Jan 30 2008, James Bottomley wrote: > > On Wed, 2008-01-30 at 11:38 +0100, Jens Axboe wrote: > > > On Wed, Jan 30 2008, Geert Uytterhoeven wrote: > > > > On Tue, 29 Jan 2008, Jens Axboe wrote: > > > > > On Tue, Jan 29 2008, Jens Axboe wrote: > > > >

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-01-30 Thread Alan Stern
On Wed, 30 Jan 2008, Robert Spitzenpfeil wrote: > * unusual_devs.h: entry which does NOT work ( lacks: > US_FL_IGNORE_RESIDUE | US_FL_FIX_INQUIRY), ) > > UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100, >"Oracom Co., Ltd", >"ORC-200M", > US_SC_DEVICE,

Re: [linux-usb-devel] 2.6.24: NULL scatter-gather pointer in usb_storage:usb_stor_access_xfer_buf?

2008-01-30 Thread Alan Stern
Boaz: This looks like it might have something to do with your changes. Alan Stern On Wed, 30 Jan 2008, Mark Glines wrote: > : > Mime-Version: 1.0 > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: 7bit > > Hi, > > > [ 95.406864] usb 4-1: new full speed USB device u

Re: at91 udc and gadget file storage

2008-01-30 Thread Atsushi Nemoto
On Wed, 30 Jan 2008 10:28:32 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > > When I load the g_file_storage module, host can detect storage device > > soon, but take few _minutes_ to detect its partition table. ... > > usb 3-2: reset full speed USB device using uhci_hcd and address 15 > > us

Re: [linux-usb-devel] 2.6.24: NULL scatter-gather pointer in usb_storage:usb_stor_access_xfer_buf?

2008-01-30 Thread Boaz Harrosh
On Thu, Jan 31 2008 at 1:08 +0200, Alan Stern <[EMAIL PROTECTED]> wrote: > Boaz: > > This looks like it might have something to do with your changes. > > Alan Stern > > > On Wed, 30 Jan 2008, Mark Glines wrote: > >> : >> Mime-Version: 1.0 >> Content-Type: text/plain; charset=US-ASCII >> Conte