Jerone Young | 1 May 2010 03:29
Favicon

Re: thinkpad_acpi: Add KEY_CAMERA (Fn-F6).

Yes.
	I actually sent the support to udev for the USB keyboard ;-)

On Fri, 2010-04-30 at 08:27 +0200, Yves-Alexis Perez wrote:
> 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.

	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).

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

Yves-Alexis Perez | 1 May 2010 13:21
Picon
Favicon

Re: 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.
(Continue reading)

Matthew Garrett | 6 May 2010 14:47
Favicon

Re: [PATCH 2/2] thinkpad_acpi: Hook volume events

On Thu, May 06, 2010 at 12:02:39AM -0300, Henrique de Moraes Holschuh wrote:

> Reading that stuff ain't cheap.  Either a locked trip through the LPC bus
> for the CMOS nvram, or ACPI EC I/O (which is even worse, I fear.  That EC is
> also hooked to LPC, and there's a lot more code involved).
> 
> I really would rather not enable it on boxes where it isn't required.  And
> we know which ones are those: IBM thinkpads where the all-available-hotkeys
> mask has the bits for the volume hotkeys set.

Ok, that's easy enough to do. I'll rework and send that.

--

-- 
Matthew Garrett | mjg59@...

------------------------------------------------------------------------------
Helge Bahmann | 6 May 2010 15:41
Favicon

Thinkpad L412

Hi,

I have a Thinkpad L412 not yet supported by thinkpad_acpi, the crucial kernel 
messages (I think) are:

thinkpad_acpi: drv_acpi_handle_init: trying to locate ACPI handle for ec
thinkpad_acpi: drv_acpi_handle_init: ACPI handle for ec not found
thinkpad_acpi: Not yet supported ThinkPad detected!
thinkpad_acpi: thinkpad_acpi_module_exit: finished subdriver exit path...

acpidump, dmidecode output attached.

Can this notebook be supported by thinkpad_acpi? (What would I have to add to 
the driver to get it past this stage at least and try out further?)

Best regards
Helge
--

-- 
Dr.-Ing.
Helge Bahmann
Berater
Geschäftsbereich Hochsicherheit
secunet Security Networks AG
Ammonstraße 74
01067 Dresden, Germany
Fon: +49 201 54 54-3586
Fax: +49 201 54 54-1323
Email: helge.bahmann@...

Sitz: Kronprinzenstraße 30, 45128 Essen
(Continue reading)

Yves-Alexis Perez | 6 May 2010 16:59
Picon
Favicon

Re: 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

------------------------------------------------------------------------------
Hakan Kızılhan | 15 May 2010 12:22
Picon

x100e wireless disabling (no rfkill interface)

Hi,

I have Thinkpad x100e and using Ubuntu 10.04.

Everything working well. Only problem with wireless rfkill interface.
There is no rfkill interface for wireless card. (present for bluetooth)
I want to disable wireless sometimes.

ibm_acpi driver patched for x100e and installed.

There are rfkill code in rtl8192se wireless source code.
Problem may be related with ibm_acpi driver?

What i sould send about machine?

Waiting for your directives.

Thanks from now...
__________
Hakan Kizilhan

------------------------------------------------------------------------------
Anton Krug | 19 May 2010 01:31
Picon

Second screen on W700ds

Hi I received this message on dmesg while I was opening the secondary
display on W700ds laptop

[ 9738.529133] thinkpad_acpi: unhandled HKEY event 0x5030
[ 9738.529138] thinkpad_acpi: please report the conditions when this
event happened to ibm-acpi-devel@...

A while later when closing it I got the same one (it looks like togle switch):

[ 9754.804131] thinkpad_acpi: unhandled HKEY event 0x5030
[ 9754.804135] thinkpad_acpi: please report the conditions when this
event happened to ibm-acpi-devel@...

I'm using GNU / Linux Debian 5 (stable) and with amd64 kernel from
back-ports (because of Intel 5300 support)

Linux w700ds 2.6.32-bpo.3-amd64 #1 SMP Mon Mar 15 13:49:35 UTC 2010
x86_64 GNU/Linux

When I got Xorg to use the secondary display it was always ON, when
using windows is turned off till you open it and then when you close
it it turns off, now it's on always so sometimes get window to the
second display even when it closed, so If it could be turned off it
much better for usability and power and everything ....

I don't know what you need to know, the acpi-support is version 0.109-11.

Could be somebody so kind and helped me to get this working? Thank you
in advance.
Anton
(Continue reading)

Karsten König | 19 May 2010 02:22
Picon

Re: Second screen on W700ds

Heya,

I am no expert here but you can try switching it off with xrandr, that should 
be just fine if it reacts like a normal screen (no driving output -> standby)

To have it work with pulling the display in and out I guess acpi needs to 
switch on and off the screen, the kernel/xorg stack should handle hotplug 
itself then.

Regards,
Karsten

Am Mittwoch, 19. Mai 2010, 01:31:52 schrieb Anton Krug:
> Hi I received this message on dmesg while I was opening the secondary
> display on W700ds laptop
> 
> [ 9738.529133] thinkpad_acpi: unhandled HKEY event 0x5030
> [ 9738.529138] thinkpad_acpi: please report the conditions when this
> event happened to ibm-acpi-devel@...
> 
> A while later when closing it I got the same one (it looks like togle
> switch):
> 
> [ 9754.804131] thinkpad_acpi: unhandled HKEY event 0x5030
> [ 9754.804135] thinkpad_acpi: please report the conditions when this
> event happened to ibm-acpi-devel@...
> 
> 
> I'm using GNU / Linux Debian 5 (stable) and with amd64 kernel from
> back-ports (because of Intel 5300 support)
(Continue reading)

Karsten König | 19 May 2010 09:00
Picon

Re: Second screen on W700ds

Ah, I forgot it's NVIDIA, looks like their driver doesn't do proper xrandr, 
but they ship their own tool, nvidia-settings I think, it's a GUI and should 
be able to switch on and off the seperate screen, it's basicly nvidias xrandr 
(with less power =) )

Karsten

btw, please reply all so it will go back to the list as well

Am Mittwoch, 19. Mai 2010, 05:09:43 schrieb Anton Krug:
> When the dualscreen setup is not enabled I can use xrandr but, when
> booth screens are enabled it gives me this error:
> Xlib:  extension "RANDR" missing on display ":0.0".
> 
> the config and log are below:
> 
> # nvidia-settings: X configuration file generated by nvidia-settings
> # nvidia-settings:  version 1.0  (buildmeister <at> builder58)  Thu Apr 22
> 20:36:15 PDT 2010
> 
> # nvidia-xconfig: X configuration file generated by nvidia-xconfig
> # nvidia-xconfig:  version 1.0  (buildmeister <at> builder58)  Thu Apr 22
> 20:35:23 PDT 2010
> 
> Section "ServerLayout"
>     Identifier     "Layout0"
>     Screen      0  "Screen0" 0 0
>     Screen      1  "Screen1" RightOf "Screen0"
>     InputDevice    "Keyboard0" "CoreKeyboard"
>     InputDevice    "Mouse0" "CorePointer"
(Continue reading)

Jerone Young | 19 May 2010 11:54
Favicon

Re: thinkpad_acpi: Add KEY_CAMERA (Fn-F6).

Henrique,
	This patch didn't make your merge request?  Any reason why? Here is a
picture of the T410 keyboard:
http://images.anandtech.com/reviews/mobile/2010/lenovo-thinkpad-t410/lenovo-thinkpad-t410-keyboard-sm.jpg

			Thanks,
				Jerone
On Sun, 2010-04-25 at 23:51 -0500, Jerone Young wrote:
> Tested on a Thinkpad T410. Works. Also maps key to the same hotkey to
> the same key as the lenovo thinkpad usb keyboard maps it to in udev
> keymap file.
> 
> Acked-by: Jerone Young <jerone.young@...>
> 
> On Tue, 2010-04-20 at 23:05 +0200, Jens Taprogge wrote:
> > On the T410s and most likely other current models Fn-F6 is labeled as
> > Camera/Headphone key.  Report key presses as KEY_CAMERA.
> > 
> > Please review and apply if appropriate.
> > 
> > Signed-off-by: Jens Taprogge <jens.taprogge@...>
> > ---
> >  drivers/platform/x86/thinkpad_acpi.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
> > index 2cee76c..04c1e8c 100644
> > --- a/drivers/platform/x86/thinkpad_acpi.c
> > +++ b/drivers/platform/x86/thinkpad_acpi.c
> >  <at>  <at>  -3152,7 +3152,7  <at>  <at>  static int __init hotkey_init(struct ibm_init_struct *iibm)
(Continue reading)


Gmane