Toralf Förster | 2 Dec 2008 20:25
Picon
Picon

minor issue with T41: blue tooth LED is on even if bluetooth support is not compiled into kernel

I observed this with kernel 2.6.26.8 (Gentoo) prior kernel versions instead 
doesn't seem  to switch on that LED.

--

-- 
MfG/Sincerely

Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

-------------------------------------------------------------------------
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=100&url=/
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@...
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Evgeni Golov | 3 Dec 2008 21:49
Favicon
Gravatar

Re: minor issue with T41: blue tooth LED is on even if bluetooth support is not compiled into kernel

On Tue, 2 Dec 2008 20:25:38 +0100 Toralf Förster wrote:

> I observed this with kernel 2.6.26.8 (Gentoo) prior kernel versions instead 
> doesn't seem  to switch on that LED.

You dont need to have BT support in the kernel to have the BT device
"on". Is your kernel built with rfkill support, if so, could you load
the rfkill module with the default_state=0 option?

Regards
Evgeni

-------------------------------------------------------------------------
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=100&url=/
Picon
Favicon

Re: minor issue with T41: blue tooth LED is on even if bluetooth support is not compiled into kernel

On Wed, 03 Dec 2008, Evgeni Golov wrote:
> On Tue, 2 Dec 2008 20:25:38 +0100 Toralf Förster wrote:
> > I observed this with kernel 2.6.26.8 (Gentoo) prior kernel versions instead 
> > doesn't seem  to switch on that LED.
> 
> You dont need to have BT support in the kernel to have the BT device
> "on". Is your kernel built with rfkill support, if so, could you load
> the rfkill module with the default_state=0 option?

That would do it, yes.  Good catch, Evgeni!  I bet this is the
"problem".

Newest thinkpad-acpi from ibm-acpi.sf.net has code that is supposed to
store the BT rfkill state across reboot and shutdown(!), please try
that and tell me if it works.  It will override the default_state with
whatever state BT rfkill was when you last rebooted/shutdown the
thinkpad.

This actually makes me wonder if I shouldn't add a knob to the rfkill
core to let the user order the rfkill core to *force* all rfkill
switches to block state even if platform drivers like thinkpad-acpi
request a different behaviout...

--

-- 
  "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

-------------------------------------------------------------------------
(Continue reading)

Jens Rutschmann | 15 Dec 2008 23:38
Picon

Keycodes 360 and 372 when using ThinkVantage and Fn+Space on T61

Hi,

I set up X.org on my T61 to use HAL for input device configuration (xorg.conf 
contains no input devices at all).

Everything works fine using the evdev driver 2.0.8 on X.org server 1.5.3 except 
the ThinkVantage and Fn+Space keys report invalid keycodes.

More specifically:
"input-events" & "xev" report nothing, ACPI events get reported by 
"acpi-listen". In Xorg.0.log though, I get the following warnings:

(WW) ThinkPad Extra Buttons: unable to handle keycode 360
(WW) ThinkPad Extra Buttons: unable to handle keycode 372

These warnings are printed only once, the first time I press the respective 
button. I was able to correlate them by checking the acpi-listen output.

So the ThinkVantage button sends ACPI signal ibm/hotkey HKEY 00000080 00001018 
and keycode 360.
The Fn+Space key sends ibm/hotkey HKEY 00000080 00001014 and keycode 372.

Is this a bug of thinkpad_acpi or of the evdev driver? Any ideas how I could 
debug it further? Using the debug_level sysfs property I couldn't get more 
information.

Best regards,
Jens

------------------------------------------------------------------------------
(Continue reading)

Henrique de Moraes Holschuh | 16 Dec 2008 02:01
Picon
Favicon

Re: Keycodes 360 and 372 when using ThinkVantage and Fn+Space on T61

On Mon, 15 Dec 2008, Jens Rutschmann wrote:
> (WW) ThinkPad Extra Buttons: unable to handle keycode 360
> (WW) ThinkPad Extra Buttons: unable to handle keycode 372

Ah, at least evdev now warns you when it is screwing things up.  This
is a step forward.

> Is this a bug of thinkpad_acpi or of the evdev driver? Any ideas how I could 
> debug it further? Using the debug_level sysfs property I couldn't get more 
> information.

