Problemi con la rotellina del mouse usb

Pubblicità

Axel07

Utente Attivo
Messaggi
168
Reazioni
1
Punteggio
38
Con Slackware 12 non riesco a far funzionare la rotellina del mouse ottico usb (che preferisco al mouse pad del mio portatile).Potreste dirmi che cosa non va nel mio xorg.conf?Grazie.
Codice:
Section "InputDevice"

# Identifier and driver

    Identifier    "Mouse1"
    Driver    "mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

#    Option     "Protocol"      "Auto"

# The available mouse protocols types that you can set below are:
#    Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
#    Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
#    MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
#    ThinkingMouse ThinkingMousePS/2 Xqueue
    Option "Protocol"    "IMPS/2"
    Option               "ZAxisMapping"   "4 5"

# The mouse device.  The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

    Option "Device"      "/dev/mouse"
#   Option "Device"      "/dev/psaux"
#   Option "Device"      "/dev/ttyS0"
#   Option "Device"      "/dev/ttyS1"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"    "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"        "9600"
#    Option "SampleRate"    "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"    "no"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection

# Some examples of extended input devices

# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
 
bene bene, vedo carne fresca che si lancia nel mondo di Slackware ... ottimo.

tornando al tuo problema ...
con grep Button /var/log/Xorg.0.log trova quanti tasti sono individuati da Xorg relativamente al tuo mouse (prima di avviare X collega il mouse) e una volta ottenuta tale info inserisci Option "Buttons" "numero_trovato" in xorg.conf, nella sezione relativa al mouse
 
Ecco l'out
Codice:
# grep Button /var/log/Xorg.0.log
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Mouse1: Buttons: 9
In che punto esattamente devo inserirlo?Xorg.conf e' lunghissimo.
 
Grazie Airex,problema risolto.Adesso ne rimane solo un'altra mezza dozzina,primo tra tutti il suono che non esiste.Comunque sono contento di immolarmi a Slackware.
 
Pubblicità
Pubblicità
Indietro
Top