[PATCH] Fn+F* keys don't work on MSI Wind U100Plus since Ubuntu 10.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Brad Figg | ||
Natty |
Fix Released
|
Undecided
|
Unassigned | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Brad Figg |
Bug Description
After upgrading to Ubuntu 10.04 LTS two years ago some special keys on my laptop stopped working. They don't send any scan codes or ACPI events ("showkey -s" and "acpi_listen" don't show anything), but they did it on Ubuntu 9.10 and they still do it on Gentoo with vanilla kernel. I expect that these keys have to work (to send scan codes and ACPI events) in newer Ubuntu than 9.10.
It was obvious that problem is in Ubuntu kernel patchset, because the thing works on vanilla kernel and doesn't work on Ubuntu-patched kernel. So, I decided to debug patched kernel, found the problem and have written the patch to fix it. The bug is in the file "drivers/
There is a line in the function in vanilla kernel:
return acpi_video_
But in Ubuntu-patched kernel it is:
return acpi_video_
The difference is the last argument: there is 0 in vanilla kernel and 1 in Ubuntu kernel.
If I change the last argument to 0 (like in vanilla kernel), my laptop's problem disappears.
But there should be 1 on other laptops, because setting the last argument to 1 on other laptops disables automatic display backlight brightness changing by BIOS when AC power appears/disappears: this behavior is provided by power manager in userspace and BIOS shouldn't interfere gnome-power-
So, I think, there should be some settings to set the last parameter to 1 on the most laptops and to 0 on MSI Wind laptops. I'm attaching the patch. It doesn't change the current behavior by default, but it does if special kernel command line parameter is used. I hope you will accept this patch. It doesn't affect anything unless you add kernel command line parameter "video.
The problem exists in all Ubuntu versions from 10.04 to 12.04 with all kernels from 2.6.32 to current 3.2.0.
Excuse my poor English.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
ApportVersion: 1.94.1-0ubuntu2
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xffe00000 irq 44'
Mixer name : 'Realtek ALC1200'
Components : 'HDA:10ec0888,
Controls : 20
Simple ctrls : 11
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120218)
MachineType: MICRO-STAR INTERNATIONAL CO., LTD U90/U100
Package: linux (not installed)
ProcEnviron:
LANGUAGE=ru_UA:ru
TERM=xterm
LANG=ru_UA.UTF-8
SHELL=/bin/zsh
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.71
RfKill:
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
StagingDrivers: r8187se
Tags: precise staging
Uname: Linux 3.2.0-18-
UpgradeStatus: Upgraded to precise on 2012-03-12 (4 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 12/01/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4.6.3
dmi.board.
dmi.board.name: U90/U100
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO., LTD
dmi.board.version: Ver.001
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO., LTD
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: U90/U100
dmi.product.
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO., LTD
Changed in linux (Ubuntu): | |
status: | Fix Released → New |
tags: | added: patch |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
assignee: | Maxim Mikityanskiy (maxtram95) → Brad Figg (brad-figg) |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu Natty): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Oneiric): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed-oneiric |
Patch is attached.