[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB PORT assignment



This turned out to be, as proposed by Ron, a running program. I killed the PID but that did not solve the whole problem. At that point you either have to pull out and reinstall the USB cable to rescan or unload the module for the USB to serial converter. In my case:

 modprobe -r pl2303
 modprobe pl2303

I tried a rescan shell I found on the net but this just rescans the scsi/usb ports of the computer not the devices connected.

Maybe there is a better way to do this, such as a signal or command you can send to the converter SW????  But this works.

Doug

This reinstalls the converter and uses the first port - ttyUSB0 

--- On Sat, 6/6/09, Joost Yervante Damad <joost@damad.be> wrote:

> From: Joost Yervante Damad <joost@damad.be>
> Subject: Re: USB PORT assignment
> To: debian-arm@lists.debian.org
> Cc: "Mr Doug -" <dsc3507@yahoo.com>
> Date: Saturday, June 6, 2009, 2:22 AM
> On Saturday 06 June 2009 00:40:00 Mr
> Doug - wrote:
> > I know I don't know enough about this so maybe someone
> can enlighten me.
> >
> > When I connect a USB to serial adapter on my NSLU2
> Debian system all is
> > well... it assigns ttyUSB0.  But if I disconnect
> the cable and then
> > reconnect it assigns the next port - ttyUSB1 and so on
> going up.
> >
> > Is this normal? I tried deleting the
> /dev/ttyUSBx  files but it still
> > assigns the next port.. Is there a way to delete a port
> so it can be
> > reassigned? I know rebooting would solve the problem
> but I do not want to
> > do that every time.
> >
> > Doug
> 
> What happens for me occasionally is that the usbserial
> driver crashes when 
> there is still an application connected to the port. This
> causes the port to 
> be blocked and the next insertion will indeed use the next
> port.
> 
> Joost
> 
> -- 
> Joost Yervante Damad - http://damad.be/joost/
> 





Reply to: