Re: ttyUSB0 changed to ttyUSB1,2

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

 



On Tue, Nov 03, 2009 at 01:07:55PM +0800, dale young wrote:
> HI
> 
>     we have a 3g dongle, and pppd call will use device /dev/ttyUSB0,
>     now the system will changed the device minor number when plug out
> and plug in
> 
> at first time, the device will attached to ttyUSB0.the log is
> 
> usb 1-1: new full speed USB device using address 9
> usb-storage: probe of 1-1:1.0 failed with error -5
> option 1-1:1.0: Option 3G data card converter detected
> usb 1-1: Option 3G data card converter now attached to ttyUSB0
> usb-storage: probe of 1-1:1.1 failed with error -5
> option 1-1:1.1: Option 3G data card converter detected
> usb 1-1: Option 3G data card converter now attached to ttyUSB1
> 
> after plug out ,then plug in. the log will be
> 
> option 1-1:1.0: Option 3G data card converter detected
> usb 1-1: Option 3G data card converter now attached to ttyUSB1
> usb-storage: probe of 1-1:1.1 failed with error -5
> option 1-1:1.1: Option 3G data card converter detected
> usb 1-1: Option 3G data card converter now attached to ttyUSB2
> 
> 
> since device number is changed, then pppd will never success. is there
> way to keep the name unchanged?

What kernel version are you using that you see this?

And if you need a persistant name, use the one in /dev/serial/ instead
of /dev/ttyUSBX directly.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux