Re: [linux-usb-devel] regression in changes in cdc-acm from 2.6.7 to 2.6.8.1

2004-09-10 Thread Oliver Neukum
Am Donnerstag, 9. September 2004 12:19 schrieb Ondrej Sury: > Hello, > > there is regression in changes from 2.6.7 to 2.6.8.1 in cdc-acm module. > I have Gtran USB CDMA modem[1] and it stops responding in 2.6.8.1. It > worked just fine in 2.6.7. Also using usbserial module under 2.6.8.1 > works

[linux-usb-devel] regarding transfer size

2004-09-10 Thread Oliver Neukum
Hi, I thought a little bit about the bandwidth limit in the driver. It seems to me that there's no way to generically predict which old devices can stand larger buffers. On the other hand I doubt we'll ever see more than a handful of devices who need a larger buffer. The alternative of enqueuing U

[linux-usb-devel] Re: regarding transfer size

2004-09-10 Thread Vojtech Pavlik
On Thu, Sep 09, 2004 at 11:57:02PM +0200, Oliver Neukum wrote: > I thought a little bit about the bandwidth limit in the driver. > It seems to me that there's no way to generically predict > which old devices can stand larger buffers. On the other > hand I doubt we'll ever see more than a handful

Re: [linux-usb-devel] Re: isp1160 driver for 2.6 kernel

2004-09-10 Thread Dimitris Lampridis
On Wed, 2004-09-08 at 00:18, Lothar Wassmann wrote: > Hi, > > On Tue, 7 Sep 2004, Olav Kongas wrote: > > On Tue, 7 Sep 2004, Dimitris Lampridis wrote: > > > > > First of all, I'm not porting any existing driver. My opinion is that > > > all drivers up to now are very "custom-made" and thus error

Re: [linux-usb-devel] Re: isp1160 driver for 2.6 kernel

2004-09-10 Thread Dimitris Lampridis
> Hey, guys. I've been fighting with my own ISP1362 chip for a while, > and coming back from a week and a half of holidays and seeing these > messages is encouraging. > That is true for me too. It's good to know that you're not alone in the galaxy :-) > I'm still trying to get it working in 2.4

Re: Re: Re: [linux-usb-devel] usb_unlink_urb() makes missing data on a pipe (IN)

2004-09-10 Thread thierry . chantry
>On Thu, 9 Sep 2004 [EMAIL PROTECTED] wrote: > >> Sorry, my explanations were not very clear: >> >> 1 - A first URB is submitted. >> 2 - The device doesn't send any data >> 3 - The first URB is unlinked and freed (timeout managment for example; >> usb_bulk_msg() does this) >> The completion ha

RE: [linux-usb-devel] RE: isp1161 ISOC timeout problems

2004-09-10 Thread Dominic Evans
Hi, I had the chance to try out the arcom viper (PXA255) + logitech 4000 today. Results weredifferent to the problems I had with the advantech. -Begin Debug Output- [EMAIL PROTECTED] tmp# ./vidcat -p y -d /dev/video0 isp116x: dbg tango: hc_start_int isp116x: DBGFUNC enter sh_done_li

Re: [linux-usb-devel] OHCI driver for SL811HS chip

2004-09-10 Thread Dimitris Lampridis
On Wed, 2004-09-08 at 00:17, Lothar Wassmann wrote: > Hi, > > here is a kernel [2.6.8.1] patch, that converts the SL811HS chip into > an (more or less) OHCI compatible host controller. It has been > developed and tested on a PXA255 platform, but should be easily > adoptable to other platforms as w

[linux-usb-devel] Re: No disconnection with net2280

2004-09-10 Thread Alan Stern
On Wed, 8 Sep 2004, David Brownell wrote: > On Tuesday 07 September 2004 1:24 pm, Alan Stern wrote: > > David and Alex: > > > > For a while now I've been seeing strange things with the net2280 driver. > > When I rmmod the g_file_storage gadget, the connection isn't dropped. Not > > even when

Re: [linux-usb-devel] Re: isp1160 driver for 2.6 kernel

2004-09-10 Thread Olav Kongas
On Fri, 10 Sep 2004, Dimitris Lampridis wrote: > follow. After all, at least the ISP1160 claims to be designed like OHCI, > so it's very normal to make it's driver as a branch of the original OHCI > HCD. isp1160 is far from ohci, missing features like list processing required by ohci spec, usig

Re: [linux-usb-devel] Error messages with USB memory key(s)

2004-09-10 Thread Alan Stern
On Thu, 9 Sep 2004, Buddha Henry wrote: > > Hello mailing list > > I am not a member of this list and apologise if this is old news. I did > Google them first, but the results are unclear as to whether the problems > are resolved. > > Dist is FC2 > >cat /proc/version > Linux version 2.6.5-1.3

[linux-usb-devel] Re: Patch for unusual_devs.h

2004-09-10 Thread Alan Stern
On Fri, 10 Sep 2004, Stephan Walter wrote: > Hi, > > this is a patch for a USB stick to make it work with the 2.6.8.1 kernel. > > First, apply this patch (if you haven't already): > http://bugme.osdl.org/attachment.cgi?id=3525&action=view > > then the one in the attachment. I probably didn't ge

Re: Re: Re: [linux-usb-devel] usb_unlink_urb() makes missing data on a pipe (IN)

2004-09-10 Thread Steve Calfee
Date: Fri, 10 Sep 2004 09:44:22 -0700 >On Thu, 9 Sep 2004 [EMAIL PROTECTED] wrote: > >> Sorry, my explanations were not very clear: >> >> 1 - A first URB is submitted. >> 2 - The device doesn't send any data >> 3 - The first URB is unlinked and freed (timeout managment for example; >> usb_bulk_msg(

[linux-usb-devel] Re: maintainership of acm cdc

2004-09-10 Thread Greg KH
On Fri, Sep 10, 2004 at 10:21:29AM +0200, Oliver Neukum wrote: > Hi, > > I've discussed this with Vojtech. If I brake the probe method, > I can also break the rest ;-) Heh. Applied, thanks. greg k-h --- This SF.Net email is sponsored by: YOU

Re: [linux-usb-devel] Re: Patch for unusual_devs.h

2004-09-10 Thread Matthew Dharm
On Fri, Sep 10, 2004 at 12:23:57PM -0400, Alan Stern wrote: > On Fri, 10 Sep 2004, Stephan Walter wrote: > > > Hi, > > > > this is a patch for a USB stick to make it work with the 2.6.8.1 kernel. > > P.S.: That patch from bugme.osdl.org has already been submitted to Matt > Dharm, the maintainer

Re: [linux-usb-devel] regarding "[PATCH] USB: Patch to signal underflow in usb-storage driver" in linux 2.6.8

2004-09-10 Thread Alan Stern
> Looks like statistics have finally struck. > > Unfortunately, I don't have usb-storage's debug messages turned on for > this, but I did manage to trigger a device hang while writing to my > iriver ihp-140 over usb 2.0. It was copying data using rsync to the > device, and at some point, it stoppe

[linux-usb-devel] EHCI question

2004-09-10 Thread Lo, Albert
Hello I have a couple questions about Figure 3-1 in the USB EHCI spec. (from usb.org) 1) What does the "A" mean ? 2) Are the hexagons (labelled "1", "4", "8") supposed to represent queue heads ? 3) What are the 3 oval shapes supposed to represent?   Thx.Cheers,Albert

Re: [linux-usb-devel] [patch 4/9] list_for_each_entry: drivers-usb-host-uhci-hcd.c

2004-09-10 Thread Alan Stern
On Wed, 1 Sep 2004 [EMAIL PROTECTED] wrote: > Make code more readable with list_for_each_entry. > Compile tested. > > Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> > Signed-off-by: Maximilian Attems <[EMAIL PROTECTED]> There are lots of things in this patch that could be improved. Below are

Re: [linux-usb-devel] regression in changes in cdc-acm from 2.6.7 to 2.6.8.1

2004-09-10 Thread Ondrej Sury
On Fri, 2004-09-10 at 00:06 +0200, Oliver Neukum wrote: > Am Donnerstag, 9. September 2004 12:19 schrieb Ondrej Sury: > > Hello, > > > > there is regression in changes from 2.6.7 to 2.6.8.1 in cdc-acm module. > > I have Gtran USB CDMA modem[1] and it stops responding in 2.6.8.1. It > > worked jus

