[ibm-acpi-devel] "unhandled HKEY event 0x6040" upon AC power supply disconnect/connect

2014-03-03 Thread Tommy Stanton
Hello. I am receiving these messages at /var/log/kern.log, and am simply reporting them as instructed. ;) These sort of log messages are emitted whenever I disconnect the AC power supply (power supply part always plugged into the wall) from or connect it to my laptop. It is a Lenovo ThinkPad X1

[ibm-acpi-devel] [RFC PATCH] support Thinkpad X1 Carbon's adaptive keyboard

2014-03-03 Thread Shuduo Sang
Hi all, We are working together with Lenovo to enable thinkpad X1 Carbon's fancy feature, Adaptive Keyboard[1] for Linux. Adaptive keyboard has five modes on Windows including Home mode, Web browser mode, Web conference mode, Function mode and Lay-flat mode. We enabled Home mode and Function mode

[ibm-acpi-devel] [PATCH V2] support Thinkpad X1 Carbon's adaptive keyboard

2014-03-03 Thread Shuduo Sang
Hi, Support Thinkpad X1 Carbon's Adaptive keyboard patch version 2 is here. Modified V1 patch's code according to Bjorn's comment. Thanks, Shuduo >From fd2ab11002f3e5cb7fb9b26452db170e9835cde1 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Mon, 3 Mar 2014 14:29:32 +0800 Subject: [PATCH] su

[ibm-acpi-devel] [PATCH 1/1] platform / x86: Fix incorrect sscanf() string datatype.

2014-03-03 Thread Luis G.F
Fix incorrect sscanf() string datatype in following functions: - cmos_write() - beep_write() - volume_writter(). Change from 'unsigned int *' to 'int *' Signed-off-by: Luis G.F --- drivers/platform/x86/thinkpad_acpi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dr

[ibm-acpi-devel] ThinkPad T420 : 8 versus 16 brightness level steps

2014-03-03 Thread Toralf Förster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 /'m wondering why under a 64 bit RedHat 6.4 Linux with kernel 2.6.32+X I do have 16 levels in dimming the display brightness with Fn+Pos1/End whereas under a 32 bit Gentoo Linux with recent 3.1x.y kernels I do just have 8 steps from min to max. - --

Re: [ibm-acpi-devel] [PATCH] x86, acpi: LLVMLinux: Remove nested functions from Thinkpad ACPI

2014-03-03 Thread Al Viro
On Wed, Feb 12, 2014 at 01:54:43PM -0800, David Rientjes wrote: > So this patch is only as a courtesy to clang and you're not complaining > about things like __builtin() functions, typeof, or a ? : b conditional > operators because clang happens to support them? That patch removes a disgusting

Re: [ibm-acpi-devel] [PATCH] x86, acpi: LLVMLinux: Remove nested functions from Thinkpad ACPI

2014-03-03 Thread Christoph Hellwig
On Wed, Feb 12, 2014 at 09:58:46PM +0100, dl...@gmx.de wrote: > being able to compile the Linux kernel with Clang. The use of nested functions > blocks this effort. Is there any good way to make gcc warn about the use of nested functions? -

Re: [ibm-acpi-devel] [PATCH] x86, acpi: LLVMLinux: Remove nested functions from Thinkpad ACPI

2014-03-03 Thread David Rientjes
On Wed, 12 Feb 2014, dl...@gmx.de wrote: > From: Behan Webster > > The only real change is passing in event_mask to the formerly nested > functions. > Otherwise it's just moving around function and macro code. > > This is the only place in the Linux kernel where nested functions are still in >

[ibm-acpi-devel] [PATCH] x86, acpi: LLVMLinux: Remove nested functions from Thinkpad ACPI

2014-03-03 Thread dl9pf
From: Behan Webster The only real change is passing in event_mask to the formerly nested functions. Otherwise it's just moving around function and macro code. This is the only place in the Linux kernel where nested functions are still in use. Nested functions aren't part of the C standards, and

Re: [ibm-acpi-devel] [PATCH] thinkpad_acpi: Fix inconsistent mute LED after resume

2014-03-03 Thread rauchwolke
Hi, this patch doesn't work. The sound is now muted after the resume (light is on). But the userspace knows nothing about it. (kmix shows the volume as umuted) Peter On Thu, 13 Feb 2014 09:35:30 +0100 Takashi Iwai wrote: > At Wed, 12 Feb 2014 20:37:36 +, > Matthew Garrett wrote: > > > >

Re: [ibm-acpi-devel] [RFC PATCH] support Thinkpad X1 Carbon's adaptive keyboard

