Jak skonfigurować czasami podłączaną mysz (włączenie emulacji 3-go przycisku)

Łukasz Maśko masko w ipipan.waw.pl
Pią, 20 Cze 2014, 15:07:42 CEST


Uzupełnię:

Dodałem plik /etc/X11/xorg.conf.d/12-mogo.conf o następującej treści:

Section "InputClass"
        Identifier      "MoGo Mouse BT"
        Driver          "evdev"
#       Option          "Protocol" "IMPS/2"
        Option          "Buttons" "2"
        Option          "Emulate3Buttons" "yes"
        MatchProduct    "MoGo"
        MatchIsPointer  "On"
        MatchDevicePath "/dev/input/event*"
EndSection

Skutkuje to następującymi wpisami w logach Xorg:

[ 65330.749] (II) config/udev: Adding input device MoGo Mouse BT 
(/dev/input/mouse3)
[ 65330.749] (II) No input driver specified, ignoring this device.
[ 65330.749] (II) This device may have been added with another device file.
[ 65330.750] (II) config/udev: Adding input device MoGo Mouse BT 
(/dev/input/event13)
[ 65330.750] (**) MoGo Mouse BT: Applying InputClass "evdev pointer catchall"
[ 65330.750] (**) MoGo Mouse BT: Applying InputClass "MoGo Mouse BT"
[ 65330.750] (II) Using input driver 'evdev' for 'MoGo Mouse BT'
[ 65330.750] (**) MoGo Mouse BT: always reports core events
[ 65330.750] (**) evdev: MoGo Mouse BT: Device: "/dev/input/event13"
[ 65330.764] (--) evdev: MoGo Mouse BT: Vendor 0xa5c Product 0x2004
[ 65330.764] (--) evdev: MoGo Mouse BT: Found 3 mouse buttons
[ 65330.764] (--) evdev: MoGo Mouse BT: Found scroll wheel(s)
[ 65330.764] (--) evdev: MoGo Mouse BT: Found relative axes
[ 65330.764] (--) evdev: MoGo Mouse BT: Found x and y relative axes
[ 65330.764] (--) evdev: MoGo Mouse BT: Found absolute axes
[ 65330.764] (--) evdev: MoGo Mouse BT: Found absolute multitouch axes
[ 65330.765] (II) evdev: MoGo Mouse BT: Forcing absolute x/y axes to exist.
[ 65330.765] (II) evdev: MoGo Mouse BT: Configuring as mouse
[ 65330.765] (II) evdev: MoGo Mouse BT: Adding scrollwheel support
[ 65330.765] (**) Option "Emulate3Buttons" "yes"
[ 65330.765] (**) evdev: MoGo Mouse BT: YAxisMapping: buttons 4 and 5
[ 65330.765] (**) evdev: MoGo Mouse BT: EmulateWheelButton: 4, 
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 65330.765] (**) Option "config_info" 
"udev:/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.4/1-2.4:1.0/bluetooth/hci0/hci0:46/0005:0A5C:2004.0022/input/input75/event13"                                                                                                                                        
[ 65330.765] (II) XINPUT: Adding extended input device "MoGo Mouse BT" (type: 
MOUSE, id 15)                                                               
[ 65330.765] (II) evdev: MoGo Mouse BT: initialized for relative axes.                                                                                    
[ 65330.765] (WW) evdev: MoGo Mouse BT: ignoring absolute axes.                                                                                           
[ 65330.765] (**) MoGo Mouse BT: (accel) keeping acceleration scheme 1                                                                                    
[ 65330.765] (**) MoGo Mouse BT: (accel) acceleration profile 0                                                                                           
[ 65330.765] (**) MoGo Mouse BT: (accel) acceleration factor: 2.000
[ 65330.765] (**) MoGo Mouse BT: (accel) acceleration threshold: 4

Jak widać, niby X-y reagują, dołączają InputClass "MoGo Mouse BT", reagują na 
Option "Emulate3Buttons" "yes" - ale tak na prawdę nie reagują, bo środkowy 
przycisk emulowany i tak nie działa (jakby opcja była ignorowana). Ponadto 
tego evdev twierdzi, że mysza ma 3 przyciski pomimo Option "Buttons" "2".

Czy ktoś mógłby mi pomóc to dokonfigurować? Wyłączyć scroll-wheel, a przede 
wszystkim uruchomić emulację środkowego przycisku. Z góry wielkie dzięki.
-- 
Łukasz Maśko                                                            _o)
Lukasz.Masko(at)ipipan.waw.pl                                           /\\
Registered Linux User #61028                                           _\_V
Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana"


Więcej informacji o liście pld-users-pl