Kirjoittaja Aihe: Hiiren asennus sarjaporttiin (esim. Logitech M-M35) [kysytty]  (Luettu 18228 kertaa)

timkor

  • Käyttäjä
  • Viestejä: 4
    • Profiili
Näillä ohjeilla alkoi Logitech M-M35 sarjaportin hiiri liikkua.
Kun allaolevat muutokset on tehty , kone käynnistetään uudelleen ja hiiri toimii.
OSOITTEESSA on ohje editoriin siirtymiseen
http://ubuntuforums.org/archive/index.php/t-23926.html
ote ohjeesta
I'm a noob who just installed Ubuntu, and I had issues getting my serial mouse to respond. First, let me thank the forum community. I found some great answers out there and I really appreciate that.

Ive borrowed some stuff from this post, so I want to give them credit =D> :
http://www.ubuntuforums.org/showthread.php?t=2945&highlight=serial+mouse

This post is to add a little to what was out there, as well as to note a couple of changes in Hoary (as most of the posts I used were for Warty).

If you install with a serial mouse, and you get no response, you need to alter one of you config files. The file you need to edit is either

Warty: /etc/X11/XF86Config-4
Hoary: /etc/X11/xorg.conf

In order to get there and do that, do the following:

Get to the login window for Ubuntu. Press Ctrl+Alt+F1 to get to the console.

(Alt F7 pääset takaisin graafiseen tilaan)

To get to the text editor, type
sudo nano /etc/X11/###

where you write your file name there at the end.
Siis
###= XF86Config-4 tai xorg.conf
Käytin xorg.conf

Scroll down through the file until you find the section for the mouse.
Change the line area that says
/dev/mouse/generic

to read /dev/ttyS0 (iso S ja nolla)

Note: that 0 is a zero, not a big letter O. I messed that up, and it took me hours to figure out why.

I've also found that you should change to protocol setion to read "Microsoft." I've only found this in some help guides, so I'm not sure how neccesary it is.

All you do now is hit ctrl+x to leave the editor, and y to say you want to save, and press enter to save the new file over the old one.

To finish up, you can do the following (I copied it from that forum I referenced earlier)


Hit alt-F7 to get back to the mouseless X window.
Hit ctrl-alt-backspace to exit X.
In the console that X exits to, start X again by typing startx&
Serial mouse should now be working.

That was kind of complicated for me, so I just rebooted after saving the file. It worked for me. :)

Also, to be on the safe side you might want to back up the files before you mess with them. To create a bkup, type the following in the console before starting:

sudo cp /etc/X11/### /etc/X11/###.bkup



So I hope that brings all the needed info together to help my fellow newbies in one descriptive location. It worked for me at least. Thanks so much to those who came before me, especially DaveB who replied to the forum I mentioned.


Adam
Toinen osoite, jossa ohje muutoksista hiiren configoinnissa.

http://ubuntuforums.org/archive/index.php/t-2661.html
ote ohjeesta

Installation proceeded fine, and was presented GDM greeter. But mouse cursor stays stuck in center of screen.

Mouse is : Logitech 3 button serial type, and works fine with mandrake and fc2.

how to configure mouse ?

adviise/suggestions grtly appreciated

thanx in advance

I'd imagine it hasn't detected it properly, or you didn't answer its question when it installed X correctly.

You can run xf86config (text-based) or xf86cfg (GUI) to re-configure your XFree86 configuration, or edit it manually by editing /etc/X11/XF86Config-4 .

You'll want to change the lines that say something like:

Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"

to use a serial port.

Option "Device" "/dev/ttyS0"
Option "Protocol" "Auto"

(Depending on the serial port to which your mouse is attached)

I recommend xf86cfg.

Cheers
mercurus

COM1 = ttyS0
COM2 = ttyS1
« Viimeksi muokattu: 16.08.08 - klo:15.28 kirjoittanut Kari Argillander »

Kari Argillander

  • Käyttäjä
  • Viestejä: 437
  • Kubuntu - Hardy
    • Profiili
Vs: Hiiren asennus sarjaporttiin (esim. Logitech M-M35)
« Vastaus #1 : 16.08.08 - klo:15.22 »
Voisiko ohjeen kirjoittaja/täydentäjät kirjoittaa viestin jossa vahvistavat että     

a) ohje on edelleen käyttökelpoinen Hardyssä (tuorein LTS, tuorein stable) eli uudet ominaisuudet eivät ole poistaneet tarvetta ohjeelle tai että ohjeessa käytetyt työkalut jne ovat edelleen Hardyssä käytössä
b) antavat luvan ohjeen siirtämiseen Ubuntu Suomen wikiin (http://wiki.ubuntu-fi.org). Kts. Wikin lisenssistä jne lisätietoja täältä: http://wiki.ubuntu-fi.org/#head-867666147f48c6b667ec0f6be3f5f16852046770
c) antavat luvan ohjeen siirtämiseen Linux.fi-wikiin (http://linux.fi/index.php/Etusivu). Kts. Wikin lisenssistä jne lisätietoja täältä: http://linux.fi/index.php/Linux.fi:Lisenssi

Sinun ei ole pakko antaa lupaa siirtää ohjetta molempiin wikeihin vastaat tällöin vain joka b:hen tai c:hen kyllä.
Kiitos!

Kaikkea täällä sanomaani saa käyttää public domain lisenssillä. Lainauksia ei saa käyttää ellei lainauksen lähde sitä salli. Tiedostoja ei saa käyttää ellei sitä erikseen sallita.