[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: How to sdd serial dev ttyS1

Try this as root

first find out the major and minor numbers of /dev/ttyS0 by doing
  ls -l /dev/ttyS0

you will see something like this

crw-rw----    1 root     uucp       4,  64 Jul  7 21:36 /dev/ttyS0

here 4 is the major number and 64 the minor number of the device
so 64+1=65 "should" be the minor number of /dev/ttyS1

run this command(as root)
         mknod /dev/ttyS1 c 4 65

you should get /dev/ttyS1 back

- Sandip

On Sat, Jul 07, 2001 at 02:12:21PM +0530, subashini.P merrily said:
> Hi ,
>   I have deleted ttyS1 from the device list unfortunately.Now i want
> toconnect serial mouse in com2 port under linux.How to add the ttyS1
> again,using command.

Sandip Bhattacharya 
sandipb @ bigfoot.com