Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[archlinux] mouse and touchpad is empty #57

Closed
justforlxz opened this issue Mar 6, 2016 · 10 comments
Closed

[archlinux] mouse and touchpad is empty #57

justforlxz opened this issue Mar 6, 2016 · 10 comments

Comments

@justforlxz
Copy link
Member

20160306170906

I want to disable touchpad when I use usb-mouse.

@fasheng fasheng changed the title mouse and touchpad is empty [archlinux] mouse and touchpad is empty Mar 6, 2016
@jouyouyun
Copy link
Contributor

Can you paste the following commands output?

$ dbus-send --print-reply --dest=com.deepin.daemon.InputDevices /com/deepin/daemon/InputDevice/Mouse  org.freedesktop.DBus.Properties.Get string:"com.deepin.daemon.InputDevice.Mouse" string:"Exist"
$ dbus-send --print-reply --dest=com.deepin.daemon.InputDevices /com/deepin/daemon/InputDevice/TouchPad  org.freedesktop.DBus.Properties.Get string:"com.deepin.daemon.InputDevice.TouchPad" string:"Exist"
$ xinput

@justforlxz
Copy link
Member Author

➜ ~ dbus-send --print-reply --dest=com.deepin.daemon.InputDevices /com/deepin/daemon/InputDevice/Mouse org.freedesktop.DBus.Properties.Get string:"com.deepin.daemon.InputDevice.Mouse" string:"Exist"
method return time=1457318625.034356 sender=:1.30 -> destination=:1.51 serial=1940 reply_serial=2
variant boolean false
➜ ~ dbus-send --print-reply --dest=com.deepin.daemon.InputDevices /com/deepin/daemon/InputDevice/TouchPad org.freedesktop.DBus.Properties.Get string:"com.deepin.daemon.InputDevice.TouchPad" string:"Exist"
method return time=1457318633.210317 sender=:1.30 -> destination=:1.52 serial=1962 reply_serial=2
variant boolean false
➜ ~ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ MOSART Semi. 2.4G Keyboard Mouse id=12 [slave pointer (2)]
⎜ ↳ DLL0652:00 06CB:2985 id=14 [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)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ Sleep Button id=10 [slave keyboard (3)]
↳ MOSART Semi. 2.4G Keyboard Mouse id=11 [slave keyboard (3)]
↳ Integrated_Webcam_HD id=13 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]
↳ Dell WMI hotkeys id=16 [slave keyboard (3)]
↳ MOSART Semi. 2.4G Keyboard Mouse id=17 [slave keyboard (3)]

@jouyouyun
Copy link
Contributor

Oh, your device named "MOSART Semi" may be identified as keyboard. Please paste the outputs to confirm, thanks.

$ xinput list-props 12
$ xinput list-props 11
$ xinput list-props 17

And what is the device named "DLL0652:00 06CB:2985"?

@justforlxz
Copy link
Member Author

我用的是usb的无线鼠标。
➜ ~ xinput list-props 12
Device 'MOSART Semi. 2.4G Keyboard Mouse':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Accel Speed (275): 0.000000
libinput Accel Speed Default (276): 0.000000
libinput Accel Profiles Available (277): 1, 1
libinput Accel Profile Enabled (278): 1, 0
libinput Accel Profile Enabled Default (279): 1, 0
libinput Natural Scrolling Enabled (280): 0
libinput Natural Scrolling Enabled Default (281): 0
libinput Send Events Modes Available (259): 1, 0
libinput Send Events Mode Enabled (260): 0, 0
libinput Send Events Mode Enabled Default (261): 0, 0
libinput Left Handed Enabled (282): 0
libinput Left Handed Enabled Default (283): 0
libinput Scroll Methods Available (284): 0, 0, 1
libinput Scroll Method Enabled (285): 0, 0, 0
libinput Scroll Method Enabled Default (286): 0, 0, 0
libinput Button Scrolling Button (287): 2
libinput Button Scrolling Button Default (288): 274
libinput Middle Emulation Enabled (289): 0
libinput Middle Emulation Enabled Default (290): 0
Device Node (262): "/dev/input/event2"
Device Product ID (263): 1578, 16641
libinput Drag Lock Buttons (291):
libinput Horizonal Scroll Enabled (264): 1
➜ ~ xinput list-props 11
Device 'MOSART Semi. 2.4G Keyboard Mouse':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Send Events Modes Available (259): 1, 0
libinput Send Events Mode Enabled (260): 0, 0
libinput Send Events Mode Enabled Default (261): 0, 0
Device Node (262): "/dev/input/event1"
Device Product ID (263): 1578, 16641
libinput Horizonal Scroll Enabled (264): 0
➜ ~ xinput list-props 17
Device 'MOSART Semi. 2.4G Keyboard Mouse':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Accel Speed (275): 0.000000
libinput Accel Speed Default (276): 0.000000
libinput Accel Profiles Available (277): 1, 1
libinput Accel Profile Enabled (278): 1, 0
libinput Accel Profile Enabled Default (279): 1, 0
libinput Natural Scrolling Enabled (280): 0
libinput Natural Scrolling Enabled Default (281): 0
libinput Send Events Modes Available (259): 1, 0
libinput Send Events Mode Enabled (260): 0, 0
libinput Send Events Mode Enabled Default (261): 0, 0
libinput Left Handed Enabled (282): 0
libinput Left Handed Enabled Default (283): 0
libinput Scroll Methods Available (284): 0, 0, 1
libinput Scroll Method Enabled (285): 0, 0, 0
libinput Scroll Method Enabled Default (286): 0, 0, 0
libinput Button Scrolling Button (287): 2
libinput Button Scrolling Button Default (288): 274
libinput Middle Emulation Enabled (289): 0
libinput Middle Emulation Enabled Default (290): 0
Device Node (262): "/dev/input/event2"
Device Product ID (263): 1578, 16641
libinput Horizonal Scroll Enabled (264): 0

@jouyouyun
Copy link
Contributor

xf86-input-synaptics, xf86-input-mouse, xf86-input-evdev 这些有没有安装?

@justforlxz
Copy link
Member Author

都安装了。我直接安装了整个xorg组。

@jouyouyun
Copy link
Contributor

Exec yaourt -Rncs xf86-input-libinput and reboot.

@justforlxz
Copy link
Member Author

xf86-input-libinput这个包是怎么回事,为什么卸载以后dde就显示鼠标的配置了。

@jouyouyun
Copy link
Contributor

libinput 是一个处理输入设备的通用库,应该是为 Wayland 开发的,也支持 X.Org。

从目前的情况可以看出 xf86-input-libinput 的优先级很高,安装了它之后输入设备的驱动就会设置成它。

@justforlxz
Copy link
Member Author

原来如此,学习了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants