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

Re: Devices?



PATRICK DAHIROC wrote:

> But I'm still puzzled by devices for starter when I boot up Linux I get
> the message:
>         ...
>         /dev/ttyS0 at 0x03f8 (irq=4) is a 16550A
>         /dev/ttyS1 at ?x???? (irq=3) is a 16550A
>         ...
> I believe 16550A is a type of modem right?  But a couple of lines after
> this messages comes:
>         ...
>         Starting mouse interface server: gpm -m /dev/ttySO -t bare
>         ...
> I have a PS/2 mouse how come it needs a serial driver? Are PS/2
> devices and serial devices the same (My mouse works fine). And if
> /dev/ttyS0 is a modem why is the mouse using this device?  Can someone
> make any sense of these?

The 16650 is an UART chip, it drives the serial port hardware (it is the
serial port in a sense.)

"gpm -m /dev/ttySO -t bare" would be wrong in any case. 
                 ^
If it is a ttyS0 instead of ttySO then that means that gpm is listening
to the first serial port. If you use a PS/2 mouse then it will probably
hear not much there. Set it to listen to /dev/psaux and it will listen
to the PS/2 port.

The script you would have to edit is /etc/init.d/gpm, but running
`gpmconfig` would be just fine as well. 

`man gpm` is your friend and /usr/doc/gpm has the general documentation
to gpm.


Joost

> 
> Thanks
> Patrick
> 
> P.S. Can you recommend a good book on writing bash shell scripts.
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-user-request@lists.debian.org .
> Trouble?  e-mail to templin@bucknell.edu .


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: