Nightfall Wiki

Logitech G5 USB

aus Online Brain, der freien Wissensdatenbank

Softwareanforderungen

  • gentoo-sources
  • xorg-x11

Konfiguration

Zuerst muss der Kernel für USB bzw. HID (Human Interface Devices) konfiguriert werden.

Kernel Konfiguration: Kernelkonfiguration für USB/HID
 Device Drivers -> USB Support
 <*> Support for Host-side USB
 --- Miscellaneous USB options 
 [*]   USB device filesystem
 --- USB Host Controller Drivers
 <*> EHCI HCD (USB 2.0) support
 <*> OHCI HCD support
 < > UHCI HCD (most Intel and VIA) support
 --- USB Input Devices
 <*> USB Human Interface Device (full HID) support
 [*]   HID input layer support

 Input device support
 --- Mouse interface
 <*> Event interface

Entweder OHCI oder UHCI wählen, die nötigen Infos erfährt man durch 'lspci'.

X.Org Konfigurationsdatei anpassen:

File: nano -w /etc/X11/xorg.conf
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option      "Protocol" "evdev"
    Option      "Dev Name" "Logitech USB Gaming Mouse" # cat /proc/bus/input/devices
    Option      "Dev Phys" "usb-0000:00:02.0-1/input0" # cat /proc/bus/input/devices
    Option      "Device" "/dev/input/event1" # (or /dev/input/mice)
    Option      "Buttons" "7"
    Option      "ZAxisMapping" "6 7"
EndSection

"Dev Name", "Dev Phys" und "Device" sind mit 'cat /proc/bus/input/devices' bzw. 'cat /dev/input/eventx' herauszufinden.

Zuletzt wird noch die Xmodmap Konfigurationsdatei im Homeverzeichnis des Users erzeugt, damit die Tasten der Maus richtig zugeordnet werden.

File: nano -w ~/.Xmodmap
xmodmap -e "pointer = 1 2 3 6 7 4 5"

Probleme

  • Aus irgendeinem Grund wird die ~/.Xmodmap Datei nicht geladen, sodass nach dem Login folgendes in der Konsole eingegeben werden muss.

# xmodmap -e "pointer = 1 2 3 6 7 4 5"

  • Buttons noch nicht richtig gemapped
'Persönliche Werkzeuge
MediaWiki