LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2011, 09:12 PM   #1
yanayun
LQ Newbie
 
Registered: Aug 2004
Location: Bali
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Static ttyUSB


I have many modem,

Modem1 --> /dev/ttyUSB1
Modem2 --> /dev/ttyUSB0
Modem3 --> /dev/ttyUSB9
Modem4 --> /dev/ttyUSB2
Modem5 --> /dev/ttyUSB6
Modem6 --> /dev/ttyUSB5
Modem7 --> /dev/ttyUSB3
Modem8 --> /dev/ttyUSB8

after reboot, all port will change to different configuration, ex:

Modem1 --> /dev/ttyUSB9
Modem2 --> /dev/ttyUSB2
Modem3 --> /dev/ttyUSB1
Modem4 --> /dev/ttyUSB0
Modem5 --> /dev/ttyUSB5
Modem6 --> /dev/ttyUSB6
Modem7 --> /dev/ttyUSB8
Modem8 --> /dev/ttyUSB3


i don't want my port change after reboot, it's must static ttyUSB port.
can enyone help?


Regards,
wayan

Last edited by yanayun; 11-12-2011 at 09:15 PM.
 
Old 11-13-2011, 12:10 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Hi

It is generated on fly, devicefiles in /dev are created on the fly by the kext that gets loaded once you plug in your device.
try:

Code:
$ls -lt /dev
After you plug it in, it should be quite high in the resulting list.
You'll see a device called "tty.usbserial-(your device name)" or something like that a few lines down the list. Unplug and plug it back, type in the command again, and the tty.usbserial device might move to the top of the list.

Regards
 
Old 11-13-2011, 12:53 AM   #3
yanayun
LQ Newbie
 
Registered: Aug 2004
Location: Bali
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
This's my device:

