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

Re: USB PORT assignment



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: