Re: support for Lenovo X61(s)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Henrique,

I'll go into what you mentioned below (to make sure I answer all your
suggestions and questions).

>
> Number one rule for these things: if it is working without an ACPI module
> loaded, do NOT load it.  In fact, blacklist it to make sure something
> doesn't decide to load it behind your back later :-)
>
> > What's not working (and what I miss most), is the brightness buttons.
>
> Ah, yes.  Video *can* help you with that.  Try it.  It is not thinkpad-acpi
> that is messing with it, and be warned that thinkpad-acpi brightness support
> does not work well with machines with 16 levels of brightness yet.
>

I tried this, and with brightness buttons do do something in the way
of generating an acpi event:
# acpi_listen
video LCD0 00000086 00000000
video LCD0 00000087 00000000

In dmesg this gives:
set_level status: 0
set_level status: 0

So there is some response, only it doesn't do anything.


> > So far the command "xbacklight -set ##"  seems to be the best
> > substitute, but I would really like to get those buttons working.
>
> Try the video module. It responds to the ACPI handles, and might get things
> to work.  Try it *without* thinkpad-acpi loaded first, so as to be sure
> nothing in userspace will screw it up by trying to also react to the buttons
> and tell thinkpad-acpi to mess with the brightness (which, as I said, won't
> work well for the X61s yet).
>

I tried to connect the buttons to an acpi event, as they do generate
some noise, but that does not seem to have any effect.

> > All other buttons (suspend, wireless, hibernate) work fine when I use
> > acpi-support en acpid.
>
> Check the volume ones too. I think someone reported some sort of weirdness
> with those.
>
Volume does nothing.
The volume buttons don't even generate anything in acpi_listen.
The only thing that does something, is the mute button; it mutes. Also
vol up and vol down undo the mute, but that's all.

> > I loaded the thinkpad_acpi module with: experimental=1
> > hotkey=enable,0xffff fan_control=1
>
> You have more event-driven hot keys than that in your thinkpad. Use "cat
> /sys/bus/platform/devices/thinkpad_acpi/hotkey_recommended_mask" to know the
> best mask to use (latest ibm-acpi.sf.net patches).
>
I don't have that setting.
I only have:
hotkey_bios_enabled  hotkey_enable
hotkey_bios_mask     hotkey_mask
in /sys/bus/platform/devices/thinkpad_acpi/

How is that possible?

Hendrik-Jan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux