Re: ThinkPad X61s functions keys

Dan Langille <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Organization The FreeBSD Diary
Message-ID <[email protected]>
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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.