2014-03-03 Thread Shuduo Sang
hi Bjørn, Thanks for your comment. I will send V2 later. On 03/03/2014 07:04 PM, Bjørn Mork wrote: > Shuduo Sang writes: > >> Hi all, >> >> We are working together with Lenovo to enable thinkpad X1 Carbon's >> fancy feature, Adaptive Keyboard[1] for Linux. Adaptive keyboard has >> five modes

Re: [ibm-acpi-devel] brightness control issue

2014-03-03 Thread Adam Stylinski
I should probably note this was going from kernel 3.12.1 to 3.13.4. Honestly it's probably not a big deal for me, as I just noticed that the xbacklight and sysfs interfaces provided by the intel drivers seem to be working for me. For Ubuntu / gnome / Any full fledged DE users they probably wouldn'

Re: [ibm-acpi-devel] [PATCH] thinkpad_acpi: Add mappings for F9 - F12 hotkeys on T440s

2014-03-03 Thread Hans de Goede
Hi, On 02/18/2014 05:00 PM, Matthew Garrett wrote: > On Tue, 2014-02-18 at 13:36 +0100, Hans de Goede wrote: >> /* Extra keys found on the T440(s) */ >> +KEY_CONFIG, KEY_SEARCH, KEY_SCALE, KEY_COMPUTER, > > My recollection is that KEY_SCALE was initially intended for "Toggle > whether

[ibm-acpi-devel] brightness control issue

2014-03-03 Thread Adam Stylinski
Hello, I am using a Lenovo X240. Since upgrading to kernel 3.13 I've not been able to control my backlight and I get the following error message when the thinkpad_acpi module is loaded: thinkpad_acpi: Unsupported brightness interface, please contact ibm-acpi-devel@lists.sourceforge.net It worked

[ibm-acpi-devel] Problem with thinkpad-acpi

2014-03-03 Thread Scott Wilson
Dev Team, I continue to have problems from time to time with my Touchpad freezing. Thankfully, I have a trackpoint device on my T420, because these freezes are now occurring multiple times daily! B. Scott Wilson Global Security Program Manager IBM Global Technology Services

[ibm-acpi-devel] thinkpad_acpi: unhandled HKEY event 0x60a0

2014-03-03 Thread Po-Hsu Lin
Hello, when I tried to suspend a Lenovo V480 (with the latest bios version: H5ET73WW(1.16)) by closing the lid, I got the following message in the report: [ 217.748353] thinkpad_acpi: unknown possible thermal alarm or keyboard event received [ 217.748385] thinkpad_acpi: unhandled HKEY event 0x60a

[ibm-acpi-devel] THERMAL ALERT: unknown thermal alarm received

2014-03-03 Thread Curliss Clark
thinkpad_acpi: THERMAL ALERT: unknown thermal alarm received thinkpad_acpi: unhandled HKEY event 0x6040 thinkpad_acpi: please report the conditions when this event happened to ibm-acpi-devel@lists.sourceforge.net thinkpad_acpi: EC reports that Thermal Table has changed / Med venlig

[ibm-acpi-devel] experiencing regular 'freezing' symptoms at least 4-5 times a day.

2014-03-03 Thread Deepak Gupta23
Dear Sir/Madam, How are you ? I am experiencing regular 'freezing' symptoms at least 4-5 times a day. Here is some portion of /var/log/messages Feb 16 15:30:28 oc4505414777 pulseaudio[4063]: ratelimit.c: 304 events suppressed Feb 16 15:31:30 oc4505414777 pulseaudio[4063]: ratelimit.c: 291 event

[ibm-acpi-devel] [PATCH] thinkpad_acpi: Add mappings for F9 - F12 hotkeys on T440s

2014-03-03 Thread Hans de Goede
The T440s user guide says that when Fn-lock is not active, the T440s' F9 - F12 keys should be mapped to: control-panel, search, show-all-windows and Computer. These keys generate the sofar unused 28 - 31 hotkey scancodes. For the first 2 this nicely matches the icons on the keys, for the latter 2

Re: [ibm-acpi-devel] [PATCH] x86, acpi: LLVMLinux: Remove nested functions from Thinkpad ACPI

2014-03-03 Thread Richard Weinberger
On Wed, Feb 12, 2014 at 10:20 PM, Behan Webster wrote: > On 02/12/14 13:11, Christoph Hellwig wrote: >> >> On Wed, Feb 12, 2014 at 09:58:46PM +0100, dl...@gmx.de wrote: >>> >>> being able to compile the Linux kernel with Clang. The use of nested >>> functions >>> blocks this effort. >> >> Is there

Re: [ibm-acpi-devel] unsupported brightness interface on X230 since linux-3.13.4

