Re: [ibm-acpi-devel] [PATCH v2] platform/x86: thinkpad_acpi: Fix multi-battery bug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Fri, 2018-09-07 at 19:59 +0200, Thomas Weißschuh wrote: > > was this included in any tree and is it on route to Linus somehow? > > This is on track to be released in 4.19. Thanks. I've applied the three patches (this one and the two from Jouke) on top of 4.18.6 and I confirm I can set the thresholds on BAT1. > > > My ThinkPad X250 has two batteries and I can only configure threshold on > > BAT0, > > and I guess it's because of this, so it'd be nice to have it fixed (and > > maybe > > backported to relevant stable kernels). > > As far as I know only changes that fix behaviour that worked before are > eligible for stable. As this specific functionality never worked before I > figured it would be moot to also send it to stable. Well, it does somehow work when you have one battery, but it's really frustrating to have it not work for the second one. > > (If it is fine to send stuff like this to stable, we could try, though) Indeed, not sure if “frustrating” is reason enough for stable :) Thanks for your work anyway. Regards, - -- Yves-Alexis -BEGIN PGP SIGNATURE- iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAluS7NMACgkQ3rYcyPpX RFtA1wgAv4JmftXLoE6ZJy3wIVaEM5sC5ys3Q1hBMca7tfqECupR6WMyPmaholdl birWkLVLF6N6WZowlzB/LuLSHHvBwsWzF5VEufnziOTsyxuqGRRdBm9yiNPpG4dj NEGxg2n0ju98DLTEn9HzxusqF/ahje11DfHItE0xU1gZHrPR7JVLJDvHlmbrEu0R jBEBMmpAtpqFVlkSSxgalu6Ms9FvM7cLEOu4tGCv5tjjvK3+1ZKVqs9nOVrBDGmn eWjGod3HDjmC/npJ3LdiXAMyySr9ohnt0WEBmcUAPFkpaGyNctzgiOYlrQrDsegg lD5acn7wbt7XvamzAKjRbFhFpnQNrQ== =56YF -END PGP SIGNATURE- ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] TP T460 laptop freezes when closing lid while on battery
On mer., 2016-03-30 at 22:01 +0300, alxarch wrote: > Hi all, > > I recently bought a Thinkpad T460. Most issues I've had with it (trackpoint > scroll, intel 520 glitches) have been more or less resolved by upgrading > to 4.6-rc1 kernel. > The last issue I can't solve is the computer hanging when closing the lid > while on battery power. The laptop freezes completely and nothing is > reported in dmesg or journalctl. > I have to force a shutdown by holding the power button for 5sec. > If the lid is closed with AC plugged in, it suspends and wakes up without > an issue. > Also if is suspend before closing the lid, everything also works normally. > > During boot i get the following output relating to thinkpad_acpi module > > [ 3.475030] thinkpad_acpi: ThinkPad ACPI Extras v0.25 > [ 3.475033] thinkpad_acpi: http://ibm-acpi.sf.net/ > [ 3.475034] thinkpad_acpi: ThinkPad BIOS R06ET33W (1.07 ), EC unknown > [ 3.475035] thinkpad_acpi: Lenovo ThinkPad T460, model 20FN003GGM > [ 3.476266] thinkpad_acpi: unknown version of the HKEY interface: 0x200 > [ 3.476290] thinkpad_acpi: please report this to > ibm-acpi-devel@lists.sourceforge.net > [ 3.477102] thinkpad_acpi: radio switch found; radios are enabled > [ 3.477116] thinkpad_acpi: This ThinkPad has standard ACPI backlight > brightness control, supported by the ACPI video driver > [ 3.477117] thinkpad_acpi: Disabling thinkpad-acpi brightness events by > default... > [ 3.478477] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is > unblocked > [ 3.480422] thinkpad_acpi: Standard ACPI backlight interface available, not > loading native one > > I am running Arch linux. > The issue exists on every kernel version I tried: 4.1, 4.4, 4.5, 4.6-rc1. > > I am not sure this is related to thinkpad_acpi module but I figured I start > from here. > I am willing to help with this issue or to test other things on the T460. > Someone reported the same behavior on linux-thinkpad mailing list [1]. It seems that adding intel_pstate=no_hwp to the kernel command line workarounded the problem. Regards, [1] http://article.gmane.org/gmane.linux.hardware.thinkpad/44536 -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471=/4140___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Advertisement on SF lists
On sam., 2016-02-06 at 11:42 -0200, Henrique de Moraes Holschuh wrote: > On Thu, 04 Feb 2016, Yves-Alexis Perez wrote: > > I just noticed that SourceForge was now adding advertisement to the list > > emails (not sure when it started, I have to admit). Is there a way to drop > > that from the list configuration? > > I just checked it. No, there is no way to remove that in the list > interface, nor on the project admin interface. Thanks for checking. I guess moving away from SF would be a bit to cumbersome? Regards, -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
[ibm-acpi-devel] Advertisement on SF lists
Hi, I just noticed that SourceForge was now adding advertisement to the list emails (not sure when it started, I have to admit). Is there a way to drop that from the list configuration? Thanks! -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] [PATCH] thinkpad_acpi: Add support for keyboard backlight
On mar., 2016-01-12 at 14:07 -0200, Henrique de Moraes Holschuh wrote: > We likely need to integrate better (future work) the new backlight > control with the thinklight control and the firmware interface in the > x230. Ok so I've just checked my work X230, and I was just wrong: no ThinkLight on it, although I really had the impression there /was/ a dual generation. Regards, -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] [PATCH] thinkpad_acpi: demote brightness unsupported message
On lun., 2015-03-30 at 14:12 +0200, Yves-Alexis Perez wrote: ThinkPad don't use an EC-based brightness interface anymore, they use ACPI video interface or (since Windows 8 generation laptops) GPU interface. Don't output a scary warning by default and demote it to debug. Heym any news on this? Does it look ok? Regards, -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] [PATCH] thinkpad_acpi: demote brightness unsupported message
On jeu., 2015-04-02 at 17:23 -0300, Henrique de Moraes Holschuh wrote: It would work, but it is not exactly what I wanted. I will reply with more details in the next couple days. Oh sure, no problem :) Otherwise, we can take this version. There's no rush, I'd say. -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Unsupported brightness interface
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Fri, Mar 27, 2015 at 08:36:51AM -0300, Henrique de Moraes Holschuh wrote: On Fri, Mar 27, 2015, at 04:11, Yves-Alexis Perez wrote: On dim., 2015-03-22 at 16:12 -0300, Henrique de Moraes Holschuh wrote: On Sat, Mar 7, 2015, at 17:12, Jarmila Holcova wrote: Mar 7 20:34:47 OH-ThinkPad-Edge-E440 kernel: [ 10.725697] thinkpad_acpi: Unsupported brightness interface, please contact ibm-acpi-devel@lists.sourceforge.net Thanks for the report. You can ignore this error message. Would it be worth dropping the message for those boxes? Yes. They are currently not really useful. I think it would make sense to rework tpacpi_detect_brightness_capabilities() to just pr_debug() something like firmware reports %d brightness levels after it has processed the result of tpacpi_check_std_acpi_brightness_support(). We should leave any complaining about supported/unsupported to brightness_init(), so it would make sense to add a dbg_printk to brightness_init that reports unsupported brightness mode, use acpi video or gpu drivers when tp_features.bright_unkfw is not zero. Care to send a patch? I'll try to. For what it's worth, tpacpi_check_std_acpi_brightness_support() returns 646 here (ThinkPad X250 20CMCTO1WW with BIOS N10ET29W (1.06). Regards, - -- Yves-Alexis -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQEcBAEBCgAGBQJVGQ3oAAoJEG3bU/KmdcCl8kgH/3S4+nzJ3L/MTVxQ/M1Xoxy6 4MAY+J3ym3STMt+rZBqRojkCPvAjWEQZGuaZRrQeHyrwi3Ff01y0IzvInrzaHOBU qSULSZqE8jY7crXx8/rFB4dDjNHr1IfMxnnKladLXdYQ8o8vP+KXGEssfaNrGCi6 s7LchCNe2vxbjM30FPAKW7QzzsNbOK/hvhiuk/cZ8t8xYlzUhNeRJ9ttvstS4QuW cp6L5kuwf9VHYfNXs3dpN4eAf8jYFTod6jD6/ma0ARHxT0N1GUTbwY25rfCEYmb9 zmTwScFb4SDiVt6ki3guTUk4tCpYNA+0DK99mpAsaAKO9i6hL2b+fF15B/QaBKM= =5qfr -END PGP SIGNATURE- -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Unsupported brightness interface
On Mon, Mar 30, 2015 at 10:48:43AM +0200, Yves-Alexis Perez wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Fri, Mar 27, 2015 at 08:36:51AM -0300, Henrique de Moraes Holschuh wrote: On Fri, Mar 27, 2015, at 04:11, Yves-Alexis Perez wrote: On dim., 2015-03-22 at 16:12 -0300, Henrique de Moraes Holschuh wrote: On Sat, Mar 7, 2015, at 17:12, Jarmila Holcova wrote: Mar 7 20:34:47 OH-ThinkPad-Edge-E440 kernel: [ 10.725697] thinkpad_acpi: Unsupported brightness interface, please contact ibm-acpi-devel@lists.sourceforge.net Thanks for the report. You can ignore this error message. Would it be worth dropping the message for those boxes? Yes. They are currently not really useful. I think it would make sense to rework tpacpi_detect_brightness_capabilities() to just pr_debug() something like firmware reports %d brightness levels after it has processed the result of tpacpi_check_std_acpi_brightness_support(). We should leave any complaining about supported/unsupported to brightness_init(), so it would make sense to add a dbg_printk to brightness_init that reports unsupported brightness mode, use acpi video or gpu drivers when tp_features.bright_unkfw is not zero. Care to send a patch? I'll try to. For what it's worth, tpacpi_check_std_acpi_brightness_support() returns 646 here (ThinkPad X250 20CMCTO1WW with BIOS N10ET29W (1.06). I take that back, it returns 101, which makes more sense (I guess it /does/ have 100 levels, not sure how it can be exploited from userspace though). Regards, -- Yves-Alexis signature.asc Description: Digital signature -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
[ibm-acpi-devel] [PATCH] thinkpad_acpi: demote brightness unsupported message
ThinkPad don't use an EC-based brightness interface anymore, they use ACPI video interface or (since Windows 8 generation laptops) GPU interface. Don't output a scary warning by default and demote it to debug. Signed-off-by: Yves-Alexis Perez cor...@debian.org --- drivers/platform/x86/thinkpad_acpi.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 3b8ceee..dcea451 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c @@ -6324,19 +6324,16 @@ static void __init tpacpi_detect_brightness_capabilities(void) * going to publish a backlight interface */ b = tpacpi_check_std_acpi_brightness_support(); + pr_debug(detected a %d-level brightness capable ThinkPad\n, b); switch (b) { case 16: bright_maxlvl = 15; - pr_info(detected a 16-level brightness capable ThinkPad\n); break; case 8: case 0: bright_maxlvl = 7; - pr_info(detected a 8-level brightness capable ThinkPad\n); break; default: - pr_err(Unsupported brightness interface, - please contact %s\n, TPACPI_MAIL); tp_features.bright_unkfw = 1; bright_maxlvl = b - 1; } @@ -6359,7 +6356,12 @@ static int __init brightness_init(struct ibm_init_struct *iibm) /* if it is unknown, we don't handle it: it wouldn't be safe */ if (tp_features.bright_unkfw) + { + dbg_printk(TPACPI_DBG_INIT | TPACPI_DBG_BRGHT, + unsupported brightness interface, + please use ACPI video or GPU drivers\n); return 1; + } if (!brightness_enable) { dbg_printk(TPACPI_DBG_INIT | TPACPI_DBG_BRGHT, -- 2.1.4 -- Yves-Alexis signature.asc Description: Digital signature -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] [PATCH] thinkpad_acpi: demote brightness unsupported message
On Mon, Mar 30, 2015 at 02:26:42PM +0200, Yves-Alexis Perez wrote: On Mon, Mar 30, 2015 at 02:12:44PM +0200, Yves-Alexis Perez wrote: ThinkPad don't use an EC-based brightness interface anymore, they use ACPI video interface or (since Windows 8 generation laptops) GPU interface. Don't output a scary warning by default and demote it to debug. Here's a quick attempt. @@ -6359,7 +6356,12 @@ static int __init brightness_init(struct ibm_init_struct *iibm) /* if it is unknown, we don't handle it: it wouldn't be safe */ if (tp_features.bright_unkfw) + { + dbg_printk(TPACPI_DBG_INIT | TPACPI_DBG_BRGHT, + unsupported brightness interface, + please use ACPI video or GPU drivers\n); return 1; + } But I'm really not sure about the “please use ACPI video…” phrase. Even only for debugging, I'm not sure it's really helpful. If an user sees that phrase, I'm not sure he'll really know what to do. Any thought? And then, later in brightness_init(), we have a call to acpi_video_backlight_support() (which is outside of our control), and if it returns true, then we output that log: [16994.459693] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver Maybe that call shouldn't return true for this ThinkPad (since the ACPI video interface is actually disabled, afair), but it might be worth handling that too, what do you think? Regards, -- Yves-Alexis signature.asc Description: Digital signature -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Unsupported brightness interface
On dim., 2015-03-22 at 16:12 -0300, Henrique de Moraes Holschuh wrote: On Sat, Mar 7, 2015, at 17:12, Jarmila Holcova wrote: Mar 7 20:34:47 OH-ThinkPad-Edge-E440 kernel: [ 10.725697] thinkpad_acpi: Unsupported brightness interface, please contact ibm-acpi-devel@lists.sourceforge.net Thanks for the report. You can ignore this error message. Would it be worth dropping the message for those boxes? Regards, -- Yves-Alexis -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 and broadwell thinkpads
On ven., 2015-03-13 at 11:12 +0100, Yves-Alexis Perez wrote: - I guess some patches need to be included to thinkpad-acpi in order to have it load fine on bdw Thinkpads, Is here a right place to submit them, or should they go to linux-acpi mailing list? I failed to follow-up, but this is actually already fixed in 4.0 RC series. Regards, -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Internal battery: /sys/class/power_supply/BAT0/status = Unknown
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Sun, Mar 08, 2015 at 01:54:38PM +0100, Janis Beckert wrote: Hey everyone! First off: I am not sure if this is the proper place to report this issue. If you know the proper channel, please point me to it. I think the correct place would be the kernel ACPI list, but I'm unsure. My new W550s contains an internal battery, and has an external replaceable slice. Unfortunately, I cannot read out the status of the internal battery, nor its current power % cat /sys/class/power_supply/BAT0/status Unknown % cat /sys/class/power_supply/BAT0/power_now 0 What's the current laptop status? Is it plugged in, is it discharging? And what's the state of the external battery? Because the laptop will start by discharging the internal battery, so it might just be that BAT0 doesn't provide any current right now. It might be worth trying to empty BAT1 and see what changes. Maybe it's also interesting to note that the runtimes seem to be disabled: % cat /sys/class/power_supply/BAT0/power/runtime_enabled disabled % cat /sys/class/power_supply/BAT0/power/runtime_status unsupported I have no idea what the runtimes are, sorry. On the other hand, energy_now and energy_full are reported: % cat /sys/class/power_supply/BAT0/energy_full 4561 % cat /sys/class/power_supply/BAT0/energy_now 4050 So the internal battery is charged. Regards, - -- Yves-Alexis -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBCgAGBQJVArJ9AAoJEG3bU/KmdcClIDIH/1cko95i9zrwjuAt06GOWmKa aCG3LW8nCto7N8YOmV5MXhm3BA0c+crb5erkTFNlNn3yGuuqjcxlQrDR56BbMnsJ xEFx6zxm2SD5guXss/LwF3Ld9jxyGw+dw7JCTFOgNmLsEpADaR6VqLgXuPPxIdBE 6hqtxi1/+avFj3Qr6K3bDDbPbJysceeSEfX0cBPStkFzF0ASKG7ECukyYbzHXoCw V5zuulSqgQjGDDWkZnuq4JKay5eRtYjWiXm84+mGDhvWsuSB4VCF9QMriLasviKX YpLpYZYQ4yrpcRs6H47ECn67uSKyQmlYGrk0uWSZ0iXlnxFWuApbpuQzuO2ynC0= =YbPq -END PGP SIGNATURE- -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 and broadwell thinkpads
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Fri, Mar 13, 2015 at 11:12:15AM +0100, Yves-Alexis Perez wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, I've just bought a shiny X250. Nice hardware, with the trackpoint buttons back (although they're wired to the touchpad). Right now, thinkpad_acpi won't load without force_load=1 (on 3.19 kernel). Force loading make the usual ThinkPad Extra Buttons input device appear, which make the following keys transmitted to userspace: Also, here are the kernel logs at loading: [ 3925.974807] thinkpad_acpi: ThinkPad ACPI Extras v0.25 [ 3925.974817] thinkpad_acpi: http://ibm-acpi.sf.net/ [ 3925.974820] thinkpad_acpi: ThinkPad BIOS N10ET27W (1.04 ), EC unknown [ 3925.976404] thinkpad_acpi: Unsupported brightness interface, please contact ibm-acpi-devel@lists.sourceforge.net [ 3925.976458] thinkpad_acpi: radio switch found; radios are enabled [ 3925.976661] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver [ 3925.976664] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default... [ 3925.978529] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked [ 3925.981395] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input17 Regards, - -- Yves-Alexis -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBCgAGBQJVArsaAAoJEG3bU/KmdcClfCcH/0ciGMrGfMb7lbOhFtmLuJDQ zQi0vZfJYnbSNS0LAXNZqibx257lioDqJRv62PKiTDlH6ylNTr7TVAyFLB/+mmgJ FgnXdUG6hNOf8WtToGAOSwJOTjRWiWp8/p3skAZGxNYNXh4Xq1WoAa18DJM8oCnj ZmnHNtd9IWvqkFLLs6keRk5O/12eMev4ULr06IHI5eNHC2vIDLK5GSK7uL1kMadA N6+Uf4BkEOKMALvdTzAF8FqBkHQHS+KOhPetcRM3lwS268pDvC1X8pFc4M2BKP3B t/xEd9lMxbG3Nr4U87u0ie/YUdkKhCnAKE+QZ6WpaJoiyMlnnO+X8CxDVda9D/E= =IfXx -END PGP SIGNATURE- -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 and broadwell thinkpads
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, I've just bought a shiny X250. Nice hardware, with the trackpoint buttons back (although they're wired to the touchpad). Right now, thinkpad_acpi won't load without force_load=1 (on 3.19 kernel). Force loading make the usual ThinkPad Extra Buttons input device appear, which make the following keys transmitted to userspace: Fn+F4 (mute microphone): Event: time 1426240389.226447, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1a Event: time 1426240389.226447, type 1 (EV_KEY), code 190 (KEY_F20), value 1 Event: time 1426240389.226447, -- EV_SYN Event: time 1426240389.226473, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1a Event: time 1426240389.226473, type 1 (EV_KEY), code 190 (KEY_F20), value 0 Event: time 1426240389.226473, -- EV_SYN Fn+F7 (looks like a beamer): Event: time 1426240512.132780, type 4 (EV_MSC), code 4 (MSC_SCAN), value 06 Event: time 1426240512.132780, type 1 (EV_KEY), code 227 (KEY_SWITCHVIDEOMODE), value 1 Event: time 1426240512.132780, -- EV_SYN Event: time 1426240512.132795, type 4 (EV_MSC), code 4 (MSC_SCAN), value 06 Event: time 1426240512.132795, type 1 (EV_KEY), code 227 (KEY_SWITCHVIDEOMODE), value 0 Event: time 1426240512.132795, -- EV_SYN Fn+F8 (wireless): Event: time 1426240618.131728, type 4 (EV_MSC), code 4 (MSC_SCAN), value 04 Event: time 1426240618.131728, type 1 (EV_KEY), code 238 (KEY_WLAN), value 1 Event: time 1426240618.131728, -- EV_SYN Event: time 1426240618.131744, type 4 (EV_MSC), code 4 (MSC_SCAN), value 04 Event: time 1426240618.131744, type 1 (EV_KEY), code 238 (KEY_WLAN), value 0 Event: time 1426240618.131744, -- EV_SYN Fn+F9 (settings): Event: time 1426240640.297936, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1c Event: time 1426240640.297936, type 1 (EV_KEY), code 171 (KEY_CONFIG), value 1 Event: time 1426240640.297936, -- EV_SYN Event: time 1426240640.297953, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1c Event: time 1426240640.297953, type 1 (EV_KEY), code 171 (KEY_CONFIG), value 0 Event: time 1426240640.297953, -- EV_SYN Fn+F10 (magnifying glass): Event: time 1426240657.581485, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1d Event: time 1426240657.581485, type 1 (EV_KEY), code 217 (KEY_SEARCH), value 1 Event: time 1426240657.581485, -- EV_SYN Event: time 1426240657.581499, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1d Event: time 1426240657.581499, type 1 (EV_KEY), code 217 (KEY_SEARCH), value 0 Event: time 1426240657.581499, -- EV_SYN Fn+F11 (some windows arranged in a row) Event: time 1426240690.138109, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1e Event: time 1426240690.138109, type 1 (EV_KEY), code 120 (KEY_SCALE), value 1 Event: time 1426240690.138109, -- EV_SYN Event: time 1426240690.138139, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1e Event: time 1426240690.138139, type 1 (EV_KEY), code 120 (KEY_SCALE), value 0 Event: time 1426240690.138139, -- EV_SYN Fn+F12 (some windows in a double row, exposé like) Event: time 1426240826.662775, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1f Event: time 1426240826.662775, type 1 (EV_KEY), code 144 (KEY_FILE), value 1 Event: time 1426240826.662775, -- EV_SYN Event: time 1426240826.662805, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1f Event: time 1426240826.662805, type 1 (EV_KEY), code 144 (KEY_FILE), value 0 Event: time 1426240826.662805, -- EV_SYN Fn+4 is key sleep (not sure why, on previous thinkpads it was Fn+F2 or Fn+F4, but anyway) Event: time 1426240957.340935, type 4 (EV_MSC), code 4 (MSC_SCAN), value 03 Event: time 1426240957.340935, type 1 (EV_KEY), code 142 (KEY_SLEEP), value 1 Event: time 1426240957.340935, -- EV_SYN Event: time 1426240957.340941, type 4 (EV_MSC), code 4 (MSC_SCAN), value 03 Event: time 1426240957.340941, type 1 (EV_KEY), code 142 (KEY_SLEEP), value 0 Event: time 1426240957.340941, -- EV_SYN So that was for the status. I'm not sure thinkpad-acpi is needed for much else, but if anyone has questions about a feature I'd be glad to test. Now, for questons: - - I guess some patches need to be included to thinkpad-acpi in order to have it load fine on bdw Thinkpads, Is here a right place to submit them, or should they go to linux-acpi mailing list? - - About the keys mapping: as far as I know, it's possible to tune the keymap from userspace using stuff in /lib/udev. But would it make sense to also tune it at the driver level, especially for the “mute mike” key, which is right now set to KEY_F20 (although maybe there's no corresponding key in the input layer) Regards, - -- Yves-Alexis -BEGIN PGP SIGNATURE- Version: GnuPG v1
Re: [ibm-acpi-devel] Backlight keys not working on T430
On sam., 2014-11-08 at 23:08 +, Pedro Ribeiro wrote: Thanks for the tip, that's easy enough to do in X. What about when I'm at a VT and not running X? I don't know anything for that. For the full rationale, see the (lengthy) bug report at https://bugzilla.kernel.org/show_bug.cgi?id=51231 Regards, -- Yves-Alexis -- ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Backlight keys not working on T430
On sam., 2014-11-08 at 17:32 +, Pedro Ribeiro wrote: I'm using Debian testing with the 3.16 kernel. Is there a fix for this? You need something in userspace to handle brightness keys. Regards, -- Yves-Alexis -- ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] regulate backlight on X230 and T430 works incorrectly
On lun., 2013-04-29 at 11:45 +0400, Igor Gnatenko wrote: Hi developers! In my ThinkPad X230 and ThinkPad T430 regulate backlight works incorrectly. I test with xrandr all value, but some value not working. I attach LogFile with test results. This problem present since kernel 3.5 or 3.6. Before max_backlight = 15. After = 100. In other devices (IdeaPad Z580, Acer 5220, etc.) works correct. What component has bug ? See https://bugzilla.kernel.org/show_bug.cgi?id=51231 -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] [PATCH] thinkpad-acpi: recognize Lenovo as version string in newer V-series BIOS
On sam., 2012-03-10 at 01:28 -0300, Henrique de Moraes Holschuh wrote: So far so good, but what driver functionality works well in these new lenovo boxes? V-series are Ideapad, so I'm not really sure this need to be added to thinkpad-acpi. Regards, -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Duplicate key press events
On dim., 2011-08-07 at 10:33 +0200, Richard Hughes wrote: I'm on 1.41, and the latest is 1.44 (I'm at a conference now, and can't update the BIOS right now). I can update this when I get home if you like in one weeks time. I'm also pretty sure most non-geeky people don't ever update the BIOS, and it should probably work without a BIOS update too. Most non-geeky people use windows and have bios upgrade in thinkvantage, I guess. Updating bios is *not* hard and Henrique said numerous time how critical it was to have up to date ones. Regards, -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Duplicate key press events
On jeu., 2011-08-04 at 22:30 +0100, Richard Hughes wrote: After talking to Matthew Garrett, he tells me the thinkpad-acpi driver event shouldn't be emitted if the computer has ACPI video support. Check how thinkpad-acpi is loaded, check that brightness_enable is not set or 0. Though here on my x201s (where things are working correctly): /sys/module/thinkpad_acpi/parameters/brightness_enable:2 /sys/module/thinkpad_acpi/parameters/brightness_mode:4 Regards, -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] [GIT PATCH] thinkpad-acpi patches for merge window
On 19/08/2010 14:33, Damjan Georgievski wrote: The only issue I have on my personal X60s is that Fn+F5 now automatically rfkill soft-blocks the wifi. This seems to be somewhere in the kernel, probably rfkill subsystem as I remember. Why is it a problem? (btw you can remap it from KEY_WIFI to something else using udev, for example) Cheers, -- Yves-Alexis -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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 L412
On 06/05/2010 15:41, Helge Bahmann wrote: I have a Thinkpad L412 not yet supported by thinkpad_acpi, the crucial kernel messages (I think) are: Afaik L4xx thinkpads are not real thinkpads but Lenovo SL boxes. There's a sl-acpi or something driver which is supposed to be in developpment. Cheers, -- Yves-Alexis -- ___ 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: Add KEY_CAMERA (Fn-F6).
On ven., 2010-04-30 at 20:29 -0500, Jerone Young wrote: Yes. I actually sent the support to udev for the USB keyboard ;-) Thank your for that. Indeed I have /lib/udev/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint. I have it and love it, why made sure has support in udev. Works great in Ubuntu 10.04 (I'm biased of course). But any newer distro should pull in the udev rules soon (if they havn't already). Debian has :) Hal get events for: Fn+F2 (lock, sent as “XF86Screensaver” to wm) Fn+F3 (battery, not really useful on a desktop box :) Fn+F4 (sleep, can be catched by xfce4-power-manager) Fn+F5 (wlan, which I don't have either) Fn+F6 (camera) Fn+F7 (switch-videomode) Fn+F8 (f22) Fn+F12 (hibernate, sent to xfpm too) Fn+space (zoom) Fn+arrows (multimedia keys, play/pause/prev/next) Fn+home/end (brightness, though it does nothing on a desktop box) Correct. But if you use these on ... say on a thinkpad they do work. That's good to know. What doesn't work: output mute led input (mic) mute led input (mic) mute key These have to be lighted via: 1) Need a kernel module to expose the LEDS for it 2) Need a daemon to monitor and light them up when the need to be on. This is the same under Windows. You have to install the special Lenovo software for the the LEDs to cut on for the volume mic mute. Though you need the special software for the hotkeys as well. Yeah, I have to admit I'm not really sure it's worth it, but maybe at one point the heaviest desktop environment might include something like that (in an audio daemon or something). For the kernel part, I'm not sure it'd be worth having a kernel module just for a keyboard :) Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- ___ 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: Add KEY_CAMERA (Fn-F6).
On mer., 2010-04-21 at 19:00 -0300, Henrique de Moraes Holschuh wrote: I really should get people to send me keyboard photos of all models, so that I could have a per-model keymap, it would not waste any kernel runtime memory since they're discarded when the module installs itself... As a side note, would you be interested by the USB keyboard with trackpoint (55Y9003)? It should be the same keyboard as the T400s. Works fine, mostly. Hal get events for: Fn+F2 (lock, sent as “XF86Screensaver” to wm) Fn+F3 (battery, not really useful on a desktop box :) Fn+F4 (sleep, can be catched by xfce4-power-manager) Fn+F5 (wlan, which I don't have either) Fn+F6 (camera) Fn+F7 (switch-videomode) Fn+F8 (f22) Fn+F12 (hibernate, sent to xfpm too) Fn+space (zoom) Fn+arrows (multimedia keys, play/pause/prev/next) Fn+home/end (brightness, though it does nothing on a desktop box) Key are sent to the wm for Thinkvantage (XF86Launch1) Caps-lock led What else work: Fn+Scrlk (numlock, but there's no led to indicate the status) What doesn't work: output mute led input (mic) mute led input (mic) mute key This is on 2.6.32-trunk-amd64 on Debian testing, under Xfce 4.6. Hal is running, along with xfce4-power-manager (which catches events like suspend/hibernat). If you're interested by more stuff, please ask. -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] bluetooth off state not remembered accross reboots?
On sam, 2009-10-10 at 13:49 -0300, Henrique de Moraes Holschuh wrote: What do you think? Compile thinkpad-acpi with the Kconfig option CONFIG_THINKPAD_ACPI_DEBUG enabled, and pass thinkpad-acpi the module option debug=0x8004, either through the kernel command line (if it is builtin: thinkpad_acpi.debug=0x8004) or through an options thinkpad-acpi ... line in /etc/modprobe.d/*. Make sure you're logging kernel debug messages somewhere (check rsyslog/klogd/syslogd/whatever configuration). After that, do some testing and check the kernel log, thinkpad-acpi will tell you if something tries to manipulate radio state, and it will also tell you when it stores radio state to NVRAM. It should give us some idea of what's happening. When booting with debug-0x8004 I can see: [ 16.036499] thinkpad_acpi: bluetooth_init: initializing bluetooth subdriver [ 16.037608] thinkpad_acpi: bluetooth_init: bluetooth is supported, status 0x01 [ 16.039494] PM: Adding info for No Bus:rfkill0 [ 16.039930] thinkpad_acpi: tpacpi_rfk_hook_set_block: request to change radio state to blocked [ 16.039939] thinkpad_acpi: bluetooth_set_status: will attempt to disable bluetooth and then: [ 16.055929] thinkpad_acpi: tpacpi_rfk_hook_set_block: request to change radio state to unblocked [ 16.055938] thinkpad_acpi: bluetooth_set_status: will attempt to enable bluetooth -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] bluetooth off state not remembered accross reboots?
On dim, 2009-10-11 at 15:03 +0200, Yves-Alexis Perez wrote: On sam, 2009-10-10 at 13:49 -0300, Henrique de Moraes Holschuh wrote: What do you think? Compile thinkpad-acpi with the Kconfig option CONFIG_THINKPAD_ACPI_DEBUG enabled, and pass thinkpad-acpi the module option debug=0x8004, either through the kernel command line (if it is builtin: thinkpad_acpi.debug=0x8004) or through an options thinkpad-acpi ... line in /etc/modprobe.d/*. Make sure you're logging kernel debug messages somewhere (check rsyslog/klogd/syslogd/whatever configuration). After that, do some testing and check the kernel log, thinkpad-acpi will tell you if something tries to manipulate radio state, and it will also tell you when it stores radio state to NVRAM. It should give us some idea of what's happening. Ok, I played a bit more. This is from THinkpad, booted. Bluetooth is on, LED is on, appears in lsusb. sudo modprobe thinkpad-acpi debug=0x8004 Oct 11 16:02:52 hidalgo kernel: [ 3915.851563] PM: Adding info for No Bus:nvram Oct 11 16:02:52 hidalgo kernel: [ 3915.851616] Non-volatile memory driver v1.3 Oct 11 16:02:52 hidalgo kernel: [ 3915.855681] PM: Adding info for platform:thinkpad_acpi Oct 11 16:02:52 hidalgo kernel: [ 3915.857154] PM: Adding info for platform:thinkpad_hwmon Oct 11 16:02:52 hidalgo kernel: [ 3915.857258] PM: Adding info for No Bus:hwmon1 Oct 11 16:02:52 hidalgo kernel: [ 3915.857291] thinkpad_acpi: ThinkPad ACPI Extras v0.23 Oct 11 16:02:52 hidalgo kernel: [ 3915.857294] thinkpad_acpi: http://ibm-acpi.sf.net/ Oct 11 16:02:52 hidalgo kernel: [ 3915.857296] thinkpad_acpi: ThinkPad BIOS 7LETC6WW (2.26 ), EC 7KHT24WW-1.08 Oct 11 16:02:52 hidalgo kernel: [ 3915.857299] thinkpad_acpi: Lenovo ThinkPad T61, model 8897CTO Oct 11 16:02:52 hidalgo kernel: [ 3915.858286] thinkpad_acpi: ACPI backlight control delay disabled Oct 11 16:02:52 hidalgo kernel: [ 3915.859199] thinkpad_acpi: radio switch found; radios are enabled Oct 11 16:02:52 hidalgo kernel: [ 3915.859311] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver Oct 11 16:02:52 hidalgo kernel: [ 3915.859314] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default... Oct 11 16:02:53 hidalgo kernel: [ 3915.883101] thinkpad_acpi: bluetooth_init: initializing bluetooth subdriver Oct 11 16:02:53 hidalgo kernel: [ 3915.883782] thinkpad_acpi: bluetooth_init: bluetooth is supported, status 0x03 Oct 11 16:02:53 hidalgo kernel: [ 3915.884978] PM: Adding info for No Bus:rfkill10 Oct 11 16:02:53 hidalgo kernel: [ 3915.885008] thinkpad_acpi: tpacpi_rfk_hook_set_block: request to change radio state to unblocked Oct 11 16:02:53 hidalgo kernel: [ 3915.885011] thinkpad_acpi: bluetooth_set_status: will attempt to enable bluetooth Oct 11 16:02:53 hidalgo kernel: [ 3915.887806] thinkpad_acpi: wan_init: initializing wan subdriver Oct 11 16:02:53 hidalgo kernel: [ 3915.888286] thinkpad_acpi: wan_init: wan is supported, status 0x04 Oct 11 16:02:53 hidalgo kernel: [ 3915.888289] thinkpad_acpi: wan_init: wan hardware not installed Oct 11 16:02:53 hidalgo kernel: [ 3915.22] PM: Adding info for No Bus:tpacpi::thinklight Oct 11 16:02:53 hidalgo kernel: [ 3915.890826] Registered led device: tpacpi::thinklight Oct 11 16:02:53 hidalgo kernel: [ 3915.890868] PM: Adding info for No Bus:tpacpi::power Oct 11 16:02:53 hidalgo kernel: [ 3915.894974] Registered led device: tpacpi::power Oct 11 16:02:53 hidalgo kernel: [ 3915.894996] PM: Adding info for No Bus:tpacpi::standby Oct 11 16:02:53 hidalgo kernel: [ 3915.895011] Registered led device: tpacpi::standby Oct 11 16:02:53 hidalgo kernel: [ 3915.895021] PM: Adding info for No Bus:tpacpi::thinkvantage Oct 11 16:02:53 hidalgo kernel: [ 3915.895030] Registered led device: tpacpi::thinkvantage Oct 11 16:02:53 hidalgo kernel: [ 3915.898792] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one. Oct 11 16:02:53 hidalgo kernel: [ 3915.899065] PM: Adding info for No Bus:input13 Oct 11 16:02:53 hidalgo kernel: [ 3915.899098] input: ThinkPad Extra Buttons as /devices/virtual/input/input13 Oct 11 16:02:53 hidalgo kernel: [ 3915.899140] PM: Adding info for No Bus:event6 Oct 11 16:02:53 hidalgo kernel: [ 3915.899175] thinkpad_acpi: tpacpi_rfk_hook_set_block: request to change radio state to unblocked Oct 11 16:02:53 hidalgo kernel: [ 3915.899178] thinkpad_acpi: bluetooth_set_status: will attempt to enable bluetooth Disabling bluetooth with Fn+F5 Bluetooth is off, LED is off, no bluetooth in lsusb. Oct 11 16:04:31 hidalgo bluetoothd[1811]: HCI dev 0 down Oct 11 16:04:31 hidalgo bluetoothd[1811]: Adapter /org/bluez/1811/hci0 has been disabled Oct 11 16:04:31 hidalgo bluetoothd[1811]: Stopping security manager 0 Oct 11 16:04:31 hidalgo kernel: [ 4014.354115] thinkpad_acpi: tpacpi_rfk_hook_set_block: request to change radio state to blocked Oct 11 16:04:31 hidalgo kernel: [ 4014.354125
Re: [ibm-acpi-devel] bluetooth off state not remembered accross reboots?
On dim, 2009-10-11 at 11:25 -0300, Henrique de Moraes Holschuh wrote: Ok. This means something is asking thinkpad-acpi to enable bluetooth at boot, even if you left it off before power down. thinkpad-acpi starts the rfkill interface with bluetooth *off*, but 20ms later, something turns it back on. I think it is the rfkill module that is doing it, because it is being done just 20ms after thinkpad-acpi was loaded. However, your box might be quite fast enough for 20ms to mean it was an automated action by userspace (i.e. something hooked to UDEV). I tried to load rfkill with default_state=0 (it was 1 by default, it seems) and it didn't change anything. Unfortunately, it is impossible to know for sure if a rfkill state change request was done due to kernel or userspace request. Attached is a log from udevadm monitor --property when loading thinkpad-acpi with bluetooth previously off. Not sure if it can help, I can't really say what is activating there. I'll try to dig in udev rules and see if there's something bluetooth/rfkill related. Thanks for your help -- Yves-Alexis monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent KERNEL[1255273700.876362] add /module/nvram (module) UDEV_LOG=3 ACTION=add DEVPATH=/module/nvram SUBSYSTEM=module SEQNUM=1819 UDEV [1255273700.876595] add /module/nvram (module) UDEV_LOG=3 ACTION=add DEVPATH=/module/nvram SUBSYSTEM=module SEQNUM=1819 KERNEL[1255273700.876903] add /devices/virtual/misc/nvram (misc) UDEV_LOG=3 ACTION=add DEVPATH=/devices/virtual/misc/nvram SUBSYSTEM=misc DEVNAME=nvram SEQNUM=1820 MAJOR=10 MINOR=144 UDEV [1255273700.877140] add /devices/virtual/misc/nvram (misc) UDEV_LOG=3 ACTION=add DEVPATH=/devices/virtual/misc/nvram SUBSYSTEM=misc DEVNAME=/dev/nvram SEQNUM=1820 MAJOR=10 MINOR=144 DEVLINKS=/dev/char/10:144 KERNEL[1255273700.880808] add /module/thinkpad_acpi (module) UDEV_LOG=3 ACTION=add DEVPATH=/module/thinkpad_acpi SUBSYSTEM=module SEQNUM=1821 UDEV [1255273700.880962] add /module/thinkpad_acpi (module) UDEV_LOG=3 ACTION=add DEVPATH=/module/thinkpad_acpi SUBSYSTEM=module SEQNUM=1821 KERNEL[1255273700.881205] add /bus/platform/drivers/thinkpad_acpi (drivers) UDEV_LOG=3 ACTION=add DEVPATH=/bus/platform/drivers/thinkpad_acpi SUBSYSTEM=drivers SEQNUM=1822 UDEV [1255273700.881302] add /bus/platform/drivers/thinkpad_acpi (drivers) UDEV_LOG=3 ACTION=add DEVPATH=/bus/platform/drivers/thinkpad_acpi SUBSYSTEM=drivers SEQNUM=1822 KERNEL[1255273700.881504] add /bus/platform/drivers/thinkpad_hwmon (drivers) UDEV_LOG=3 ACTION=add DEVPATH=/bus/platform/drivers/thinkpad_hwmon SUBSYSTEM=drivers SEQNUM=1823 UDEV [1255273700.881516] add /bus/platform/drivers/thinkpad_hwmon (drivers) UDEV_LOG=3 ACTION=add DEVPATH=/bus/platform/drivers/thinkpad_hwmon SUBSYSTEM=drivers SEQNUM=1823 KERNEL[1255273700.881568] add /devices/platform/thinkpad_acpi (platform) UDEV_LOG=3 ACTION=add DEVPATH=/devices/platform/thinkpad_acpi SUBSYSTEM=platform MODALIAS=platform:thinkpad_acpi SEQNUM=1824 KERNEL[1255273700.883307] add /devices/platform/thinkpad_hwmon (platform) UDEV_LOG=3 ACTION=add DEVPATH=/devices/platform/thinkpad_hwmon SUBSYSTEM=platform MODALIAS=platform:thinkpad_hwmon SEQNUM=1825 KERNEL[1255273700.886911] add /devices/platform/thinkpad_hwmon/hwmon/hwmon1 (hwmon) UDEV_LOG=3 ACTION=add DEVPATH=/devices/platform/thinkpad_hwmon/hwmon/hwmon1 SUBSYSTEM=hwmon SEQNUM=1826 UDEV [1255273700.886927] add /devices/platform/thinkpad_hwmon (platform) UDEV_LOG=3 ACTION=add DEVPATH=/devices/platform/thinkpad_hwmon SUBSYSTEM=platform MODALIAS=platform:thinkpad_hwmon SEQNUM=1825 UDEV [1255273700.886942] add /devices/platform/thinkpad_hwmon/hwmon/hwmon1 (hwmon) UDEV_LOG=3 ACTION=add DEVPATH=/devices/platform/thinkpad_hwmon/hwmon/hwmon1 SUBSYSTEM=hwmon SEQNUM=1826 UDEV [1255273700.888063] add /devices/platform/thinkpad_acpi (platform) UDEV_LOG=3 ACTION=add DEVPATH=/devices/platform/thinkpad_acpi SUBSYSTEM=platform MODALIAS=platform:thinkpad_acpi SEQNUM=1824 KERNEL[1255273700.892658] add /bus/acpi/drivers/thinkpad_hotkey (drivers) UDEV_LOG=3 ACTION=add DEVPATH=/bus/acpi/drivers/thinkpad_hotkey SUBSYSTEM=drivers SEQNUM=1827 UDEV [1255273700.892843] add /bus/acpi/drivers/thinkpad_hotkey (drivers) UDEV_LOG=3 ACTION=add DEVPATH=/bus/acpi/drivers/thinkpad_hotkey SUBSYSTEM=drivers SEQNUM=1827 KERNEL[1255273700.895325] add /devices/platform/thinkpad_acpi/rfkill/rfkill11 (rfkill) UDEV_LOG=3 ACTION=add DEVPATH=/devices/platform/thinkpad_acpi/rfkill/rfkill11 SUBSYSTEM=rfkill RFKILL_NAME=tpacpi_bluetooth_sw RFKILL_TYPE=bluetooth RFKILL_STATE=0 SEQNUM=1828 UDEV [1255273700.897862] add /devices/platform/thinkpad_acpi/rfkill/rfkill11 (rfkill) UDEV_LOG=3 ACTION=add DEVPATH=/devices/platform/thinkpad_acpi/rfkill/rfkill11 SUBSYSTEM=rfkill RFKILL_NAME=tpacpi_bluetooth_sw RFKILL_TYPE=bluetooth
Re: [ibm-acpi-devel] help needed: X61 fan control, and 2nd fan control
On lun, 2009-06-01 at 00:06 -0300, Henrique de Moraes Holschuh wrote: If there are other Lenovo thinkpads with two fans (the T61, maybe?), I'd also appreciate a lot reports for such models. Looking at the HMM for my T61, it doesn't seem I have two fans. How can I check that, would I need to open it? (this is the 4:3 aspect one, not sure about the widescreen one) Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] [PATCH 09/13] ACPI: thinkpad-acpi: handle HKEY thermal and battery alarms
On ven, 2009-01-16 at 01:06 -0200, Henrique de Moraes Holschuh wrote: I think it makes sense to tie them to uevents on the appropriate generic devices. Even if most hardware doesn't generate them, the ability to pop up a notification telling the user that the firmware thinks their system is too hot is useful. Well, it should actually be useful even without the uevents... as long as the desktop environments are actually smart enough to notice the kernel really wants to tell the user something when it outputs CRITICAL, ALERT and EMERGENCY level messages... I'm not sure hal is able to do that atm, but it could, when receiving such events, pass them to a notification daemon so at least the user is warned. More stuff could be done but I guess it depends mainly on desktop people. Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] crt_enable doesn't work on my T61
On mer, 2008-12-17 at 13:45 +0800, Tao Ma wrote: I am using Fedora 9 on my thinkpad T61. Today I try to use an outside LCD monitor, but failed. I try echo crt_enable /proc/acpi/ibm/video but it doesn't work. I have searched in google and can't find the reason. Help is needed. Thanks. crt_enable is deprecated iirc. Use xrandr. Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Keycodes 360 and 372 when using ThinkVantage and Fn+Space on T61
On mar, 2008-12-16 at 03:14 +0100, Jens Rutschmann wrote: I gave the git log of the evdev driver a short look and after seeing this commit I'm not very confident that it will be able to handle such events anytime soon... http://cgit.freedesktop.org/xorg/driver/xf86-input-evdev/commit/?id=7243116f55609a2a5f73bb88cf6ad6386c9bbc0b Yup, Julien Cristau just confirmed me on IRC that there was no way for X get keycode over 255. -- Yves-Alexis signature.asc Description: This is a digitally signed message part -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Upcoming changes to thinkpad-acpi (your chance to comment on them)
On Thu, Oct 23, 2008 at 09:45:25AM +0200, Tino Keitel wrote: How about a solution that works independent from the desktop environment? There are still people who don't use neither Gnome nor KDE. With 2.6.28, with OpRegion patch from Matthew, it'll be handled in-kernel successfully. Cheers, -- Yves-Alexis - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Upcoming changes to thinkpad-acpi (your chance to comment on them)
On mar, 2008-10-21 at 20:42 -0600, Xavier Callejas wrote: I use KDE, kernel: 2.6.25 I have tried 'video' module and 'thinkpad-acpi' with all the possibles paramteres and didn't worked. You need something able to chat with hal in userspace. gnome-power-manager is known to work. -- Yves-Alexis signature.asc Description: This is a digitally signed message part - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Upcoming changes to thinkpad-acpi (your chance to comment on them)
On sam, 2008-10-18 at 16:29 -0600, Xavier Callejas wrote: Does this new release will bring the fix for brightness fn keys for the Thinkpad T61? This is brought with the “opregion” patch currently in linux-next (and linux-2.6). Be aware that (for now at least) it works only in X. And I have had problems where sometimes, it doesn't work (after xset shut down the LCD, or after a suspend/resume) until I switch to console an go back to X. But I guess it's a X driver issue. Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Upcoming changes to thinkpad-acpi (your chance to comment on them)
On sam, 2008-10-18 at 20:23 -0600, Xavier Callejas wrote: This keys works perflectly in the SLED10; the thing is that I am using openSUSE 11. Keys work (since a long time) in X with gnome-power-manager running and /sys/module/video/parameters/brightness_switch_enabled=N In that case, the brightness is handled by g-p-m in userspace. In our case, the brightness is handled directly by the kernel, in the video module. (/sys/module/video/parameters/brightness_switch_enabled=Y) Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] x60s: problems with brightness keys (again)
On ven, 2008-10-10 at 09:45 -0300, Henrique de Moraes Holschuh wrote: The correct thing would be for Matthew to send it in along with the DRM stuff, which I believe he will do. We don't know what sort of breakage could happen if we toggle that thing ON without opregion support. Anyway, I will keep an eye on it. And if you guys notice the DRM-next branch hit mainline and no patch to thinkpad-acpi does at the same time, drop me a note and I will make sure it is flushed to mainline. drm-next has been merged to linux-next, with the OpRegion patch, so I guess thinkpad-acpi can be updated. Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] x60s: problems with brightness keys (again)
On Thu, Oct 02, 2008 at 06:55:37AM -0400, Paride Legovini wrote: Matthew Garrett once sent a patch for thinkpad-acpi to call some function in the DSDT which would fix the delay. I just applied that two lines of code to the vanilla kernel and the delay went away. But something wrong still remains: when I try to reproduce the problem there's no delay but then I get two acpi event for every brightness change: [EMAIL PROTECTED] LCD0 0086 ibm/hotkey HKEY 0080 5010 [EMAIL PROTECTED] LCD0 0086 ibm/hotkey HKEY 0080 5010 [EMAIL PROTECTED] LCD0 0087 ibm/hotkey HKEY 0080 5010 [EMAIL PROTECTED] LCD0 0087 ibm/hotkey HKEY 0080 5010 (i.e. brightness up, up, down, down.) Without hitting the lowest brightness limit everything is ok (one acpi event). I just checked on my box and I can confirm that I have two events too, each time I press the keys. I'm CC:ing Matthew Garrett, he may have a clue. Cheers, -- Yves-Alexis - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] x60s: problems with brightness keys (again)
On mer, 2008-10-01 at 22:43 -0400, Paride Legovini wrote: And thats ok. And I get the hotkeys working! At a first sight even the brightness control seems to work, BUT, if (and only if) I reach the lowest level of brightness and I press the brightness-down key combination once again I get TWO acpi events from acpi_listen: video LCD0 0087 ibm/hotkey HKEY 0080 5010 and the brightness control is messed up! Every change in brightness takes a long time to occur (almost a second), and this is very annoying. I get a double acpi event for every change in brightness, UNLESS I press the key combination too fast. In this case only the last event is double. Here's a series of brightness-up events: I get/got the same kind of behavior on my T61 with X3100. Matthew Garrett once sent a patch for thinkpad-acpi to call some function in the DSDT which would fix the delay. I'm attaching it, it works fine on my tree, but It's a mix between linux-acpi-2.6/test and drm-2.6/drm-next, and maybe the patch requires the “opregion” patch from Matthew too. Cheers, -- Yves-Alexis Date: Wed, 6 Aug 2008 07:34:41 +0100 From: Matthew Garrett [EMAIL PROTECTED] To: Henrique de Moraes Holschuh [EMAIL PROTECTED] Cc: Yves-Alexis Perez [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PATCH] Add Intel ACPI IGD OpRegion support Message-ID: [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: [EMAIL PROTECTED] User-Agent: Mutt/1.5.12-2006-07-14 X-SA-Exim-Connect-IP: locally generated X-SA-Exim-Mail-From: [EMAIL PROTECTED] X-SA-Exim-Scanned: No (on vavatch.codon.org.uk); SAEximRunCond expanded to false X-Evolution-Source: imap://[EMAIL PROTECTED]/ Content-Transfer-Encoding: 8bit On Tue, Aug 05, 2008 at 11:32:48PM -0300, Henrique de Moraes Holschuh wrote: On Wed, 06 Aug 2008, Matthew Garrett wrote: The 750ms delay is from thinkpad-acpi. I sent a patch to Henrique which makes it go away, but I'm not entirely sure what the ACPI method concerned is supposed to be doing. The opregion code won't currently run until X is started because the drm layer requires X to be the foreground vt before handling IRQs. Well, for what is it worth, thinkpad-acpi has a knob (brightness_mode) which can be used. Set it to CMOS mode (see docs). From what I recall, it should do what your patch does. It doesn't seem to, no. I should have been clearer - the delay is in the DSDT (not thinkpad-acpi itself), but there's a Thinkpad-specific ACPI call that seems to be needed in order to delay it. Here's the patch again. diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c index b596929..bbc45c8 100644 --- a/drivers/misc/thinkpad_acpi.c +++ b/drivers/misc/thinkpad_acpi.c @@ -899,6 +899,9 @@ static int __init tpacpi_check_std_acpi_brightness_support(void) if (ACPI_SUCCESS(status) bcl_levels 2) { tp_features.bright_acpimode = 1; + /* Set ACPI mode */ + if (!acpi_evalf(hkey_handle, NULL, PWMS, vd, 0)) + printk(TPACPI_INFO Failed to claim backlight\n); return (bcl_levels - 2); } -- Matthew Garrett | [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] Brightness on Lenovo Thinkpad T61
On lun, 2008-08-25 at 11:59 -0600, Xavier Callejas wrote: I installed kernel 2.6.27-rc3 (openSUSE 11 Factory repo) and the behavior is the same, Fn brightness keys don't work. Basically, it'll have to wait for 2.6.28, where it'll have some acpi fixes, and the “opregion” patch from Matthew Garrett. I successfully run a mix of acpi-2.6/test and drm-2.6/drm-next with the opregion patch, and brightness keys do work in X (T61 with X3100) Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] more backlight stuff, x61, kernel 2.6.26.1 [Thinkpad T61 Intel 965GM]
On lun, 2008-08-11 at 11:15 -0600, Xavier Callejas wrote: Hi, I have a Lenovo Thinkpad T61 with Intel GM965 (with SLED10 preinstalled, kernel 2.6.16.60-0.23-smp), the brightness Fn keys works perfectly. I guess you have brightness keys working with gnome-power-manager? Or maybe some hacks from SLED BUT, I have installed openSUSE 11 (I prefer it from SLED), and the brightness Fn keys do NOT work at all. I run a git+patch kernel (2.6.27 drm-2.6 + linux-acpi-2.6 + a patch from Matthew Garrett to add opregion support) and brightness keys work in X. I don't know when those patches will end in mainline kernel but I wouldn't expect them before 2.6.28. With recent enough kernel + gnome-power-manager it'll work with /sys/modules/video/parameters/brightness_switch_enabled set to N. Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ ibm-acpi-devel mailing list ibm-acpi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Re: [ibm-acpi-devel] more backlight stuff, x61, kernel 2.6.26.1
On jeu, 2008-08-07 at 01:33 -0400, Jim Paris wrote: Hi Yves-Alexis, Thanks for the input. I assume your x61 works the same as my T61 intel. The current status (aiui) is that, on 2.6.26 and previous, brightness won't work in-kernel. The only solution I found was to use gnome-power-manager and video.ko with parameter brightness_switch_enabled. In this case, it seems to work fine. Agreed. Just to be clear, I'm actually disabling it with brightness_switch_enabled=false. Maybe that's what you mean? If you want control from userspace, yes. Maybe g-p-m should set it itself. - After all this, brightness mostly works. There is still an issue with plugging/unplugging the AC adapter. In single-user-mode: On AC: # echo 0 acpi_video1/brightness # dark # echo 15 acpi_video1/brightness # fully bright Unplugged AC here # no change # echo 15 acpi_video1/brightness # no change # echo 0 acpi_video1/brightness # dark # echo 15 acpi_video1/brightness # --HALF-- bright Plugged AC here# no change # echo 15 acpi_video1/brightness # no change # echo 0 acpi_video1/brightness # dark # echo 15 acpi_video1/brightness # fully bright Basically removing the AC adapter reduces the available brightness range, BUT doesn't take effect until I actually try to change the brightness. Check first in your bios the options for that. It works before Linux (grub prompt, etc) so the BIOS should be OK. The behavior (brightness range reduced on battery) is what I expect, but it's buggy. Reducing brightness is probably a BIOS option but I don't think be slow in noticing it is configurable :) Hmh yeah. Not really sure, maybe it'll settle down when fixes will be incorporated in the kernel. By the way, the Debian package acpi-support also sets up a modprobe.d file containing: options thinkpad_acpi hotkey=enable,0xbf experimental=1 which I have removed. Another broken userspace package? Apparently this file was placed here to fix problems on someone's x60; this whole setup is so complicated it seems like it would be an endless problem of fixing one laptop by breaking another. I guess it'd be nice if you could file bugs saying a package shouldn't mess with hotkey. Yeah I'd like to make sure I have the right solution before I file bugs, though. As I mentioned it seems the hack was removed before, and reinstated when someone complained that their x60 broke. Maybe this is just a kernel version issue, and the hotkey mask should be set for old versions and left alone for new versions? Aiui, a package should never touch hotkey mask. An user might want to, for his particular thinkpad, but that's all. At least if it mess with the hotkey, it should identify the running thinkpad. But basically, thinkpad-acpi loads the correct default for the thinkpad and one shouldn't mess with it. Or so I guess. Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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 not working on -rc series
Hi, I just wanted to know if there was a reason a patch was still needed against 2.6.25-rc kernels. On ibm-acpi.sf.net there's a patch against -rc4 (wich applies cleanly against -rc5 but not against -rc6). Without it, thinkpad-acpi doesn't show any acpi event when I use the Fn keys. Is there a reason the patch can be merged in rc kernels? Currently, it seems the 2.6.25 thinkpad-acpi will be quite useless at least on T61. Cheers, -- 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
Re: [ibm-acpi-devel] FN+F5 .. Lenovo has broken the acpi event in latest Thinkpad T61 bios
On mer, 2008-02-20 at 14:06 -0600, Jerone Young wrote: So the latest Thinkpat T61 update Bios: 7LETA9WW (2.09 ) EC: 7KHT24WW-1.08 Product Name: 8897CTO BIOS Version: 7LETA9WW (2.09 ) Kernel 2.6.24.2 No longer sends an ACPI event .. or any event for that matter when FN+F5 is pressed. acpi_listen + Fn+F5 reports: ibm/hotkey HKEY 0080 1005 HTH, -- 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
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, 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
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