[linux-usb-devel] PATCH: (as364b) Add locking support for USB device resets

2004-09-10 Thread Alan Stern
Greg: This is as364 re-diffed against the current source plus as363b. I haven't had a chance to test it, but the changes from the ealier version only involve moving hunks by a few lines, so presumably it will work as well as before. It compiles, at any rate. The Changeset comments from befor

[linux-usb-devel] Re: PATCH: (as363) Updated USB device locking

2004-09-10 Thread Greg KH
On Tue, Aug 24, 2004 at 05:02:15PM -0400, Alan Stern wrote: > Greg: > > This patch reintroduces the USB device locking code we tried out earlier. > As before, it solves the problem of effectively locking all the devices > while drivers are registered and unregistered by introducing an rwsem.

Re: Re: Re: [linux-usb-devel] usb_unlink_urb() makes missing data on a pipe (IN)

2004-09-10 Thread Alan Stern
On Fri, 10 Sep 2004 [EMAIL PROTECTED] wrote: > I agree, I known that an USB transaction terminates with a null packect or > an incomplete packet (comparing the max packet size of a pipe) or when the > amount of data transfered is a multiple of the maxpacketsize and equals to > amount > of data req

[linux-usb-devel] PATCH: (as375) Improve UHCI suspend/resume

2004-09-10 Thread Alan Stern
Greg: This patch fixes some problems with the suspend/resume handling in the UHCI driver: Don't try to resume ports that aren't already suspended. The controller won't permit Resume signals to be sent to a port if the port isn't enabled, so don't assume it will work.

[linux-usb-devel] Re: PATCH: (as375) Improve UHCI suspend/resume

2004-09-10 Thread Greg KH
On Fri, Sep 10, 2004 at 05:14:58PM -0400, Alan Stern wrote: > Greg: > > This patch fixes some problems with the suspend/resume handling in the > UHCI driver: > > Don't try to resume ports that aren't already suspended. > > The controller won't permit Resume signals to be sent to a p

[linux-usb-devel] Re: PATCH: (as376) Fix off-by-one error in the hub driver

2004-09-10 Thread Greg KH
On Fri, Sep 10, 2004 at 05:19:10PM -0400, Alan Stern wrote: > Greg: > > This one-liner fixes a simple mistake in a newly-added part of the hub > driver. When a connect change takes place on a suspended port the code > clears the suspend, but the port number it passes is origin-0 and it > shoul

[linux-usb-devel] Re: PATCH: (as363b) Updated USB device locking

2004-09-10 Thread Greg KH
On Fri, Sep 10, 2004 at 05:24:02PM -0400, Alan Stern wrote: > Greg: > > Here it is again. I applied the old patch against the current source, and > it went through okay with only very minor difficulty. It compiles and it > works under light, hasty testing. I hope people will give it a proper

[linux-usb-devel] Re: No disconnection with net2280

2004-09-10 Thread Alex Sanks
Hi Alan and David, Sorry for the delay, I was on booth duty at IDF this week. Alan Stern wrote: On Wed, 8 Sep 2004, David Brownell wrote: For a while now I've been seeing strange things with the net2280 driver. When I rmmod the g_file_storage gadget, the connection isn't dropped. Not even when

[linux-usb-devel] Re: list_for_each_entry: drivers-usb-host-uhci-hcd.c

2004-09-10 Thread Domen Puncer
On 10/09/04 15:47 -0400, Alan Stern wrote: > On Wed, 1 Sep 2004 [EMAIL PROTECTED] wrote: > > > Make code more readable with list_for_each_entry. > > Compile tested. > > > > Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> > > Signed-off-by: Maximilian Attems <[EMAIL PROTECTED]> > > There are lots

[linux-usb-devel] Re: maintainership of acm cdc

2004-09-10 Thread Vojtech Pavlik
On Fri, Sep 10, 2004 at 10:21:29AM +0200, Oliver Neukum wrote: > Hi, > > I've discussed this with Vojtech. If I brake the probe method, > I can also break the rest ;-) Have fun! ;) > Regards > Oliver > > Signed-Off-By: Oliver Neukum <[EMAIL PROTECTED]> > > You can import t

