ThinkPad X61s functions keys
Dan Langille
dan at langille.org
Sun Mar 30 18:17:50 PDT 2008
Alberto Rizzi wrote:
> Ian Smith ha scritto:
>> On Sat, 29 Mar 2008, Dan Langille wrote:
>>>
>>> Good catch. Thank you. It is 1. The copy/paste was done outside my
>>> testing. Despite the /etc/sysctl.conf entry, I must set this value
>>> manually as it is always zero after boot.
>>
>> Seems odd if setting dev.acpi_ibm.0.events=1 in /etc/sysctl.conf doesn't
>> show up after boot? Could something(?) be resetting it to 0 afterwards?
>>
> /etc/sysctl.conf gets invoked when you enter in multiuser mode. Are you
> booting multiuser or single user? Maybe you misspelled something in
> /etc/sysctl.conf? Please cat /etc/sysctl.conf
>
>>> dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras
>>> dev.acpi_ibm.0.%driver: acpi_ibm
>>> dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY
>>> dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0
>>> dev.acpi_ibm.0.%parent: acpi0
>>> dev.acpi_ibm.0.initialmask: 2060
>>> dev.acpi_ibm.0.availmask: 16777215
>>> dev.acpi_ibm.0.events: 0
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> An unfortunate paste. I assure you, it is 1.
>>
>>> dev.acpi_ibm.0.eventmask: 2060
>>> dev.acpi_ibm.0.hotkey: 3491
>>> dev.acpi_ibm.0.lcd_brightness: 0
>>> dev.acpi_ibm.0.volume: 7
>>> dev.acpi_ibm.0.mute: 0
>>> dev.acpi_ibm.0.thinklight: 0
>>> dev.acpi_ibm.0.bluetooth: 0
>>> dev.acpi_ibm.0.wlan: 1
>>> dev.acpi_ibm.0.fan_speed: 3815
>>> dev.acpi_ibm.0.fan_level: 0
>>> dev.acpi_ibm.0.fan: 1
>>> dev.acpi_ibm.0.thermal: 41 47 47 38 33 -1 30 -1
>
> When you put .events=1, .eventmask is updated with the value in .availmask
> In your example, eventmask != availmask, so the paste is correct and you
> didn't activate .events
>
> Try logging in in multi user mode and sysctl dev.acpi_ibm.0
> Then set .events=1 and redump dev.acpi_ibm.0
The paste was taken BEFORE I manually set events = 1.
FWIW, the problem is solved. I will reply with details soon.
More information about the freebsd-mobile
mailing list