trx:~# ls -lt /dev
total 0
crw-rw-rw- 1 root root 5, 2 2011-11-13 13:40 ptmx
crw-rw---- 1 root dialout 188, 0 2011-11-13 13:40 ttyUSB0
crw-rw---- 1 root dialout 188, 1 2011-11-13 13:40 ttyUSB1
crw-rw---- 1 root dialout 188, 12 2011-11-13 13:40 ttyUSB12
crw-rw---- 1 root dialout 188, 2 2011-11-13 13:40 ttyUSB2
crw-rw---- 1 root dialout 188, 5 2011-11-13 13:40 ttyUSB5
crw-rw---- 1 root dialout 188, 10 2011-11-13 13:40 ttyUSB10
crw-rw---- 1 root dialout 188, 6 2011-11-13 13:40 ttyUSB6
crw-rw---- 1 root dialout 188, 7 2011-11-13 13:40 ttyUSB7
crw-rw---- 1 root dialout 188, 11 2011-11-13 13:40 ttyUSB11
crw-rw---- 1 root dialout 188, 14 2011-11-13 13:40 ttyUSB14
crw-rw---- 1 root dialout 188, 3 2011-11-13 13:40 ttyUSB3
crw-rw---- 1 root dialout 188, 13 2011-11-13 13:40 ttyUSB13
crw-rw---- 1 root dialout 188, 4 2011-11-13 13:40 ttyUSB4
crw-rw---- 1 root dialout 166, 0 2011-11-13 13:40 ttyACM0
crw-rw---- 1 root dialout 188, 8 2011-11-13 13:40 ttyUSB8
crw-rw---- 1 root dialout 166, 1 2011-11-13 13:40 ttyACM1
crw-rw---- 1 root dialout 188, 9 2011-11-13 13:40 ttyUSB9
prw-r----- 1 root adm 0 2011-11-13 13:40 xconsole
srw-rw-rw- 1 root root 0 2011-11-13 07:43 log
crw-rw---- 1 root dialout 188, 15 2011-11-12 13:16 ttyUSB15
crw------- 1 root root 4, 1 2011-11-12 13:12 tty1
crw------- 1 root root 4, 2 2011-11-12 13:12 tty2
crw------- 1 root root 4, 3 2011-11-12 13:12 tty3
crw------- 1 root root 4, 4 2011-11-12 13:12 tty4
crw------- 1 root root 4, 5 2011-11-12 13:12 tty5
crw------- 1 root root 4, 6 2011-11-12 13:12 tty6
drwxr-xr-x 2 root root 6540 2011-11-12 13:12 char
crw-rw---- 1 root root 7, 131 2011-11-12 13:12 vcsa3
crw-rw---- 1 root root 7, 3 2011-11-12 13:12 vcs3
crw-rw---- 1 root root 7, 4 2011-11-12 13:12 vcs4
crw-rw---- 1 root root 7, 6 2011-11-12 13:12 vcs6
crw-rw---- 1 root root 7, 132 2011-11-12 13:12 vcsa4
crw-rw---- 1 root root 7, 133 2011-11-12 13:12 vcsa5
crw-rw---- 1 root root 7, 134 2011-11-12 13:12 vcsa6
crw-rw---- 1 root root 7, 2 2011-11-12 13:12 vcs2
crw-rw---- 1 root root 7, 5 2011-11-12 13:12 vcs5
crw-rw---- 1 root root 7, 130 2011-11-12 13:12 vcsa2
crw------- 1 root root 5, 1 2011-11-12 13:12 console
drwxr-xr-x 2 root root 60 2011-11-12 13:12 dri
crw-rw---- 1 root root 7, 7 2011-11-12 13:12 vcs7
crw-rw---- 1 root root 7, 135 2011-11-12 13:12 vcsa7
crw-rw---- 1 root root 7, 129 2011-11-12 13:12 vcsa1
crw-rw---- 1 root root 7, 1 2011-11-12 13:12 vcs1
crw-rw-rw- 1 root root 1, 9 2011-11-12 13:12 urandom
crw-rw-rw- 1 root root 5, 0 2011-11-12 13:12 tty
brw-rw---- 1 root disk 9, 3 2011-11-12 13:12 md3
brw-rw---- 1 root disk 9, 2 2011-11-12 13:12 md2
brw-rw---- 1 root disk 9, 1 2011-11-12 13:12 md1
drwxr-xr-x 2 root root 900 2011-11-12 13:12 block
brw-rw---- 1 root disk 7, 4 2011-11-12 13:12 loop4
brw-rw---- 1 root disk 7, 5 2011-11-12 13:12 loop5
brw-rw---- 1 root disk 7, 6 2011-11-12 13:12 loop6
brw-rw---- 1 root disk 7, 7 2011-11-12 13:12 loop7
brw-rw---- 1 root disk 7, 1 2011-11-12 13:12 loop1
brw-rw---- 1 root disk 7, 2 2011-11-12 13:12 loop2
brw-rw---- 1 root disk 7, 3 2011-11-12 13:12 loop3
brw-rw---- 1 root disk 9, 0 2011-11-12 13:12 md0
drwxrwxrwt 2 root root 40 2011-11-12 13:12 shm
lrwxrwxrwx 1 root root 3 2011-11-12 13:12 root -> md0
drwxr-xr-x 4 root root 220 2011-11-12 13:12 input
crw-rw---- 1 root audio 14, 0 2011-11-12 13:12 mixer
crw-rw---- 1 root audio 14, 4 2011-11-12 13:12 audio
crw-rw---- 1 root audio 14, 3 2011-11-12 13:12 dsp
drwxr-xr-x 2 root root 160 2011-11-12 13:12 snd
crw-rw---- 1 root audio 14, 1 2011-11-12 13:12 sequencer
crw-rw---- 1 root audio 14, 8 2011-11-12 13:12 sequencer2
lrwxrwxrwx 1 root root 24 2011-11-12 13:12 sndstat -> /proc/asound/oss/sndstat
crw-rw---- 1 root video 10, 175 2011-11-12 13:12 agpgart
lrwxrwxrwx 1 root root 13 2011-11-12 13:12 MAKEDEV -> /sbin/MAKEDEV
brw-rw---- 1 root disk 7, 0 2011-11-12 13:12 loop0
drwxr-xr-x 2 root root 60 2011-11-12 13:12 net
crw------- 1 root root 108, 0 2011-11-12 13:12 ppp
lrwxrwxrwx 1 root root 11 2011-11-12 13:12 core -> /proc/kcore
lrwxrwxrwx 1 root root 15 2011-11-12 13:12 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 2011-11-12 13:12 stdout -> /proc/self/fd/1
lrwxrwxrwx 1 root root 13 2011-11-12 13:12 fd -> /proc/self/fd
lrwxrwxrwx 1 root root 15 2011-11-12 13:12 stdin -> /proc/self/fd/0
prw------- 1 root root 0 2011-11-12 13:12 initctl
drwxr-xr-x 2 root root 40 2011-11-12 13:12 md
crw-rw---- 1 root root 252, 31 2011-11-12 13:12 usbdev2.3_ep00
crw-rw---- 1 root root 252, 30 2011-11-12 13:12 usbdev2.3_ep81
crw-rw---- 1 root root 252, 129 2011-11-12 13:12 usbdev14.6_ep00
crw-rw---- 1 root root 252, 127 2011-11-12 13:12 usbdev14.6_ep02
crw-rw---- 1 root root 252, 126 2011-11-12 13:12 usbdev14.6_ep81
crw-rw---- 1 root root 252, 128 2011-11-12 13:12 usbdev14.6_ep83
crw-rw---- 1 root root 252, 13 2011-11-12 13:12 usbdev9.1_ep00
crw-rw---- 1 root root 252, 12 2011-11-12 13:12 usbdev9.1_ep81
crw-rw---- 1 root root 252, 33 2011-11-12 13:12 usbdev2.4_ep00
crw-rw---- 1 root root 252, 32 2011-11-12 13:12 usbdev2.4_ep81
crw-rw---- 1 root root 252, 125 2011-11-12 13:12 usbdev13.22_ep00
crw-rw---- 1 root root 252, 123 2011-11-12 13:12 usbdev13.22_ep02
crw-rw---- 1 root root 252, 124 2011-11-12 13:12 usbdev13.22_ep83
crw-rw---- 1 root root 252, 122 2011-11-12 13:12 usbdev13.22_ep81
crw-rw---- 1 root root 252, 121 2011-11-12 13:12 usbdev13.21_ep00
crw-rw---- 1 root root 252, 120 2011-11-12 13:12 usbdev13.21_ep83
crw-rw---- 1 root root 252, 119 2011-11-12 13:12 usbdev13.21_ep02
crw-rw---- 1 root root 252, 118 2011-11-12 13:12 usbdev13.21_ep81
crw-rw---- 1 root root 252, 117 2011-11-12 13:12 usbdev13.20_ep00
crw-rw---- 1 root root 252, 116 2011-11-12 13:12 usbdev13.20_ep83
crw-rw---- 1 root root 252, 115 2011-11-12 13:12 usbdev13.20_ep02
crw-rw---- 1 root root 252, 114 2011-11-12 13:12 usbdev13.20_ep81
crw-rw---- 1 root root 252, 113 2011-11-12 13:12 usbdev13.19_ep00
crw-rw---- 1 root root 252, 111 2011-11-12 13:12 usbdev13.19_ep02
crw-rw---- 1 root root 252, 112 2011-11-12 13:12 usbdev13.19_ep83
crw-rw---- 1 root root 252, 110 2011-11-12 13:12 usbdev13.19_ep81
crw-rw---- 1 root root 252, 109 2011-11-12 13:12 usbdev7.7_ep00
crw-rw---- 1 root root 252, 105 2011-11-12 13:12 usbdev7.7_ep81
crw-rw---- 1 root root 252, 106 2011-11-12 13:12 usbdev7.7_ep82
crw-rw---- 1 root root 252, 108 2011-11-12 13:12 usbdev7.7_ep03
crw-rw---- 1 root root 252, 107 2011-11-12 13:12 usbdev7.7_ep83
crw-rw---- 1 root root 252, 104 2011-11-12 13:12 usbdev14.5_ep00
crw-rw---- 1 root root 252, 103 2011-11-12 13:12 usbdev14.5_ep81
crw-rw---- 1 root root 252, 102 2011-11-12 13:12 usbdev14.4_ep00
crw-rw---- 1 root root 252, 100 2011-11-12 13:12 usbdev14.4_ep02
crw-rw---- 1 root root 252, 99 2011-11-12 13:12 usbdev14.4_ep81
crw-rw---- 1 root root 252, 101 2011-11-12 13:12 usbdev14.4_ep83
crw-rw---- 1 root root 252, 98 2011-11-12 13:12 usbdev14.3_ep00
crw-rw---- 1 root root 252, 96 2011-11-12 13:12 usbdev14.3_ep02
crw-rw---- 1 root root 252, 95 2011-11-12 13:12 usbdev14.3_ep81
crw-rw---- 1 root root 252, 97 2011-11-12 13:12 usbdev14.3_ep83
crw-rw---- 1 root root 252, 94 2011-11-12 13:12 usbdev13.18_ep00
crw-rw---- 1 root root 252, 93 2011-11-12 13:12 usbdev13.18_ep81
crw-rw---- 1 root root 252, 92 2011-11-12 13:12 usbdev13.17_ep00
crw-rw---- 1 root root 252, 90 2011-11-12 13:12 usbdev13.17_ep02
crw-rw---- 1 root root 252, 89 2011-11-12 13:12 usbdev13.17_ep81
crw-rw---- 1 root root 252, 91 2011-11-12 13:12 usbdev13.17_ep83
crw-rw---- 1 root root 252, 88 2011-11-12 13:12 usbdev13.16_ep00
crw-rw---- 1 root root 252, 86 2011-11-12 13:12 usbdev13.16_ep02
crw-rw---- 1 root root 252, 85 2011-11-12 13:12 usbdev13.16_ep81
crw-rw---- 1 root root 252, 87 2011-11-12 13:12 usbdev13.16_ep83
crw-rw---- 1 root root 252, 84 2011-11-12 13:12 usbdev13.15_ep00
crw-rw---- 1 root root 252, 82 2011-11-12 13:12 usbdev13.15_ep02
crw-rw---- 1 root root 252, 81 2011-11-12 13:12 usbdev13.15_ep81
crw-rw---- 1 root root 252, 83 2011-11-12 13:12 usbdev13.15_ep83
crw-rw---- 1 root root 252, 80 2011-11-12 13:12 usbdev13.14_ep00
crw-rw---- 1 root root 252, 79 2011-11-12 13:12 usbdev13.14_ep81
crw-rw---- 1 root root 252, 78 2011-11-12 13:12 usbdev13.13_ep00
crw-rw---- 1 root root 252, 76 2011-11-12 13:12 usbdev13.13_ep02
crw-rw---- 1 root root 252, 75 2011-11-12 13:12 usbdev13.13_ep81
crw-rw---- 1 root root 252, 77 2011-11-12 13:12 usbdev13.13_ep83
crw-rw---- 1 root root 252, 74 2011-11-12 13:12 usbdev13.12_ep00
crw-rw---- 1 root root 252, 73 2011-11-12 13:12 usbdev13.12_ep81
crw-rw---- 1 root root 252, 72 2011-11-12 13:12 usbdev13.11_ep00
crw-rw---- 1 root root 252, 70 2011-11-12 13:12 usbdev13.11_ep02
crw-rw---- 1 root root 252, 69 2011-11-12 13:12 usbdev13.11_ep81
crw-rw---- 1 root root 252, 71 2011-11-12 13:12 usbdev13.11_ep83
crw-rw---- 1 root root 252, 68 2011-11-12 13:12 usbdev13.10_ep00
crw-rw---- 1 root root 252, 66 2011-11-12 13:12 usbdev13.10_ep02
crw-rw---- 1 root root 252, 65 2011-11-12 13:12 usbdev13.10_ep81
crw-rw---- 1 root root 252, 67 2011-11-12 13:12 usbdev13.10_ep83
crw-rw---- 1 root root 252, 64 2011-11-12 13:12 usbdev13.9_ep00
crw-rw---- 1 root root 252, 63 2011-11-12 13:12 usbdev13.9_ep81
crw-rw---- 1 root root 252, 62 2011-11-12 13:12 usbdev13.8_ep00
crw-rw---- 1 root root 252, 60 2011-11-12 13:12 usbdev13.8_ep02
crw-rw---- 1 root root 252, 59 2011-11-12 13:12 usbdev13.8_ep81
crw-rw---- 1 root root 252, 61 2011-11-12 13:12 usbdev13.8_ep83
crw-rw---- 1 root root 252, 58 2011-11-12 13:12 usbdev13.7_ep00
crw-rw---- 1 root root 252, 56 2011-11-12 13:12 usbdev13.7_ep02
crw-rw---- 1 root root 252, 55 2011-11-12 13:12 usbdev13.7_ep81
crw-rw---- 1 root root 252, 57 2011-11-12 13:12 usbdev13.7_ep83
crw-rw---- 1 root root 252, 54 2011-11-12 13:12 usbdev13.6_ep00
crw-rw---- 1 root root 252, 52 2011-11-12 13:12 usbdev13.6_ep02
crw-rw---- 1 root root 252, 51 2011-11-12 13:12 usbdev13.6_ep81
crw-rw---- 1 root root 252, 53 2011-11-12 13:12 usbdev13.6_ep83
crw-rw---- 1 root root 251, 1 2011-11-12 13:12 hidraw1
crw-rw---- 1 root root 251, 0 2011-11-12 13:12 hidraw0
crw-rw---- 1 root root 252, 50 2011-11-12 13:12 usbdev7.6_ep00
crw-rw---- 1 root root 252, 49 2011-11-12 13:12 usbdev7.6_ep81
crw-rw---- 1 root root 252, 48 2011-11-12 13:12 usbdev7.5_ep00
crw-rw---- 1 root root 252, 47 2011-11-12 13:12 usbdev7.5_ep03
crw-rw---- 1 root root 252, 46 2011-11-12 13:12 usbdev7.5_ep83
crw-rw---- 1 root root 252, 44 2011-11-12 13:12 usbdev7.5_ep81
crw-rw---- 1 root root 252, 45 2011-11-12 13:12 usbdev7.5_ep82
crw-rw---- 1 root root 252, 43 2011-11-12 13:12 usbdev14.2_ep00
crw-rw---- 1 root root 252, 42 2011-11-12 13:12 usbdev14.2_ep81
crw-rw---- 1 root root 252, 41 2011-11-12 13:12 usbdev13.5_ep00
crw-rw---- 1 root root 252, 40 2011-11-12 13:12 usbdev13.5_ep81
crw-rw---- 1 root root 252, 39 2011-11-12 13:12 usbdev13.4_ep00
crw-rw---- 1 root root 252, 38 2011-11-12 13:12 usbdev13.4_ep81
crw-rw---- 1 root root 252, 37 2011-11-12 13:12 usbdev13.3_ep00
crw-rw---- 1 root root 252, 36 2011-11-12 13:12 usbdev13.3_ep81
crw-rw---- 1 root root 252, 35 2011-11-12 13:12 usbdev13.2_ep00
crw-rw---- 1 root root 252, 34 2011-11-12 13:12 usbdev13.2_ep81
brw-rw---- 1 root disk 8, 3 2011-11-12 13:12 sda3
brw-rw---- 1 root disk 8, 4 2011-11-12 13:12 sda4
brw-rw---- 1 root disk 8, 6 2011-11-12 13:12 sda6
brw-rw---- 1 root disk 8, 5 2011-11-12 13:12 sda5
drwxr-xr-x 5 root root 100 2011-11-12 13:12 disk
brw-rw---- 1 root disk 8, 2 2011-11-12 13:12 sda2
brw-rw---- 1 root disk 8, 22 2011-11-12 13:12 sdb6
brw-rw---- 1 root disk 8, 1 2011-11-12 13:12 sda1
brw-rw---- 1 root disk 8, 19 2011-11-12 13:12 sdb3
brw-rw---- 1 root disk 8, 20 2011-11-12 13:12 sdb4
brw-rw---- 1 root disk 8, 21 2011-11-12 13:12 sdb5
brw-rw---- 1 root disk 8, 18 2011-11-12 13:12 sdb2
brw-rw---- 1 root disk 8, 0 2011-11-12 13:12 sda
brw-rw---- 1 root disk 8, 17 2011-11-12 13:12 sdb1
lrwxrwxrwx 1 root root 3 2011-11-12 13:12 cdrom -> sr0
lrwxrwxrwx 1 root root 3 2011-11-12 13:12 cdrw -> sr0
lrwxrwxrwx 1 root root 3 2011-11-12 13:12 dvd -> sr0
lrwxrwxrwx 1 root root 3 2011-11-12 13:12 dvdrw -> sr0
lrwxrwxrwx 1 root root 3 2011-11-12 13:12 scd0 -> sr0
brw-rw---- 1 root cdrom 11, 0 2011-11-12 13:12 sr0
brw-rw---- 1 root disk 8, 16 2011-11-12 13:12 sdb
crw-rw---- 1 root root 21, 0 2011-11-12 13:12 sg0
crw-rw---- 1 root cdrom 21, 1 2011-11-12 13:12 sg1
crw-rw---- 1 root root 21, 2 2011-11-12 13:12 sg2
drwxr-xr-x 2 root root 100 2011-11-12 13:12 bsg
crw-rw---- 1 root root 252, 29 2011-11-12 13:11 usbdev7.4_ep00
crw-rw---- 1 root root 252, 28 2011-11-12 13:11 usbdev7.4_ep81
crw-rw---- 1 root root 252, 27 2011-11-12 13:11 usbdev14.1_ep00
crw-rw---- 1 root root 252, 25 2011-11-12 13:11 usbdev13.1_ep00
crw-rw---- 1 root root 252, 24 2011-11-12 13:11 usbdev13.1_ep81
crw-rw---- 1 root root 252, 26 2011-11-12 13:11 usbdev14.1_ep81
crw-rw---- 1 root root 252, 15 2011-11-12 13:11 usbdev7.1_ep00
crw-rw---- 1 root root 252, 14 2011-11-12 13:11 usbdev7.1_ep81
crw-rw---- 1 root root 252, 17 2011-11-12 13:11 usbdev8.1_ep00
crw-rw---- 1 root root 252, 16 2011-11-12 13:11 usbdev8.1_ep81
crw-rw---- 1 root root 252, 23 2011-11-12 13:11 usbdev12.1_ep00
crw-rw---- 1 root root 252, 21 2011-11-12 13:11 usbdev11.1_ep00
crw-rw---- 1 root root 252, 20 2011-11-12 13:11 usbdev11.1_ep81
crw-rw---- 1 root root 252, 22 2011-11-12 13:11 usbdev12.1_ep81
crw-rw---- 1 root root 252, 19 2011-11-12 13:11 usbdev10.1_ep00
crw-rw---- 1 root root 252, 18 2011-11-12 13:11 usbdev10.1_ep81
crw-rw---- 1 root root 252, 11 2011-11-12 13:11 usbdev6.1_ep00
crw-rw---- 1 root root 252, 9 2011-11-12 13:11 usbdev5.1_ep00
crw-rw---- 1 root root 252, 10 2011-11-12 13:11 usbdev6.1_ep81
crw-rw---- 1 root root 252, 7 2011-11-12 13:11 usbdev4.1_ep00
crw-rw---- 1 root root 252, 8 2011-11-12 13:11 usbdev5.1_ep81
crw-rw---- 1 root root 252, 5 2011-11-12 13:11 usbdev3.1_ep00
crw-rw---- 1 root root 252, 4 2011-11-12 13:11 usbdev3.1_ep81
crw-rw---- 1 root root 252, 6 2011-11-12 13:11 usbdev4.1_ep81
crw-rw---- 1 root root 252, 0 2011-11-12 13:11 usbdev1.1_ep81
crw-rw---- 1 root root 252, 3 2011-11-12 13:11 usbdev2.1_ep00
crw-rw---- 1 root root 252, 1 2011-11-12 13:11 usbdev1.1_ep00
crw-rw---- 1 root root 252, 2 2011-11-12 13:11 usbdev2.1_ep81
drwxr-xr-x 3 root root 60 2011-11-12 13:11 bus
crw-rw---- 1 root root 4, 9 2011-11-12 13:11 tty9
crw-rw---- 1 root dialout 4, 64 2011-11-12 13:11 ttyS0
crw-rw---- 1 root dialout 4, 65 2011-11-12 13:11 ttyS1
crw-rw---- 1 root dialout 4, 66 2011-11-12 13:11 ttyS2
crw-rw---- 1 root dialout 4, 67 2011-11-12 13:11 ttyS3
crw-rw---- 1 root root 7, 0 2011-11-12 13:11 vcs
crw-rw---- 1 root root 7, 128 2011-11-12 13:11 vcsa
crw-rw---- 1 root root 4, 50 2011-11-12 13:11 tty50
crw-rw---- 1 root root 4, 51 2011-11-12 13:11 tty51
crw-rw---- 1 root root 4, 52 2011-11-12 13:11 tty52
crw-rw---- 1 root root 4, 53 2011-11-12 13:11 tty53
crw-rw---- 1 root root 4, 54 2011-11-12 13:11 tty54
crw-rw---- 1 root root 4, 55 2011-11-12 13:11 tty55
crw-rw---- 1 root root 4, 56 2011-11-12 13:11 tty56
crw-rw---- 1 root root 4, 57 2011-11-12 13:11 tty57
crw-rw---- 1 root root 4, 58 2011-11-12 13:11 tty58
crw-rw---- 1 root root 4, 59 2011-11-12 13:11 tty59
crw-rw---- 1 root root 4, 60 2011-11-12 13:11 tty60
crw-rw---- 1 root root 4, 61 2011-11-12 13:11 tty61
crw-rw---- 1 root root 4, 62 2011-11-12 13:11 tty62
crw-rw---- 1 root root 4, 63 2011-11-12 13:11 tty63
crw-rw---- 1 root root 4, 7 2011-11-12 13:11 tty7
crw-rw---- 1 root root 4, 8 2011-11-12 13:11 tty8
crw-rw---- 1 root root 4, 37 2011-11-12 13:11 tty37
crw-rw---- 1 root root 4, 38 2011-11-12 13:11 tty38
crw-rw---- 1 root root 4, 39 2011-11-12 13:11 tty39
crw-rw---- 1 root root 4, 40 2011-11-12 13:11 tty40
crw-rw---- 1 root root 4, 41 2011-11-12 13:11 tty41
crw-rw---- 1 root root 4, 42 2011-11-12 13:11 tty42
crw-rw---- 1 root root 4, 43 2011-11-12 13:11 tty43
crw-rw---- 1 root root 4, 44 2011-11-12 13:11 tty44
crw-rw---- 1 root root 4, 45 2011-11-12 13:11 tty45
crw-rw---- 1 root root 4, 46 2011-11-12 13:11 tty46
crw-rw---- 1 root root 4, 47 2011-11-12 13:11 tty47
crw-rw---- 1 root root 4, 48 2011-11-12 13:11 tty48
crw-rw---- 1 root root 4, 49 2011-11-12 13:11 tty49
crw-rw---- 1 root root 4, 28 2011-11-12 13:11 tty28
crw-rw---- 1 root root 4, 29 2011-11-12 13:11 tty29
crw-rw---- 1 root root 4, 30 2011-11-12 13:11 tty30
crw-rw---- 1 root root 4, 31 2011-11-12 13:11 tty31
crw-rw---- 1 root root 4, 32 2011-11-12 13:11 tty32
crw-rw---- 1 root root 4, 33 2011-11-12 13:11 tty33
crw-rw---- 1 root root 4, 34 2011-11-12 13:11 tty34
crw-rw---- 1 root root 4, 35 2011-11-12 13:11 tty35
crw-rw---- 1 root root 4, 36 2011-11-12 13:11 tty36
crw-rw---- 1 root root 4, 11 2011-11-12 13:11 tty11
crw-rw---- 1 root root 4, 12 2011-11-12 13:11 tty12
crw-rw---- 1 root root 4, 13 2011-11-12 13:11 tty13
crw-rw---- 1 root root 4, 14 2011-11-12 13:11 tty14
crw-rw---- 1 root root 4, 15 2011-11-12 13:11 tty15
crw-rw---- 1 root root 4, 16 2011-11-12 13:11 tty16
crw-rw---- 1 root root 4, 17 2011-11-12 13:11 tty17
crw-rw---- 1 root root 4, 18 2011-11-12 13:11 tty18
crw-rw---- 1 root root 4, 19 2011-11-12 13:11 tty19
crw-rw---- 1 root root 4, 20 2011-11-12 13:11 tty20
crw-rw---- 1 root root 4, 21 2011-11-12 13:11 tty21
crw-rw---- 1 root root 4, 22 2011-11-12 13:11 tty22
crw-rw---- 1 root root 4, 23 2011-11-12 13:11 tty23
crw-rw---- 1 root root 4, 24 2011-11-12 13:11 tty24
crw-rw---- 1 root root 4, 25 2011-11-12 13:11 tty25
crw-rw---- 1 root root 4, 26 2011-11-12 13:11 tty26
crw-rw---- 1 root root 4, 27 2011-11-12 13:11 tty27
lrwxrwxrwx 1 root root 4 2011-11-12 13:11 rtc -> rtc0
crw-rw---- 1 root audio 254, 0 2011-11-12 13:11 rtc0
crw-rw---- 1 root root 10, 231 2011-11-12 13:11 snapshot
crw-rw---- 1 root root 4, 0 2011-11-12 13:11 tty0
crw-rw---- 1 root root 4, 10 2011-11-12 13:11 tty10
crw-rw---- 1 root root 10, 63 2011-11-12 13:11 cpu_dma_latency
crw-rw---- 1 root root 10, 228 2011-11-12 13:11 hpet
crw-rw---- 1 root root 10, 62 2011-11-12 13:11 network_latency
crw-rw---- 1 root root 10, 61 2011-11-12 13:11 network_throughput
crw-rw---- 1 root root 10, 1 2011-11-12 13:11 psaux
crw-rw-rw- 1 root root 1, 5 2011-11-12 13:11 zero
crw-r----- 1 root kmem 1, 2 2011-11-12 13:11 kmem
crw-rw---- 1 root root 1, 11 2011-11-12 13:11 kmsg
crw-r----- 1 root kmem 1, 1 2011-11-12 13:11 mem
crw-r----- 1 root kmem 1, 4 2011-11-12 13:11 port
crw-rw-rw- 1 root root 1, 8 2011-11-12 13:11 random
crw-rw-rw- 1 root root 1, 7 2011-11-12 13:11 full
brw-rw---- 1 root disk 1, 7 2011-11-12 13:11 ram7
brw-rw---- 1 root disk 1, 8 2011-11-12 13:11 ram8
brw-rw---- 1 root disk 1, 9 2011-11-12 13:11 ram9
brw-rw---- 1 root disk 1, 1 2011-11-12 13:11 ram1
brw-rw---- 1 root disk 1, 10 2011-11-12 13:11 ram10
brw-rw---- 1 root disk 1, 11 2011-11-12 13:11 ram11
brw-rw---- 1 root disk 1, 12 2011-11-12 13:11 ram12
brw-rw---- 1 root disk 1, 13 2011-11-12 13:11 ram13
brw-rw---- 1 root disk 1, 14 2011-11-12 13:11 ram14
brw-rw---- 1 root disk 1, 15 2011-11-12 13:11 ram15
brw-rw---- 1 root disk 1, 2 2011-11-12 13:11 ram2
brw-rw---- 1 root disk 1, 3 2011-11-12 13:11 ram3
brw-rw---- 1 root disk 1, 4 2011-11-12 13:11 ram4
brw-rw---- 1 root disk 1, 5 2011-11-12 13:11 ram5
brw-rw---- 1 root disk 1, 6 2011-11-12 13:11 ram6
brw-rw---- 1 root disk 1, 0 2011-11-12 13:11 ram0
crw-rw-rw- 1 root root 1, 3 2011-11-12 13:11 null
drwxr-xr-x 2 root root 0 2011-11-12 13:11 pts



Quote:
Originally Posted by ukiuki View Post
Hi

It is generated on fly, devicefiles in /dev are created on the fly by the kext that gets loaded once you plug in your device.
try:

Code:
$ls -lt /dev
After you plug it in, it should be quite high in the resulting list.
You'll see a device called "tty.usbserial-(your device name)" or something like that a few lines down the list. Unplug and plug it back, type in the command again, and the tty.usbserial device might move to the top of the list.

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No /dev/ttyUSB<*> in CentOS 5.4 baig Linux - Newbie 1 03-05-2010 04:02 PM
/dev/ttyUSB* is getting locked shariefbe Linux - Software 1 02-09-2010 11:55 PM
pppd ttyUSB problem Simmo512 Linux - Software 0 12-04-2007 10:23 AM
ttyUSB iomari SUSE / openSUSE 3 11-04-2005 03:31 AM
no /dev/ttyUSB* with FC3 please help derddera Fedora 3 12-30-2004 08:43 AM


All times are GMT -5. The time now is 02:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration