After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 757016 - GsdDeviceManager recognizes my keyboard as mouse
GsdDeviceManager recognizes my keyboard as mouse
Status: RESOLVED OBSOLETE
Product: gnome-settings-daemon
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2015-10-23 12:14 UTC by Felipe Borges
Modified: 2019-03-20 11:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Felipe Borges 2015-10-23 12:14:36 UTC
I have a Cherry GmbH CyMotion Master Linux Keyboard G230, which gets recognized as mouse when I run gnome-settings-daemon/plugins/common/gsd-test-input-helper

./gnome-settings-daemon/plugins/common/gsd-test-input-helper 
Has touchpad:				yes
Has touchscreen:			no
Has trackball:				no
Device 'TPPS/2 IBM TrackPoint' is a mouse
Device 'HID 046a:0023' is a mouse
Device 'ThinkPad USB Laser Mouse' is a mouse
Device 'Integrated Camera' is a keyboard
Device 'ThinkPad Extra Buttons' is a keyboard
Device 'Video Bus' is a keyboard
Device 'Video Bus' is a keyboard
Device 'HID 046a:0023' is a keyboard
Device 'AT Translated Set 2 keyboard' is a keyboard
Device 'Power Button' is a keyboard
Device 'Sleep Button' is a keyboard
Device 'SynPS/2 Synaptics TouchPad' is a touchpad

My keyboard does not have any mouse capabilities, although evtest shows that it can send Event code 6 (RHEL_HWHEEL) event. More on http://fpaste.org/282857/95134144/

The implication of that is that control-center/mouse thinks I have a mice even when I don't have any plugged in. control-center/mouse gets its devices from a gsd_device_manager_list_devices list.

For xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad              	id=15	[slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                   	id=16	[slave  pointer  (2)]
⎜   ↳ ThinkPad USB Laser Mouse                	id=11	[slave  pointer  (2)]
⎜   ↳ HID 046a:0023                           	id=12	[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)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ Integrated Camera                       	id=10	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=14	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=17	[slave  keyboard (3)]
    ↳ HID 046a:0023                           	id=13	[slave  keyboard (3)]

It might be a bug deeper in the stack.
Comment 1 Bastien Nocera 2015-10-23 12:23:30 UTC
This happens with my Logitech K750 as well. I think that the GdkDeviceManager XI2 backend says it's a mouse, but I didn't verify this yet.
Comment 2 GNOME Infrastructure Team 2019-03-20 11:29:59 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/280.