You are not logged in.

#1 2017-06-21 22:17:24

pmcvay
Member
Registered: 2015-10-22
Posts: 13

[SOLVED] Xorg Bluetooth Mouse: Use evdev instead of libinput

Hi, I'm trying to make my xserver use the evdev driver for a bluetooth mouse instead of libinput.

I've tried adding something to my xorg configuration such as:

Section "InputDevice"
    Identifier "Bluetooth Mouse"
    Name "Ultrathin Touch Mouse"
    Driver "evdev"
    Option etc...
EndSection

But the mouse is still connected with libinput instead of evdev. What am I doing wrong with the xorg configuration? It is a bluetooth mouse so it is not connected immediately upon launching x.

My xorg configuration file is:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LGD"
    HorizSync       67.5 - 67.5
    VertRefresh     60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro K3100M"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "LVDS-0: nvidia-auto-select +1920+120, DP-3: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Last edited by pmcvay (2017-06-22 21:31:46)

Offline

#2 2017-06-22 19:13:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: [SOLVED] Xorg Bluetooth Mouse: Use evdev instead of libinput

Your config says

InputDevice    "Mouse0" "CorePointer"
...
Driver         "mouse"

Also get rid of a startic xorg.conf and use config snippets. In this case you want sth. like /etc/X11/xorg.conf.d/10-mouse.conf

Section "InputClass"
	Identifier "evdev pointer catchall"
	MatchIsPointer "on"
	MatchDevicePath "/dev/input/event*"
	Driver		"evdev"
EndSection

But this will not do anything if you're having a static xorg config around.

Offline

Board footer

Powered by FluxBB