[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-31 Thread Greg KH
On Wed, May 31, 2006 at 11:38:28PM +0200, Frank Gevaerts wrote: > On Tue, May 30, 2006 at 11:33:27AM -0700, Pete Zaitcev wrote: > > > > Please get rid of the above. > > >* shut down bulk read and write > > OK, So here's the corrected patch: > > Signed-off-by: Frank Gevaerts <[EMAIL PROTECTED

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-31 Thread Frank Gevaerts
On Tue, May 30, 2006 at 11:33:27AM -0700, Pete Zaitcev wrote: > > Please get rid of the above. > > * shut down bulk read and write OK, So here's the corrected patch: Signed-off-by: Frank Gevaerts <[EMAIL PROTECTED]> diff -pur linux-2.6.17-rc4/drivers/usb/serial/ipaq.c linux-2.6.17-rc4.te

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-31 Thread Frank Gevaerts
On Wed, May 31, 2006 at 06:10:42PM -0300, Luiz Fernando N. Capitulino wrote: > On Tue, 30 May 2006 23:36:35 +0200 > Frank Gevaerts <[EMAIL PROTECTED]> wrote: > > | On Tue, May 30, 2006 at 05:52:08PM -0300, Luiz Fernando N. Capitulino wrote: > | > On Tue, 30 May 2006 19:48:21 +0200 > | > Frank Geva

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-31 Thread Luiz Fernando N. Capitulino
On Tue, 30 May 2006 23:36:35 +0200 Frank Gevaerts <[EMAIL PROTECTED]> wrote: | On Tue, May 30, 2006 at 05:52:08PM -0300, Luiz Fernando N. Capitulino wrote: | > On Tue, 30 May 2006 19:48:21 +0200 | > Frank Gevaerts <[EMAIL PROTECTED]> wrote: | > | > | On Tue, May 30, 2006 at 11:53:29AM -0300, Luiz

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-30 Thread Frank Gevaerts
On Tue, May 30, 2006 at 05:52:08PM -0300, Luiz Fernando N. Capitulino wrote: > On Tue, 30 May 2006 19:48:21 +0200 > Frank Gevaerts <[EMAIL PROTECTED]> wrote: > > | On Tue, May 30, 2006 at 11:53:29AM -0300, Luiz Fernando N. Capitulino wrote: > | > On Tue, 30 May 2006 11:38:01 -0300 > | > "Luiz Fern

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-30 Thread Luiz Fernando N. Capitulino
On Tue, 30 May 2006 11:33:27 -0700 Pete Zaitcev <[EMAIL PROTECTED]> wrote: | > @@ -967,3 +971,6 @@ MODULE_PARM_DESC(vendor, "User specified | > | > module_param(product, ushort, 0); | > MODULE_PARM_DESC(product, "User specified USB idProduct"); | > + | > +module_param(connect_retries, int, KP_

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-30 Thread Luiz Fernando N. Capitulino
On Tue, 30 May 2006 19:48:21 +0200 Frank Gevaerts <[EMAIL PROTECTED]> wrote: | On Tue, May 30, 2006 at 11:53:29AM -0300, Luiz Fernando N. Capitulino wrote: | > On Tue, 30 May 2006 11:38:01 -0300 | > "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: | > | > If it ran _before_ the timeout e

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-30 Thread Frank Gevaerts
On Tue, May 30, 2006 at 11:33:27AM -0700, Pete Zaitcev wrote: > On Tue, 30 May 2006 19:48:21 +0200, Frank Gevaerts <[EMAIL PROTECTED]> wrote: > +0100 > > +++ linux-2.6.17-rc4.test/drivers/usb/serial/ipaq.c 2006-05-30 > > 19:41:19.0 +0200 > > @@ -692,6 +694,7 @@ static void ipaq_close(struc

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-30 Thread Pete Zaitcev
On Tue, 30 May 2006 19:48:21 +0200, Frank Gevaerts <[EMAIL PROTECTED]> wrote: +0100 > +++ linux-2.6.17-rc4.test/drivers/usb/serial/ipaq.c 2006-05-30 > 19:41:19.0 +0200 > @@ -692,6 +694,7 @@ static void ipaq_close(struct usb_serial > struct ipaq_private *priv = usb_get_serial_po

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-30 Thread Frank Gevaerts
On Tue, May 30, 2006 at 11:53:29AM -0300, Luiz Fernando N. Capitulino wrote: > On Tue, 30 May 2006 11:38:01 -0300 > "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: > > If it ran _before_ the timeout expires with no timeout error it does not > depend. Then we can do the simpler solution:

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-30 Thread Luiz Fernando N. Capitulino
On Tue, 30 May 2006 17:06:27 +0200 Frank Gevaerts <[EMAIL PROTECTED]> wrote: | On Tue, May 30, 2006 at 11:38:01AM -0300, Luiz Fernando N. Capitulino wrote: | > On Tue, 30 May 2006 10:21:41 +0200 | > Frank Gevaerts <[EMAIL PROTECTED]> wrote: | > | > | On Mon, May 29, 2006 at 07:33:30PM -0300, Luiz

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-30 Thread Frank Gevaerts
On Tue, May 30, 2006 at 11:53:29AM -0300, Luiz Fernando N. Capitulino wrote: > On Tue, 30 May 2006 11:38:01 -0300 > "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: > > | On Tue, 30 May 2006 10:21:41 +0200 > | Frank Gevaerts <[EMAIL PROTECTED]> wrote: > | > | | On Mon, May 29, 2006 at 07:

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-30 Thread Frank Gevaerts
On Tue, May 30, 2006 at 11:38:01AM -0300, Luiz Fernando N. Capitulino wrote: > On Tue, 30 May 2006 10:21:41 +0200 > Frank Gevaerts <[EMAIL PROTECTED]> wrote: > > | On Mon, May 29, 2006 at 07:33:30PM -0300, Luiz Fernando N. Capitulino wrote: > | > On Mon, 29 May 2006 22:47:24 +0200 > | > I see. >

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-30 Thread Luiz Fernando N. Capitulino
On Tue, 30 May 2006 11:38:01 -0300 "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: | On Tue, 30 May 2006 10:21:41 +0200 | Frank Gevaerts <[EMAIL PROTECTED]> wrote: | | | On Mon, May 29, 2006 at 07:33:30PM -0300, Luiz Fernando N. Capitulino wrote: | | > On Mon, 29 May 2006 22:47:24 +0200

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-30 Thread Luiz Fernando N. Capitulino
On Tue, 30 May 2006 10:21:41 +0200 Frank Gevaerts <[EMAIL PROTECTED]> wrote: | On Mon, May 29, 2006 at 07:33:30PM -0300, Luiz Fernando N. Capitulino wrote: | > On Mon, 29 May 2006 22:47:24 +0200 | > Frank Gevaerts <[EMAIL PROTECTED]> wrote: | > | | > | The panic was caused by the read urb being s

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-30 Thread Frank Gevaerts
On Mon, May 29, 2006 at 07:33:30PM -0300, Luiz Fernando N. Capitulino wrote: > On Mon, 29 May 2006 22:47:24 +0200 > Frank Gevaerts <[EMAIL PROTECTED]> wrote: > | > | The panic was caused by the read urb being submitten in ipaq_open, > | regardless of success, and never killed in case of failure. W

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-29 Thread Luiz Fernando N. Capitulino
On Mon, 29 May 2006 22:47:24 +0200 Frank Gevaerts <[EMAIL PROTECTED]> wrote: | On Mon, May 29, 2006 at 05:24:10PM -0300, Luiz Fernando N. Capitulino wrote: | > On Mon, 29 May 2006 21:43:35 +0200 | > Frank Gevaerts <[EMAIL PROTECTED]> wrote: | > | > | On Mon, May 29, 2006 at 02:11:10PM -0300, Luiz

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-29 Thread Frank Gevaerts
On Mon, May 29, 2006 at 05:24:10PM -0300, Luiz Fernando N. Capitulino wrote: > On Mon, 29 May 2006 21:43:35 +0200 > Frank Gevaerts <[EMAIL PROTECTED]> wrote: > > | On Mon, May 29, 2006 at 02:11:10PM -0300, Luiz Fernando N. Capitulino wrote: > | > > | > Frank, could you try this one please? > | >

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-29 Thread Luiz Fernando N. Capitulino
On Mon, 29 May 2006 21:43:35 +0200 Frank Gevaerts <[EMAIL PROTECTED]> wrote: | On Mon, May 29, 2006 at 02:11:10PM -0300, Luiz Fernando N. Capitulino wrote: | > | > Frank, could you try this one please? | > | > I have no sure whether this makes sense, but every USB-Serial driver | > I know exit

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-29 Thread Frank Gevaerts
On Mon, May 29, 2006 at 02:11:10PM -0300, Luiz Fernando N. Capitulino wrote: > > Frank, could you try this one please? > > I have no sure whether this makes sense, but every USB-Serial driver > I know exits in the write URB callback if the URB got an error. It looks sane to me at least. The ma

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-29 Thread Luiz Fernando N. Capitulino
On Mon, 29 May 2006 13:25:53 -0300 "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: | On Mon, 29 May 2006 12:01:02 -0300 | "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: | | | | | Hi Pete, | | | | On Fri, 26 May 2006 13:34:10 -0700 | | Pete Zaitcev <[EMAIL PROTECTED]> wrote:

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-29 Thread Luiz Fernando N. Capitulino
On Mon, 29 May 2006 12:01:02 -0300 "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: | | Hi Pete, | | On Fri, 26 May 2006 13:34:10 -0700 | Pete Zaitcev <[EMAIL PROTECTED]> wrote: | | | On Fri, 26 May 2006 20:22:17 +0200, Frank Gevaerts <[EMAIL PROTECTED]> wrote: | | | | > usb 1-4.5.7:

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-29 Thread Luiz Fernando N. Capitulino
Hi Pete, On Fri, 26 May 2006 13:34:10 -0700 Pete Zaitcev <[EMAIL PROTECTED]> wrote: | On Fri, 26 May 2006 20:22:17 +0200, Frank Gevaerts <[EMAIL PROTECTED]> wrote: | | > usb 1-4.5.7: USB disconnect, address 79 | > [ cut here ] | > kernel BUG at kernel/workqueue.c:110! |

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-27 Thread Frank Gevaerts
On Fri, May 26, 2006 at 01:34:10PM -0700, Pete Zaitcev wrote: > On Fri, 26 May 2006 20:22:17 +0200, Frank Gevaerts <[EMAIL PROTECTED]> wrote: > > > usb 1-4.5.7: USB disconnect, address 79 > > [ cut here ] > > kernel BUG at kernel/workqueue.c:110! > > Please let me know if

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-26 Thread Frank Gevaerts
On Fri, May 26, 2006 at 01:34:10PM -0700, Pete Zaitcev wrote: > On Fri, 26 May 2006 20:22:17 +0200, Frank Gevaerts <[EMAIL PROTECTED]> wrote: > > > usb 1-4.5.7: USB disconnect, address 79 > > [ cut here ] > > kernel BUG at kernel/workqueue.c:110! > > Please let me know if

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-26 Thread Pete Zaitcev
On Fri, 26 May 2006 20:22:17 +0200, Frank Gevaerts <[EMAIL PROTECTED]> wrote: > usb 1-4.5.7: USB disconnect, address 79 > [ cut here ] > kernel BUG at kernel/workqueue.c:110! Please let me know if this helps: --- linux-2.6.17-rc2/drivers/usb/serial/usb-serial.c2006-04

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-22 Thread Greg KH
On Mon, May 22, 2006 at 04:30:48PM +0200, Frank Gevaerts wrote: > Hi, > > We are having problems with the usb-serial ipaq driver in 2.6.16 (debian > backports 2.6.16-1-686, but also reproducible with self-compiled > kernel.org kernel) > > Sometimes, we get the following on disconnect: Can you

[linux-usb-devel] Re: USB-Serial PL2303 problem

2005-08-09 Thread Greg KH
On Sat, Aug 06, 2005 at 08:37:22PM +0400, Roman I Khimov wrote: > Hello. > > I've just tried a USB->RS232 adapter (BAFO BF-810), it's PL2303 based > one, and I have a bad problem with it. My current kernel is > 2.6.13-rc3-mm3, but I've also tried it with 2.6.12-rc5-mm1 - the same > problem. I can

[linux-usb-devel] Re: USB-Serial PL2303 problem

2005-08-09 Thread Roman I Khimov
Hello. В Втр, 09.08.2005, в 22:45, Greg KH пишет: > > > > I've just tried a USB->RS232 adapter (BAFO BF-810), it's PL2303 based > > > > one, and I have a bad problem with it. My current kernel is > > > > 2.6.13-rc3-mm3, but I've also tried it with 2.6.12-rc5-mm1 - the same > > > > problem. I can a

[linux-usb-devel] Re: USB-Serial PL2303 problem

2005-08-09 Thread Greg KH
On Tue, Aug 09, 2005 at 10:38:09PM +0400, Roman I Khimov wrote: > Hello. > > ?? ??, 09.08.2005, ?? 11:36, Greg KH ??: > > > I've just tried a USB->RS232 adapter (BAFO BF-810), it's PL2303 based > > > one, and I have a bad problem with it. My current kernel is > > > 2.6.13-rc3-mm3, but

[linux-usb-devel] Re: USB-Serial PL2303 problem

2005-08-09 Thread Roman I Khimov
Hello. В Втр, 09.08.2005, в 11:36, Greg KH пишет: > > I've just tried a USB->RS232 adapter (BAFO BF-810), it's PL2303 based > > one, and I have a bad problem with it. My current kernel is > > 2.6.13-rc3-mm3, but I've also tried it with 2.6.12-rc5-mm1 - the same > > problem. I can also try recent -

[linux-usb-devel] Re: USB serial driver - data loss issue.

2005-07-11 Thread Ian Abbott
On 08/07/2005 18:00, Greg KH wrote: On Fri, Jul 08, 2005 at 07:45:47PM +0530, [EMAIL PROTECTED] wrote: I am facing this issue when i am testing my USB serial driver on Linux 2.6.9 , EL version 4 with my application. Is this RHEL 4? If so, I suggest you contact Red Hat, as I have no idea wha

[linux-usb-devel] Re: USB serial driver - data loss issue.

2005-07-08 Thread Greg KH
On Fri, Jul 08, 2005 at 07:45:47PM +0530, [EMAIL PROTECTED] wrote: > > I am facing this issue when i am testing my USB serial driver on Linux > 2.6.9 , EL version 4 with my application. Is this RHEL 4? If so, I suggest you contact Red Hat, as I have no idea what they have patched their kernel t

RE: [linux-usb-devel] Re: usb serial core problems

2005-06-03 Thread Stuart MacDonald
From: Pete Zaitcev [mailto:[EMAIL PROTECTED] > On Fri, 3 Jun 2005 11:35:01 -0400, "Stuart MacDonald" > <[EMAIL PROTECTED]> wrote: > http://marc.theaimsgroup.com/?l=linux-usb-devel&m=109646810201898&w=2 > > Yes, that's the one. Thanks, I'll have a look at it. ..Stu --

Re: [linux-usb-devel] Re: usb serial core problems

2005-06-03 Thread Pete Zaitcev
On Fri, 3 Jun 2005 11:35:01 -0400, "Stuart MacDonald" <[EMAIL PROTECTED]> wrote: > http://marc.theaimsgroup.com/?l=linux-usb-devel&m=109646810201898&w=2 Yes, that's the one. -- Pete --- This SF.Net email is sponsored by Yahoo. Introducing Yah

RE: [linux-usb-devel] Re: usb serial core problems

2005-06-03 Thread Stuart MacDonald
From: On Behalf Of Pete Zaitcev > On Thu, 2 Jun 2005 21:43:46 -0400, "Stuart MacDonald" > <[EMAIL PROTECTED]> wrote: > > > So, flush_to_ldisc() is running in interrupt context. It > can call back > > into usbserial.c in a number of ways, specifically serial_throttle. > > Which tries to acquire a

[linux-usb-devel] Re: usb serial core problems

2005-06-03 Thread Ian Abbott
On 03/06/2005 07:33, Greg KH wrote: Does anyone still use the newer 2.4 kernel releases in a distro anymore? Debian are still using 2.2, aren't they? ;-) I still use 2.4 on my Gentoo system at home, mainly because I can't be arsed with all the fiddling around with dmraid, devicemapper and ini

[linux-usb-devel] Re: usb serial core problems

2005-06-02 Thread Pete Zaitcev
On Thu, 2 Jun 2005 21:43:46 -0400, "Stuart MacDonald" <[EMAIL PROTECTED]> wrote: > So, flush_to_ldisc() is running in interrupt context. It can call back > into usbserial.c in a number of ways, specifically serial_throttle. > Which tries to acquire a semaphore, which sometimes sleeps, resulting >

[linux-usb-devel] RE: Usb serial with power ON/OFF problem

2005-05-31 Thread Greg Lee
Shalini - I'm not sure I understand the problem that you are describing. We did have a problem handling the case where we turn power off to the USB device by using external hardware means (i.e. we control the power supply to the device as well). In this case the file handles did not get closed p

Re: [linux-usb-devel] Re: usb serial gadget smp related bug

2005-05-16 Thread David Brownell
On Monday 16 May 2005 9:42 am, Greg KH wrote: > On Wed, May 04, 2005 at 02:32:44PM +0400, Eugeny S. Mints wrote: > > Hello usb-devel, > > > > potential deadlock was at usb serial gadget (SMP case), please merge. > > ... > > > > David, did this patch look acceptable to you? At a quick read, yes

[linux-usb-devel] Re: usb serial gadget smp related bug

2005-05-16 Thread Greg KH
On Wed, May 04, 2005 at 02:32:44PM +0400, Eugeny S. Mints wrote: > Hello usb-devel, > > potential deadlock was at usb serial gadget (SMP case), please merge. > (I haven't checked the latest serial.c changes so not sure whether this > is not fixed already) > > Adjust dev->dev_lock spinlock lock/u

[linux-usb-devel] Re: USB serial: visor support broken in 2.6.10-rc

2004-11-17 Thread Greg KH
On Wed, Nov 17, 2004 at 04:31:55PM -0800, Stephen Hemminger wrote: > On Wed, 17 Nov 2004 15:43:35 -0800 > Greg KH <[EMAIL PROTECTED]> wrote: > > > On Wed, Nov 17, 2004 at 03:37:54PM -0800, Stephen Hemminger wrote: > > > On Wed, 17 Nov 2004 14:56:18 -0800 > > > Greg KH <[EMAIL PROTECTED]> wrote: >

[linux-usb-devel] Re: USB serial: visor support broken in 2.6.10-rc

2004-11-17 Thread Stephen Hemminger
On Wed, 17 Nov 2004 15:43:35 -0800 Greg KH <[EMAIL PROTECTED]> wrote: > On Wed, Nov 17, 2004 at 03:37:54PM -0800, Stephen Hemminger wrote: > > On Wed, 17 Nov 2004 14:56:18 -0800 > > Greg KH <[EMAIL PROTECTED]> wrote: > > > > > On Wed, Nov 17, 2004 at 02:48:53PM -0800, Stephen Hemminger wrote: > >

[linux-usb-devel] Re: USB serial: visor support broken in 2.6.10-rc

2004-11-17 Thread Greg KH
On Wed, Nov 17, 2004 at 03:37:54PM -0800, Stephen Hemminger wrote: > On Wed, 17 Nov 2004 14:56:18 -0800 > Greg KH <[EMAIL PROTECTED]> wrote: > > > On Wed, Nov 17, 2004 at 02:48:53PM -0800, Stephen Hemminger wrote: > > > I am getting the following OOPS when attempting to sync my PDA. > > > > Try t

[linux-usb-devel] Re: USB serial: visor support broken in 2.6.10-rc

2004-11-17 Thread Stephen Hemminger
On Wed, 17 Nov 2004 14:56:18 -0800 Greg KH <[EMAIL PROTECTED]> wrote: > On Wed, Nov 17, 2004 at 02:48:53PM -0800, Stephen Hemminger wrote: > > I am getting the following OOPS when attempting to sync my PDA. > > Try the patch below. > Better, the transfer starts, but it hangs after about 1K of d

[linux-usb-devel] Re: USB serial: visor support broken in 2.6.10-rc

2004-11-17 Thread Greg KH
On Wed, Nov 17, 2004 at 02:48:53PM -0800, Stephen Hemminger wrote: > I am getting the following OOPS when attempting to sync my PDA. Try the patch below. thanks, greg k-h --- generic_startup in visor.c was not called for some hardware, resulting in attempts to access memory tha

[linux-usb-devel] Re: usb-serial version of Garmin GPS driver

2004-11-08 Thread Marty Boos
On Mon, 8 Nov 2004 14:52:57 -0800, Greg KH <[EMAIL PROTECTED]> wrote: > On Mon, Nov 08, 2004 at 06:24:42AM +, Marty Boos wrote: > > Hello, > > > > I previously submitted a driver for Garmin GPS that used its own minor > > number interface. Greg suggested using the usb-serial interface > > inste

[linux-usb-devel] Re: usb-serial version of Garmin GPS driver

2004-11-08 Thread Greg KH
On Mon, Nov 08, 2004 at 06:24:42AM +, Marty Boos wrote: > Hello, > > I previously submitted a driver for Garmin GPS that used its own minor > number interface. Greg suggested using the usb-serial interface > instead. I thought the usb-serial interface made sense after > investigating it a litt

Re: [linux-usb-devel] Re: usb-serial (ref)counting

2004-05-12 Thread Alan Stern
On Tue, 11 May 2004, Oliver Neukum wrote: > > > This puts some faith into usb_submit_urb properly failing when directed > > at disconnected devices. I seem to recall we had a discussion just > > recently that this ought not to be done "after the disconnect returns". > > But it may be just my imag

[linux-usb-devel] Re: usb-serial (ref)counting

2004-05-11 Thread Pete Zaitcev
On Tue, 11 May 2004 15:16:01 -0700 Greg KH <[EMAIL PROTECTED]> wrote: > On Tue, May 11, 2004 at 03:09:55PM -0700, Pete Zaitcev wrote: > > I think I get the idea. > > > > What do you think about moving 2.4 on to the 2.6.6 scheme? Not worth it? > > I think the disconnect issues are fixed in 2.4 fo

[linux-usb-devel] Re: usb-serial (ref)counting

2004-05-11 Thread Greg KH
On Tue, May 11, 2004 at 03:09:55PM -0700, Pete Zaitcev wrote: > I think I get the idea. > > What do you think about moving 2.4 on to the 2.6.6 scheme? Not worth it? I think the disconnect issues are fixed in 2.4 for now, right? If so, I doubt it is worth it. thanks, greg k-h

[linux-usb-devel] Re: usb-serial (ref)counting

2004-05-11 Thread Pete Zaitcev
I think I get the idea. What do you think about moving 2.4 on to the 2.6.6 scheme? Not worth it? -- Pete --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver hig

Re: [linux-usb-devel] Re: usb-serial (ref)counting

2004-05-11 Thread Oliver Neukum
> This puts some faith into usb_submit_urb properly failing when directed > at disconnected devices. I seem to recall we had a discussion just > recently that this ought not to be done "after the disconnect returns". > But it may be just my imagination. It isn't. The problem is disconnect in soft

[linux-usb-devel] Re: usb-serial (ref)counting

2004-05-11 Thread Greg KH
On Tue, May 11, 2004 at 02:13:17PM -0700, Pete Zaitcev wrote: > On Tue, 11 May 2004 14:06:47 -0700 > Greg KH <[EMAIL PROTECTED]> wrote: > > > I don't think it's incomplete, here's what happens: > > Yes, I figured that part out. It looks clean and correct. However... > > > [] but any future write

[linux-usb-devel] Re: usb-serial (ref)counting

2004-05-11 Thread Pete Zaitcev
On Tue, 11 May 2004 14:06:47 -0700 Greg KH <[EMAIL PROTECTED]> wrote: > I don't think it's incomplete, here's what happens: Yes, I figured that part out. It looks clean and correct. However... > [] but any future writes will > fail (due to the driver failing on a call to usb_submit_urb() for the

[linux-usb-devel] Re: usb-serial (ref)counting

2004-05-11 Thread Greg KH
On Tue, May 11, 2004 at 01:43:19PM -0700, Pete Zaitcev wrote: > Hi, Greg, > > One guy recently reminded me that the way 2.4 clears tty->driver_data > is wrong. I went to check 2.6.6, which does it correctly in between > ->release and ->disconnect (hurray!) but then it completely ignores that > the

Re: [linux-usb-devel] Re: usb serial in 2.6 and open count

2004-03-13 Thread Oliver Neukum
Am Samstag, 13. März 2004 09:25 schrieb Greg KH: > On Fri, Mar 12, 2004 at 08:41:11PM -0800, Pete Zaitcev wrote: > > Greg, > > > > I do not like my monkeying with the helper task, so > > I am investigating a backport from 2.6 to 2.4. > > > > I see that the hateful semaphore is gone. The disconnec

[linux-usb-devel] Re: usb serial in 2.6 and open count

2004-03-13 Thread Greg KH
On Fri, Mar 12, 2004 at 08:41:11PM -0800, Pete Zaitcev wrote: > Greg, > > I do not like my monkeying with the helper task, so > I am investigating a backport from 2.6 to 2.4. > > I see that the hateful semaphore is gone. The disconnect is guarged by > a kobject, so this is good. However, what abo

[linux-usb-devel] Re: USB serial

2003-05-30 Thread Samuel Flory
Greg KH wrote: and you should be fine. On Wed, May 28, 2003 at 02:22:55PM -0700, Samuel Flory wrote: I seem to be getting a lot of the following in dmesg: drivers/usb/serial/usb-serial.c: serial_write - port 0, 1 byte(s) drivers/usb/serial/keyspan.c: keyspan_write - for port 0 (1 chars),

[linux-usb-devel] Re: USB serial

2003-05-30 Thread Greg KH
On Wed, May 28, 2003 at 02:22:55PM -0700, Samuel Flory wrote: > Greg KH wrote: > > >On Fri, May 23, 2003 at 10:08:07AM -0700, Samuel Flory wrote: > > > > > >> > >> > >>Under 2.5.69-bk6 the kernel sees both the keyspan, and iogear > >>(PL-2303) and assigns ttyUSB. Minicom will open the port, but

[linux-usb-devel] Re: USB serial

2003-05-29 Thread Samuel Flory
Samuel Flory wrote: It appears that I can recieve fine. If I `echo "Can you see" >/dev/ttyS1 on the system that I'm connected to. I can see this in minicom. It seems to be sending stuff out that is the issue. I seem to be getting a lot of the following in dmesg: drivers/usb/serial/usb-seria

[linux-usb-devel] Re: USB serial

2003-05-29 Thread Samuel Flory
Greg KH wrote: On Fri, May 23, 2003 at 10:08:07AM -0700, Samuel Flory wrote: Under 2.5.69-bk6 the kernel sees both the keyspan, and iogear (PL-2303) and assigns ttyUSB. Minicom will open the port, but I don't see anything in response to my key strokes. Is the flow control and other