See my comment above.  Maybe it can now even be configured to actually
do something sensible to the KEY_* events above 256, but I wouldn't
know how to do it :(

--

-- 
  "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 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/
Jens Rutschmann | 16 Dec 2008 03:14
Picon

Re: Keycodes 360 and 372 when using ThinkVantage and Fn+Space on T61

Henrique de Moraes Holschuh wrote on 16.12.2008 02:01:
> On Mon, 15 Dec 2008, Jens Rutschmann wrote:
>> (WW) ThinkPad Extra Buttons: unable to handle keycode 360
>> (WW) ThinkPad Extra Buttons: unable to handle keycode 372
> 
> Ah, at least evdev now warns you when it is screwing things up.  This
> is a step forward.
> 
>> Is this a bug of thinkpad_acpi or of the evdev driver? Any ideas how I could 
>> debug it further? Using the debug_level sysfs property I couldn't get more 
>> information.
> 
> See my comment above.  Maybe it can now even be configured to actually
> do something sensible to the KEY_* events above 256, but I wouldn't
> know how to do it :(

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

Best regards,
Jens

------------------------------------------------------------------------------
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/
(Continue reading)

Yves-Alexis Perez | 16 Dec 2008 07:36
Picon
Favicon

Re: 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
------------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
Henrique de Moraes Holschuh | 16 Dec 2008 14:47
Picon
Favicon

Re: Keycodes 360 and 372 when using ThinkVantage and Fn+Space on T61

On Tue, 16 Dec 2008, Yves-Alexis Perez wrote:
> 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.

Then they will have to come up with some hard hack, maybe using modifiers,
to work around that braindamage.  Because keyboards NEED more than 256 code
points in Linux and anything else doing modern keyboard translation,
nowadays...

--

-- 
  "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 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/
Jens Rutschmann | 17 Dec 2008 01:13
Picon

Re: Keycodes 360 and 372 when using ThinkVantage and Fn+Space on T61

Henrique de Moraes Holschuh wrote on 16.12.2008 14:47:
> Then they will have to come up with some hard hack, maybe using modifiers,
> to work around that braindamage.  Because keyboards NEED more than 256 code
> points in Linux and anything else doing modern keyboard translation,
> nowadays...

There is an enhancement bug report about this which has been opened half and a 
year ago: http://bugs.freedesktop.org/show_bug.cgi?id=11227

Just in case anyone's interested in it.

Best regards,
Jens

------------------------------------------------------------------------------
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/
Tao Ma | 17 Dec 2008 06:45
Picon

crt_enable doesn't work on my T61

Hi list,
    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.

[root <at> tma-pc2 events]# modinfo thinkpad_acpi
filename:       /lib/modules/2.6.25-14.fc9.i686/kernel/drivers/misc/thinkpad_acpi.ko
license:        GPL
version:        0.19
description:    ThinkPad ACPI Extras
author:         Borislav Deianov, Henrique de Moraes Holschuh
alias:          dmi:bvnIBM:bvrK[U,X-Z]ET??WW
alias:          dmi:bvnIBM:bvr1[0,3,6,8,A-G,I,K,M-P,S,T]ET??WW
alias:          dmi:bvnIBM:bvrI[B,D,H,I,M,N,O,T,W,V,Y,Z]ET??WW
alias:          dmi:bvnLENOVO:*:svnLENOVO:*:pvrThinkPad*:rvnLENOVO:*
alias:          dmi:bvnIBM:*:svnIBM:*:pvrThinkPad*:rvnIBM:*
alias:          ibm_acpi
srcversion:     13C1F79AE532A4506E74876
depends:        hwmon
vermagic:       2.6.25-14.fc9.i686 SMP mod_unload 686 4KSTACKS

[root <at> tma-pc2 events]# cat /proc/acpi/ibm/video
status:        supported
lcd:        enabled
crt:        disabled
dvi:        disabled
auto:        disabled
commands:    lcd_enable, lcd_disable
commands:    crt_enable, crt_disable
commands:    dvi_enable, dvi_disable
commands:    auto_enable, auto_disable
commands:    video_switch, expand_toggle
[root <at> tma-pc2 events]# echo crt_enable > /proc/acpi/ibm/video
[root <at> tma-pc2 events]# cat /proc/acpi/ibm/video
status:        supported
lcd:        enabled
crt:        disabled
dvi:        disabled
auto:        disabled
commands:    lcd_enable, lcd_disable
commands:    crt_enable, crt_disable
commands:    dvi_enable, dvi_disable
commands:    auto_enable, auto_disable
commands:    video_switch, expand_toggle


thanks.
Tao



------------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

Gmane