2014-03-03 Thread Julian Andres Klode
On Sun, Feb 23, 2014 at 01:52:14PM +0100, haiko wrote: > Hello developers! > > I recently updated my Arch installation from linux-3.12.9 to linux-3.13.4. > Unfortunately my X230's brightness fn-keys don't work anymore. Did you try switching back to 3.12.9 and does it work then? Function keys migh

[ibm-acpi-devel] PartClone HKEY error

2014-03-03 Thread Gary Elliott
I received this from PartClone V0.2.58 (part of Clonezilla) Error: Thinkpad-acpi: unhandled HKEY event 0X6050 Thinkpad-acpi: please report the condition when this event happened to ibm-acpi-devel@lists.sourceforge.net Event condition: I had pressed the Fn+End (Display dim) key combination on a W

Re: [ibm-acpi-devel] [PATCH] thinkpad_acpi: Fix inconsistent mute LED after resume

2014-03-03 Thread Takashi Iwai
At Thu, 13 Feb 2014 19:02:46 +0100, rauchwo...@gmx.net wrote: > > Hi, > > this patch doesn't work. The sound is now muted after the resume (light is > on). > But the userspace knows nothing about it. (kmix shows the volume as umuted) OK, scratch the last patch. I thought the mute LED is also

Re: [ibm-acpi-devel] [PATCH] x86, acpi: LLVMLinux: Remove nested functions from Thinkpad ACPI

2014-03-03 Thread Behan Webster
On 02/12/14 13:11, Christoph Hellwig wrote: > On Wed, Feb 12, 2014 at 09:58:46PM +0100, dl...@gmx.de wrote: >> being able to compile the Linux kernel with Clang. The use of nested >> functions >> blocks this effort. > Is there any good way to make gcc warn about the use of nested functions? Intere

[ibm-acpi-devel] unhandled HKEY even 0x6050

2014-03-03 Thread Sarah Brofeldt
Hello, I noticed that journalctl logged this during bootup: Feb 08 14:03:31 thinkmonster kernel: thinkpad_acpi: unknown possible thermal alarm or keyboard event received Feb 08 14:03:31 thinkmonster kernel: thinkpad_acpi: unhandled HKEY event 0x6050 Feb 08 14:03:31 thinkmonster kernel: thinkpad_a

Re: [ibm-acpi-devel] [PATCH] thinkpad_acpi: Fix inconsistent mute LED after resume

2014-03-03 Thread Takashi Iwai
At Wed, 12 Feb 2014 20:37:36 +, Matthew Garrett wrote: > > On Wed, 2014-02-12 at 16:32 +0100, Takashi Iwai wrote: > > The mute LED states have to be restored after resume. > > Oh, never mind, we're not doing this through the LED class, are we? Good point. It seems that leds_class has pm_ops

Re: [ibm-acpi-devel] [PATCH] x86, acpi: LLVMLinux: Remove nested functions from Thinkpad ACPI

2014-03-03 Thread Måns Rullgård
Behan Webster writes: > On 02/12/14 13:11, Christoph Hellwig wrote: >> On Wed, Feb 12, 2014 at 09:58:46PM +0100, dl...@gmx.de wrote: >>> being able to compile the Linux kernel with Clang. The use of nested >>> functions >>> blocks this effort. >> Is there any good way to make gcc warn about the

[ibm-acpi-devel] [PATCH] thinkpad_acpi: Fix inconsistent mute LED after resume

2014-03-03 Thread Takashi Iwai
The mute LED states have to be restored after resume. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=70351 Cc: [v3.13+] Signed-off-by: Takashi Iwai --- drivers/platform/x86/thinkpad_acpi.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/platform/x86/thinkpad_acp

[ibm-acpi-devel] Bug

2014-03-03 Thread Craig Smith
Feb 7 11:29:53 cas kernel: [ 3910.066518] thinkpad_acpi: unknown possible thermal alarm or keyboard event received Feb 7 11:29:53 cas kernel: [ 3910.066521] thinkpad_acpi: unhandled HKEY event 0x6060 Feb 7 11:29:53 cas kernel: [ 3910.066523] thinkpad_acpi: please report the conditions when th

Re: [ibm-acpi-devel] [RFC PATCH] support Thinkpad X1 Carbon's adaptive keyboard

2014-03-03 Thread Bjørn Mork
Shuduo Sang writes: > Hi all, > > We are working together with Lenovo to enable thinkpad X1 Carbon's > fancy feature, Adaptive Keyboard[1] for Linux. Adaptive keyboard has > five modes on Windows including Home mode, Web browser mode, Web > conference mode, Function mode and Lay-flat mode. We ena