Re: [ibm-acpi-devel] thinkpad-acpi release 0.18-20071203 uploaded to ibm-acpi.sf.net
On Wed, 20 Feb 2008, [EMAIL PROTECTED] wrote: mute the sound. If you recall, I have never had volume up/down working but mute definitely used to work. Thinkpad-acpi doesn't matter much for that on the T61 (yet, anyway). You will probably find that you get KEY_VOLUME_UP/DOWN and KEY_MUTE in the keyboard input device (not thinkpad-acpi's!) when you press the keys, though. Thanks for testing. -- 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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] thinkpad-acpi release 0.18-20071203 uploaded to ibm-acpi.sf.net
On Fri, Feb 15, 2008 at 07:44:04AM +, Yves-Alexis Perez wrote: On jeu, 2008-02-14 at 16:06 -0200, Henrique de Moraes Holschuh wrote: On Thu, 14 Feb 2008, Yves-Alexis Perez wrote: What will 2.6.24.2 plus thinkpad-acpi 0.19 20080213 improves on this? It will be the same, but you won't have to load video.c to get the LCD ACPI events. That said, please test the thinkpad-acpi backlight device to check if it is still working, and that it still gives you 16 brightness levels. Ok, I'll do that. But is it a good idea not to load video.c at all? If you are not using anything from it, you don't need it loaded :p And with the new thinkpad-acpi and xbacklight native mode, you should not need video.c for anything... Ok, running 2.6.25-rc1-120-ge760e71+thinkpad-acpi-20080213, if I dont load video.c I don't get a /sys/class/backlight/acpi_video0, xbacklight doesn't work even in native mode, and I don't get any even when using Fn +Home/End (acpi_list reports nothing) (there's no /sys/module/video either where I could tune the brightness_switch_enabled) If I now load video.c, using acpi_listen I get: video LCD0 0086 ibm/hotkey HKEY 0080 5010 for Fn+Home. If I echo 0 to /sys/module/video/parameters/brightness_swit/sys/module/video/parameters/brightness_switch_enabledch_enabled I get only the video LCD0 event, and I get it faster. Maybe I should try the 2.6.24.2+patches (but I'll do that this weekend I guess) Ok I just tried with 2.6.24.2+patches. The same thing happen, without video.c loaded I don't have anything in /sys/class/backlight (so I can't echo anything in there), acpi_listen reports nothing when using fn+home but xbacklight works in native and kernel mode. I cant send you the output of debug thinkpad-acpi loading currently but will send it later. Cheers, -- Yves-Alexis - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] thinkpad-acpi release 0.18-20071203 uploaded to ibm-acpi.sf.net
On Fri, 15 Feb 2008, Yves-Alexis Perez wrote: On Fri, Feb 15, 2008 at 12:10:20PM +, Henrique de Moraes Holschuh wrote: Instead of doing that, could you load thinkpad-acpi with the parameter brightness_enable=1, and check if the backlight interface is still working right, please? In fact, after restarting X, native interface works (in xbacklight) while kernel doesn't. Loading thinkpad-acpi with brightness_enable gives thinkpad_screen in /sys/class/backlight, xbacklight works in native mode and kernel one, (when using xbacklight in kernel mode, the brightness is reflected in /sys/class/backlight/thinkpad_screen/brightness) Is the number of brightness levels correct? If so, at least I didn't break anything further... -- 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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] thinkpad-acpi release 0.18-20071203 uploaded to ibm-acpi.sf.net
On Wed, Feb 13, 2008 at 4:19 PM, Henrique de Moraes Holschuh [EMAIL PROTECTED] wrote: In particular, I may have broken the brightness control detection on 16-brightness-levels thinkpads. Please report it so that I can fix it ASAP. I have a T61p 7LET56WW (1.26) BIOS 1.38 and am running Gentoo vanilla-sources-2.6.24.2 + thinkpad-acpi-0.19-20080107. This is the first release where Fn+Home and Fn+End actually do something useful inside X!! Thank you!!! :-) From the brightest or darkest, I am able to change brightness levels 15 times. When changing brightness, I see that /sys/class/backlight/acpi_video1/actual_brightness is updated. acpi_video0 remains constant. Thanks Henrique! -jesse - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] thinkpad-acpi release 0.18-20071203 uploaded to ibm-acpi.sf.net
On Fri, Feb 15, 2008 at 12:21:08PM +, Henrique de Moraes Holschuh wrote: Is the number of brightness levels correct? If so, at least I didn't break anything further... Yeah, I have 16 (0-15) levels wich seem to work fine. -- Yves-Alexis - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] thinkpad-acpi release 0.18-20071203 uploaded to ibm-acpi.sf.net
On Thu, Feb 14, 2008 at 01:49:48PM +, Henrique de Moraes Holschuh wrote: On Thu, 14 Feb 2008, Yves-Alexis Perez wrote: On Thu, Feb 14, 2008 at 12:11:45PM +, Henrique de Moraes Holschuh wrote: On Thu, 14 Feb 2008, Yves-Alexis Perez wrote: Could you downgrade to 2.6.24.2 just for a small while to test the patch? I've cloned the git tree so I guess I can get the tag corresponding to 2.6.24.2+thinkpad-acpi. Or I can cherry-pick the 8 patches from the 2.6.25-rc1 tag. I just pushed a release/2.6.25 branch, you can use that if you prefer. I won't upload diffs for it for a while yet, however. Maybe at -rc3 or thereabouts. For now, it is only for the git-initiated :) I don't have net on my thinkpad currently so I'll test this evening. Please don't use -rc1, but rather linus' latest. It is *much* safer to always use the latest when tracking -rc, and to upgrade often (once a day or so). Well, yeah, but I get rc's only for better backlight support so if the changes don't concern acpi, backlight or so, I don't really need it ;) If I track git should I track yours with thinkpad-acpi most recent stuff or linus's with most recent stuff except thinkpad-acpi? What will 2.6.24.2 plus thinkpad-acpi 0.19 20080213 improves on this? It will be the same, but you won't have to load video.c to get the LCD ACPI events. That said, please test the thinkpad-acpi backlight device to check if it is still working, and that it still gives you 16 brightness levels. Ok, I'll do that. But is it a good idea not to load video.c at all? If you could post the thinkpad-acpi debug output to me (compile with thinkpad-acpi debug mode enabled, and load it with the debug=0x parameter), it would be helpful as well. Just the output when you modprobe it is enough. I'll do that. Do you want it with 2.6.24.2+thinkpad-acpi, 2.6.25-rc1+thinkpad-acpi or both? Cheers, -- Yves-Alexis - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] thinkpad-acpi release 0.18-20071203 uploaded to ibm-acpi.sf.net
On jeu, 2008-02-14 at 16:06 -0200, Henrique de Moraes Holschuh wrote: On Thu, 14 Feb 2008, Yves-Alexis Perez wrote: What will 2.6.24.2 plus thinkpad-acpi 0.19 20080213 improves on this? It will be the same, but you won't have to load video.c to get the LCD ACPI events. That said, please test the thinkpad-acpi backlight device to check if it is still working, and that it still gives you 16 brightness levels. Ok, I'll do that. But is it a good idea not to load video.c at all? If you are not using anything from it, you don't need it loaded :p And with the new thinkpad-acpi and xbacklight native mode, you should not need video.c for anything... Ok, running 2.6.25-rc1-120-ge760e71+thinkpad-acpi-20080213, if I dont load video.c I don't get a /sys/class/backlight/acpi_video0, xbacklight doesn't work even in native mode, and I don't get any even when using Fn +Home/End (acpi_list reports nothing) (there's no /sys/module/video either where I could tune the brightness_switch_enabled) If I now load video.c, using acpi_listen I get: video LCD0 0086 ibm/hotkey HKEY 0080 5010 for Fn+Home. If I echo 0 to /sys/module/video/parameters/brightness_swit/sys/module/video/parameters/brightness_switch_enabledch_enabled I get only the video LCD0 event, and I get it faster. Maybe I should try the 2.6.24.2+patches (but I'll do that this weekend I guess) If you could post the thinkpad-acpi debug output to me (compile with thinkpad-acpi debug mode enabled, and load it with the debug=0x parameter), it would be helpful as well. Just the output when you modprobe it is enough. I'll do that. Do you want it with 2.6.24.2+thinkpad-acpi, 2.6.25-rc1+thinkpad-acpi or both? Either one is fine. Whatever is easiest for you. Ok, this is on v2.6.25-rc1-120-ge760e71+thinkpad-acpi-20080213: Feb 15 08:37:10 hidalgo kernel: Non-volatile memory driver v1.2 Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: drv_acpi_handle_init: trying to locate ACPI handle for ec Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle \_SB.PCI0.LPC.EC for ec Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: drv_acpi_handle_init: trying to locate ACPI handle for ecrd Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: drv_acpi_handle_init: ACPI handle for ecrd not found Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: drv_acpi_handle_init: trying to locate ACPI handle for ecwr Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: drv_acpi_handle_init: ACPI handle for ecwr not found Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: ibm_init: probing for driver Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: ThinkPad ACPI Extras v0.19-20080213 Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: http://ibm-acpi.sf.net/ Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: ThinkPad BIOS 7LETA9WW (2.09 ), EC 7KHT24WW-1.08 Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: Lenovo ThinkPad T61 Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: ibm_init: driver installed Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: ibm_init: probing for hotkey Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: hotkey_init: initializing hotkey subdriver Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: drv_acpi_handle_init: trying to locate ACPI handle for hkey Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle HKEY for hkey Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: hotkey_init: hotkeys are supported Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: hotkey_init: hotkey masks are supported Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: hotkey_init: hotkey source mask 0x, polling freq 10 Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: radio switch found; radios are enabled Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: hotkey_init: using Lenovo default hot key map Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: hotkey_init: enabling hot key handling Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: hotkey_init: legacy hot key reporting over procfs enabled Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: register_tpacpi_subdriver: registering hotkey as an ACPI driver Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: setup_acpi_notify: setting up ACPI notify for hotkey Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: ibm_init: hotkey installed Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: ibm_init: probing for bluetooth Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: bluetooth_init: initializing bluetooth subdriver Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: drv_acpi_handle_init: trying to locate ACPI handle for hkey Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle HKEY for hkey Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: bluetooth_init: bluetooth is supported, status 0x05 Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: ibm_init: bluetooth installed Feb 15 08:37:10 hidalgo kernel: thinkpad_acpi: ibm_init: probing for video Feb 15 08:37:10
[ibm-acpi-devel] thinkpad-acpi release 0.18-20071203 uploaded to ibm-acpi.sf.net
I have released version 0.19-20080213 of thinkpad-acpi through the sourceforge.net release system. Patches are available for 2.6.20, 2.6.21, 2.6.22, 2.6.23 and 2.6.24-rc at: http://sourceforge.net/project/showfiles.php?group_id=117042package_id=230205 git users can get it directly from tags in: git://repo.or.cz/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git Note: 2.6.20 and 2.6.21 support will be discontinued soon. This is a test release for a few Lenovo *60/*61-related functionalities, with some minor bug-fixes. In particular, I may have broken the brightness control detection on 16-brightness-levels thinkpads. Please report it so that I can fix it ASAP. With this version, thinkpad-acpi will place Lenovo BIOSes in ACPI backlight mode, which means you will always get the brightness up/down events through ACPI, without needing to load ACPI video.c. X41t, X60t and X61t owners: please report if there are any problems with the new tablet/normal mode attribute and events. Note that the acpi events for tablet mode are now deprecated (available only on /proc/acpi/event), since they have been ported over to the input device. I really would like to get these changes into 2.6.25, but for that I need some testing done fast, otherwise I won't be able to merge them. Changes: ACPI: thinkpad-acpi: always track input device open/close ACPI: thinkpad-acpi: synchronize input device switches ACPI: thinkpad-acpi: switch Lenovo BIOS to ACPI backlight mode ACPI: thinkpad-acpi: make the video output feature optional ACPI: thinkpad-acpi: issue input events for tablet swivel events ACPI: thinkpad-acpi: improve thinkpad-acpi input device documentation ACPI: thinkpad-acpi: minor hotkey_radio_sw fixes ACPI: thinkpad-acpi: add tablet-mode reporting -- 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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] thinkpad-acpi release 0.18-20071203 uploaded to ibm-acpi.sf.net
On mer, 2008-02-13 at 19:19 -0200, Henrique de Moraes Holschuh wrote: Patches are available for 2.6.20, 2.6.21, 2.6.22, 2.6.23 and 2.6.24-rc at: http://sourceforge.net/project/showfiles.php?group_id=117042package_id=230205 git users can get it directly from tags in: git://repo.or.cz/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git I'm currently running 2.6.25-rc1 + one patch wich fixes suspend. Wich version should I get? There's a v2.6.25-rc1 tag on the git repo, should I get this? (And maybe repatch it with the suspend-patch)? Cheers ( and thanks for that work) -- Yves-Alexis signature.asc Description: This is a digitally signed message part - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
[ibm-acpi-devel] thinkpad-acpi release 0.18-20071203 uploaded to ibm-acpi.sf.net
I have released version 0.18-20071013 of thinkpad-acpi through the sourceforge.net release system. Patches are available for 2.6.20, 2.6.21, 2.6.22, 2.6.23 and 2.6.24-rc at: http://sourceforge.net/project/showfiles.php?group_id=117042package_id=230205 git users can get it directly from tags in: git://repo.or.cz/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git This release should make things better for *61 owners, but do note that you need to use either the standard ACPI video module for backlight control (in which case you might need a *very* up-to-date video.c), or you need to tell thinkpad-acpi that you want its legacy interface. Read the docs. It also provides sysfs select()/poll() support for some attributes, notably the state of the radio rf-kill switch of the new ThinkPads. May I remind the prospective users of this to: 1. use a proper timeout in poll()/select(), to not hang forever in an older thinkpad-acpi, but also not to wake up too often for no good reason. 2. It is thinkpad-acpi specific. If your application is not thinkpad-acpi specific, DO NOT USE IT. And it fixes some heavily embarassing crap in the way the NVRAM polling patch dealt with hotkey_mask. I don't think anyone is really using this, but since it is queued for 2.6.25, might as well make it as non-schizophrenic as I can :-) Please test, I'd like to send these changes upstream for 2.6.25 soon. -- 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 - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] thinkpad-acpi release 0.18-20071203 uploaded to ibm-acpi.sf.net
On Mon, 03 Dec 2007, Henrique de Moraes Holschuh wrote: It also provides sysfs select()/poll() support for some attributes, notably the state of the radio rf-kill switch of the new ThinkPads. May I remind the prospective users of this to: 1. use a proper timeout in poll()/select(), to not hang forever in an older thinkpad-acpi, but also not to wake up too often for no good reason. 2. It is thinkpad-acpi specific. If your application is not thinkpad-acpi specific, DO NOT USE IT. I must be more tired than I thought. This release does not have the above mentioned functionality, yet. I will send it as a reply to this email for early testing. -- 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 - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel