Re: Powerbook5,6: keyboard's backlight
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jesús,
My PB 5,2 with pbbuttons 0.7.2-1 (Debian/Unstable) works perfect!
I have custom 2.6.14-2 kernel, all the functions keys works, but I have
to press FN + key (for me is naturall to have F1-F12 as normal keys).
For what I can see, you don't have the corrects key codes (unless that
something changes in the newer PBs).
Your pbbutons config is pretty the same as mine, but I have differents
codes en these values:
LCD_IllumUpKey = 225
LCD_IllumDownKey = 224
KBD_IllumUpKey = 230
KBD_IllumDownKey = 229
KBD_IllumOnKey = 228
VolumeUpKey = 115
VolumeDownKey = 114
MuteKey = 113
Regards
Federico
Jesús de Cos Pérez wrote:
> Hello!
>
> I have a powerbook5,6 15" recently bought. Mi message is about keyboard
> backlight ilumination which does not like to work. I have installed
> pbbuttonsd | gtkpbbuttons-gnome | powerprefs. I have the kernel modules
> to run sensors (i2c-dev and some others). When running powerprefs, in
> the "bulb tab", the "keyboard"
> and "Autoadjust" tabs appear in grey (not accesible). How can I do to
> run keyboard's backlight? I read about the daemon lmud but I don't know
> how to get and install it.
>
> Can anybody help me? I enclose my /etc/pbbuttonsd.conf
>
> Regards.
>
> # Configuration file for pbbuttonsd >= version 0.5
> # for options see man pbbuttonsd.conf
>
> [SYSTEM]
> #userallowed = "" ; user who is allowed to use IPC
> autorescan = no ; automatic rescan of event devices
> CmdTimeout = 8 ; timeout in seconds for launched
> scripts, etc.
>
> [MODULE PMAC]
> dev_PMU = "/dev/pmu"
> dev_ADB = "/dev/adb"
> TPModeUpKey = 225 + alt
> TPModeDownKey = 224 + alt
> TPMode = notap ; 'notap', 'tap', 'drag' or 'lock'
> KBDMode = fkeysfirst ; 'fkeyslast' or 'fkeysfirst'
> Batlog = none ; 'none', 'cycle' or 'log'
> NoTapTyping = no ; switch trackpad to 'notap-mode'
> while typing
>
> [MODULE POWERSAVE]
> onAC_Policy = performance ; 'nochange', 'powersave',
> 'custom' or 'performance'
> onAC_TimerAction = none ; 'none', 'suspend-to-ram',
> 'suspend-to-disk' or 'blankscreen'
> onAC_CoverAction = suspend-to-ram ; see TimerAction for possible
> values
> onAC_KeyAction = none ; Action (see TimerAction) for the
> sleepkey
> onAC_SuspendTime = 0
> onAC_DimTime = 0
> onBattery_Policy = powersave ; 'nochange', 'powersave', 'custom'
> or 'performance'
> onBattery_TimerAction = none ; 'none', 'suspend-to-ram',
> 'suspend-to-disk' or 'blankscreen'
> onBattery_CoverAction = suspend-to-ram ; see TimerAction for possible
> values
> onBattery_KeyAction = none ; Action (see TimerAction) for the
> sleepkey
> onBattery_SuspendTime = 0
> onBattery_DimTime = 0
> SleepKey = 116
> SleepKeyDelay = 0 ; values > 0 may be dangerous, if the
> power key is used to trigger sleep
> BWL_first = 22 ; first battery warnlevel, time in minutes
> BWL_second = 10 ; second battery warnlevel, time in
> minutes
> BWL_last = 3 ; last battery warnlevel, time in minutes
> Script_PMCS = "/etc/power/pmcs-pbbuttonsd %s %s %s"
> EmergencyAction = sleep ; action, if battery is critically low
> HeartbeatBeep = no ; beep, if nothing else showed that
> the computer lives
> CPULoad_sleeplock = yes
> CPULoad_min = 20 ; value in percent
> CPULoad_period = 20 ; time in seconds
> NETLoad_sleeplock = yes
> NETLoad_min = 4096 ; traffic in Bytes/s
> NETLoad_period = 20 ; time in seconds
> NETLoad_device = "eth0"
>
> [MODULE DISPLAY]
> LCD_Brightness = 15 ; initial LCD brightness level
> LCD_FadingSpeed = 5 ; 0 = no smooth fading
> LCD_AutoAdjust = yes ; only on Aluminum PowerBooks
> LCD_IllumUpKey = 60 + ctrl
> LCD_IllumDownKey = 59 + ctrl
> LCD_Threshold = 94 ; ambient light threshold in percent
> for backlight autoadj.
> LCD_AutoAdjMin_Bat = 2 ; autoadjustment range parameters
> LCD_AutoAdjMax_Bat = 7
> LCD_AutoAdjMin_AC = 1
> LCD_AutoAdjMax_AC = 15
> KBD_Brightness = 0 ; initial keyboard illumination level
> KBD_OnBrightness = 5 ; initial level if KBD on/off key is
> pressed
> KBD_FadingSpeed = 5 ; 0 = no smooth fading
> KBD_AutoAdjust = yes ; only on Aluminum PowerBooks
> KBD_IllumUpKey = 68 + ctrl
> KBD_IllumDownKey = 67 + ctrl
> KBD_IllumOnKey = 66 + ctrl
> KBD_Threshold = 28 ; ambient light threshold in percent
> for keyboard light autoadj.
> dev_FrameBuffer = "/dev/fb0"
> UseFBBlank = no
> DimFullyDark = yes
> CRT_MirrorKey = 65 + ctrl
>
> [MODULE CDROM]
> dev_CDROM = "/dev/cdrom"
> EjectCDKey = 161
> EjectCDKeyDelay = 0
>
> [MODULE MIXER]
> SoundSystem = ALSA ; 'none', 'auto', 'OSS' or 'ALSA'
> OSS_Device = "/dev/mixer"
> OSS_Channels = "volume, speaker"
> Volume = 68 ; initial volume level
> Speakers_muted = no ; mute after startup?
> VolumeUpKey = 63 + ctrl
> VolumeDownKey = 62 + ctrl
> MuteKey = 61 + ctrl
> MixerInitDelay = no
> ALSA_Card = "default"
> ALSA_Elements = "Master, 'PC Speaker'"
- --
My software never has bugs. | ASCII Ribbon Campaign /"\
It just develops random features. | For Standards-Complaint Email \ /
Public GnuPG key avaible at: http://www.keyserver.net X
1024D/203E154B 2003-10-03 Federico Gamio <federico@gamio.net> / \
Key fingerprint = 0B9E 3A19 C88B EBAC 5422 C05F 76B5 B922 203E 154B
sub 2048g/32D2F465 2003-10-03 - Key ID: 76B5B922203E154B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDbtI3drW5IiA+FUsRArRCAKCOhBY6PDJpJADqUfe+3CUlm5j6WwCdHIkQ
1uisgEujjGDFe5DgyytkIs8=
=TE5S
-----END PGP SIGNATURE-----
Reply to: