Bug 107481
Summary: | ideapad_laptop: Unknown event: 1 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Ansa89 (ansalonistefano) |
Component: | Platform_x86 | Assignee: | drivers_platform_x86 (drivers_platform_x86) |
Status: | NEW --- | ||
Severity: | normal | CC: | aaron.lu, khughes, public, safknw, zach |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.3.3 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Ansa89
2015-11-08 10:36:10 UTC
ideapad_laptop is a platform driver, I'll move the bug there. Oh ok, sorry for the mistake. Tahnks. The problem persists also with kernel 4.3.3. System info: - Lenovo Yoga 900 - Ubuntu 15.10 64 bit - vanilla 4.5.0 kernel from kernel.org I get the same message; however, it only happen when changing between laptop and tablet modes. In addition, the scancode for the Touchpad toggle button is not recognized: atkbd serio0: Unknown key pressed (translated set 2, code 0xbf on isa0060/serio0). atkbd serio0: Use 'setkeycodes e03f <keycode>' to make it known. When I do set the keycode, however, the generated keycode is off by eight. For example, if I use "setkeycodes e03f 40", xev shows keycode 48 when the key is pressed/released. System info : - Ideapad 500 ACZ - Ubuntu 16.04 64 but - Kernel - 4.4 (Ubuntu stock) and vanilla 4.6 I get this message during shutdown and also when I press power key. Also shutdown and reboot not able able to perform physical/hardware shutown or reboot the laptop although log says shutdown complete or rebooting respectively . Confirmation. - Lenovo Yoga 900-13ISK - Kernel 4.8.1 It is consistently the case when swivel the Yoga into tablet mode and getting out of tablet mode. Suggestion: - Adjust function ideapad_acpi_notify(acpi_handle handle, u32 event, void *data) - Add case 1: with call to ideapad_input_report(priv, vpc_bit); It will call sparse_keymap_report_event() and should end up in user-space. On my Lenovo Ideapad Z580 this is written to the log every 21-23 seconds while on battery power. Kernel version: 4.8.13 (In reply to Anne van Rossum from comment #6) > Suggestion: > > - Adjust function ideapad_acpi_notify(acpi_handle handle, u32 event, void > *data) > - Add case 1: with call to ideapad_input_report(priv, vpc_bit); > > It will call sparse_keymap_report_event() and should end up in user-space. I submitted a patch to make this change here: https://patchwork.kernel.org/patch/9530859/ Tested on my Ideapad Z580. It works fine and squelches the log messages. (In reply to Zach Ploskey from comment #8) > I submitted a patch to make this change here: > > https://patchwork.kernel.org/patch/9530859/ > > Tested on my Ideapad Z580. It works fine and squelches the log messages. Thanks! I patched my own system exactly like this as well, but didn't find time to submit it. The patch was merged and should be in kernel 4.10. |