Bug 90602 - Touchpad toggle shortcut doesn't enable touchpad
Summary: Touchpad toggle shortcut doesn't enable touchpad
Status: RESOLVED NOTOURBUG
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-23 06:17 UTC by Teodor Shaterov
Modified: 2015-05-25 07:46 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Teodor Shaterov 2015-05-23 06:17:10 UTC
Using the touchpad toggle (Fn + F8) on my Thinkpad T410 with Fedora 22 Beta doesn't enable the touchpad. If it is enabled, it disables it, but never enables it again. Using the toggle from the gnome control center, the touchpad could be enabled again, but the hotkey functionality is not working as expected.
Comment 1 Peter Hutterer 2015-05-24 22:40:11 UTC
run sudo libinput-debug-events and check if the key press comes out of libinput. if it does this is likely a GNOME bug after all. It's not libinput itself that handles that key, we just forward it on.
Comment 2 Teodor Shaterov 2015-05-25 07:30:14 UTC
I will provide you the information after a few hours, as the notebook is not nearby. What I noticed is, that every time when I press Fn + F8, on the screen I saw the notification that the touchpad is disabled, so I assume not the right key action is forwarded. Do you need any other logs except the debug-events information?
Comment 3 Peter Hutterer 2015-05-25 07:33:46 UTC
Are you under wayland or xorg? if you're under xorg, then check xinput list-props "... device name..." before/after and see if anything changes.

Also check the gsettings value before/after:
  gsettings get org.gnome.desktop.peripherals.touchpad send-events

those two should help narrow down where the issue is
Comment 4 Teodor Shaterov 2015-05-25 07:38:05 UTC
I tried with both xorg and wayland and the result is just the same.
When I execute the following command :
gsettings set org.gnome.desktop.peripherals.touchpad send-events 'enabled'
it enables the touchpad. When I also try to play with the toggle button in Gnome settings, it disables/enables the touchpad as expected.
Comment 5 Peter Hutterer 2015-05-25 07:46:21 UTC
Ok, sounds like a GNOME issue then, because libinput doesn't know the difference between disabling through hotkey or the GUI, it's the same toggle. I'm closing this bug here, please file one in the gnome bugzilla instead.

Do check whether the key event is coming out of libinput first though, if not then it's a libinput bug after all (reopen if that's the case, but I doubt it)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.