[Acer Aspire V5-171] Backlight cannot be adjusted unless passing acpi_backlight=vendor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Fix Released
|
Medium
|
|||
linux (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
The boot parameter is suggested as a fix for this model by
http://
(so if it would help, I would suggest classing this bug as "confirmed").
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.8.0-19-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
Date: Sat Apr 27 19:59:23 2013
InstallationDate: Installed on 2013-04-27 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MachineType: Acer V5-171
MarkForUpload: True
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.106
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/14/2012
dmi.bios.vendor: Acer
dmi.bios.version: V2.04
dmi.board.
dmi.board.name: Mimic
dmi.board.vendor: Acer
dmi.board.version: Type2 - Board Version
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.modalias: dmi:bvnAcer:
dmi.product.name: V5-171
dmi.product.
dmi.sys.vendor: Acer
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #15 |
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #16 |
Created attachment 88181
dmesg output
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #17 |
Hardware is a ThinkPad t430s in UEFI-Mode, theCompatibility Support Module is switched off.
In Linux Kernel Bug Tracker #51231, rui.zhang (rui.zhang-linux-kernel-bugs) wrote : | #18 |
well, I guess the problem also exists in 3.3 kernel, right?
it seems that this patch introduces the "regression".
commit fba4e087361605d
Author: Igor Murzov <email address hidden>
Date: Sat Oct 13 04:41:25 2012 +0400
ACPI video: Ignore errors after _DOD evaluation.
There are systems where video module known to work fine regardless
of broken _DOD and ignoring returned value here doesn't cause
any issues later. This should fix brightness controls on some laptops.
Bugzilla: https:/
Signed-off-by: Igor Murzov <email address hidden>
Reviewed-by: Sergey V <email address hidden>
Signed-off-by: Zhang Rui <email address hidden>
But IMO, the ACPI backlight control on your laptop is always broken,
but this commit
commit ea9f8856bd6d4ed
Author: Igor Murzov <email address hidden>
Date: Fri Mar 30 21:32:08 2012 +0400
ACPI video: Harden video bus adding.
It is always better to check return values, so add some new checks and
correct existing ones.
v2: Be consistent and don't mix errors from -E* and AE_* namespaces.
Signed-off-by: Igor Murzov <email address hidden>
Signed-off-by: Len Brown <email address hidden>
happens to make your laptop stop using ACPI backlight control. :)
can you please attach the dmidecode output of your laptop?
so that I can backlist your laptop from ACPI Backlight control.
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #19 |
Thank you. I add the output of dmidecode in a few seconds.
You should take also a look at this (Daniel Vetter and someone with a Dell Laptop):
http://
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #20 |
Created attachment 88191
output of dmidecode on a thinkpad t430s, uefi only mode
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #21 |
Adding the parameter "acpi_backlight
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #22 |
I can't confirm that the problem exists in Kernel 3.3 or not, because my first Kernel on that device was a Kernel of the 3.5 series. And with Kernel 3.5 and 3.6 everything worked.
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #23 |
I tried the change blacklist.c, but it doesn't work for me. See attachment. I also wonder about the last empty curly braces in the struct (not added by me)?
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #24 |
Created attachment 89941
not working modified backlist.c
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #25 |
Question:
$ ls -l
total 0
lrwxrwxrwx 1 root root 0 Dec 30 19:02 acpi_video0 -> ../../devices/
lrwxrwxrwx 1 root root 0 Dec 30 19:02 intel_backlight -> ../../devices/
If I understand your noted patches above, it is *okay* to see both directorie on kernel 3.6 and 3.7. The acpi_video0 just doesn't block intel_backlight on kernel 3.6?
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #26 |
Adding following parameters to boot command line seems to be a mostly working workaround:
# first switches of thinkpad_acpi, seconds switches of acpi_video
thinkpad-
* Fn+BrightnessDown, Fn+BrighnessUp works
* GNOME Power-Widget displays change of value through Fn-Keys
* GNOME > System Settings > Brighness works
* ls -l /sys/class/
Only automatic display-dimming through GNOME seems not to work.
In Linux Kernel Bug Tracker #51231, daniel.m.kao (daniel.m.kao-linux-kernel-bugs) wrote : | #27 |
I have done a git bisect and found the offending commit:
commit a57f7f9175b8ccb
Author: Bob Moore <email address hidden>
Date: Fri Aug 17 10:55:02 2012 +0800
ACPICA: Add Windows8/Server2012 string for _OSI method.
This change adds a new _OSI string, "Windows 2012" for both Windows 8
and Windows Server 2012.
From Microsoft document "How to Identify the Windows Version in ACPI
by Using _OSI", July 13, 2012.
Signed-off-by: Bob Moore <email address hidden>
Signed-off-by: Feng Tang <email address hidden>
Signed-off-by: Len Brown <email address hidden>
Reverting this fixes the issue for me on ThinkPad X230.
In Linux Kernel Bug Tracker #51231, rui.zhang (rui.zhang-linux-kernel-bugs) wrote : | #28 |
oh, please attach the acpidump output of your laptop.
In Linux Kernel Bug Tracker #51231, rui.zhang (rui.zhang-linux-kernel-bugs) wrote : | #29 |
BTW, does adding kernel parameter acpi_osi="!Windows 2012" help?
In Linux Kernel Bug Tracker #51231, daniel.m.kao (daniel.m.kao-linux-kernel-bugs) wrote : | #30 |
Created attachment 90681
acpidump output for ThinkPad X230
In Linux Kernel Bug Tracker #51231, daniel.m.kao (daniel.m.kao-linux-kernel-bugs) wrote : | #31 |
acpi_osi="!Windows 2012" works, I've been using that instead of the modified kernel.
Thanks.
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #32 |
Thats weird! I will test that also and tell you if it works.
Am I right, that this will tell the ACPI based functions of the kernel that the BIOS/UEFI doesn't support Windows 2012?
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #33 |
I can confirm that this works!
ls -l /sys/class/
total 0
lrwxrwxrwx 1 root root 0 Jan 8 22:20 acpi_video0 -> ../../devices/
lrwxrwxrwx 1 root root 0 Jan 8 22:20 intel_backlight -> ../../devices/
Booth seem to work, again, adjacent to another.
But the automatic display dimming via GNOME still seems not to work. I wonder why, but it is not really important.
In Linux Kernel Bug Tracker #51231, seth (seth-linux-kernel-bugs) wrote : | #34 |
I took a look at the ACPI tables from an x230. If the OS says it's Windows 2012 then _BCL gives an alternate table of brightness values to meet an arbitrary requirement of Win8 to have 101 brightness levels [1]. _BCM tries to find a match for the brightness level it's given in the smaller table it uses for non-Win8 OSes. If it doesn't find an exact match then it just returns without applying any brightness change, so of the 101 values that _BCL claims to support only a much smaller subset (16) actually affect a change in the brightness.
[1] http://
In Linux Kernel Bug Tracker #51231, seth (seth-linux-kernel-bugs) wrote : | #35 |
I'm not seeing any way to fix this other than doing some sort of quirking for the affected machines.
One option add a quirk to keep the kernel from claiming to be Windows 8. There are other places in the ACPI tables where behavior will be affected, but since folks have been running older kernels successfully on these machines I suspect everything should work okay.
The other option I can think of is to quirk acpi-video so that it will only use the brightness values that actually work. I don't see any way to do this without hard coding firmware implementation details into the driver though, which is ugly.
Any other ideas?
In Linux Kernel Bug Tracker #51231, daniel.m.kao (daniel.m.kao-linux-kernel-bugs) wrote : | #36 |
I see that _BCM and _BQC only work with the 16 step table (\_SB.PCI0.
When interacting with the backlight through sysfs, brightness node can be set to any value from _BCL, but actual_brightness reports its current value from _BQC. This causes a discrepancy between brightness and actual_brightness where brightness could be 75 but actual_brightness remains at 70.
Gnome uses RandR to change backlight, which reports actual_brightness when available. When Gnome tries to change brightness in reaction to media keys, it tries to do so in 5% increments based on actual_brightness. Now, since 75% is not supported in the BRTW table, stepping up from 70% would never succeed and so Gnome's brightness OSD gets stuck at 75% and cannot go any higher. Same thing happens when trying to step down from 20%.
I have created a test kernel by commenting out the get_brightness entry in acpi_backlight_ops. RandR seems to fallback to the brightness node and everything works fine in Gnome.
Brightness adjustment with media keys in virtual terminals still has no effect. But I have no idea how the brightness keys are handled in VT so I can't comment on that.
In Linux Kernel Bug Tracker #51231, daniel.m.kao (daniel.m.kao-linux-kernel-bugs) wrote : | #37 |
Sorry, made a mistake in the previous comment:
RandR backlight control doesn't work without a valid actual_brightness node so Gnome falls back to its own backlight helper which uses the brightness node.
In Linux Kernel Bug Tracker #51231, seth (seth-linux-kernel-bugs) wrote : | #38 |
(In reply to comment #21)
> I see that _BCM and _BQC only work with the 16 step table
> (\_SB.PCI0.
> When interacting with the backlight through sysfs, brightness node can be set
> to any value from _BCL, but actual_brightness reports its current value from
> _BQC. This causes a discrepancy between brightness and actual_brightness
> where
> brightness could be 75 but actual_brightness remains at 70.
Yes, since _BCM only discards the value and doesn't return an error, acpi_video thinks the brightness change was successful and thus updates the cached brightness value. actual_brightness shows that the firmware discarded the value.
> Gnome uses RandR to change backlight, which reports actual_brightness when
> available. When Gnome tries to change brightness in reaction to media keys,
> it
> tries to do so in 5% increments based on actual_brightness. Now, since 75% is
> not supported in the BRTW table, stepping up from 70% would never succeed and
> so Gnome's brightness OSD gets stuck at 75% and cannot go any higher. Same
> thing happens when trying to step down from 20%.
>
> I have created a test kernel by commenting out the get_brightness entry in
> acpi_backlight_ops. RandR seems to fallback to the brightness node and
> everything works fine in Gnome.
We shouldn't expose the backlight to userspace if it isn't going to work properly. So the possible solutions I can think of are quirking to use "!Windows 2012" by default, quirking to disable acpi_video backlight, or quirking somehow to make acpi_video only use the values that actually work.
> Brightness adjustment with media keys in virtual terminals still has no
> effect.
> But I have no idea how the brightness keys are handled in VT so I can't
> comment
> on that.
This depends to some degree on how the firmware behaves. Most of the time a keycode is emitted when you press the brightness keys which userspace needs to respond to. When you're in a VT there's probably no software responding to the brightness keycodes, thus no change in brightness.
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #39 |
Created attachment 91091
acpidump of thinkpad t430s with uefi 2.05 in uefi-only mode, without csm
acpidump in uefi-only mode, compatibility-
In Linux Kernel Bug Tracker #51231, seth (seth-linux-kernel-bugs) wrote : | #40 |
Created attachment 91311
Disable Windows 8 compatibility for ThinkPad T430s and X230
Here's a patch (based on 3.8-rc3) which disables Windows 8 compatibility for the T430s and X230 in ACPI. Please give it a try.
38 comments hidden Loading more comments | view all 198 comments |
Alan Jenkins (aj504) wrote : | #1 |
- AlsaInfo.txt Edit (26.7 KiB, text/plain; charset="utf-8")
- BootDmesg.txt Edit (63.2 KiB, text/plain; charset="utf-8")
- CRDA.txt Edit (257 bytes, text/plain; charset="utf-8")
- CurrentDmesg.txt Edit (7.9 KiB, text/plain; charset="utf-8")
- Dependencies.txt Edit (2.6 KiB, text/plain; charset="utf-8")
- IwConfig.txt Edit (508 bytes, text/plain; charset="utf-8")
- Lspci.txt Edit (9.9 KiB, text/plain; charset="utf-8")
- Lsusb.txt Edit (530 bytes, text/plain; charset="utf-8")
- ProcCpuinfo.txt Edit (3.7 KiB, text/plain; charset="utf-8")
- ProcEnviron.txt Edit (106 bytes, text/plain; charset="utf-8")
- ProcInterrupts.txt Edit (2.4 KiB, text/plain; charset="utf-8")
- ProcModules.txt Edit (3.3 KiB, text/plain; charset="utf-8")
- PulseList.txt Edit (16.3 KiB, text/plain; charset="utf-8")
- RfKill.txt Edit (190 bytes, text/plain; charset="utf-8")
- UdevDb.txt Edit (136.0 KiB, text/plain; charset="utf-8")
- UdevLog.txt Edit (317.1 KiB, text/plain; charset="utf-8")
- WifiSyslog.txt Edit (903.8 KiB, text/plain; charset="utf-8")
Brad Figg (brad-figg) wrote : Status changed to Confirmed | #2 |
This change was made by a bot.
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Joseph Salisbury (jsalisbury) wrote : Re: Acer V5-171 laptop: backlight cannot be adjusted unless passing acpi_backlight=vendor | #3 |
Would it be possible for you to test the latest upstream kernel? Refer to https:/
If this bug is fixed in the mainline kernel, please add the following tag 'kernel-
If the mainline kernel does not fix this bug, please add the tag: 'kernel-
If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".
Thanks in advance.
[0] http://
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Incomplete |
Alan Jenkins (aj504) wrote : | #4 |
Thanks! Booted vmlinuz-
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
tags: | added: kernel-bug-exists-upstream |
penalvch (penalvch) wrote : | #5 |
Alan Jenkins, as per http://
If not, could you please both specify what happened, and provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
Thank you for your understanding.
tags: |
added: bios-outdated-2.15 kernel-bug-exists-upstream-v3.9 needs-upstream-testing removed: kernel-bug-exists-upstream |
summary: |
- Acer V5-171 laptop: backlight cannot be adjusted unless passing + [Acer Aspire V5-171] Backlight cannot be adjusted unless passing acpi_backlight=vendor |
Changed in linux (Ubuntu): | |
status: | Confirmed → Incomplete |
Alan Jenkins (aj504) wrote : | #6 |
Sorry I've been neglecting this (and my original report may have fluffed the detail).
This is Windows 8 hardware. Manually poking the intel_backlight driver in sysfs (echo 100 | sudo tee /sys/class/
http://
(I first saw this referred to when it was reverted in 3.11-rc3. Linus' release announcement says "But never fear, we have top people looking at it").
That should be nice & easy to test compared to the _other_ bug I'm tracking on this laptop. So I'll see if I can get there & feedback to upstream.
Alan Jenkins (aj504) wrote : | #7 |
That is, I'm hoping the brightness keys will work (e.g. under KDE) when using the commit "ACPI / video / i915: No ACPI backlight if firmware expects Windows 8". With the non-working acpi_backlight removed, KDE would use the working intel_backlight instead.
tags: | added: regression-potential |
Alan Jenkins (aj504) wrote : | #8 |
Sorry, I don't think the backlight problem on the V5-171 is a regression. I've never had it work as expected.
I've now tried the acpi_osi="!Windows 2012" test, to see if this machine could be added to the temporary blacklist. I.e. whether my bug was a regression caused when Linux added the "Windows 2012" OSI string.[1] Unfortunately that boot option didn't help.
[1] https:/
The result from testing v3.11-rc2 is that it does fix the problem. And as expected, the revert in v3.11-rc3 breaks it again.
To answer the question about firmware upgrades, I'm not going to try that unless it helps upstream. It's not worth reflashing "at my own risk" just to avoid passing acpi_backlight=
150 comments hidden Loading more comments | view all 198 comments |
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #159 |
Created attachment 111591
dmidecode video.use_
kernel 3.12.0-rc5 with patch_set_v5
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #160 |
Created attachment 111601
kernel config, kernel 3.12.0-rc5 with patch_set_v5
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #161 |
Thanks for your work on this Aaron! I've upgraded to kernel 3.12.0-rc5 and applied the patches. When I set video.use_
* everything works fine!
* /sys/class/
* there seem to be 21 brightness-levels available with gnome-power-manager
* the lowest level turns the backlight completely off (this doesn't happend with acpi_osi="!Windows 2012"), is this intentional?
* as already expected it is not longer possible to tune the brightness-level with the Fn+Keys, while working on a virtual-terminal
* thinkpad_acpi seem unhappy about the brightness-
> thinkpad_acpi: http://
> thinkpad_acpi: Unsupported brightness interface, please contact
> <email address hidden>
Looks good.
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #162 |
Created attachment 111611
dmesg with complain from thinkpad_acpi about brightness interface
unsupported brightness interface
In Linux Kernel Bug Tracker #51231, TomWij (tomwij-linux-kernel-bugs) wrote : | #163 |
Peter: Can you change this bug from NEEDINFO to UNCONFIRMED or CONFIRMED? I don't know for sure; but, due to the high traffic, the assigned person might miss your responses if the bug doesn't appear back in his list. It might be the possibility that only the assigned person can change, in which case never mind...
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #164 |
Ohhhh. I thought the active developers change that if appropriate. I changed the status to VERIFIED, because there is no CONFIRMED available.
In Linux Kernel Bug Tracker #51231, TomWij (tomwij-linux-kernel-bugs) wrote : | #165 |
Eh, VERIFIED is usually a status to mark it resolved and verified by QA; you'll not want to pick that one, see https:/
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #166 |
The naming is pretty weird, isn't it? I don't have the canconfirm-
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #167 |
Thanks Peter for the test. If you show me your dmi info, I can add your system into a list so that the mentioned param will be automatically set for you.
In Linux Kernel Bug Tracker #51231, tytso (tytso-linux-kernel-bugs) wrote : | #168 |
I can confirm that I also need video.use_
Handle 0x000F, DMI type 1, 27 bytes
System Information
Product Name: 2352CTO
Version: ThinkPad T430s
Wake-up Type: Power Switch
SKU Number: LENOVO_MT_2352
Family: ThinkPad T430s
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #169 |
Created attachment 111821
Add Thinkpad T430s into the list
For Thinkpad T430s, apply on top of the existing v5 patchset.
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #170 |
(In reply to Aaron Lu from comment #152)
> Thanks Peter for the test. If you show me your dmi info, I can add your
> system into a list so that the mentioned param will be automatically set for
> you.
Theodore posted it in meanwhile :-)
You can find the complete output in comment 143. I will add the patch on top of v5 within the next days, but doesn't expect any surprise.
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #171 |
Created attachment 112141
fixed typo, ThinkPad is written in camelCase, Thinkpad -> ThinkPad
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #172 |
Created attachment 112151
fixed typo, Thinkpad -> ThinkPad
ThinkPad brand name is written in CamelCaseas, as reported by "dmidecode -t 1".
In Linux Kernel Bug Tracker #51231, peter.weber (peter.weber-linux-kernel-bugs) wrote : | #173 |
Great! I'm myself not able to type CamelCase without a typo. To be clear, is necessary to change it to "ThinkPad" to make it working!
By the way, let me be pedantic :-)
0003-ACPI-
Line 54:
- * For Windows 8 systems: if set ture and the GPU driver has
+ * For Windows 8 systems: if set true and the GPU driver has
Thank you! Good night!
In Linux Kernel Bug Tracker #51231, thirdwiggin (thirdwiggin-linux-kernel-bugs) wrote : | #174 |
I tried the v5 patchset on 3.12.0-rc5 on my Lenovo Yoga 13, and video.use_
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #175 |
*** Bug 63811 has been marked as a duplicate of this bug. ***
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #176 |
*** Bug 67031 has been marked as a duplicate of this bug. ***
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #177 |
*** Bug 68751 has been marked as a duplicate of this bug. ***
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #178 |
*** Bug 62941 has been marked as a duplicate of this bug. ***
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #179 |
commit 1811fcb029fa3ec
Author: Aaron Lu <email address hidden>
Date: Tue Feb 18 13:54:20 2014 +0800
ACPI / video: Add systems that should favour native backlight interface
has entered Rafael's linux-next tree.
In Linux Kernel Bug Tracker #51231, fuffi.il.fuffo (fuffi.il.fuffo-linux-kernel-bugs) wrote : | #180 |
Hi,
Thinkpad T430 here (without the s), I'm using linux 3.13.4 and systemd 208 from arch linux booting in bios mode with the last bios update (2.62).
The bug seems the same as for T430s and I can "fix" it with acpi_osi='!Windows 2012' or using video.use_
It works kinda well with video.use_
[ 9.226063] thinkpad_acpi: Unsupported brightness interface, please contact <email address hidden>
System Information
Product Name: 2349KDG
Version: ThinkPad T430
(...)
Wake-up Type: Power Switch
SKU Number: LENOVO_MT_2349
Family: ThinkPad T430
It is because of so many levels of backlight that I have in KDE this behavior switching brightness with the keys:
from 0 to 100: 0-10-20-
from 100 to 0: 100-89-79-69...etc.
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #181 |
(In reply to edm from comment #165)
> Hi,
> Thinkpad T430 here (without the s), I'm using linux 3.13.4 and systemd 208
> from arch linux booting in bios mode with the last bios update (2.62).
>
> The bug seems the same as for T430s and I can "fix" it with
> acpi_osi='!Windows 2012' or using video.use_
> command line in grub.
>
> It works kinda well with video.use_
> 4437 level of brightness in /sys/class/
> reported by Weber, systemd complains about this:
>
> [ 9.226063] thinkpad_acpi: Unsupported brightness interface, please
> contact <email address hidden>
This is harmless, I'll send a patch to fix this.
>
>
> System Information
> Manufacturer: LENOVO
> Product Name: 2349KDG
> Version: ThinkPad T430
> (...)
> Wake-up Type: Power Switch
> SKU Number: LENOVO_MT_2349
> Family: ThinkPad T430
>
> It is because of so many levels of backlight that I have in KDE this
> behavior switching brightness with the keys:
> from 0 to 100: 0-10-20-
> from 100 to 0: 100-89-79-69...etc.
I'll prepare a new patch for your laptop later(together with some other model once that model is confirmed to work well with video.use_
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #182 |
commit 0e9f81d3b7cd064
Author: Aaron Lu <email address hidden>
Date: Tue Feb 18 13:54:20 2014 +0800
ACPI / video: Add systems that should favour native backlight interface
entered Linus' tree as v3.14 material.
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #183 |
BTW, edm, please also attach your acpidump here, thanks.
In Linux Kernel Bug Tracker #51231, fuffi.il.fuffo (fuffi.il.fuffo-linux-kernel-bugs) wrote : | #184 |
Created attachment 127991
acpidump T430
Output of
# acpidump > acpidump-T430.txt
In Linux Kernel Bug Tracker #51231, fuffi.il.fuffo (fuffi.il.fuffo-linux-kernel-bugs) wrote : | #185 |
Just a stupid question: does it make any difference doing "acpidump" with or without acpi_osi="!Windows 2012" as boot option?
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #186 |
(In reply to edm from comment #170)
> Just a stupid question: does it make any difference doing "acpidump" with or
> without acpi_osi="!Windows 2012" as boot option?
No difference.
I'll add your system into the table shortly, sorry for the long delay.
In Linux Kernel Bug Tracker #51231, lyude (lyude-linux-kernel-bugs) wrote : | #187 |
Created attachment 131691
acpi dump for ThinkPad Helix (UEFI)
In Linux Kernel Bug Tracker #51231, lyude (lyude-linux-kernel-bugs) wrote : | #188 |
Created attachment 131701
dmidecode dump for ThinkPad Helix
That should be all the information you need on the Helix regarding the patch I submitted ( https:/
178 comments hidden Loading more comments | view all 198 comments |
Jonatã Bolzan Loss (jbopen) wrote : | #9 |
Bug still present in Ubuntu 14.04
penalvch (penalvch) wrote : | #10 |
jonata, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux
For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https:/
Ubuntu Kernel Team: https:/
Ubuntu Community: https:/
When opening up the new report, please feel free to subscribe me to it.
Thank you for your understanding.
Helpful bug reporting tips:
https:/
178 comments hidden Loading more comments | view all 198 comments |
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #189 |
(In reply to Aaron Lu from comment #171)
> (In reply to edm from comment #170)
> > Just a stupid question: does it make any difference doing "acpidump" with
> or
> > without acpi_osi="!Windows 2012" as boot option?
>
> No difference.
> I'll add your system into the table shortly, sorry for the long delay.
Matthew sent out a patch to enable native backlight control interface by default for win8 systems so that we do not need to add more systems into the DMI table:
http://
177 comments hidden Loading more comments | view all 198 comments |
Nils Sabelstrom (nilssab) wrote : | #11 |
Bug can be confirmed present in 14.04 with standard LTS kernel and 3.15rc2 kernel from ubuntu mainline kernel-ppa, daily build for april 24th (latest marked trusty at the time, now nonexistent, should I try a newer kernel even if marked utopic?)
I tried upgrading to bios version 2.21, but there was only an installer for win 8, and using it removes the ubuntu boot loader. Will post after getting my computer to boot ubuntu again.. (I would not recommend users without good knowledge of how UEFI bootloaders work to try upgrading the bios)
1 comments hidden Loading more comments | view all 198 comments |
Nils Sabelstrom (nilssab) wrote : | #13 |
will do, as soon as I get it booting into ubuntu again.
Apparently update-grub (or rather grub-probe) doesn't work when chrooting into a root partition if it's btrfs, so I'm gonna try booting through a efi booter from another computer running the same kernelversion of 14.04..
I'm quite pissed at myself for not backing up the EFI partition before doing a BIOS update from windows... <_<
Nils Sabelstrom (nilssab) wrote : | #14 |
added a duplicate bug generated by ubuntu-bug.
is there a way to make it upload the information to a specific bug and not make a new bug entry? or is it fine to just make duplicates? should I also make one using the newest kernel?
175 comments hidden Loading more comments | view all 198 comments |
In Linux Kernel Bug Tracker #51231, gabriele.mzt (gabriele.mzt-linux-kernel-bugs) wrote : | #190 |
Created attachment 137791
Dell XPS13 9333 acpidump
I attached the acpidump of my Dell XPS13 9333.
If video.use_
With video.use_
System Information
Product Name: XPS13 9333
In Linux Kernel Bug Tracker #51231, robert.zavalczki (robert.zavalczki-linux-kernel-bugs) wrote : | #191 |
Created attachment 140631
ThinkPad T530 use native backlight patch
In Linux Kernel Bug Tracker #51231, robert.zavalczki (robert.zavalczki-linux-kernel-bugs) wrote : | #192 |
The backlight keys do not work properly with kernel 3.15.1 and ThinkPad T530 (with Intel integrated graphics). Only 2 brightness levels are available.
I noticed that using native backlight option for Thinkpad T530 fixes the issue:
see attachment 140631
After applying the above patch 11 brightness levels + blank can be set (I am using an Xfce 4.10 desktop).
Weirdly, in pre 3.15 kernel versions adding the use native backlight option caused my monitor to become unresponsive (stay blank) after a screen lock followed by a suspend screen. I no longer get that behavior with kernel version 3.15.1. Should you need any more information I can happily provide it.
In Linux Kernel Bug Tracker #51231, corsac (corsac-linux-kernel-bugs) wrote : | #193 |
So I just got the 3.16 kernel with the changes for all Windows 8 laptops.
And while I bought this laptop (Thinkpad x201s) in 2010, it seems a BIOS update added the “support” for Windows 8 (at least that's a guess from http://
So this laptop where brightness keys where working perfectly using ACPI, has now the same issue, and I need to have something in userspace doing the job.
That's really a regression for me.
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #194 |
Hi Perez,
I believe commit 5f24079b021cd31
commit 5f24079b021cd31
Author: Hans de Goede <email address hidden>
Date: Thu Aug 28 10:20:46 2014 +0200
ACPI / video: Add a disable_
Some laptops have a working acpi_video backlight control, and using native
backlight on these causes a regression where backlight control does not work
when userspace is not handling brightness key events. Disable native_backlight
on these to fix this.
Link: https:/
Reported-
Cc: 3.16+ <email address hidden> # 3.16+
Signed-off-by: Hans de Goede <email address hidden>
Signed-off-by: Rafael J. Wysocki <email address hidden>
Feel free to submit a patch to add your model into the video_dmi_table to disable native backlight control.
In Linux Kernel Bug Tracker #51231, corsac (corsac-linux-kernel-bugs) wrote : | #195 |
(In reply to Aaron Lu from comment #179)
> Hi Perez,
>
> I believe commit 5f24079b021cd31
> such problems:
>
> commit 5f24079b021cd31
> Author: Hans de Goede <email address hidden>
> Date: Thu Aug 28 10:20:46 2014 +0200
>
> ACPI / video: Add a disable_
>
> Some laptops have a working acpi_video backlight control, and using
> native
> backlight on these causes a regression where backlight control does not
> work
> when userspace is not handling brightness key events. Disable
> native_backlight
> on these to fix this.
>
> Link: https:/
> Reported-
> Cc: 3.16+ <email address hidden> # 3.16+
> Signed-off-by: Hans de Goede <email address hidden>
> Signed-off-by: Rafael J. Wysocki <email address hidden>
>
> Feel free to submit a patch to add your model into the video_dmi_table to
> disable native backlight control.
Thanks. So the “DMI table” approach was considered bad because not sustainable for this bug, but ok for bug #81691 ?
Anyway, will provide the correct DMI information on that bug.
In Linux Kernel Bug Tracker #51231, aaron.lu (aaron.lu-linux-kernel-bugs) wrote : | #196 |
(In reply to Yves-Alexis Perez from comment #180)
> (In reply to Aaron Lu from comment #179)
> > Hi Perez,
> >
> > I believe commit 5f24079b021cd31
> > such problems:
> >
> > commit 5f24079b021cd31
> > Author: Hans de Goede <email address hidden>
> > Date: Thu Aug 28 10:20:46 2014 +0200
> >
> > ACPI / video: Add a disable_
> >
> > Some laptops have a working acpi_video backlight control, and using
> > native
> > backlight on these causes a regression where backlight control does not
> > work
> > when userspace is not handling brightness key events. Disable
> > native_backlight
> > on these to fix this.
> >
> > Link: https:/
> > Reported-
> > Cc: 3.16+ <email address hidden> # 3.16+
> > Signed-off-by: Hans de Goede <email address hidden>
> > Signed-off-by: Rafael J. Wysocki <email address hidden>
> >
> > Feel free to submit a patch to add your model into the video_dmi_table to
> > disable native backlight control.
>
> Thanks. So the “DMI table” approach was considered bad because not
> sustainable for this bug, but ok for bug #81691 ?
The systems that claim to be Win8 but have a working ACPI video interface are supposed to be not common(hopefully this is true), so should be OK to keep a DMI table for them. While the systems that claim to be Win8 and don't have a working ACPI video interface are supposed to be the common case, so keeping a DMI table for all of them is not feasible.
>
> Anyway, will provide the correct DMI information on that bug.
OK, thanks.
In Linux Kernel Bug Tracker #51231, ucelsanicin (ucelsanicin-linux-kernel-bugs) wrote : | #197 |
With this patch (not sure yet whether it's relevant) in place:
... http://
diff --git a/gdb/testsuite
Exp https:/
index a2cc80f28d.
--- a/gdb/testsuite
+++ b/gdb/testsuite
@@ -451,8 +451,10 @@ proc gdbserver_exit { is_mi } { https:/
# We use expect rather than gdb_expect because
# we want to suppress printing exception messages, otherwise, http://
# remote_expect, invoked by gdb_expect, prints the exceptions.
+ set read_prompt 0
expect { http://
-i "$gdb_spawn_id" -re "$gdb_prompt $" {
+ set read_prompt 1 http://
}
-i "$server_spawn_id" eof { http://
@@ -463,6 +465,7 @@ proc gdbserver_exit { is_mi } {
}
}
+ gdb_assert {$read_prompt}
}
} http://
close_
...
and running in parallel with:
...
$ stress -c 5 http://
...
I ran into:
...
(gdb) PASS: gdb.multi/
Remote debugging from host ::1, port 34088^M
Process build/gdb/
monitor exit^M
(gdb) Killing process(es): 8649^M http://
#9 0x16a2c57 in pop_all_
#10 0x1442749 in remote_
#11 0x1458c16 in remote_
#12 0x145b25b in remote_
Changed in linux: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Created attachment 88171
config of kernel 3.7.0-rc7
Hello!
The backlight keys (Fn+F8, Fn+F9) stopped working with Kernel 3.7.0-rc7. It works with the current stable Kernel 3.6.8. I can still change the backlight brightness via "System Settings" > "Brightness & Lock" in GNOME. I can't see any message about not working keys in dmesg or the syslog.
I should note, that the brightness- indicator of GNOME shows if I press one of the keys and it moves the progress-bar a ittle bit. After I changedthe brigthness via "System Settings" it is possible to use the keys to change the brightness over a wider range, but not the complete range. Seems to be some side effect.
Maximal movement of of brightness, visuallay:
Default:
[ x x x x x x x - ]
After I changed the brightness to the middle, via "System Settings":
[ x x - - - - x x ]
Sorry for the weird report.
Thank you.