Bjørn Mork | 28 Jul 14:53 2015
Picon

Re: [ltp] Thinkpad keyboard backlight ACPI interface

Pali Rohár <pali.rohar <at> gmail.com> writes:

> Yes and for that I need output from as many Thinkpad machines, so I can
> do some "statistic" output.

Would love to help, but neither my ancient X301 nor my newer T420s have
the MLCG and MLCS methods.  Which makes sense, as they don't have
backlit keyboards either...

Bjør

------------------------------------------------------------------------------
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Bjørn Mork | 28 Jul 13:56 2015
Picon

Re: [ltp] Thinkpad keyboard backlight ACPI interface

Pali Rohár <pali.rohar <at> gmail.com> writes:

> On Tuesday 28 July 2015 13:17:58 Bjørn Mork wrote:
>> Pali Rohár <pali.rohar <at> gmail.com> writes:
>> 
>> > I would like to write kernel patch for thinkpad_acpi.c to support 
>> > keyboard backlight (like other modules in drivers/platform/x86/ tree), 
>> > but last missing information is how to detect current level of 
>> > brightness and check if backlight is supported...
>> 
>> Based on the code you posted, I would assume that MLCG returns the
>> current brightness level.  Did you test that?
>> 
>
> Of course and it returns:
>
> 0x50200 - off
> 0x50201 - level 1
> 0x50202 - level 2
>
> But I do not understand why it returns 0x5020{0,1,2} and not only 0,1,2.

Looks like it might have several bitfields with different meanings.
You'll probably have to guess what they are.

> MLCS returns 0x0.
>
>> The thinkpad_acpi driver use code like this to test for supported
>> features:
>> 
(Continue reading)

Christian Bley | 29 May 23:05 2015

Unsupported brightness interfase

Hello,

I've got a problem with my Debian Jessie. It doesn't start the UI and while the startup it says:
"Unsupported brightness interface, please contact ibm-acpi-devel-5NWGOfrQmneRv+LV9MX5ug@public.gmane.orge.net"

Some logs are attatched.

Yours sincerely
Christian Bley
Attachment (log.tar): application/x-tar, 5390 KiB
------------------------------------------------------------------------------
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@...
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Christoph Schwanke | 1 Jun 16:47 2015
Picon
Picon

Problem with booting E145

Dear ladies and gentlemen,

as I downloaded the new xubuntu version (15.04) my thinkpad (e145) objected 
booting.
It says: [1.649350] ACPI PCC probe failed.
starting version 219
[13.685380] thinkpad_acpi: Unsupported brightness interface. ...
Welcome to emergency mode! ...

Can you help me?

Yours sincerely 

---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.
http://www.avast.com

------------------------------------------------------------------------------
Ramiro Morales | 12 Jun 17:51 2015
Picon

[PATCH 1/1] thinkpad-acpi: Reduce screen brightness user visible noise.

Implement change in logging during screen brightness capabilities
detection as suggested in
https://www.mail-archive.com/ibm-acpi-devel%40lists.sourceforge.net/msg03484.html

Signed-off-by: Ramiro Morales <cramm0@...>
---
 drivers/platform/x86/thinkpad_acpi.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index 28f3281..b48efc9 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
 <at>  <at>  -6450,19 +6450,16  <at>  <at>  static void __init tpacpi_detect_brightness_capabilities(void)
 	switch (b) {
 	case 16:
 		bright_maxlvl = 15;
-		pr_info("detected a 16-level brightness capable ThinkPad\n");
 		break;
 	case 8:
 	case 0:
 		bright_maxlvl = 7;
-		pr_info("detected a 8-level brightness capable ThinkPad\n");
 		break;
 	default:
-		pr_err("Unsupported brightness interface, "
-		       "please contact %s\n", TPACPI_MAIL);
 		tp_features.bright_unkfw = 1;
 		bright_maxlvl = b - 1;
 	}
+	pr_debug("firmware reports %d brightness levels\n", bright_maxlvl);
 }

 static int __init brightness_init(struct ibm_init_struct *iibm)
 <at>  <at>  -6482,6 +6479,9  <at>  <at>  static int __init brightness_init(struct ibm_init_struct *iibm)

 	/* if it is unknown, we don't handle it: it wouldn't be safe */
 	if (tp_features.bright_unkfw)
