First of all, thanks to everyone involved in the development of thinkpad_acpi. I've benefited from it on all of my Thinkpads, from the T60 to the T420S to the X200T to my last P70 and now my current P71. As a developer myself, I'm sure you aren't thanked often as much as you should be, so I wanted to take the time to acknowledge the many, many hours of time spent by maintainers and others. Thanks. :-)
To my problem: the screen brightness up and down controls provided by the keyboard's special function keys (in my case F5 and F6) do not work to adjust the brightness. I cannot seem to enable this functionality manually with anything other than xbacklight, which, it is my understanding, uses RandR. As far as I can tell, all the other special function keys (volume controls, radio toggles, etc). Just the screen brightness is unresponsive. It looks like the relatively new Lenovo P71 has some differences between it's predecessor, as my old P70 has no issues whatsoever.
I am running Ubuntu 17.10 with the latest packaged 4.13.0-37-generic kernel. In case this is significant, do note that I am running the machine in dedicated graphics only mode (with a Nvidia Quadro P4000 Mobile) and am using the 390.25 proprietary graphics driver provided by the “Graphics Drivers” Launchpad team (ppa:graphics-drivers/ppa). Also, and again, I'm unsure if this is noteworthy, bit I do have set the BIOS override toggle that enabled the function keys to act first as normal function keys (F1, F2, etc) and second (by pressing the FN key) as special function keys for brightness, radio toggles, etc. The system default is the inverse.
As for the thinkpad_acpi module itself, modinfo reports I have version 0.25 loaded and /proc/modules reports the following parameters have been set (these were automatically applied; there are no manually defined parameters on my part):
"brightness_enable" => 2
"brightness_mode" => 4
"dbg_bluetoothemul" => 0
"dbg_uwbemul" => 0
"dbg_wlswemul" => 0
"dbg_wwanemul" => 0
"enable" => true
"experimental" => 0
"fan_control" => false
"force_load" => false
"id" => ThinkPadEC
"index" => -536870912
"software_mute" => true
"volume_capabilities" => 0
"volume_control" => true
"volume_mode" => 3
The following dmsg lines matched my search for ACPI; I am not clear what all the messages are actually describing, especially those pertaining to platform support, control requests, etc, but have included them all to provide as much context to you as possible:
[ 0.109384] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.157804] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[ 0.157912] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug PME AER PCIeCapability]
[ 0.157914] acpi PNP0A08:00: _OSC: not requesting control; platform does not support [PCIeCapability]
[ 0.157915] acpi PNP0A08:00: _OSC: OS requested [PCIeHotplug PME AER PCIeCapability]
[ 0.157916] acpi PNP0A08:00: _OSC: platform willing to grant []
[ 0.157917] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
[ 0.298237] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 5.710758] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
[ 5.710848] acpi PNP0C14:03: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
[ 6.127912] thinkpad_acpi: ThinkPad ACPI Extras v0.25
[ 6.127913] thinkpad_acpi: http://ibm-acpi.sf.net/
[ 6.127913] thinkpad_acpi: ThinkPad BIOS N1TET42W (1.16 ), EC unknown
[ 6.127914] thinkpad_acpi: Lenovo ThinkPad P71, model 20HKCTO1WW
[ 6.193365] thinkpad_acpi: radio switch found; radios are enabled
[ 6.232303] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[ 6.281431] thinkpad_acpi: rfkill switch tpacpi_wwan_sw: radio is unblocked
Finally, you can find the data sheet on the P71 at http://psref.lenovo.com/syspool/Sys/PDF/ThinkPad/ThinkPad%20P71/ThinkPad_P71_Platform_Specifications.pdf.
Please advise if you require any additional information, logs, or other details. With any luck, I'll be working away on my P71 in a few weeks, controlling my brightness with the FN keys, and having forgot again all about thinkpad_acpi and the other underlying tools in the OS stack that "just work" everyday for millions of people but remain unseen to most.
All the best!
Rob Frawley 2ndFounder, Source Consulting |
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel