Re: [ibm-acpi-devel] Mute button software notification broken after v0.14 for Thinkpad T61
I heard that the X61 firmeware was actually behind that of the T series. Possibly the x61 will inherit all the changes that the T series now has when it gets it's next firmware update. Thanks for pointing this out though. Until Lenovo releases the next x61 firmware .. this will be a very interesting situation to deal with. Perhaps the adding the kernel paramater as Hernrique had said will probably be the short term solution for T series, till all this gets worked out over time. On Jan 13, 2008 2:19 AM, guo yonggang [EMAIL PROTECTED] wrote: Henrique de Moraes Holschuh wrote: On Sat, 12 Jan 2008, Jerone Young wrote: Could you cc the list when you do alert (I assume) the acpi list (if you have not already). I'm looking to see if a proper patch does come out of this that it get pushed into the distros (for my interest it's Ubuntu Hardy) prior to 2.6.25 release. That's doubtful. Let's see what Len wants to do with this... But as soon as there is a patch or a decision of some sort, I will post to the lists. I looked in drivers/acpi/osl.c ... and noticed in dmi_system_id_acpi_osl_dmi_table(), 2 matches that they use. Though I am unsure about a prober match for this. The issues you have is the laptop is vendor LENOVO and the Version ThinkPad T61. But obviously not all LENOVO laptops will not use this (or will they?) .. and your going to want to have a Version that is more then T61. I assume most if not all future Lenovo laptops will be following this standard. I'd just whitelist all with vendor LENOVO and Version ThinkPad*. But that's my opinion, and I doubt Len (the ACPI maintainer) would agree (and he *does* have good reasons not to). For now, it is best if users simply add the acpi_osi parameter. On the contrary, when i add acpi_osi=Linux kernel parameter, the mute button been disabled. After remove the acpi_osi parameter, mute button works again. My laptop: thinkpad X61 7675 ThinkPad BIOS 7NET30WW (1.11 ), EC 7MHT24WW-1.02 2.6.24-rc7 ThinkPad ACPI Extras v0.19-20080107 -- Best Regards, Yonggang Guo __ 赶快注册雅虎超大容量免费邮箱? http://cn.mail.yahoo.com - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Mute button software notification broken after v0.14 for Thinkpad T61
On Sat, 12 Jan 2008, Jerone Young wrote: Could you cc the list when you do alert (I assume) the acpi list (if you have not already). I'm looking to see if a proper patch does come out of this that it get pushed into the distros (for my interest it's Ubuntu Hardy) prior to 2.6.25 release. That's doubtful. Let's see what Len wants to do with this... But as soon as there is a patch or a decision of some sort, I will post to the lists. I looked in drivers/acpi/osl.c ... and noticed in dmi_system_id_acpi_osl_dmi_table(), 2 matches that they use. Though I am unsure about a prober match for this. The issues you have is the laptop is vendor LENOVO and the Version ThinkPad T61. But obviously not all LENOVO laptops will not use this (or will they?) .. and your going to want to have a Version that is more then T61. I assume most if not all future Lenovo laptops will be following this standard. I'd just whitelist all with vendor LENOVO and Version ThinkPad*. But that's my opinion, and I doubt Len (the ACPI maintainer) would agree (and he *does* have good reasons not to). For now, it is best if users simply add the acpi_osi parameter. -- 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 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Mute button software notification broken after v0.14 for Thinkpad T61
running Kernel 2.6.24-rc7 (with thinkpad-acpi v0.19) with paramaters: acpi_osi=Linux -- Mute button Works! Gnome sees it is pressed. acpi_osi=!Linux -- Mute button NOT seen by Gnome. Interesting stuff. Adding acpi_osi=Linux fixes the problem. Now what does this mean is the question :-) On Jan 11, 2008 2:56 PM, Henrique de Moraes Holschuh [EMAIL PROTECTED] wrote: On Wed, 09 Jan 2008, Jerone Young wrote: So running the following tests: 1) Kernel 2.6.22.15 (with thinkpad-acpi v0.19) = Works great Gnome can see mute button pressed 2) Kernel 2.6.24-rc7 (with thinkpad-acpi v0.19) = Gnome does NOT see mute is pressed Try 2.5.24-rc7, but give it the *kernel* parameter acpi_osi=Linux. Does Mute start working again? If that doesn't work, what happens if you use the kernel parameter acpi_osi=!Linux ? So something changed around 2.6.23 that for some reason this version of the firmware is not passing the key scan code up the stack. Yet it is still muting the voulme (which is very odd). Yeah, let's try to track it down. It would be easier if it were thinkpad-acpi's fault, but we can still try :-) -- 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 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Mute button software notification broken after v0.14 for Thinkpad T61
On Fri, 11 Jan 2008, Jerone Young wrote: running Kernel 2.6.24-rc7 (with thinkpad-acpi v0.19) with paramaters: acpi_osi=Linux -- Mute button Works! Gnome sees it is pressed. acpi_osi=!Linux -- Mute button NOT seen by Gnome. Interesting stuff. Adding acpi_osi=Linux fixes the problem. Now what does this mean is the question :-) It doesn't surprise me. Lenovo added Linux-friendly behaviour to the firmware, and we just found its trigger. Time to alert the others, and bring it up on linux-acpi, as we will have to always define Linux as an OSI string for ThinkPads. -- 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 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Mute button software notification broken after v0.14 for Thinkpad T61
On Wed, 09 Jan 2008, Jerone Young wrote: I've seen someone post this on the list and I recently did thorough testing. The issue is that the mute button cannot notify software (in my case Gnome) that it has been pressed. But it still mutes the volume. This was blamed on Lenovo firmware but this is not the case. It is thinkpad-acpi that appears to be at fault. That would be surprising... but let's narrow it down, if it is something in thinkpad-acpi, then I can fix it :-) If 2.6.22 does not have the problem, it is easy to test new thinkpad-acpi: just get thinkpad-acpi 0.19 from ibm-acpi.sf.net, and patch 2.6.22.15 with it. It is *also* possible that the bug in the firmware is indeed there, and later thinkpad-acpi causes gnome to notice it because HAL decides to trust the firmware and, eg., stops looking in the NVRAM for mute button presses. We will discover if that's the case easily enough as well. I can do more testing later to see if v0.15 displays the issue, then can narrow down what patch broke this. Please test 0.19 from ibm-acpi.sf.net. If it causes the issues, I will work with you to track down exactly where it breaks. -- 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 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Mute button software notification broken after v0.14 for Thinkpad T61
For anyone keeping up with this thread. Also just to add on it's not a specific KDE or Gnome thing as both display the issue when running on kernels greater then 2.6.22 . They are not picking up the mute key press. On Jan 9, 2008 8:49 PM, Jerone Young [EMAIL PROTECTED] wrote: Ok it appears you are correct. So running the following tests: 1) Kernel 2.6.22.15 (with thinkpad-acpi v0.19) = Works great Gnome can see mute button pressed 2) Kernel 2.6.24-rc7 (with thinkpad-acpi v0.19) = Gnome does NOT see mute is pressed Mute button is not recogonized when try to associate it with a keyboard action using gnome-keybing-properties So something changed around 2.6.23 that for some reason this version of the firmware is not passing the key scan code up the stack. Yet it is still muting the voulme (which is very odd). This is the latest firmware that Lenovo is offering (released 12/06/07). Do you happen to know what would cause this? Very odd that the same firmware can do something fine on one kernel and not work on others. Thanks for the help and quick willingness to look into the problem. On Jan 9, 2008 6:57 PM, Henrique de Moraes Holschuh [EMAIL PROTECTED] wrote: On Wed, 09 Jan 2008, Jerone Young wrote: I've seen someone post this on the list and I recently did thorough testing. The issue is that the mute button cannot notify software (in my case Gnome) that it has been pressed. But it still mutes the volume. This was blamed on Lenovo firmware but this is not the case. It is thinkpad-acpi that appears to be at fault. That would be surprising... but let's narrow it down, if it is something in thinkpad-acpi, then I can fix it :-) If 2.6.22 does not have the problem, it is easy to test new thinkpad-acpi: just get thinkpad-acpi 0.19 from ibm-acpi.sf.net, and patch 2.6.22.15 with it. It is *also* possible that the bug in the firmware is indeed there, and later thinkpad-acpi causes gnome to notice it because HAL decides to trust the firmware and, eg., stops looking in the NVRAM for mute button presses. We will discover if that's the case easily enough as well. I can do more testing later to see if v0.15 displays the issue, then can narrow down what patch broke this. Please test 0.19 from ibm-acpi.sf.net. If it causes the issues, I will work with you to track down exactly where it breaks. -- 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 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel