SerialMouseHowto

Differences between revisions 3 and 4
Revision 3 as of 2005-10-23 15:54:03
Size: 2644
Editor: host2-85
Comment:
Revision 4 as of 2006-03-29 19:56:32
Size: 2645
Editor: host235-236
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
1) Press Control-Alt-F1 to get to Virtual Terminal 1 (your screen will turn black and you'll see a login prompt in white text).  * Press Control-Alt-F1 to get to Virtual Terminal 1 (your screen will turn black and you'll see a login prompt in white text).
Line 9: Line 9:
2) Login using your username and password.  * Login using your username and password.
Line 11: Line 11:
3) Enter the following command at the prompt  * Enter the following command at the prompt
Line 22: Line 22:
4) Press Return to accept the existing settings UNTIL you get to the selection for the mouse port.  * Press Return to accept the existing settings UNTIL you get to the selection for the mouse port.
Line 24: Line 24:
5) Choose whichever port your mouse is connected to:  * Choose whichever port your mouse is connected to:
Line 28: Line 29:
6) Press Return to accept each the rest of the settings pages.  * Press Return to accept each the rest of the settings pages.
Line 30: Line 31:
7) After you finish configuring the xserver, you will get back to a prompt in white text on a black background.  * After you finish configuring the xserver, you will get back to a prompt in white text on a black background.
Line 32: Line 33:
8) Switch back to the xserver by pressing Control-Alt-F7 (virtual terminal 7).  * Switch back to the xserver by pressing Control-Alt-F7 (virtual terminal 7).
Line 34: Line 35:
9) Kill the xserver by pressing Control-Alt-Backspace (This is NOT Control-Alt-Delete, which will make the machine shutdown).  * Kill the xserver by pressing Control-Alt-Backspace (This is NOT Control-Alt-Delete, which will make the machine shutdown).
Line 36: Line 37:
10) When the xserver restarts, your mouse should work normally. If not, you may have chosen the wrong port. If necessary, press Control-Alt-F1 to go back to the virtual terminal and reconfigure the xserver again (following the steps above). If the xserver gives up, you can make it try again by typing startx at a virtual terminal prompt.  * When the xserver restarts, your mouse should work normally. If not, you may have chosen the wrong port. If necessary, press Control-Alt-F1 to go back to the virtual terminal and reconfigure the xserver again (following the steps above). If the xserver gives up, you can make it try again by typing startx at a virtual terminal prompt.

HOWTO install a serial mouse

The ubuntu Warty and Hoary installers (i386) apparently don't check to see which port the mouse is attached to. (For an update, see bug number 2346) https://bugzilla.ubuntu.com/show_bug.cgi?id=2346 If you are installing on a PC with a mouse attached to a serial port (rather than the mouse port), here's what you need to do...

The installation will complete, and you will be able to log in but your mouse will not move or respond to button clicks. You need to reconfigure your xserver to see the mouse.

  • Press Control-Alt-F1 to get to Virtual Terminal 1 (your screen will turn black and you'll see a login prompt in white text).
  • Login using your username and password.
  • Enter the following command at the prompt
    • For Warty:

 sudo dpkg-reconfigure xserver-xfree86
  • For Hoary:

 sudo dpkg-reconfigure xserver-xorg
  • Press Return to accept the existing settings UNTIL you get to the selection for the mouse port.
  • Choose whichever port your mouse is connected to:
  • first serial port: /dev/ttyS0
  • second serial port: /dev/ttyS1
  • Press Return to accept each the rest of the settings pages.
  • After you finish configuring the xserver, you will get back to a prompt in white text on a black background.
  • Switch back to the xserver by pressing Control-Alt-F7 (virtual terminal 7).
  • Kill the xserver by pressing Control-Alt-Backspace (This is NOT Control-Alt-Delete, which will make the machine shutdown).
  • When the xserver restarts, your mouse should work normally. If not, you may have chosen the wrong port. If necessary, press Control-Alt-F1 to go back to the virtual terminal and reconfigure the xserver again (following the steps above). If the xserver gives up, you can make it try again by typing startx at a virtual terminal prompt.

From JeffFortin Tue Apr 26 00:09:46 +0100 2005 From: Jeff Fortin Date: Tue, 26 Apr 2005 00:09:46 +0100 Subject: quick method Message-ID: <20050426000946+0100@https://www.ubuntulinux.org>

For those who are a little bit more experienced with the command line (I was a bit annoyed to have to run through the whole setup and mess all my hand-written config), you can just change this manually into the /etc/X11/xorg.conf file (with nano, vi, or whatever you please), by simply changing Option Device "whateverwastherebefore" to Option Device "/dev/ttyS0"

Under your mouse section. Be sure to modify the "Protocol" option as well (setting it to "Microsoft" should work). Please see bug number 2346 for more details.

CategoryDocumentation CategoryCleanup

SerialMouseHowto (last edited 2008-08-06 16:40:52 by localhost)