1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
|
ChangeLog for pommed
--------------------
version 1.31:
- pommed: add IDs for newer wireless keyboard.
- pommed: add the MacBookPro5,4 (15" June 2009).
version 1.30:
- pommed: fix a crasher in the i2c probe routine on pmac.
- pommed: fix sysfs backlight driver to handle > 3-digit values.
version 1.29:
- pommed: add support for newer nvidia backlight driver which
changed the sysfs layout.
- pommed: move VT state checking to pommed, exposed over DBus.
- gpomme: switch to asking pommed for the state of the VT.
- wmpomme: switch to asking pommed for the state of the VT.
version 1.28:
- pommed: added support for the MacBookPro5,3 (15" MacBookPro
June 2009)
version 1.27:
- pommed: added support for the MacBook5,2 (white MacBook).
- pommed: added support for the MacBookPro5,5 (13" MacBookPro June
2009), MacBookPro5,2 (17" MacBookPro June 2009).
version 1.26:
- pommed: only keystrokes on the built-in keyboard should reset
the keyboard idle timer.
- pommed: add USB IDs for the Apple external aluminium mini
keyboard.
- pommed: switch to sysfs resource files for PCI memory access
instead of mmaping /dev/mem.
version 1.25:
- pommed: check current hardware backlight level before setting AC
or battery level. Do not act if the backlight is off.
- pommed: do not reject the Apple Bluetooth keyboard because of
advertised EV_ABS events.
- pommed: fix DBus configuration snippet for newer, stricter
version of DBus (allow clients to send messages).
version 1.24:
- pommed: add new path for fnmode setting for 2.6.28.
version 1.23:
- pommed: add backlight support for late 2008 laptops.
- pommed: default to sysfs backlight driver for nVidia machines,
with the mbp_nvidia_bl kernel driver; fall back to native
nv8600mgt if not supported.
- pommed: try to reconnect to DBus if DBus is not available at
startup. Previously we would just drop it and live without DBus.
version 1.22:
- pommed: do not probe for LMU controller on pmac machines that do
not have a backlit keyboard. Avoids a spurious error message.
- pommed: factor out ADB & LMU write routines, avoids duplicated
code in the kbd_{lmu,pmu}_backlight_set() routines.
- gpomme: add japanese translation for gpomme, courtesy of
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>.
- pommed: use a common sysfs power class routine in power.c, add
sysfs power class support for pmac machines.
- pommed: added partial support for the October 2008 laptops
(MacBook5,1, MacBookPro5,1, MacBookAir2,1), LCD backlight missing.
- wmpomme: turn wmpomme into an event-driven dockapp, eliminating
the fixed update rate (and, thus, wakeups). Thanks to Kalle
A. Sandström for the prodding.
version 1.21:
- gpomme: use compositing if available, patch by Soeren Sonnenburg.
version 1.20:
- pommed: fix array boundary check in check_machine_dmi().
- pommed: use BUS_BLUETOOTH for the Apple wireless keyboard.
version 1.19:
- pommed: get rid of the libsmbios dependency on Intel machines.
- gpomme: integrate config file monitoring and DBus messaging into
the main loop. Get rid of the 10 times per second polling.
- pommed: new event loop.
- pommed: convert power and kbd to timers integrated into the
event loop.
- pommed: integrate DBus into the event loop.
version 1.18:
- pommed: add more IDs for Apple external keyboards
- pommed: relax event devices identification for internal keyboard.
version 1.17:
- pommed: handle path change for the applesmc led interface
starting with kernel 2.6.25.
version 1.16:
- pommed: add support for the MacBookPro4,1.
- pommed: add support for the MacBook4,1.
- pommed: add support for the WellSpring keyboard+trackpad
assembly ("MultiTouch"), found in the MacBookAir1,1.
- pommed: add support for the WellSpring II keyboard+trackpad
assembly ("MultiTouch"), most likely found in the MacBookPro4,1.
- pommed: fix MacBook Air machine identification string, the real
string is MacBookAir1,1 and not MacBook Air1,1 as the Apple
technote puts it.
version 1.15:
- pommed: add preliminary support for the MacBook Air1,1; USB IDs
missing.
- pommed: add support for power_supply class to the ACPI code.
version 1.14:
- pommed: fix error handling in the audio sample loading code to
properly report failure, preventing nasty segfaults later on in
case the sound file is not available.
- pommed: make goutte.wav the default beep sound, add click.wav
and remove the KDE beep sound.
version 1.13:
- pommed: add an option to disable the beep on volume change.
- pommed: add the videoSwitch DBus notification.
- wmpomme: add video switch support.
- gpomme: add video switch support.
- pommed: add support for LCD backlight control on the Intel 965GM
found in the MacBook3,1.
- pommed: rework the inotify code to handle several events at once
and to handle events with long filenames (longer than
sizeof(struct inotify_event)); pommed could enter a busy-loop when
receiving an inotify event with ie->len > sizeof(struct inotify_event).
version 1.12:
- pommed: do not expect at least 3 evdevs at startup; there are
only 2 on the MacBook, and possibly only 1 on the pmac machines.
version 1.11:
- pommed: beep on volume change, now that we have the audio code
in pommed itself.
- gpomme: remove audio-related code.
- pommed: partial support (ie. no LCD backlight yet) for the
MacBook3,1 (MacBook Core2 Duo Santa Rosa, November 2007).
- pommed: rework the event management. Use epoll() for event
polling instead of poll(). Use inotify to watch new event devices
appear in /dev/input. This effectively fixes our disappearing
event devices issues after suspend. YAY.
- pommed: add support for the external Apple USB keyboards, white
& alu. If you have such a keyboard with another USB ID, please
contact me. Patch from Carmine 'earcar' Paolino <earcar@gmail.com>.
- pommed: add secondary locations for the uinput device
node. Heads up & patch from Carmine 'earcar' Paolino.
version 1.10:
- pommed: add a beeper feature as a substitute to the missing PC
Speaker. The feature is disabled by default, as not all machines
need it and not everybody wants it ;)
version 1.9:
- pommed: add an idle timer to automatically switch off the
keyboard backlight. Suggested by Javier Marcet.
- pommed: turn has_kbd_backlight() into an inline function.
- pommed: kill code duplication in the main loop.
version 1.8:
- pommed: probe for the applesmc sysfs path in the ambient light
handling code. The path has changed in Linux 2.6.22.
- pommed: added automatic LCD backlight dimming when switching
from AC to battery power (and vice-versa).
- pommed: send out DBus notification when the automatic LCD
backlight dimming kicks in (similar to the automatic keyboard
backlight notification).
- gpomme: adjust for the new LCD backlight notification.
- Add the gpomme icon contributed by Jan Larres
<jan@majutsushi.net> under the icons/ directory.
- pommed: add support for the nVidia GeForce 8600M GT found in the
MacBookPro3,1. I don't like that code, if there's something better
that can be used, please mail me.
version 1.7:
- pommed: add partial support for the MacBookPro3,1 (Core2 Duo,
15" & 17", June 2007). New Apple IR receiver too. Missing nVidia
backlight control.
version 1.6:
- pommed: add new "Apple Inc." vendor ID in SMBIOS routine.
version 1.5:
- pommed: back to using eject(1) for CD ejection.
- pommed: fallback to of_find_node_by_name() for LMU controller
detection; it seems some PowerBooks (5,4) do not have a node type
associated with the node in the device-tree.
version 1.4:
- pommed: add proper support for the PowerBook5,8 and PowerBook5,9
(PMU05 machines); add Geyser keyboard identification, PMU05
ambient light sensors and keyboard backlight. Thanks Gaudenz
Steilin for the report and testing.
- pommed: added a simple backlight toggle mode, used when the
automatic backlight is disabled in the configuration file.
- pommed: enumerate i2c adapters.
version 1.3:
- gpomme: added configuration GUI, courtesy of Daniel G. SIEGEL.
- gpomme: added elegant-bright and elegant-dark themes, courtesy
of Natanael Arndt <arndtn@gmx.de>.
- pommed: rewrote CD ejection routine; no longer depends on eject,
sends the dbus notification before ejecting the CD.
- pommed: add DBus methods to control pommed over DBus. Original
patch by Alexis ROBERT <alexis@fnux.org>.
- pommed: add keyboard backlight fading for automatic keyboard
backlight. Based on a patch from Mario Oschwald
<mario.oschwald@hpi.uni-potsdam.de>.
- pommed: try harder to reopen the event devices when coming back
from suspend.
version 1.2:
- pommed: PowerBook5,5 has an ADB keyboard, not a USB keyboard.
- Added October 2003 iBook G4 support (PowerBook6,3), patch by
Arthur PETITPIERRE.
- pommed: tell DBus clients who is adjusting the keyboard
backlight, so they can decide to skip the notification if it's not
the user itself.
- gpomme: adapt to the new DBus notification.
- wmpomme: adapt to the new DBus notification.
- pommed: added support for nVidia GPUs.
- pommed: added support for mouseemu users (mouseemu virtual
keyboard)
- pommed: rework keyboard backlight automatic mode, the backlight
off key now works as a toggle for the automatic mode, as it does
on Mac OS X
- pommed: turn off keyboard backlight when lid is closed
- pommed: added UNTESTED support for
+ PowerBook3,3: PowerBook G4 Titanium 15" October 2001
+ PowerBook3,4: PowerBook G4 Titanium 15" April 2002
+ PowerBook3,5: PowerBook G4 Titanium 15"
+ PowerBook5,1: PowerBook G4 Aluminium 17"
+ PowerBook5,2: PowerBook G4 Aluminium 15" September 2003
+ PowerBook5,3: PowerBook G4 Aluminium 17" September 2003
+ PowerBook5,4: PowerBook G4 Aluminium 15" April 2004
+ PowerBook5,8: PowerBook G4 Aluminium 15"
+ PowerBook5,9: PowerBook G4 Aluminium 17"
+ PowerBook6,1: PowerBook G4 12" January 2003
+ PowerBook6,2: PowerBook G4 12" September 2003
+ PowerBook6,3: iBook G4 October 2003
+ PowerBook6,4: PowerBook G4 12" April 2004
+ PowerBook6,5: iBook G4 October 2004
+ PowerBook6,7: iBook G4
+ PowerBook6,8: PowerBook G4 12"
If you own one of the machines listed above, please test pommed by
running pommed -d and tell us:
- if it works at all
- if, not running either pommed or pbbuttonsd, pressing the
backlight up/down keys makes the backlight level change
Please send the debug output along with these information; we know
that pommed won't work out of the box on some of these machines.
version 1.1:
- gpomme: added theme selection; use -t theme_name to select the
theme to use.
- gpomme: added the Tango theme provided by Daniel G. Siegel.
- gpomme: added multiple head support, based on a patch by Eduardo
Bellido Bellido.
version 1.0:
- Renamed to pommed in anticipation of the PowerBook support
- Added fnmode setting
- Added DBus support: signals and get methods
- Add -d option to pommed, displays debug messages (replaces -DDEBUG)
version 0.9:
- Added preliminary audio support: increase and decrease PCM, mute and
unmute both Headphone and Front
- Allow disabling the initial backlight level setting
version 0.8:
- wait for both light sensors to be under the threshold before
lighting up the keyboard backlight; switch it off as soon as one
of the sensors gets past the threshold.
- added a configuration file
- added optional Apple Remote control support
version 0.7:
- allow MacBook users to switch off the LCD backlight entirely
- fix model identifier string for the Core2 Duo MacBook
|