+		dbg_printk(TPACPI_DBG_INIT | TPACPI_DBG_BRGHT,
+			   "Unsupported brightness mode, use acpi video "
+			   "or gpu drivers");
 		return 1;

 	if (!brightness_enable) {
--

-- 
1.9.1

------------------------------------------------------------------------------
Ramiro Morales | 12 Jun 17:50 2015
Picon

[PATCH 0/1] thinkpad-acpi: Reduce screen brightness user visible noise.

(This is is a manual follow-up to thread
https://www.mail-archive.com/ibm-acpi-devel%40lists.sourceforge.net/msg03484.html
as I've just subscribed myself to this list and don't have a proper
MUA to reply appropriately.)

I've implemented what I understand from Henrique description of
suggested changes to logging so to reduce noise during boot (and on
this list.)

Please feel free to correct/ask for changes.

Regards,

--

-- 
Ramiro Morales
 <at> ramiromorales

------------------------------------------------------------------------------
Jani Kettunen | 3 May 04:15 2015
Picon

Recent update breaks Ubuntu on Lenovo X1 Carbon

I recently bought the Lenoxo X1 Carbon and installed Ubuntu 14.04 on it. It's been working relatively smoothly so far, but I just installed the latest updates, and now I'm having trouble starting up. The first time I tried to start it up after reboots, I got the attached screen (which is why I'm writing this).

Also, previously I was able to just choose Ubuntu in the selection screen when starting up and it'd have no trouble. Now the only way I can start it up is by going to the fault tolerance mode, and by resuming the normal startup from there, which works for some weird reason. I'm not sure if this is related.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@...
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Leyffer, Sven | 30 Apr 21:35 2015

unsupported brightness API on thinkpad

Hi,

I just updated to the latest version of ubuntu, and had a failure
message during system restart. The message asked that I contact this
email. It claims that the brightness settings are unsupported (code
1529448 thinkpad_acpi).

I have an X1 Carbon Thinkpad with i7-5600U CPU with Intel HD Graphics
5500. The error occurs when I run
Linux version 3.16.0-36-generic

All is OK when I am using Linux version 3.16.0-34

Please let me know if you need any additional information.

Kind regards,

Sven

PS: Just moved back to Ubuntu after five years with MacOS, and I am
loving it!

--

-- 
Sven Leyffer
Senior Computational Mathematician
Argonne National Laboratory

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Andrew Wienecke | 21 Apr 21:04 2015
Picon

Got an unsupported brightness acpi

This was working previously, was working during the netboot install, is no longer working. Fixes online didn't. I'm going to try a few more things, but this is about all the useful stuff I'm aware that I should provide, let me know if you need more.

[    3.470352] thinkpad_acpi: ThinkPad ACPI Extras v0.25
[    3.470360] thinkpad_acpi: http://ibm-acpi.sf.net/
[    3.470363] thinkpad_acpi: ThinkPad BIOS GSET60WW (2.05 ), EC unknown
[    3.470366] thinkpad_acpi: Lenovo ThinkPad X140e, model 20BLS00400
[    3.476142] thinkpad_acpi: Unsupported brightness interface, please contact ibm-acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[    3.483092] thinkpad_acpi: radio switch found; radios are enabled
[    3.483124] thinkpad_acpi: possible tablet mode switch found; ThinkPad in laptop mode
[    3.483148] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[    3.483151] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@...
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Eoin Jordan | 9 Apr 17:30 2015
Picon

THERMAL ALERT: unknown thermal alarm received


Hi,

I'm hoping that you can help me on this, this alert is starting to happen
more frequently on my TP540:

Apr  8 17:53:48 oc1165430346 acpid: client 7259[500:500] has disconnected
Apr  8 17:53:49 oc1165430346 kernel: e1000e: eth0 NIC Link is Down
Apr  8 17:53:49 oc1165430346 NetworkManager[2930]: <info> (eth0): carrier
now OFF (device state 8, deferring action for 4 seconds)
Apr  8 17:53:50 oc1165430346 kernel: thinkpad_acpi: THERMAL ALERT: unknown
thermal alarm received
Apr  8 17:53:50 oc1165430346 kernel: thinkpad_acpi: unhandled HKEY event
0x6040
Apr  8 17:53:50 oc1165430346 kernel: thinkpad_acpi: please report the
conditions when this event happened to ibm-acpi-devel@...
Apr  8 17:53:50 oc1165430346 kernel: thinkpad_acpi: EC reports that Thermal
Table has changed
Apr  8 17:53:51 oc1165430346 dhclient[5399]: DHCPREQUEST on wlan0 to
9.0.136.32 port 67 (xid=0x1efb035e)
Apr  8 17:53:53 oc1165430346 NetworkManager[2930]: <info> (eth0): device
state change: activated -> unavailable (reason 'carrier-chagned') [8 2 40]
Apr  8 17:53:53 oc1165430346 NetworkManager[2930]: <info> (eth0):
deactivating device (reason 'carrier-chagned') [40]
Apr  8 17:53:53 oc1165430346 NetworkManager[2930]: <info> (eth0): canceled
DHCP transaction, DHCP client pid 2952
Apr  8 17:53:53 oc1165430346 NetworkManager[2930]: <info> Policy set
'Office Wireless' (wlan0) as default for IPv4 routing and DNS.
Apr  8 17:53:53 oc1165430346 acvpnagent[3372]: Function:
tableCallbackHandler File: RouteMgr.cpp Line: 1681 Invoked Function: recv
Return Code: 11 (0x0000000B) Description: unknown

What does it mean, and is there any way to stop it from happening? It is
crashing my laptop up to 3 times per day..

Kind Regards,

Eoin Jordan

IBM Tivoli Netcool Configuration Manager

IT Operations | Networks | Middleware Products | Products | IBM Systems

tel: +353 91 543 954 | t/l: 37-503954

email: eoin.jordan@...

leave: April 3rd

-------------------

IBM-Tivoli Netcool Wireless Products EngineeringIDA Business ParkDangan,
Galway, Ireland.

IBM Galway MapGPS coordinates:53.290514,-9.073548

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Andrew Lundgren | 17 Apr 19:16 2015
Picon

Unsupported brightness interface, please contact

I have a Lenovo W540.  dmesg shows the following output:

[    6.653717] thinkpad_acpi: ThinkPad ACPI Extras v0.25
[    6.653718] thinkpad_acpi: http://ibm-acpi.sf.net/
[    6.653719] thinkpad_acpi: ThinkPad BIOS GNET66WW (2.14 ), EC unknown
[    6.653720] thinkpad_acpi: Lenovo ThinkPad W540, model 20BHS02400
[    6.654241] thinkpad_acpi: Unsupported brightness interface, please contact ibm-acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[    6.654302] thinkpad_acpi: radio switch found; radios are enabled
[    6.654401] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[    6.654402] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
[    6.657625] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[    6.660294] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input10


What additional information can I provide?

--
Andrew
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@...
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

Gmane