lkml.org 
[lkml]   [2002]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] pl2303 oops in 2.4.20-pre10 (and 2.5 too)
(I didn't see this e-mail when I sent my [PATCH] that seems to work.)

On Sat, Oct 12, 2002 at 05:49:39PM -0700, Greg KH wrote:
> On Sat, Oct 12, 2002 at 01:56:04PM -0700, Barry K. Nathan wrote:
> Ah, thanks for finding this. Yes this does help, a bit. Hm. What /dev
> device are you trying to write to, ttyUSB0 or ttyUSB1? Yeah, I think we
> need this kind of check back in to fix this problem, but I don't see off
> the top of my head how to add it back...

/dev/ttyUSB0

> And yes, the problem in 2.5 where you see the device register itself
> twice is a known bug (to me at least), it goes away if you disable
> CONFIG_USB_SERIAL_GENERIC. It's on my TODO list, which seems to be
> getting longer every day...

No, it doesn't go away in 2.5 if I disable CONFIG_USB_SERIAL_GENERIC (I
just checked).

> Any suggestions on how to fix this are appreciated. Basically we don't
> want to claim the interface that only has the interrupt endpoint on it
> for this device, as we kinda already did in the section entitled END
> HORRIBLE HACK FOR PL2303. I guess we could just mark that interface as
> claimed already, and then probe() would not get called again. Want to
> throw a call to usb_driver_claim_interface() into that section, grabbing
> that interface, and see if that works?

If I have time today I'll try that.

-Barry K. Nathan <barryn@pobox.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site