Update force_release for Dell Latitudes

Bug #1441849 reported by Pali
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Undecided
Martin Pitt
Trusty
Fix Released
Undecided
Martin Pitt
Vivid
Fix Released
Undecided
Martin Pitt
udev (Ubuntu)
Invalid
Undecided
Unassigned
Precise
Fix Released
Undecided
Unassigned

Bug Description

Wireless HW switch on Dell Latitude notebooks generate key press event via AT Translated Set 2 keyboard, but does *not* generate release key event. This means that operating systems and applications see key still pressed.

Scan code of that problematic key is 136 (0x88).

Fixing this problem can be done via force_release option of atkbd kernel driver (by adding 136 scan code to list)

Kernel developers told me that now only userspace (udev package) maintains list of those problematic scan codes and so udev needs to be extended/patched to add new values to atkbd kernel driver at runtime. See: https://lkml.org/lkml/2015/4/5/157

Currenly there is file /lib/udev/keymaps/force-release/dell-touchpad which contains some force_release scan code for all dell latitude notebooks handled by file /lib/udev/rules.d/95-keyboard-force-release.rules by rule:

ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="*Latitude*|*Precision*", RUN+="keyboard-force-release.sh $devpath dell-touchpad"

Can you extend either /lib/udev/keymaps/force-release/dell-touchpad or /lib/udev/rules.d/95-keyboard-force-release.rules to include also scan code 136 (0x88)? Because without is there are problems with HW wireless switch!

This problem was tested on Ubuntu 12.04.5 LTS Precise release.

Revision history for this message
Martin Pitt (pitti) wrote :
Changed in systemd (Ubuntu):
status: New → Fix Committed
Changed in udev (Ubuntu):
status: New → Invalid
Changed in udev (Ubuntu Precise):
status: New → Triaged
no longer affects: systemd (Ubuntu Precise)
no longer affects: udev (Ubuntu Trusty)
Changed in systemd (Ubuntu Trusty):
status: New → Triaged
Martin Pitt (pitti)
no longer affects: udev (Ubuntu Vivid)
Changed in systemd (Ubuntu Vivid):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Pali, or anyone else affected,

Accepted systemd into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/systemd/219-7ubuntu4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Pali (pali) wrote :

When you update udev package in precise, I can test it.

Revision history for this message
Martin Pitt (pitti) wrote :

It has been a week in -proposed without regression reports, and this is a simple and obvious keymap change. As per https://wiki.ubuntu.com/StableReleaseUpdates#udev_keymaps I mark this as verified.

tags: added: verification-done
removed: verification-needed
Changed in systemd (Ubuntu Trusty):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 219-7ubuntu4

---------------
systemd (219-7ubuntu4) vivid; urgency=medium

  * hwdb: Fix wireless switch on Dell Latitude (LP: #1441849)
  * Fix assertion crash when reading a service file with missing ' and
    trailing space. (LP: #1447243)
  * Fix double free crash in "systemctl enable" when calling update-rc.d and
    the latter fails. (LP: #1426588)
 -- Martin Pitt <email address hidden> Thu, 23 Apr 2015 11:14:16 +0100

Changed in systemd (Ubuntu Vivid):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for systemd has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Pali (pali) wrote :

Martin Pitt (pitti): can you look at update for Ubuntu Precise?

Revision history for this message
Martin Pitt (pitti) wrote :

I uploaded a trusty SRU with updating the keymaps to the current upstream version, as per the standing exception. This includes this fix.

Changed in systemd (Ubuntu Trusty):
status: Triaged → In Progress
Revision history for this message
Pali (pali) wrote : [Bug 1441849] Re: Update force_release for Dell Latitudes

Ok, and can you look at version for Ubuntu Precise?

Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Pali, or anyone else affected,

Accepted systemd into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/systemd/204-5ubuntu20.14 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in systemd (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: removed: verification-done
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote :

precise update uploaded too.

Changed in udev (Ubuntu Precise):
status: Triaged → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Pali, or anyone else affected,

Accepted udev into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/udev/175-0ubuntu9.10 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Brian Murray (brian-murray) wrote :

I meant precise of course.

Revision history for this message
Pali (pali) wrote :

Tested on Ubuntu Precise box and kernel now send release event correctly (for wireless switch).

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 204-5ubuntu20.14

---------------
systemd (204-5ubuntu20.14) trusty; urgency=medium

  * debian/extra/60-keyboard.hwdb: Update to current version, as per standing
    SRU exception:
    - Fix wireless switch on Dell Latitudes. (LP: #1441849)
    - Fix Microphone mute hotkey for Dell Precision series. (LP: #1494135)

 -- Martin Pitt <email address hidden> Thu, 10 Sep 2015 09:35:27 +0200

Changed in systemd (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udev - 175-0ubuntu9.10

---------------
udev (175-0ubuntu9.10) precise; urgency=medium

  * 0git-keymaps.patch: Add 0x88 to dell-touchpad to fix wireless switch on
    Dell Latitude and Precision. (LP: #1441849)

 -- Martin Pitt <email address hidden> Fri, 11 Sep 2015 15:06:10 +0200

Changed in udev (Ubuntu Precise):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.