[ibm-acpi-devel] thinkpad_acpi: unhandled HKEY event 0x6060, unknown possible thermal alarm or keyboard event received

2012-07-29 Thread Chris Simpson
Hello to all, Giving as much information as I can, please ask if missed anything as first bug submission. *Symptoms:* trackpad 'locks' in scrolling mode (cannot move mouse cursor, track-pad presumes scrolling gesture). No pattern to the cause can yet be identified. *Syslog reveals:* kernel: [19

[ibm-acpi-devel] unknown possible thermal alarm or keyboard event received

2012-07-29 Thread Doug Penner
I was using Firefox and Terminal on my Arch 64 bit x220 laptop today and suddenly X closed and dropped my to TTY1 (I start X via xinit). "sensors" shows my temperature as 51c for my CPU and case temperatures (sensors has always been pretty accurate on this machine, so I trust those values).

[ibm-acpi-devel] [PATCH 2/3] thinkpad_acpi: Fix a memory leak during module exit

2012-07-29 Thread Li Dongyang
We should free the thinkpad_id.nummodel_str during exit as it's allocated in get_thinkpad_module_data(). Signed-off-by: Li Dongyang --- drivers/platform/x86/thinkpad_acpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_a

Re: [ibm-acpi-devel] thinkpad_acpi fan stop working problem (was after resume) (speed becomes 65535)

2012-07-29 Thread cheng renquan
this morning I found fan speed becomes 65535 during runtime; $ cat /proc/acpi/ibm/fan status: enabled speed: 65535 level: auto -- Live Security Virtual Conference Exclusive live event will cover

[ibm-acpi-devel] EC reports that Thermal Table has changed

2012-07-29 Thread Luke Meyer
I have two docks for my ThinkPad T520 running Fedora 17 - one at work and one at home. I suspend my laptop on the way. Sometimes this doesn't seem to go so well. Today when resuming, my USB keyboard and mice no longer worked. Found this in /var/log/messages: Jul 24 08:26:13 rh-t520 kernel: [372

[ibm-acpi-devel] [PATCH 1/3] thinkpad_acpi: Flush the workqueue before freeing tpacpi_leds

2012-07-29 Thread Li Dongyang
We init work_struct within tpacpi_leds, and we should free tpacpi_leds after the workqueue is empty, in case of the work_struct is referenced after free. This script could trigger the OOPS: #!/bin/sh while true do modprobe -r thinkpad_acpi modprobe thinkpad_acpi done And the OOPS looks

[ibm-acpi-devel] [PATCH 3/3] thinkpad_acpi: Free hotkey_keycode_map after unregistering tpacpi_inputdev

2012-07-29 Thread Li Dongyang
We should free hotkey_keycode_map after unregistering tpacpi_inputdev, to aviod use after free like this: [ 99.408388] = [ 99.408393] BUG kmalloc-64 (Not tainted): Poison overwritten [ 99.408394] --

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

2012-07-29 Thread Niklaas Baudet von Gersdorff
Hi, as mentioned in the logs I'm sending you the following error messages: Jul 24 18:58:58 localhost kernel: [34262.244799] thinkpad_acpi: unknown possible thermal alarm or keyboard event received Jul 24 18:58:58 localhost kernel: [34262.244805] thinkpad_acpi: unhandled HKEY event 0x6040 Jul 24