a67a
![]() |
|
|
|
|
|||||||
| Mobile Computing This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
A problem I encountered when configuring FreeBSD 8.2 on my Thinkpad X61 is the configuration of extra keys like volume up/down, mute and backlight up/down. So far, I figured that volume up/down and the various multimedia keys are handled by ACPI/Kernel?/X11? directly since they are available for example in xev as XF86VolumeUp etc. Strangely enough, the mute key representation is nowhere to be found but seems to trigger an ACPI event nevertheless (dev.acpi_ibm.0.mute is changed when pressing). Trying to make use of other keys light backlight up, I followed the acpi_ibm documentation closely. The module is loaded at boot and the event mask is set properly. I have set up /etc/devd.conf as follows: Code:
notify 10 {
match "system" "ACPI";
match "subsystem" "IBM";
action "/home/me/print.sh $notify";
};
Code:
echo "$1" >> foo.txt xbacklight -10 xbacklight -10 command is ignored. When omitting the echo line xbacklight is ignored as well. I also tried executing a different shell script (again echoing some string) which works. It only doesn't seem to accept my xbacklight -10 :|And even funnier: it all works when restarting devd or starting it in debug mode without changing anything else at all. Any ideas? Thanks a lot!
Last edited by DutchDaemon; May 16th, 2011 at 01:29. Reason: re-read: proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#2
|
||||
|
||||
|
|
|
#3
|
|||
|
|||
|
Ah, setting DISPLAY fixed it. Thanks!
Now if I only could get some event from the mute button, but I think this is a driver or hardware issue. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to make devd automount USB storage devices? | irkkaaja | Peripheral Hardware | 6 | April 11th, 2011 16:57 |
| [Solved] devd and da* devices | manefesto | Peripheral Hardware | 4 | February 21st, 2011 05:52 |
| 8.0 snd_hda & ACPI on my thinkpad SL400 ! | miniqq | Mobile Computing | 1 | January 15th, 2010 16:24 |
| ThinkPad: problems with HAL | w1k0 | Mobile Computing | 9 | October 30th, 2009 22:11 |
| 7.2 on Thinkpad w500? | cipher | Mobile Computing | 5 | June 2nd, 2009 13:24 |