Re: [linux-usb-devel] regression in changes in cdc-acm from 2.6.7 to 2.6.8.1

2004-09-10 Thread Oliver Neukum
> This patch just solved slowdown in connection speed. With or without > this patch it worked once, but almost on all tries it doesn't. I tried > it several times and was able to use cdc-acm from 2.6.8.1 only on one > occassion. Most prolly this modem[2] is severaly broken. I am willing > to p

[linux-usb-devel] maintainership of acm cdc

2004-09-10 Thread Oliver Neukum
Hi, I've discussed this with Vojtech. If I brake the probe method, I can also break the rest ;-) Regards Oliver Signed-Off-By: Oliver Neukum <[EMAIL PROTECTED]> You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or

[linux-usb-devel] Re: No disconnection with net2280 [PATCH]

2004-09-10 Thread Alex Sanks
Hi Alan and David, Alan Stern wrote: For a while now I've been seeing strange things with the net2280 driver. When I rmmod the g_file_storage gadget, the connection isn't dropped. Not even when I rmmod net2280. I actually have to unplug the cable before the host realizes that the slave has va

[linux-usb-devel] [patch 2.6.9-rc-bk] hcdpci-0910 (more usb/swsusp fixes)

2004-09-10 Thread David Brownell
With this and some other patches (OHCI, EHCI, and hub for starters), I'm seeing swsusp partially behaving with usb loaded. This one makes the usbcore pci suspend/resume logic treat "legacy" devices the same as "pci pm" devices ... and vice versa. It's that second part which will be interesting to

[linux-usb-devel] no interrupt polling but selective suspend and remote wakeup

2004-09-10 Thread Mirko Selent
Hello, I have found on Intel WEB-Pages the following Whitepaper. http://www.intel.com/design/mobile/platform/downloads/Power_Saving_USB_Selective_Suspend.pdf This document describes power saving by using selective suspend instead of interrupt polling transfer when a mouse is attached for example. M

[linux-usb-devel] PATCH: (as363b) Updated USB device locking

2004-09-10 Thread Alan Stern
Greg: Here it is again. I applied the old patch against the current source, and it went through okay with only very minor difficulty. It compiles and it works under light, hasty testing. I hope people will give it a proper workout once it has been merged. For the Changeset comments, you can

[linux-usb-devel] PATCH: (as376) Fix off-by-one error in the hub driver

2004-09-10 Thread Alan Stern
Greg: This one-liner fixes a simple mistake in a newly-added part of the hub driver. When a connect change takes place on a suspended port the code clears the suspend, but the port number it passes is origin-0 and it should be origin-1. Please apply. Alan Stern Signed-off-by: Alan Stern <

[linux-usb-devel] Please confirm your message

2004-09-10 Thread Neil Russell
Hi, The message you sent recently is being held because your address <[EMAIL PROTECTED]> has not been verified. To confirm that your message was not junk-mail, please reply to this Email or send an empty message to this address: [EMAIL PROTECTED] You should only have to confirm your addres

[linux-usb-devel] usb audio dma lockups on old via mainboard

2004-09-10 Thread Brad Campbell
When using a Creative USB sound card the interface locks up with Sep 11 02:38:41 myjuke kernel: usbaudio: dma timed out?? after 10-20 seconds of audio output. With the uhci host driver it locks up sooner but a plug/replug will free the apps from the "D" state and re-register the device. With the u

[linux-usb-devel] SCSI WRITE_10 failure

2004-09-10 Thread Phani Babu G.
Hi All, I am having problems writig data to a 64 MB direct access device (LEXAR make). I use SG_IO ioctl provided by SCSI Generic (sg) to access the USB Mass Storage device. After issuing WRITE_10 command the SCSI genric driver freezes. The linux kernel version is 2.4.20. On the other hand SCSI

[linux-usb-devel] [2.4.27] usb-ohci: PCI memory leak

2004-09-10 Thread Matthias Urlichs
usb-ohci leaks PCI pool memory. I discovered that on a machine with two pc-card interfaces, both of which have an OHCI on them. (Behind the OHCI is a three-port serial interface which thinks it's a GSM phone. ;-) "cardctl eject 0" says: Sep 10 15:48:23 clu kernel: usb.c: USB disconnect on device