Scrollen mit dem Trackpad

tyr0

New member
Themenstarter
Registriert
19 Mai 2010
Beiträge
54
[gelöst] Scrollen mit dem Trackpad

Hallo,
neulich musste ich udev per kill-Signal beenden, seitdem funktioniert die Scrollfunktion der mittleren Maustaste in Kombination mit dem Trackpoint nicht mehr. Die Konfigurationsdatein sind jedoch gleich geblieben.
Nach dem Abwürgen von udev funktionierte Tastatur und Trackpoint unter X gar nicht mehr. Ich musste die Option "AutoAddDevices" der xorg.conf auf "false" setzen um die Tastatur und den Trackpoint (bis auf die Scrollfunktion) wiederzubeleben.
Ich habe nun die Anleitung von Thinkwiki befolgt, doch weder per udev, noch xorg.conf.d, hal oder xinput lässt sich die Emulation des Scrollrädchens aktivieren.

Wie gesagt existieren die Konfigurationsdateien in gleicher Weise wie vor dem udev-Crash (welches ich auch neu installiert habe), dennoch funktioniert das Scrollen nicht.

Ich würde mich sehr freuen, wenn ihr mir weiterhelfen könntet.

Liebe Grüße!
 
Zuletzt bearbeitet:
Hi,

vielleicht magst Du uns noch verraten um welche Distribution + Version es hier geht? Zeig bitte auch deine /etc/X11/xorg.conf.

ps. es gibt übrigens kein "Trackpad" bei ThinkPads. Das Ding heißt Trackpoint.
 
Das stimmt natürlich, meinte natürlich Trackpoint (Namen sind ja doch Schall und Rauch ;)). Ich habe den ersten Beitrag entsprechend ausgebessert. Es handelt sich um ein aktuelles Arch Linux.
Was eventuell auch nicht unerwähnt bleiben sollte: xinput list listet keinen Trackpoint, sondern gibt nur folgendes aus:
Code:
⎡ Virtual core pointer                     	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4	[slave  pointer  (2)]
⎜   ↳ Mouse0                                  	id=6	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Keyboard0                               	id=7	[slave  keyboard (3)]
xorg.conf:
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option "blank time"  "0"  # Blank the screen after 5 minutes (Fake), disabled now
        Option "standby time"  "10"  # Turn off screen after 10 minutes (DPMS)
        Option "suspend time"  "20"  # Full suspend after 20 minutes
        Option "off time"  "30"  # Turn off after half an hour
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "ServerFlags"
	Option "AutoAddDevices" "false"
	Option "AutoEnableDevices" "true"
EndSection

Section "Module"
	Load  "extmod"
	Load  "dri2"
	Load  "glx"
	Load  "dbe"
	Load  "record"
	Load  "dri"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules" "xorg"
	Option      "XkbModel"  "thinkpad60"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputClass"
    Identifier	"Trackpoint Wheel Emulation"
    MatchProduct	"TPPS/2 IBM TrackPoint|Mouse0|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device"
    MatchDevicePath	"/dev/input/event*"
    Option		"EmulateWheel"		"true"
    Option		"EmulateWheelButton"	"2"
    Option		"Emulate3Buttons"	"false"
    Option		"XAxisMapping"		"6 7"
    Option		"YAxisMapping"		"4 5"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	Option       "DPMS"  "true"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
Wie gesagt funktioniert auch die Lösung über udev nicht mehr. Bis gestern lief noch alles problemlos über diesen Eintrag in xorg.conf.d:
Code:
Section "InputClass"
    Identifier      "Trackpoint"
    MatchProduct    "TPPS/2 IBM TrackPoint|DualPoint Stick|Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint"
    MatchDevicePath "/dev/input/event*"
    Option          "EmulateWheel" "true"
    Option          "EmulateWheelButton" "2"
    Option          "EmulateWheelTimeout" "200" 
    Option          "YAxisMapping" "4 5"
    Option          "XAxisMapping" "6 7"
EndSection
Ich denke, dass die deaktiviert Option "AutoAddDevices" das Problem ist. Aktiviere ich sie allerdings sind Tastatur und Trackpoint völlig funktionslos unter X. Interessanterweise hatte ich diese Option aktiviert - bis es zu besagtem udev-Crash kam - ohne dass die Probleme mit der Tastatur auftraten.
Liebe Grüße

EDIT:
Das Problem hat sich mit diesem Eintrag in die xorg.conf gelöst (Eintrag aus dem Thinkwiki):
Code:
Section "InputDevice"
       Identifier  "Configured Mouse"
       Driver      "mouse"
       Option      "CorePointer"
       Option      "Device"              "/dev/input/mice"
       Option      "Protocol"            "ExplorerPS/2"
       Option      "Emulate3Buttons"     "on"
       Option      "Emulate3TimeOut"     "50"
       Option      "EmulateWheel"        "on"
       Option      "EmulateWheelTimeOut" "200"
       Option      "EmulateWheelButton"  "2"
       Option      "YAxisMapping"        "4 5"
       Option      "XAxisMapping"        "6 7"
       Option      "ZAxisMapping"        "4 5"
EndSection
Trotzdem danke fürs Mitlesen.

Liebe Grüße
 
Zuletzt bearbeitet:
Mit dem Eintrag in xorg.conf umgehst Du das Problem nur. Ich wage mal einen Schuß ins Blaue: ähnliches Symptom (+ ursächliche Lösung) gab es in diesem Thread für aptosid

IMHO kannst Du die komplette xorg.conf weglassen, da hier nur Defaults wiederholt werden. Die gezeigte Datei in xorg.conf.d reicht völlig. Probier es mal aus :D.
 
Zuletzt bearbeitet:
Hallo linrunner,

ich hatte schon befürchtet, dass ich nur Symptome bekämpfe. :)
Nach "rm -rf /run" funktioniert wieder alles einwandfrei, xinput list zeigt sich auch erfreut:
Code:
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                   	id=10	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=9	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=11	[slave  keyboard (3)]
Die Methode für den Eintrag in xorg.conf.d funktioniert nun auch wieder. Danke schön!
Zur xorg.conf: Die stammt noch aus Zeiten in denen X noch eine xorg.conf benötigte, mittlerweile habe ich sie auch entfernt.
 
Zuletzt bearbeitet:
  • ok1.de
  • thinkstore24.de
  • ok2.de - Notebook Computer Server
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben