Re: Instances of visor us devices are not deleted (2.6.9-rc4-mm1)

From: Kurt Wall
Date: Thu Oct 21 2004 - 09:33:15 EST


On Wed, Oct 20, 2004 at 12:00:56AM -0700, Greg KH took 41 lines to write:
> On Wed, Oct 20, 2004 at 08:16:47AM +0200, Norbert Preining wrote:
> > Hi USB developers!
> >
> > I have the following problem with 2.6.9-rc4-mm1 which includes bk-usb:
> >
> > Everytime I sync my palm I get a new device id:
> >
> > ...start sync...
> > usb 4-2.1: new full speed USB device using address 8
> > visor 4-2.1:1.0: Handspring Visor / Palm OS converter detected
> > usb 4-2.1: Handspring Visor / Palm OS converter now attached to ttyUSB2
> > usb 4-2.1: Handspring Visor / Palm OS converter now attached to ttyUSB3
> > ...
> > ...many usb usb2: string descriptor 0 read error: -113 ...
> > ...
> > ...end of sync...
> > usb 4-2.1: USB disconnect, address 8
> > visor 4-2.1:1.0: device disconnected
> > visor ttyUSB3: visor_write - usb_submit_urb(write bulk) failed with status = -19
> > ...new sync...
> > usb 4-2.1: new full speed USB device using address 9
> > visor 4-2.1:1.0: Handspring Visor / Palm OS converter detected
> > usb 4-2.1: Handspring Visor / Palm OS converter now attached to ttyUSB4
> > usb 4-2.1: Handspring Visor / Palm OS converter now attached to ttyUSB5
> >
> > etc etc.
> >
> > Is this a known problem?
>
> Hm, no it isn't. Are you sure that userspace doesn't still have the
> device nodes open? If they do, the ttyUSB number will not be released
> until that happens.

I'm seeing the same thing here, but without the read errors:

drivers/usb/serial/usb-serial.c: USB Serial support registered for
Handspring Visor / Palm OS
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony
Clie 3.5
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony
Clie 5.0
usbcore: registered new driver visor
drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver v2.1
usb 1-2: new full speed USB device using address 2
visor 1-2:1.0: Handspring Visor / Palm OS converter detected
usb 1-2: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 1-2: Handspring Visor / Palm OS converter now attached to ttyUSB1
usb 1-2: USB disconnect, address 2
visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from
ttyUSB0
visor ttyUSB1: Handspring Visor / Palm OS converter now disconnected from
ttyUSB1
visor 1-2:1.0: device disconnected

Kurt
--
Furious activity is no substitute for understanding.
-- H. H. Williams
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/