apport information

** Tags added: apport-collected precise staging

** Description changed:

  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/acpi/video.c" in function acpi_video_bus_start_devices().
  
  There is a line in the function in vanilla kernel:
  
  return acpi_video_bus_DOS(video, 0, 0);
  
  But in Ubuntu-patched kernel it is:
  
  return acpi_video_bus_DOS(video, 0, 1);
  
  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-manager. It is correct on some other laptops, but
  my BIOS doesn't touch brightness on AC/DC power switch. However, it
  disables Fn+F* keys instead of disabling brightness autoswitch.
  
  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.brightness_autoswitch_on_power_events=1", but it
  fixes the bug on MSI Wind laptop if you add this parameter.
  
  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/controlC0:  max        1607 F.... pulseaudio
+ 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,14620110,00100101'
+    Controls      : 20
+    Simple ctrls  : 11
+ DistroRelease: Ubuntu 12.04
+ HibernationDevice: RESUME=UUID=7edd3c04-5781-45b6-b168-6c620e252b57
+ 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=/boot/vmlinuz-3.2.0-18-generic-pae 
root=UUID=c7f10cf8-847a-4663-86ac-98f65904ce91 ro clocksource=hpet 
usbcore.autosuspend=1 i8042.reset=1 video.brightness_switch_enabled=0 quiet 
splash vt.handoff=7
+ ProcVersionSignature: Ubuntu 3.2.0-18.29-generic-pae 3.2.9
+ RelatedPackageVersions:
+  linux-restricted-modules-3.2.0-18-generic-pae N/A
+  linux-backports-modules-3.2.0-18-generic-pae  N/A
+  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-generic-pae i686
+ 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.asset.tag: To be filled by O.E.M.
+ dmi.board.name: U90/U100
+ dmi.board.vendor: MICRO-STAR INTERNATIONAL CO., LTD
+ dmi.board.version: Ver.001
+ dmi.chassis.asset.tag: To Be Filled By O.E.M.
+ dmi.chassis.type: 10
+ dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO., LTD
+ dmi.chassis.version: Ver.001
+ dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr4.6.3:bd12/01/2009:svnMICRO-STARINTERNATIONALCO.,LTD:pnU90/U100:pvrVer.001:rvnMICRO-STARINTERNATIONALCO.,LTD:rnU90/U100:rvrVer.001:cvnMICRO-STARINTERNATIONALCO.,LTD:ct10:cvrVer.001:
+ dmi.product.name: U90/U100
+ dmi.product.version: Ver.001
+ dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO., LTD

** Attachment added: "AcpiTables.txt"
   
https://bugs.launchpad.net/bugs/949311/+attachment/2887885/+files/AcpiTables.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/949311

Title:
  [PATCH] Fn+F* keys don't work on MSI Wind U100Plus since Ubuntu 10.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/949311/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to