LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   /dev/tty0, /dev/tty1, /dev/tty10...and so on...which should be used for a device ??? (https://www.linuxquestions.org/questions/slackware-14/dev-tty0-dev-tty1-dev-tty10-and-so-on-which-should-be-used-for-a-device-401455/)

b0nd 01-09-2006 11:38 PM

/dev/tty0, /dev/tty1, /dev/tty10...and so on...which should be used for a device ???
 
Hello all,
Yesterday i reinstalled Slackware 10.0.
previously everytime /dev/mouse and "auto" protocol worked for me.
But this time it took me a long to configure the mouse.
my mouse is "logitech", serial, 3 button.

finally the setting are "MouseMan" and /dev/ttyS0"
But before this i tried with the following :
/dev/tty0
/dev/tty1
/dev/tty10
/dev/tty11
/dev/tty12
.......and few more...

Is seems to me like hit and trial method.
Is there any other way of doing it...or just hit and trial ???

regards

T.Hsu 01-10-2006 12:19 AM

/dev/ttyS0 is the first serial port equivalent to dos's com1, and /dev/tty[number] are virtual consoles, you can switch through them by press ctrl + left alt + f1-f7 (normal linux system has seven virtual consoles).

atom 04-02-2006 08:14 AM

The bottom-line is you shouldn't use /dev/tty[int] for mouse and device mapping.


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