Branen Salmon | 6 Jun 2012 07:19

Re: Any one worked out the mic mute led on latest X220 ?

On 05/16/2012 2:08 PM, Henrique de Moraes Holschuh wrote:

> > 2) I could bind mic mute button in Ubuntu 12.04 ,  with acpid.
> >  But led won't toggle its light.
>
> Yeah, software control of that LED is still unavailable, and it is
> not for a lack of knowing how to toggle it.  The issue is a bit more
> complicated.

Out of curiosity, did you ever hear back from alsa-devel about getting a
trigger added?  (I poked around in their archives, but couldn't find any
public discussion.)

Thanks!

Branen Salmon

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Picon
Favicon

Re: Any one worked out the mic mute led on latest X220 ?

On Tue, 05 Jun 2012, Branen Salmon wrote:
> On 05/16/2012 2:08 PM, Henrique de Moraes Holschuh wrote:
> > > 2) I could bind mic mute button in Ubuntu 12.04 ,  with acpid.
> > >  But led won't toggle its light.
> >
> > Yeah, software control of that LED is still unavailable, and it is
> > not for a lack of knowing how to toggle it.  The issue is a bit more
> > complicated.
> 
> Out of curiosity, did you ever hear back from alsa-devel about getting a
> trigger added?  (I poked around in their archives, but couldn't find any
> public discussion.)

No, I didn't hear anything back.

--

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Markus Bergholz | 2 Jun 2012 18:29
Picon

Bug Report

dmesg output
[47303.174836] thinkpad_acpi: unknown possible thermal alarm or
keyboard event received
[47303.188584] thinkpad_acpi: temperatures (Celsius): 52 0 52 0 0 0 32 0
[47303.188658] thinkpad_acpi: unhandled HKEY event 0x6040
[47303.188666] thinkpad_acpi: please report the conditions when this
event happened to ibm-acpi-devel@...

$ lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] Family 14h Processor
Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee
ATI Wrestler [Radeon HD 6320]
00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler
HDMI Audio [Radeon HD 6250/6310]
00:05.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port
00:06.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port
00:07.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI
SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI
SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI
SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus
Controller (rev 42)
(Continue reading)

Uwe Bonnes | 8 Jun 2012 16:04
Picon

thinkpad_acpi.c: Expose AC power on newer models

Hello,

when running Win7 and the lenovo tools on a new T520, I noticed that Win7
had a display for the AC Power input when running with the AC Adapter
active.  Actually the "ac-power" is the dc-power at the yellow plug,
normally coming from a AC Adapter.

After installing Linux (Opensuse 12.1) and carefully looking at the
dump of the embedded controller memory, the value at offset 0xcc looked
suspicious like this "ac-power" in units of 100 mW. The value tracks well
the value measured with an AC power meter on the AC side, with some losses
for the AC adapter. Ac-power is measured as 0 with the AC-Adapter off.

Appended patch against recent
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
exposes this value like

# cat /proc/acpi/ibm/ac_power
ac_power:               14100

http://repo.or.cz/w/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git seems hopeless
out of date, so I hope this is the right place to discuss. I tested the
patch on an old R50, where the ac-power is not yet measured. In that case,
the embedded memory reads 0, so I think this patch doesn't do any harm in
the case when the ac-power is not yet measured in the model. However I don't
see any chance to programmatically find out, if some thinkpad model has or
has not this ac-power measurement. The returned ac-power "0" in the case
with  no power measurement available for the given model is undistiguishable
from the case "ac-adapter off, running from battery".

(Continue reading)

Sam Spammer | 12 Jun 2012 15:09
Picon
Favicon

unknown possible thermal alarm or keyboard event received


Hello list,

> please report the conditions when this event happened to ibm-acpi-devel <at> lists.sourceforge.net

the following happened upon disconnecting and reconnecting the AC adapter from the docking station. If
you have any questions, please ask.

Cheers,

Mustafa

Jun 12 15:03:10 denkbrett kernel: [421443.858254] usb 3-2: USB disconnect, device number 7
Jun 12 15:03:10 denkbrett kernel: [421443.858268] usb 3-2.1: USB disconnect, device number 12
Jun 12 15:03:10 denkbrett kernel: [421443.874888] usb 3-2.2: USB disconnect, device number 8
Jun 12 15:03:10 denkbrett kernel: [421443.874892] usb 3-2.2.1: USB disconnect, device number 11
Jun 12 15:03:10 denkbrett kernel: [421443.876189] usb 3-2.5: USB disconnect, device number 9
Jun 12 15:03:11 denkbrett kernel: [421444.101634] usb 3-2.6: USB disconnect, device number 10
Jun 12 15:03:11 denkbrett kernel: [421444.452479] thinkpad_acpi: unknown possible thermal alarm or
keyboard event received
Jun 12 15:03:11 denkbrett kernel: [421444.452484] thinkpad_acpi: unhandled HKEY event 0x6040
Jun 12 15:03:11 denkbrett kernel: [421444.452485] thinkpad_acpi: please report the conditions when
this event happened to ibm-acpi-devel@...orge.net
Jun 12 15:03:11 denkbrett kernel: [421444.452922] thinkpad_acpi: EC reports that Thermal Table has changed
Jun 12 15:03:11 denkbrett kernel: [421444.453494] thinkpad_acpi: unknown possible thermal alarm or
keyboard event received
Jun 12 15:03:11 denkbrett kernel: [421444.453498] thinkpad_acpi: unhandled HKEY event 0x6040
Jun 12 15:03:11 denkbrett kernel: [421444.453499] thinkpad_acpi: please report the conditions when
this event happened to ibm-acpi-devel@...orge.net
Jun 12 15:03:16 denkbrett kernel: [421449.886942] usb 3-2: new high-speed USB device number 28 using xhci_hcd
(Continue reading)

