[suse 9.1] kvm switch levert probleem met kde

Pagina: 1
Acties:

Onderwerpen


Verwijderd

Topicstarter
Mijn belkin 4 poorts kvm switch levert problemen met linux. Als ik linux opstart met de kvm switch op die linux pc gericht, dan gaat het perfect en kan ik gewoon werken. Als ik vervolgens switch naar mijn windowssysteem, gaat het nog steeds goed. In windows kan ik ook gewoon vlekkeloos werken. Maar zodra ik weer terugswitch naar mijn linuxsysteem, gaat het fout. Mijn muis is onbestuurbaar en vliegt naar allekanten van mijn scherm. Onderweg klikt hij alles aan wat hij maar kan aanklikken. Dit is een bekent probleem bij de kde van linux. Het vervelende is echter dat er geen oplossing is die in alle gevallen werkt.

Mijn pogingen tot een oplossing zijn geweest:

-de kvm aansluiten op een externe stroombron zodat hij geen stroom van het toetsenbord moest krijgen. Geen resultaat.
-het gebruikte muisprotocol veranderen naar ps/2. Het resultaat is dat mijn scroller het nier meer doet, maar daar blijft het ook bij. Het probleem blijft aanhouden. De rest van de hardware die door de kvm wordt aangestuurd levert overigens geen problemen tijdens het switchen.

Heeft er iemand nog een idee hoe ik dit probleem kan oplossen (zonder een extra muis te kopen)? Ik heb na lang zoeken dit stuk tekst nog gevonden, maar het lijkt niet helemaal van toepassing op suse 9.1.
Als ik bijvoorbeeld het commando gpm -k geef krijg ik te horen dat er niets is gekilled. En het chmodden van die files die iets te maken hadden met gpm leek ook niets uit te halen. Dus als iemand nog een geniaal plan heeft hoor ik het graag. Hier is het artikel:
Tip #1: KVM and Slackware 8.1

This document is a result of addressing a problem of erratic mouse behavior in the Linux GUI, X, after connecting to a Keyboard, Video, and Mouse (KVM) switch box. Apparently there is a problem with the console based mouse program, "gpm" and X working together when attached to a KVM box. It should be noted that the solution found did not originate with me. It was discovered on a Usenet Newsgroup on the Internet, so credit should go to the Linux community as a whole.

The symptom: Mouse cursor position defaults to bottom left of screen when moving pointer. Mouse clicks spontaneously and erratically. Before I connected the KVM box there was no problem in running gpm with X, so this problem - solution is only a result of connecting to a KVM box.

The specific hardware is an IO Gear 4 port mini KVM switch box. The OS is Slackware Linux 8.1 running KDE 3.0. The mouse is a Logitech wireless optical with wheel. Even though the KVMbox stated it was for a Microsoft operating system, after applying the solution it worked just fine in Linux.

The summary of the solution is to "kill" the gpm driver and disable it in the startup script. In addition, if there is still an issue (with the wheel portion of the mouse) you can edit
XF86Config in the /etc/X11 directory to disable it.

The following is a series of specific steps for accomplishing the task(s):

1. If you are in X, logout and work at the command line as root.
2. Issue the command: "gpm -k" this will stop the console based
mouse driver.
3. To disable gpm from starting up at boot up, change directories
to /etc/rc.d and list the directory.

Note: In Slackware, there is a specific file called rc.gpm that gets executed in the boot process, other distributions have gpm loading in the rc.local file.

4. To disable the execute bit on rc.gpm, issue the command
"chmod 644 rc.gpm"
5. If your using another distribution, edit the rc.local file and put
a "#" at the beginning of the line that loads gpm.

This should clear up the erratic behavior of the mouse and make it operational in X. The additional steps included here are in reference to loading a different mouse protocol for wheel
problems in X.

Note: You should always make a backup copy of the file your editing before you actually make changes. To do this change directories to /etc/X11. Issue the "cp XF86Config XF86Config.lastworking" command, for example.

1. If you are in the /etc/X11 directory edit the "XF86Config" file.
2. Look for the section labeled "Core Pointer's InputDevice section."
(Slackware 8.1 XF86Config label)
3. There should be line that reads "Option Protocol IMPS/2."
4. Change IMPS/2 to PS/2.

[ Voor 3% gewijzigd door Kees op 31-12-2004 01:13 . Reden: code -> quote voor leesbaarheid ]