brightness hotkeys don't work as expected, asus ul30a
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| linux (Ubuntu) |
Medium
|
Unassigned |
Bug Description
1) Ubuntu Lucid Lynx beta 1, fully updated
2) Don't know the package name
3) Brightness goes up or down, depending on which button I press (fn+f5 or f6)
4) Brightness moves in random direction a couple of times, then stop responding
This worked perfectly in Karmic, afaik it's broken since alpha3 (that's when I upgraded).
affects: | ubuntu → udev (Ubuntu) |
Minsang Kim (minsangkim) wrote : | #1 |
Minsang Kim (minsangkim) wrote : | #2 |
Attached is a snippet from dmesg that is hopefully useful for the devs.?field.
Architecture: i386
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
MachineType: ASUSTeK Computer Inc. UL30A
Package: udev 151-7
PackageArchitec
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, user)
LANG=en_CA.utf8
SHELL=/bin/bash
ProcVersionSign
Tags: lucid
Uname: Linux 2.6.32-
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/28/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 212
dmi.board.
dmi.board.name: UL30A
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: UL30A
dmi.product.
dmi.sys.vendor: ASUSTeK Computer Inc.
tags: | added: apport-collected |
Minsang Kim (minsangkim) wrote : BootDmesg.txt | #4 |
apport information
apport information
apport information
Minsang Kim (minsangkim) wrote : Lspci.txt | #7 |
apport information
Minsang Kim (minsangkim) wrote : Lsusb.txt | #8 |
apport information
apport information
apport information
apport information
Minsang Kim (minsangkim) wrote : UdevDb.txt | #12 |
apport information
Minsang Kim (minsangkim) wrote : UdevLog.txt | #13 |
apport information
Architecture: amd64
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
MachineType: ASUSTeK Computer Inc. UL30A
Package: udev 151-7
PackageArchitec
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=fr_FR.utf8
SHELL=/bin/bash
ProcVersionSign
Tags: lucid
Uname: Linux 2.6.32-18-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/28/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 212
dmi.board.
dmi.board.name: UL30A
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: UL30A
dmi.product.
dmi.sys.vendor: ASUSTeK Computer Inc.
apport information
apport information
apport information
Zempashi (julien-girardin) wrote : Lspci.txt | #18 |
apport information
Zempashi (julien-girardin) wrote : Lsusb.txt | #19 |
apport information
apport information
apport information
apport information
Zempashi (julien-girardin) wrote : UdevDb.txt | #23 |
apport information
Zempashi (julien-girardin) wrote : UdevLog.txt | #24 |
apport information
Zempashi (julien-girardin) wrote : | #25 |
Also affected by this bug for the beginning of my test of lucid lynx (alpha 3). Was working fine on Ubuntu Karmic Koala.
Other people with UL30A are also affected : http://
Zempashi (julien-girardin) wrote : | #26 |
Note : in the apport-collect , I notice that my kernel boot the "acpi_osi=Linux" option: It's because a friend seems have the same probleme on his eeepc and archlinux. He resolves his bug with this option. I tried but no change for me. I remove this option now
Changed in udev (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Martin Pitt (pitti) |
KlavKalashj (klavkalashj) wrote : | #27 |
Thanks Jason for the confirmation and the better explanation, what you writes is true for me to 100%. If there is anything I can do to help, please tell me.
Martin Pitt (pitti) wrote : | #28 |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Please exercise the steps at https:/
Thanks!
Changed in udev (Ubuntu): | |
status: | Confirmed → Incomplete |
assignee: | Martin Pitt (pitti) → nobody |
Minsang Kim (minsangkim) wrote : | #29 |
After some investigation, it seems like the actual bug has nothing to do with keymap.
Fn+F5/F6 actually does work. Keypresses are recognized as ACPI events (see comment #1 above), and keymap does not show anything ever.
Currently brightness level goes something like this:
Left hand side: what NotifyOSD tells me
Right hand side: actual brightness, compared to what I see in Windows (approx)
50% = very bright - probably 100% -- cannot go above this level!
40% = about 30% brightness
25% = about 50% brightness
10% = about 70% brightness
0% = about 10% brightness
And then, after reaching 0%, when I press brightness down again, Brightness control stops responding to any of my input (it seems to "freeze" for a while).
So the current workaround would be to make sure that you don't press Fn+F5 too many times and just live with mismatch of brightness levels.
Martin Pitt (pitti) wrote : | #30 |
I'm still interested in a keymap -i check (/usr/share/
Minsang Kim (minsangkim) wrote : | #31 |
Sorry for not being clear before but here is some clarification:
keymap -i doens't produce any output for brightness up/down. In fact, none of fn+fX keys show anything when I "keymap -i input/event4". For example, I can use fn+f9 to enable/disable touchpad but "keymap -i" doesn't show anything. Same goes for volume up/down/mute - they work properly but keymap doens't print anything.
Thanks.
Martin Pitt (pitti) wrote : | #32 |
So perhaps they'll appear on a different input device (this happens sometimes on particular models, which have a thing like "Vaio Extra Keys" device. The easiest is probably to just try input/event0, input/event1, and so on until you hit a device which reacts to those Fn keys, or a "No such file or directory" error.
Brian Neltner (neltnerb) wrote : | #33 |
Just wanted to mention that this affects me too, but I have nothing notable to add to the discussion I'm afraid.
Are others also getting ACPI errors in dmesg when they change the brightness?
ACPI Exception: AE_AML_
ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.
for example.
Minsang Kim (minsangkim) wrote : | #34 |
Looks like I found a problem.
"""sudo /lib/udev/keymap -i input/event7""" gives one of:
scan code: 0x00 key code: switchvideomode
scan code: 0x00 key code: battery
scan code: 0x00 key code: volumedown
scan code: 0x00 key code: stopcd
when I press fn+f5 or fn+f6.
Specifically..
At Brightness (as indicated by OSD) - 0%
Press fn+f6 once - nothing
Press fn+f6 again - nothing
Press fn+f6 again - switchvideomode
Press fn+f6 again - battery
Press fn+f6 again - battery (and brightness reaches the "maximum", doesn't let me go any higher)
Press fn+f5 once - nothing
Press fn+f5 again - nothing
Press fn+f5 again - volumedown
Press fn+f5 again - nothing, then my function keys "freezes" (no longer responds) for a couple minutes.
Minsang Kim (minsangkim) wrote : | #35 |
and yes, I am getting those ACPI exception/errors in dmesg also, exact same thing.
Martin Pitt (pitti) wrote : | #36 |
Thanks. So the kernel sends wrong input events then, reassigning.
affects: | udev (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
KlavKalashj (klavkalashj) wrote : | #37 |
My dmesg does not say the exact same thing, it says:
[ 3618.126899] ACPI Exception: AE_AML_
[ 3618.126922] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.
[ 3618.127032] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.
[ 3618.127144] ACPI Error: Evaluating _BCM failed (20090903/
[ 3618.127154] ACPI: Failed to switch the brightness
[ 3618.138288] ACPI Exception: AE_AML_
[ 3618.138310] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.
[ 3618.138420] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.
[ 3618.138533] ACPI Error: Evaluating _BCM failed (20090903/
[ 3618.143894] ACPI Exception: AE_AML_
[ 3618.143908] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.
[ 3618.143975] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.
[ 3618.144044] ACPI Error: Evaluating _BCM failed (20090903/
Don't know if that's any help...
Minsang Kim (minsangkim) wrote : | #38 |
In the mean time, a workaround has been found (from the UL30 mailing list)
http://
Edit /etc/default/grub
Change this line to be : GRUB_CMDLINE_
call update-grub as root, reboot.
KlavKalashj (klavkalashj) wrote : | #39 |
Wow, thank you Minsang Kim! That actually works 100% perfectly for me! :)
I also want to add, if you still want plymouth to show, it also works with:
GRUB_CMDLINE_
So you don't need to remove the default options, just add the last. Thanks again for workaround!
Carlos (hirs) wrote : | #40 |
KlavKalashj, thank you for the tip, it worked for me too!
Manuel Viera (manuel-viera-tirado) wrote : Re: [Bug 543294] Re: brightness hotkeys don't work as expected, asus ul30a | #41 |
Thanks you a lot, it worked for me too.
On Sun, May 2, 2010 at 9:04 PM, Carlos <email address hidden> wrote:
> KlavKalashj, thank you for the tip, it worked for me too!
>
> --
> brightness hotkeys don't work as expected, asus ul30a
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: Confirmed
>
> Bug description:
> 1) Ubuntu Lucid Lynx beta 1, fully updated
> 2) Don't know the package name
> 3) Brightness goes up or down, depending on which button I press (fn+f5 or
> f6)
> 4) Brightness moves in random direction a couple of times, then stop
> responding
>
> This worked perfectly in Karmic, afaik it's broken since alpha3 (that's
> when I upgraded).
>
> To unsubscribe from this bug, go to:
> https:/
>
markba (mark-baaijens) wrote : | #42 |
As this was working OK in Karmic, this bug should be marked as regression.
bhuvi (bhuvanesh) wrote : | #43 |
same problem for me on lenovo G550 laptop. https:/
Original Reporter KlavKalashj -> https:/
tags: |
added: lucid needs-kernel-logs needs-upstream-testing regression-release removed: apport-collected asus brightness hotkey ul30 |
Changed in linux (Ubuntu): | |
status: | Confirmed → Invalid |
Sergio (tomcat-cdm) wrote : | #45 |
This issue still exists on 12.04 an Asus UL30A-A2 and similar devices.
The workarround still being valid.
If you need any log file or output to get valid/fresh information, please ask.
Sergio, could you please file a new report by executing the following in a terminal:
ubuntu-bug linux
For more on this, please see the Ubuntu Bug Control and Ubuntu Bug Squad article:
https:/
and Ubuntu Community article:
https:/
When opening up the new report, please feel free to subscribe me to it. Thank you for your understanding.
In case that the original submission is unclear, here's my situation in UL30A-A2.
Expected behaviour:
fn+f5 lowers brightness, fn+f6 increases brightness. (worked well in Karmic)
Observed behaviour, in Lucid Beta 1:
Initially, when the computer is first booted, it responds to f5/f6 but in random behaviour.
For example, if I press fn+f5, it would lower the brightness, then increase it to the maximum, repeat a couple times, and back to somewhat random value somewhere in between.
After the initial reaction, fn+f5/f6 key no longer causes any change in brightness - for a couple minutes. For this period, acpi_listen does not seem to print out anything when these keys are pressed.
After a couple minutes, these button presses seem to "queue up" and cause random changes to the brightness again - acpi_listen reports these values.
video LCDD 00000087 00000000
hotkey ATKD 00000025 00000017
video LCDD 00000087 00000000
hotkey ATKD 00000025 00000018
video LCDD 00000086 00000000
hotkey ATKD 0000001b 00000005
hotkey ATKD 0000001b 00000006
video LCDD 00000086 00000000
hotkey ATKD 00000021 00000001
video LCDD 00000087 00000000
hotkey ATKD 0000002b 00000008
hotkey ATKD 0000002b 00000009
video LCDD 00000086 00000000
hotkey ATKD 00000021 00000002
video LCDD 00000087 00000000
hotkey ATKD 0000002b 0000000a
hotkey ATKD 0000002b 0000000b
video LCDD 00000086 00000000
hotkey ATKD 00000021 00000003
Changing the brightness manually with xbacklight shows similar behaviour - random changes, or periods of no change. manager' s brightness control slider behaves the same way.
Using Gnome-power-