Dave Cheney | 7 Jun 2012 00:22
Favicon
Gravatar

thinkpad_acpi: unknown possible thermal alarm or keyboard event received

This even appears in /var/log/syslog when I plug in the power adapter.

Jun  7 08:20:31 lucky kernel: [ 3760.676937] thinkpad_acpi: unknown
possible thermal alarm or keyboard event received
Jun  7 08:20:31 lucky kernel: [ 3760.676946] thinkpad_acpi: unhandled
HKEY event 0x6040
Jun  7 08:20:31 lucky kernel: [ 3760.676952] thinkpad_acpi: please
report the conditions when this event happened to
ibm-acpi-devel@...
Jun  7 08:20:31 lucky kernel: [ 3760.677809] thinkpad_acpi: EC reports
that Thermal Table has changed
Jun  7 08:20:32 lucky kernel: [ 3761.886679] e1000e 0000:00:19.0: PME# enabled

lucky(~) % uname -a
Linux lucky 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC
2012 x86_64 x86_64 x86_64 GNU/Linux

Thinkpad x220

Cheers

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
(Continue reading)

cheng renquan | 9 Jun 2012 08:15
Picon
Gravatar

Re: thinkpad_acpi fan stop working problem (was after resume) (speed becomes 65535)

I have `dstat --cpufreq --fan --thermal` keep running for long time,
this time before suspend and after resume, I got a reproduce again,
you can see before suspend the fan speed colume is 3831, after
suspended some time and resume, the dstat report missed 18564 (secs,
or 5 hours), then fan speed is 65, that's actually 65535; till half an
hour later I realized the laptop is hot, check and found fan becomes
65535

$ cat /proc/acpi/ibm/fan
status:		enabled
speed:		65535
level:		auto

now I have no way to recover except reboot
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@...
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Eric Christensen | 9 Jun 2012 05:06
Picon
Gravatar

unhandled HKEY event 0x6040


I noticed the following strings in my /var/log/messages file:

Jun  8 23:02:42 ericlaptop kernel: [10495.262327] thinkpad_acpi:
unknown possible thermal alarm or keyboard event received
Jun  8 23:02:42 ericlaptop kernel: [10495.262339] thinkpad_acpi:
unhandled HKEY event 0x6040
Jun  8 23:02:42 ericlaptop kernel: [10495.262346] thinkpad_acpi:
please report the conditions when this event happened to
ibm-acpi-devel@...
Jun  8 23:02:42 ericlaptop kernel: [10495.263378] thinkpad_acpi: EC
reports that Thermal Table has changed

Best I can tell, I get these alerts when I unplug and plug in the
power supply.  Hope that helps.

-Eric "Sparks"

Henrique de Moraes Holschuh | 16 Jun 2012 22:09
Picon
Favicon

Re: thinkpad_acpi fan stop working problem (was after resume) (speed becomes 65535)

On Fri, 08 Jun 2012, cheng renquan wrote:
> I have `dstat --cpufreq --fan --thermal` keep running for long time,
> this time before suspend and after resume, I got a reproduce again,
> you can see before suspend the fan speed colume is 3831, after
> suspended some time and resume, the dstat report missed 18564 (secs,
> or 5 hours), then fan speed is 65, that's actually 65535; till half an
> hour later I realized the laptop is hot, check and found fan becomes
> 65535
> 
> $ cat /proc/acpi/ibm/fan
> status:		enabled
> speed:		65535
> level:		auto
> 
> now I have no way to recover except reboot

Chen, back to this issue, can you please do this:

1. blacklist or remove thinkpad_acpi.ko
2. blacklist or remove fan.ko

So that there is no way thinkpad-acpi or ACPI fan to interfere with your
thinkpad.

Then, do the testing?  You will have to track it by thermal only.

If the problem doesn't show up, we will know for sure that it is Linux doing
something wrong.  Then, you can repeat the tests with only the fan module
and only the thinkpad-acpi module, to narrow down the problem.

(Continue reading)

Henrique de Moraes Holschuh | 16 Jun 2012 22:09
Picon
Favicon

Re: ACPI kernel messages on Thinkpad T520 42395GU

On Tue, 29 May 2012, Ralf Baechle wrote:
> Running either Fedora 16 kernel 3.3.6-3 or 3.3.7-1 (dunno which one, the
> logs were cycles since the last reboot) I got:
> 
> May 29 11:06:24 h7 kernel: [268304.557020] thinkpad_acpi: unknown possible thermal alarm or keyboard
event received
> May 29 11:06:24 h7 kernel: [268304.557025] thinkpad_acpi: unhandled HKEY event 0x6040
> May 29 11:06:24 h7 kernel: [268304.557027] thinkpad_acpi: please report the conditions when this event
happened to ibm-acpi-devel@...
> May 29 11:06:24 h7 kernel: [268304.557388] thinkpad_acpi: EC reports that Thermal Table has changed
> 
> Let me you if you need further data.

It's fine.  You can ignore the 0x6040 HKEY event safely.  Thanks for the
report.

--

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane