
CHANGELOG
==========

2006-10-01  0.7.9    (public release)
	* class backlight will always succeed, even if there is no
	  backlight controller available.
	* PMU backlight driver checks for availibility now.

2006-09-30  0.7.8-6
	* added chapter about pbbuttonsd's capabilities in man page
	* set debug.h back to default

2006-09-29  0.7.8-5
	* ATTENTION: Configuration changed:
	  The options LCD_FadingSpeed and KBD_FadingSpeed got a new
	  meaning to make the configuration device independent. See
	  man pages pbbuttonsd.conf.5 or pbbcmd.1 for details.
	* fix a bug in the pbbcmd man page. The decription of
	  TAG_KBDMODE was outdated.
	* man pages updated.
	* german locale updated
	* TAG_SYSINFO got two new machine dependent flags:
	    SYSINFO_PB_USB_KBD  - machine has an USB keyboard
		SYSINFO_PB_USB_TPAD - machine has an USB trackpad
	  This flags are only available on PowerBooks/iBooks and
	  control certain elements in PowerPrefs.

2006-09-28  0.7.8-4
    * SysFS backlight interface suported with kernel >= 2.6.18
	* new class backlight: It got two low level backlight driver:
	  sysfs and pmu with autodetection.
	  If the Sysfs driver should be used it is recommended to
	  compile the kernel without CONFIG_PMAC_BACKLIGHT_LEGACY to
	  prevent interferences between ancient kernel code and the new
	  sysfs interface.
	* ATTENTION: The client interface has changed:
	  The following tags use values in percent now instead of the
	  device dependent physical value:
	       TAG_LCDBRIGHTNESS
	       TAG_KBDBRIGHTNESS
	       TAG_KBDONBRIGHTNESS
	  The following tags are deprecated and shouldn't be used any
	  longer:
	       TAG_LCDBRIGHTNESSMAX
	       TAG_KBDBRIGHTNESSMAX
	  Clients have to be adapted to this changes. It is recommended
	  to use new versions of GTKPbbuttons and PowerPrefs with this
	  release.
	* ATTENTION: The change of the client interface has also an impact
	  on the configuration file. According to the tags above following
	  configuration options use percent values now:
	       LCD_Brightness
		   KBD_Brightness

2006-09-23  0.7.8-3
	* set default status of option UseFBBlank to 'no' because it
	  might collide with the backlight controll in recent kernels
	  the man page pbbuttonsd.conf was updated accordingly.
	* rewind input handler change from 2006-07-30 because the
	  code doesn't do the trick.

2006-09-06  0.7.8-2
	* disabling optional packages often didn't unbound all
	  dependencies. For example after disabling IBAM pbbuttonsd
	  will still be compiled with libstdc++ even if it is not
	  needed any longer. The compile scripts have been modified
	  to handle this cleanly. Thanks to Luca Barbato
	  <lu_zero@gentoo.org> for his patch.
	* configure.in cleaned up

2006-09-05  0.7.8-1
	* laptopmode script parses fstab correctly now, even if it
	  contains tabs instead of spaces. Thanks to S. Lockwood-Childs
	  <wormo@gentoo.org> who found this patch in the gentoo
	  bugtracker.
	* fix warnings reported by -Wextra

2006-07-31  0.7.8   (public release)

2006-07-30  0.7.7-1
	* adding input handler for /dev/input/mice to work around the
	  problem with synaptics trackpad driver.
	* fixing problem with unstable autoconf package

2006-07-29  0.7.7   (public release)

2006-07-28  0.7.6-4
	* code cleanups

2006-07-22  0.7.6-3
	* I2C address of LMU Controller is dynamically read from OF
	  device-tree
	* The I2C device the LMU controller is connected to is retrieved
	  with sysfs. Therefore kernel 2.6 is needed and the i2c-dev kernel
	  module must be loaded for this to work.
	* remove some warnings from the code

2006-07-21  0.7.6-2
	* machine identification improved. Any PowerBook or iBook model 
	  will be precisely identified.
	* machine identification is read now from /proc/device-tree/model
	  instead of /proc/cpuinfo.
	* got rid of i2c-dev.h. Only I2C_SLAVE was used. This value is
	  now defined in module_pmac.h

2006-07-16  0.7.6-1
	* division by zero error fixed in power_read_cpu(). Thanks to Ren
	  Nussbaumer <pbbuttonsd@killerfox.forkbomb.ch>.

2006-07-02  0.7.6   (public release)
	* increase KBD_BRIGHTNESS_MIN from 1 to 16 in respect of the new
	  scale. Man page changed accordingly.

2006-06-30  0.7.5-6
	* the static 10ms timer has been removed. The timer function will
	  be dynamically created whenever it is needed and only for the
	  time it is needed. This will permanently decrease context
	  switches independent of configuration.
	* Despite of runing on bash only the script 'autogen.sh'
	  referenced '/bin/sh' - fixed.
	* change keyboard illumination to use 255 brightness steps during
	  fading. keyboard up/down still uses 16 steps.
	  Thanks to Paul Collins <paul@briny.ondioline.org>.

2006-06-17  0.7.5-5
	* moved low priority request functions in module_pmac.c like read
	  battery status, read AC status and read Cover status into an one
	  second timer routine. (debian bug #372760)
	* increase poll interval of IPC messages from 10ms to 100ms
	* module_display will only register a 10ms task if fading (LCD or
	  KBD) is configured (fadingspeed > 0). Otherwise it will register
	  a 100ms task.
	* The 10ms queue will terminate itself if it was found empty.
	  This will decrease the count of context switches.
	  (debian bug #372760)

2006-05-20  0.7.5-4
	* Powerbooks before Pismo still weren't detected correctly
	  because the field 'machine' from /proc/cpuinfo was used.
	  This was changed to 'motherboard' and now it works.

2006-05-17  0.7.5-3
	* bug in alsamixer caused a segfault - fixed. Reported to ubuntu.
	  Thanks to John Steele Scott <toojays@toojays.net>, who reported
	  it to me :-)

2006-05-14  0.7.5-2
	* bug in machine detection routine. PowerBooks before Pismo weren't
	  detected correctly - fixed.
	* fix some warnings in module_pmac.c: keyboard_getconfig(),
	  keyboard_setconfig()
	* added some debug code to track pbbuttonsd communication with the
	  PMU in /var/log/pbbuttonsd. Set PMUTALK in debug.h to activate

2006-04-26  0.7.5-1
	* PowerBook 6,7 has a USB Trackpad which was not correctly reported
	  by pbbuttonsd - fixed.

2006-04-02  0.7.5   (public release)
	* default value for LCD_FadingSpeed in config file changed from 5 to
	  4 to make fading smoother.

2006-03-23  0.7.4-2
	* SIMUABIENT code was broken - fixed
	* added sync() before calling any suspend mode. (debian bug #357595)
	* allow the user to dim the display until it's dark (brightness
	  level zero) even if autoadjusting is active. The former minimum
	  level was one. (debian bug #345314)

2006-03-20  0.7.4-1
	* the vendor and product identifier from USB devices are not unique
	  so that selecting input devices based on product/vendor will miss
	  some devices. The code has been changed to use the device identifier
	  instead.

2006-01-27  0.7.4  (public release)

2006-01-22  0.7.3-7g
	* fixed two minor bugs in module_pmac.c regarding USB keyboard
	  configuration - Thanks to Michael Hanselmann <lists-debian@hansmi.ch>

2006-01-21  0.7.3-6g   (public beta)
	* added keyboard configuration of PowerBook USB keyboard. Needs
	  kernel 2.6.16 or later.

2006-01-17  0.7.3-5g   (public beta)
	* some small fixes regarding LMU
	* add Alluminum PowerBook to identity string

2006-01-16  0.7.3-4g
	* add support for ambient sensor and keyboard illumination
	  connected to the PMU. Thanks to Ren Nussbaumer and Michael
	  Hanselmann <linux-kernel@hansmi.ch> for their code.

2006-01-08  0.7.3-3g
	* add test for glib into configure.in
	* pbbuttonsd mainloop ported to glib mainloop
	* rewrite input source handling to fit into glib mainloop
	* rewrite signal handling to fit into glib main loop

2006-01-05  0.7.3.2
	* bugfix in apm-compat script

2006-01-03  0.7.3-1
	* new tag added: TAG_CHARGETIME
	  this tag would deliver the time until the batteries are
	  fully recharged, if IBaM support was compiled in.

2005-12-23 0.7.3     (public release)
	* compile with ibam by default
	* man page updated, typo's corrected

2005-12-18  0.7.2-10
	* removed bug in module_pmac.c that would trigger sleep again
	  immediately after wake-up under certain circumstances.
	  Thanks to Stefan Bruda <bruda@cs.ubishops.ca> for reporting
	  this problem.

2005-12-13  0.7.2-9
	* install script creates data directory for IBaM 
	* man pages revised

2005-12-05  0.7.2-8
	* typo's in man-paged fixed

2005-12-02  0.7.3beta1   (public beta)
	* small data type fixes in IBAM code
	* man-page updated

2005-12-01  0.7.2-7
	* libpbbipc: API of check_permissions() extended by required permissions
	* incomplete error handling in copy_path() - fixed
	* ibam stub won't create IBAM object at startup. Module_powersave will
	  initialize it by calling ibam_init()
	* IBAM: object constructor gets the data path as argument now. The file
	  operations regarding the data path have been removed.
	* IBAM: internal define VERSION renamed to IBAM_VERSION because the
	  former name collide with autotools
	* IBAM: internal define DEBUG renamed to IBAM_DEBUG to be able to
	  control IBAM debugging through pbbuttons debugging mechanisms
	* new configuration option 'IBAM_DataDir' added
	* new TAG_IBAMDATADIR added
	* IBAM: locale settings removed so that data files become locale
	  sensitive.
	* default value for CmdTimeout increased from 4 to 8 seconds
	* apm-compat script: Fix arguments on calling apm scripts on resume.
	* man pages updated
	* default of option 'autorescan' changed to 'yes' in config file

2005-11-28  0.7.2-6
	* documentation and man-page updated with IBAM

2005-11-18  0.7.2-5
	* added SYSINFO flag for IBAM

2005-11-17  0.7.2-4
	* spell error in conditional compile expression - fixed
	* timeremaining could be uninitialized after startup which
	  leads to immediately entering sleep mode - fixed

2005-11-16  0.7.2-3
	* move TAG_TIMEREMAINING to module_powersave if compiled with
	  IBAM support
	* add some more #ifdef for IBAM in module_pmac.c

2005-11-15  0.7.2-2
	* IBAM: Time = 0 must not be filtered out.

2005-11-13  0.7.2-1
	* IBAM integrated in module_poversave.c. Support must be enabled
	  at compile time with --with-ibam
	* sync display brightness with external after wakeup. Some user
	  reported that the display was at minimum brightness after wakeup.

2005-10-04  0.7.2  (public release)

2005-10-01  0.7.1-7
	* new action 'shutdown' completed, scripts modified accordingly
	* CFLAGS filter removed from configure.in and Makefile.am. Thanks
	  to Frank Lichtenheld for his report
	* runlevel check in module_powersave added. Pbbuttonsd will
	  not suspend the machine if a shutdown or reboot is in progress
	  (runlevel 0 or 6). Thanks to Kristian Benoit <kbenoit@opersys.com>
	  for his patch.
	* source cleanup in module_powersave.h

2005-09-13  0.7.1-6
	* implementation of new action "shutdown" started.

2005-09-06  0.7.1-5
	* Code reorganized to prevent the left mouse button key event from
	  breaking 'NoTapTyping' but reset the dim or sleep timer.
	* power source change during the cover is closed will follow the
	  configured power profile (onX_CoverAction) now.
	  (debian bug #306482)

2005-09-04  0.7.1-4
	* memory leaks fixed in module_alsamixer: snd_mixer_free() replaced
	  by snd_mixer_close().
	* add command HIBERNATE to pbbuttonsd and pbbcmd. This applies a
	  patch ubuntu maintainers have sent to debian. (debian bug #329369)
	* man pages updated.

2005-09-01  0.7.1-3
	* module_mixer would return an error if the configured sound system
	  couldn't be initialized. Now the sound system will be disabled but
	  the daemon won't abort anymore. (debian bug #325309 and #321631)

2005-08-27  0.7.1-2
	* module_cdrom: getmountpoint() terminates the wrong buffer - fixed
	* module_cdrom: Still problems with relative links - fixed. Thanks
	  to Johannes Berg <johannes@sipsolutions.net> for his report and
	  patch.
	* module_alsamixer: non-allocated memory freed - fixed
	* valgrind memcheck:
	  - uninitialized ioctl parameter in scanEventDevices() - fixed
	  - source and destination string of strncpy() might have overlapped
	    under certain circumstances - fixed.
	  - complains about some issues in libasound.so.2.0.0. Can't do
	    anything about this :-(.
	  - memory leak in module_alsamixer. snd_mixer_detach() wasn't
	    called - fixed.

2005-08-09  0.7.1-1
	* Check also device class to find trackpad device to prevent
	  conflict with appletouch USB driver. Thanks to Luca Bigliardi
	  <shammash@artha.org> for the patch.
	* Absolute position events will reset sleep and dim timer of
	  powermanagement module now. This is needed to support
	  the appletouch USB trackpad driver.

2005-07-18  0.7.1  (public release)

2005-07-17  0.7.0-4
	* If the sound card supported more than 100 volume levels, the
	  new volume fine tuning would not work - fixed

2005-07-15  0.7.0-3
	* change volume control: volume up/down change volume always
	  by 10% (hardware independent), shift + volume up/down change
	  volume by 1 step (hardware dependent).

2005-07-11  0.7.0-2
	* module_cdrom can't find the mountpoint if the link to the device
	  is a relative link - fixed.
	* readlink buffer not correctly terminated - fixed.

2005-07-10  0.7.0-1
	* event scripts redefine PATH which makes trouble with the definition
	  in the PMCS master script. PATH definitions removed.

2005-07-10  0.7.0  (public release)

2005-07-04  0.7.0beta2-2
	* catalan catalog updated. Thanks to Oriol Pellicer <oriol@elsud.org>
	* added mouseemu comment to NoTapTyping option in pbbuttonsd.conf.5
	  man page

2005-07-03  0.7.0beta2-1
	* volume of alsamixer can't be set correctly with TAG_VOLUME - fixed
	  Thanks to Elimar Riesebieter <riesebie@lxtec.de> for his report.

2005-07-01  0.7.0beta2   (public bets)
	* check for ADB keyboard and trackpad added. Configuration of
	  the trackpad and/or keyboard is now restricted to PowerBooks
	  which have an ADB trackpad and/or ADB keyboard.
	* Trackpad tap will be disabled at first key press and enabled
	  again at first mouse movement. No changes inbetween. This
	  reduces ADB messages significantly.
	* spanish language file updated. Thanks to Rudy Godoy
	  <rudy@kernel-panik.org>
	* pbbcmd man page updated

2005-06-26  0.7.0beta1   (public beta)
	* reorganize debugging code in module_cdrom
	* add some comments to module_cdrom's functions
	* reorganize debugging code in module_pmac
	* add some comments to module_pmac
	* pbbcmd: pseudo 'cmd' removed.
	* pbbcmd: missing parameter checks added.
	* german translation file updated
	* pbbcmd man page updated

2005-06-24  0.6.10-7
	* support for pbbuttonsd commands added to pbbcmd
	* pbbcmd now can print a list of clients
	* man pages updated
	* default for NoTapTyping set to 'no' due to freeze problems
	  on some machines.

2005-06-23  0.6.10-6
	* alsamixer unmute didn't work - fixed
	* alsamixer code cleanup
	* some comments in module_pmac updated

2005-06-21  0.6.10-5
	* buffer overflow in input handler management. buffer
	  functions will handle completely filled buffers
	  correctly. Furthermore the maximun count of input
	  devices has been increased.

2005-06-19  0.6.10-4
	* the mountpoint is found in both directions now.
	  For example: dev_cdrom = /dev/cdrom
 	               /dev/cdrom is a link to /dev/hdc
	               /dev/hdc is mounted
	  or
	               dev_cdrom = /dev/hdc
	               /dev/cdrom is a link to /dev/hdc
	               /dev/cdrom is mounted

2005-06-18  0.6.10-3
	* If the configured CDROM device is a link to another
	  device and the CDROM is mounted trough this other
	  device, pbbuttonsd couldn't eject the CDROM.
	  This is fixed now because both devices are checked.
	* typo's in german language file corrected, thanks
	  to Jens Seidel <jensseidel@users.sf.net> for his
	  patch.

2005-06-17  0.6.10-2
	* FBIOBLANK argument changed to highest vesa mode. New
	  framebuffers support different modes with different
	  impact on power consumption.

2005-06-10  0.6.10-1
	* error in if statement in display module. It will
	  never become true - fixed.
	* If user requested ACTION_BLANK on cover close this
	  request would be sent twice - fixed.

2005-05-26  0.6.10   (public release)

2005-05-23  0.6.9-5  (public beta)
	* some code and documentation cleanup

2005-05-21  0.6.9-4
	* filter BTN_LEFT as key event because it breaks
	  'NoTapTyping'. Problem with trackpad fixed.

2005-05-20  0.6.9-3  (public beta)
	* Tags TAG_MOUSEBUTTONS and TAG_MOUSEWHEEL removed
	* scan_for_kdbdevs() replaced by scanEventDevices()
	  which will scan for all event devices, not only for
	  keyboards.
	* New event input handler replacing the special input
	  handlers for mouse and keyboard.
	* input handler return an error code now. If the input
	  handler belong to an event device, this device will
	  be disabled and scanEventDevices () is called.
	  If the input handler belong to any other source, the
	  daemon will quit due to a FATAL error.
	* evdev kernel module is no longer loaded if missing.
	  The system must be set up accordingly before starting
	  the daemon.

2005-04-27  0.6.9-2
	* a pseudo keycode will be emitted if an power button
	  interrupt is received. This is important for new
	  aluminum powerbooks until the kernel supports the
	  power button natively.

2005-04-13  0.6.9-1
	* some error messages in module_alsamixer added
	* E_NOSUPPORT won't exit the program anymore

2005-04-06  0.6.9   (public release)

2005-04-05  0.6.8-3
	* explain keycodes in man-page.
	  This closed debian bug #280211

2005-04-04  0.6.8-2
	* pmcs script bdflush logs a message if an external
	  laptop-mode script is active.
	* errors during program initialisation didn't lead to program
	  abortion - fixed
	* error messages uses more syslog levels for reporting (LOG_ERR,
	  LOG_WARNING and LOG_INFO) instead of using only LOG_ERR.
	* Even if started as daemon error messages will be printed to
	  stderr as long as the parent process recognises them. Warnings
	  and info messages will be redirected into syslog as soon as
	  the \'-d\' is detected in the command line arguments. 
	  This closes debian bug #188317
	* language files updated

2005-04-01  0.6.8-1
	* TAG_CLIENTPID added. The server recorded the client pid for
	  internal use. Recommendation: Recompile all clients.
	* trackpad configurations has been downgraded from secure to
	  normal function.
	* trackpad reconfiguration takes also place now when a key is
	  constantly pressed (key repeatition function)
	* trackpad disable time decreased to 600 ms again.
	* script bdflush updated so that it look for a global laptop-
	  mode script first before using the private one. This script
	  is depreciated now and might be removed in future releases
	  including the local copy of laptopmode.sh.
	  This closes debian bug #290766
	* a native pbbuttonsd script for laptop-mode-tools has been
	  sent to the package maintainer of laptop-mode-tools.
	  It will enter pbbuttonsd's CVS but never become part of
	  a distribution package.
	* added current directory to PATH in pmcs-pbbuttonsd to make it
	  work with other shells than bash too. Thanks to Jrg Sommer
	  <joerg@alea.gnuu.de> for his patch.
	  This closes debian bug #295178.

2005-03-24  0.6.8   (public release)
	* keyboard scanner tested for EV_REP but some new button
	  devices haven't this flag set and therefore aren't detected.
	  To exclude pointing devices the keyboard scanner tests now
	  for EV_KEY && !EV_REL to detect keyboards.

2005-03-22  0.6.7-9
	* client list extended with name and flags. If a client wants to
	  register it must provide a name and optional additional flags.

	  ! Please pay attention to the changed ipc_init() interface. !
	  ! Clients linked with an old libpbb will work as usual but  !
	  ! you should move to the extended interface with your next  !
	  ! release. Future extensions will depend on the extra data. !

	* libpbb IPC: servertags evaluation moved behind taglist processing.
	  This has the advantage that strings in taglists provided with
	  server action like register and unregister clients would be 
	  correctly relocated.
	* trackpad enable (notap) time increased to 0.8 seconds
	* registerflags CLIENT_EXCLUSIVE and CLIENT_REPLACEMENT added.
	  With CLIENT_EXCLUSIVE only one client instance is allowed.
	  Additional registrations will be rejected.
	  With CLIENT_REPLACEMENT only one client instance is allowed too,
	  but this time the existing instance will be closed and replaced
	  by the new one.

2005-03-21  0.6.7-8
	* list code moved to libpbb
	* static client array replaced by dynamic client list. Client count
	  isn't limited anymore.
	* documentation updated

2005-03-20  0.6.7-7
	* returned channels from ossmixer were filtered by supported channels
	  which leads to wrong channels if the mixer module is not active.
	  Solution: Mixer will always return user setting now even the mixer
	            doesn't support the named channels.
	* automatic mixer detection fail if only one or no mixer module is
	  compiled in - fixed
	* language files updated

2005-03-19  0.6.8beta1   (public beta)

2005-03-17  0.6.7-6
	* improved error reporting in various modules
	* error in open functions of alsamixer and ossmixer - fixed
	* Following depreciated tags have been removed and won't be
	  supported any longer: TAG_ONACPOLICY, TAG_ONACSLEEP,
	  TAG_ONACCOVERSLEEP, TAG_ONACTIMESLEEP, TAG_ONACTIMEDIM,
	  TAG_ONBATTERYPOLICY, TAG_ONBATTERYSLEEP, TAG_ONACDIM,
	  TAG_ONBATTERYCOVERSLEEP, TAG_ONBATTERYTIMESLEEP,
	  TAG_ONBATTERYTIMEDIM, TAG_ONBATTERYTIMEHDOFF, TAG_ONBATTERYDIM,
	  TAG_ONBATTERYBLANK, TAG_ONACTIMEHDOFF, TAG_ONACBLANK,
	  TAG_SCRIPTBATCRITICAL, TAG_SCRIPTPROFCHANGED, TAG_SCRIPTHDSETUP,

	  ! If you use this tags in your program please change !
	  ! it and use the appropriate replacement tags.       !

	* added soundsystem autodetection code

2005-03-16  0.6.7-5
	* all modules adapted to the config manager. Old configfile
	  mechanism removed.
	* obsolete configuration file options removed. Old configuration
	  files can't be used anymore.
	* new configuration options for ALSA and OSS specific options.
	
	  ! Please update your configuration file to the new options. !
	  ! Some OSS related options have been renamed.               !
	  
	* changed module initialization sequence: init - open - configure.
	* the mixer modules keep module specific configration options even
	  the module is not active. This removes a bug from the BUGS file.
	* error reporting of module_cdrom improved
	* new command line option --quiet to suppress the welcome message
	* made trackpad reconfiguration while typing configurable. The
	  tag TAG_NOTAPTYPING controls this feature.

2005-03-13  0.6.7-4
	* introduce new config manager as replacement for configfile
	* dynamic handling of configuration options. Options will be
	  registered by the modules now.

2005-03-06  0.6.7-3
	* LMU device detection code returns wrong device number if
	  it is below 4 - fixed. Thanks to Mark Ferry <gnomeza@imap.cc>
	* trackpad reconfigured to 'notap' while typing (feature request
	  from debian powerpc mailinglist). Mode will be restored 0.6
	  seconds after last key stroke. Function is not configurable yet.
	* trackpad mode has been lost after sleep - fixed

2005-02-05  0.6.7-2
	* file descriptor leak in module_display - fixed. Thanks to
	  Andreas Schwab <schwab@suse.de> for his patch.

2005-02-03  0.6.7a  (bugfix release)

2005-02-02  0.6.7-1
	* saveconfig command causes segfault - fixed
	* exitcode of alsamixer module causes segfault - fixed
	* module peep causes segfault in debug mode - fixed
	* module_mixer added as base for specialized OSS and ALSA
	  mixer modules

2005-01-25  0.6.7   (public release)

2005-01-21  0.6.6-8
	* alsamixer module revised. Thanks to John Steele Scott.
	* new tag TAG_MIXERCARD and configuration option MixerCard
	  to support the alsamixer module
	* man-pages updated

2005-01-02  0.6.6-7
	* seqfault in pbbcmd if string information was queried - fixed
	* if the display was dimmed and the first key pressed was the
	  brightness up/down key the brightness level wouldn't recover
	  correctly - fixed.

2004-12-12  0.6.6-6
	* add soundsystem flags to TAG_SYSINFO
	* added query for the currently active soundsystem
	* added tag TAG_SOUNDSYSTEM to query active soundsystem
	* added tag TAG_SOUNDSYSTEMCFG to configure soundsystem. This
	  configuration becomes active only after saving the configuration
	  and restarting the server.

2004-12-10  0.6.6-5
	* module_display checks current level of LCD brightness now before
	  modifying it and keeps it synchron. This compensate brightness
	  changes from other tools than pbbuttonsd.

2004-11-28  0.6.6-4
	* function print_error in libpbb become UTF-8 safe. Error texts
	  will be converted to local charset before printing to terminal
	  or to logfile. Iconv must be available for this to work.
	* new spanish translation, thanks to Rudy Godoy
	  <rudy@kernel-panik.org>

2004-11-25  0.6.6-3
	* added m3mirror functionallity for ATI Rage128 and Radeon
	  cards. It will support all cards the frambuffer supports.
	  a new keycode was added to the display module to switch
	  the external display on/off.

2004-11-21  0.6.6-2
	* improved configure script: checks for ALSA now and prints
	  a configuration summary at the end
	* add new configuration option 'SoundSystem' to set the
	  used mixer at runtime
	* updated configuration man-page

2004-11-17  0.6.6-1
	* updated debian directory in pbbuttonsd's repository
	* some quotings corrected discovered by debian maintainer
	  Frank Lichtenheld.

2004-11-04  0.6.6   (public release)

2004-10-25  0.6.5-4
	* Powerbook G3 lombard's PMU doesn't report the AC power flag in
 	  environment flags. Program changed to use /proc instead.

2004-09-24  0.6.5-3
	* start LMU device detection now with /dev/i2c-4 to avoid errornous
	  detection of device /dev/i2c-0. The devices 0 to 3 will be tested
	  last.

2004-09-23  0.6.5-2
	* separate getting power source from reading battery info.
	  pmac_update_flags() falls automatically back to /proc/pmu/info if
	  the pmu driver reports an error via ioctl.

2004-09-20  0.6.5-1
	* fix bug in pmac_timer. cover and power source weren't updated
	  correctly after sleep.

2004-09-10  0.6.5   (public release)

2004-09-09  0.6.4-6
	* without backlight controller the bahaviour of the display
	  module changed as follows:
	  - LCD brightness only changes between 0 and MAX
	  - clients will always get -1 as LCD brightness level
	    This change recommends installation af latest clients
	  - the framebuffer would be switched off before suspend-to-RAM
	    if configured accordingly (mostly doesn't work)
	  - display dimming, if activated, will switch the display
	    off, if UseFBBlank=yes. (ATTENTION: Backlight might keep
	    alit, check carefully before using display dimming this way)
	  ATTENTION: Read file BUGS for more details.

2004-09-08  0.6.4-5
	* The function getting the backlight level from the hardware
	  checks now for errors. The new return value -1 indicates
	  that no backlight controller is available.
	* documentation fine tuning
	* script setupenv.sh removed from distribution

2004-09-06  0.6.4-4
	* extend module_cdrom.c to support closing the tray if open.
	  Thanks to Alan Carvalho <alancarbr@yahoo.com.br> for his
	  patch.
	* send message to clients if the CDROM tray will be closed.

2004-08-29  0.6.4-3
	* PMCS-scripts modified to cope with the third argument
	* update documentation

2004-08-28  0.6.4-2
	* add TAG_TAG_ONAC_POLICY, TAG_ONAC_TIMERACTION, TAG_ONAC_COVERACTION,
	  TAG_ONAC_KEYACTION, TAG_ONAC_TIMESUSPEND, TAG_ONAC_TIMEDIM,
	  TAG_ONBATT_POLICY, TAG_ONBATT_TIMERACTION, TAG_ONBATT_COVERACTION,
	  TAG_ONBATT_KEYACTION, TAG_ONBATT_TIMESUSPEND and TAG_ONBATT_TIMEDIM
	  This tags now support suspend-to-disk.
	* mark TAG_ONACSLEEP, TAG_ONACDIM, TAG_ONACTIMESLEEP, TAG_ONACTIMEDIM,
	  TAG_ONACCOVERSLEEP, TAG_ONACPOLICY, TAG_ONBATTERYSLEEP,
	  TAG_ONBATTERYDIM, TAG_ONBATTERYTIMESLEEP, TAG_ONBATTERYTIMEDIM,
	  TAG_ONBATTERYCOVERSLEEP, TAG_ONBATTERYPOLICY and TAG_SLEEPKEYSLEEP
	  as depreciated. Don't use them in your code. Use the replacements
	  instead.
	* handle new tags in configfile.c, pbbcmd.c and module_peep.c
	* update man-page pbbcmd.1
	* handle new tags in module_powersave.c
	* cover-scripts will only be called if no other script
	  is going to be called.
	* on cover close the screen will always be blanked before
	  the action set by the user is executed.
	* scripts calls for 'suspend' and 'resume' got a third parameter
	  'ram' or 'disk'
	* pbbuttonsd man-page and configuration file updated

2004-08-27  0.6.4-1
	* new tag TAG_BATTERYPRESENT which reports which battery is present
	  independently from /proc/pmu, which is not reliable under certain
	  circumstances.
	* fixed command string for PCMCIA card command
	* extend PMCS Script from two to three arguments
	* PMCS script 'suspend' and 'resume' got 'ram' as third argument
	* PMCS script 'cover-open' got 'open' as third argument
	* PMCS script 'cover-close' got 'close' as third argument
	* code cleanup in module_peep.c

2004-08-22  0.6.4   (public release)

2004-08-08  0.6.3-6
	* added function pmac_get_lcdbrightness(). Minor restructuring
	  of module_pmac.c

2004-08-07  0.6.3-5
	* keyboard illumination behaviour in conjunction with on/off key
	  changed. If not in autoadjustment mode an initial brightness
	  could now be defined with TAG_KBDONBRIGHTNESS. Thanks to
	  Rodolfo Giometti <giometti@linux.it> for his patch.

2004-08-06  0.6.3-4
	* new Tags TAG_BATLOG and TAG_BATCYCLE added. This control battery
	  data logging during runtime. The compile time options --with-batlog
	  and --with-batcycle have been removed. (closes debian bug #262544)
	  Attention: The meaning of the Tags are not exactly the same as the
	             compile time options. Read the man-page for details.

2004-08-03  0.6.3-3
	* pbbcmd: added version to help text
	* pbbcmd: removed private tags from help list
	* pbbcmd: added parameter 'i' to force pbbcmd not to wait for
	  servers answer after sending config commands.
	* pbbcmd: man-page updated
	* pbbcmd: decrease timeout time from 10 to 4 seconds

2004-07-30  0.6.3-2
	* improved test for running deamon implemented. It detects now
	  dead message ports and removes them at startup. With this 
	  Pbbuttonsd is able to cope with kill -9 wihout users help. 

2004-07 29  0.6.3-1
	* ac status in /proc/pmu/info is not reliable if no battery is
	  pluged in. So from now on pbbuttons asks the PMU directly.

2004-07-22  0.6.3a (public release)
	* add script tags 'cover-open' and 'cover-close'
	* two spelling mistakes corrected in pbbuttonsd.conf
	* one spelling mistake corrected in configfile.c

2004-07-19  0.6.3  (public release)
	* fix a type in script bdflush

2004-07-17  0.6.2-4
	* exit commands removed from scripts so that the exit codes of
	  the subscripts survive.
	* The script child set his own process group so that it and all
	  it's child could easily be terminated on error or timeout.
	* change the supervising code to send the SIGKILL not only to the
	  pmcs-script child but to all childs of the same process group.
	  Unfortunately this will only work in full with a patched 
	  run-parts version where all parts share the same process id.
	  Debians run-parts creates a new process id with each running
	  part so that this processes will remain in memory on error or
	  timeout. A bug-report has been filed to debian.

2004-07-16  0.6.2-3
	* some calls of open() especially in module_ossmixer didn't
	  accept 0 as valid file handler. Due to this the mixer device
	  may remain open after usage. After a suspend event the ALSA
	  scrips stop all processes that uses sound devices including
	  pbbuttonsd. This bug was fixed now. 
	* module_powersave uses depreciated tags - cleaned up
	* old config options removed from configfile.c
	* launch_program() did't check for fork() and waitpid() error codes.
	  A fork() failure might caused weird system reactions - fixed.
	* call_script() translates new error codes in human readable text.
	* the PMCS script 'bdflush' will only work for kernel 2.4. It was
	  replaced by a more general one that now calls 'laptop_mode.sh'
	  from the kernel tree.

2004-07-01  0.6.2-2  (version lost)

2004-06-30  0.6.2-1  (version lost)

2004-06-21  0.6.2  (public release)

2004-06-19  0.6.1-1
	* Automatic keyboard brightness adjustment work against
	  manual control due to bug in keyboard handler - fixed.
	* keyboard illumination can't be switched off completly.
	  Copy & paste error from LCD code - fixed
	* Toggle keyboard illumination on/off increased the level
	  by one each time. Collision with autoadjustment code
	  - distangled.
	* added keycodes fr special keyboard illumination keys
	  from the kernel patch from Andreas Jaggi.

2004-05-26  0.6.1   (public release)
	* cleanup modules could be skipped if signal handler
	  setting failed - fixed
	* obsolete function detach_process() removed from
	  libpbbipc.
	* bug in daemonize and ipc code of libpbbipc fixed.
	  This bug could block message queue cleanup if an
	  error occured during program initialization. Altough
	  the daemon isn't running, this leads to the error
	  message "pbbuttonsd already running, only one
	  instance allowed".

2004-05-22  0.6.0-3
	* /proc/cpufreq interface for kernel 2.4 missing in
	  scripts.d/cpufreq - added. Thanks to Wolfgang Pfeifer
	  <roto@gmx.net>
	* errornous address CPU #1 in scripts.d/cpufreq - fixed
	  Thanks to Wolfgang Pfeifer <roto@gmx.net>
	* use /bin/sh in scripts instead of /bin/bash
	* get rid of wall, shutdown message will be sent by
	  shutdown now.

2004-05-19  0.6.0-2
	* Blanking the screen comming from dimmed display causes
	  the original brightness value to be lost (debian
	  bug #249782)- fixed.

2004-05-12  0.6.0-1
	* scripts/config renamed in scripts/pmcs-config.
	* type in man page fixed (debian bug #249285)

2004-05-08  0.6.0   (public release)
	* New Script system introduced. Debian bug #249501 solved.

2004-04-29  0.5.11-6
	* call PMCS script to set power policy after wakeup if
	  power source has changed.
	* call PMCS script to set power policy after TAG_REINIT.
	* script PMac_G3 not longer necessary with 2.4 and 2.6
	  kernels - removed

2004-04-26  0.5.11-5
	* directories in scripts renamed: active->event.d and
	  storage->scripts.d.
	* some arguments of the pmcs script renamed: sleep->suspend
	  and wakeup->resume. All scripts modified accordingly.
	* script apmd_compat added. Thanks to Guido Guenther
	  <agx@debian.org>.
	* added support for additional directories suspend.d and
	  resume.d if existing.

2004-04-23  0.5.11-4
	* man-pages updated
	* obsolete code fragments removed
	* TAG_REINIT added to restore hardware setting for example
	  lost due to suspend to disc. This action could also
	  triggered with
	  SIGUSR1.
	* code cleanup in install_sighandler()
	* code cleanup in pbbuttonsd.c
	* changed script config variables to policy dependent names.

2004-04-21  0.5.11-3
	* add TAG_ONACPOLICY and TAG_ONBATTERYPOLICY
	* add onAC_policy and onBattery_policy to configfile
	* make options with discrete arguments like tpmode,
	  emergencyaction etc more robust against invalid values.
	* code cleanup in configfile.c
	* replace some #defines against enum{} in module_pmac.h and
	  module_powersave.h. This simplifies code and improve error
	  robustness.
	* added TAG_BRIGHTNESS again for compatibility reasons. Please
	  be aware that this tag is DEPRECIATED and will be removed in
	  future. Use TAG_LCDBRIGHTNESS instead.
	* add TAG_POLICY to set the current power policy.
	* TAG_SCRIPTHDSETUP, TAG_ONACHDTOFF and TAG_ONBATTERYHDTOFF
	  removed. Hard disc setup will be done in pmcs script now.
	* TAG_SCRIPTBATCRITICAL removed. This job is also done by
	  pmcs script now (first argument=emergency).
	* TAG_SCRIPTPROFCHANGED renamed in TAG_SCRIPTPMCS.
	* changed all script calls of script_profchanged, script_hdsetup
	  and script_batcritical to script_pmcs.
	* pmcs-* scripts need a 'cd' to the target directory because
	  all paths in the scripts are relative paths.
	* add example script named skeleton
	* describe script parameters in a README instead of inside each
	  script header.
	* german translations updated
	* script path in pbbuttonsd.conf will now be adjusted by the
	  configure script.

2004-04-20  0.5.11-2
	* added missing variable for xgettext and fixed a bug in 
	  POTFILES.in
	* change main Makefile.am to handle new structure in scripts/
	* introduce new pbbuttonsd script system
	* setting Tdim=0 will disable display dimming now. Therefore
	  TAG_ONACDIM, TAG_ONBATTERYDIM and its corresponding config
	  options onAC_dim and onBattery_dim were useless and have
	  been removed.
	* setting Tsleep=0 will disable sleep when idle now. This
	  feature is new.
	* The command GOTOSLEEP will always trigger sleep now, if
	  possible. If sleep was not supported by the hardware the
	  screen will be blanked instead. No configuration possible.
	* use sig_atomic_t datatype now instead of int for global
	  variables used by the signal handler.

2004-04-19  0.5.11-1
	* development version with special debugging output.

2004-04-18  0.5.11   (public release)

2004-04-17  0.5.10-4
	* module_powersave.c: TAG_POWERCHANGED called power_awake to
	  reset the sleeptime counter. This has bad side effects so
	  that the sleeptime counter is reseted directly in
	  power_handle_tags(). As result the mode (dim or sleep) will
	  not change on switching the power source.
	* module_powersave.c: Keeps track of cover status now and
	  disables keyboard and mouse input if cover is closed. This
	  was a problem with external mice and keyboards in
	  conjunction with screen blanking on sleep request (debian
	  bug #249783).
	* module_display.c: Keeps track of cover status now and
	  disables keyboard input if cover is closed.
	* libpbbipc: cleanup_buffer() handles quoting incorrectly
	  - fixed.

2004-04-16  0.5.10-3
	* added catalan catalog file. Thanks to David Riera
	  <driera@infoblitz.com> and Oriol Pellicer <oriol@elsud.org>

2004-04-06  0.5.10-2
	* added support for DESTDIR in make files. Thanke to
	  Giulivo Navigante <giulivonavigante@tiscali.it>

2004-04-05  0.5.10-1
	* not initialized variable flags.status in module_display - fixed.
	* eject CDROM uses the mountpoint now instead of the device.
	  This leads to less trouble ejecting mounted CDs. Thanks to
	  Soeren Sonnenburg <bugreports@nn7.de>

2004-03-31  0.5.10  (public release)

2004-03-30  0.5.9-5
	* added compile time switch --enable-batcycle which enables
	  counting of battery cycles only. To additionally write
	  the battery data use --enable-batlog.
	* configure doesn't create debian/Makefile anymore
	* libpbbipc was needlessly build with -DBATLOG - fixed
	* update man page
	* write configfile to /etc now. All the link stuff has been
	  removed.

2004-03-25  0.5.9-4
	* increase interval for ambient update timer in display
	  module to 1 second.
	* option HeartbeatBeep set to 'no' by default. Make the
	  man page explain this feature more clearly. This feature
	  confuses the users.

2004-03-24  0.5.9-3
	* remove debian directory from distribution package
	* fix bug in display module: Shift+brightness key
	  doesn't work if LCD automatic adjustment is enabled

2004-03-13  0.5.9-2
	* fix bug in libpbb: set_timeforcmd() accepted negative timeout
	  values. Now values <= 0 will be converted to 1.
	* pbbuttonsd.conf man page updated.

2004-03-07  0.5.9-1
	* check for include file initreq.h added in configure.in
	* module_powersave.c changed to compile with/without initreq.h
	  Thanks to Nigel Horne <njh@bandsman.co.uk> for the hint.
	* module_pmac.c calculates feedback from LCD backlight to
	  ambient light sensors and returns a compensated value now.
	* fix cosmetic bug in module_display.c on i386 machines. Thanks
	  to Nigel Horne for reporting.
	* debug system modified to allow better control of debug output.

2004-03-04  0.5.9   (public release)
	* man-pages updated
	* pbbcmd and module_peep.c updated
	* added pwrctl-wrapper script to support debian apm scripts

2004-02-25  0.5.8-12
	* add tags for automatic adjustment range. One for running on
	  battery, one for running on AC.

2004-02-22  0.5.8-11
	* change timing of client message from module_cdrom to get
	  a more convenient behaviour.
	* German translations updated
	* man-pages updated
	* added some flags to Sysinfo tag: pmud support, sleep
	  support

2004-02-21  0.5.8.10
	* moved write configfile stuff to module_system.
	* added new info tag TAG_SYSINFO which holds a set
	  of current server options.

2004-02-20  0.5.8-9
	* bugfix in module_display.c regarding ambient light
	  management. Thanks to Federico Gamio <federico@gamio.net>
	* initialize keyboard illumination at startup (switch it off).

2004-02-19  0.5.8-8
	* tag AMBIENTTHRESHOLD renamed to KBDTHRESHOLD and the new
	  tag LCDTHRESHOLD added. Configfile updated to reflect this
	* changed ambient light algorithm to that one used in lmud
	* removed kernel i2c include files and replaced them with
	  that one from lmsensors.

2004-02-17  0.5.8-7
	* module_pmac.c: lmu_get_ambient() changed to cope better
	  with shadows and spot lights on one of the ambient light
	  sensors.

2004-02-10  0.5.8-6
	* README updated
	* german translations updated
	* debug messages cleanup

2004-02-09  0.5.8-5
	* pbbcmd and pbbuttonsd.conf man-page updated
	* cdrom module now looks into /proc/mounts to check if
	  the cdrom device is mounted or not.
	* cdrom module sends now the tag TAG_EJECTCD to clients
	  on every eject CD event. The argument tells the client
	  about the success of the eject process.
	* new tag TAG_TIMEFORCMD added for adjusting the timeout
	  of scripts and helper programs. Tag also added in pbbcmd
	  and module_peep.c
	* pbblib updated: The exit code of the last launched program
	  can be read with the function get_lastrc() now.

2004-02-08  0.5.8-4
	* restructured configuration options for display module
	* beautify saved config file
	* default config file updated
	* configuration man-page updated
	* scale of the ambient sensor changed to percent.
	* eject CD event sends now a signal to all clients. This
	  signal is also sent, if eject has failed due to umount().
	  This will be fixed in the future.
	* with configure option --with-pmud the linker can't find
	  pmac_cover_position() - fixed.
	* modified equations for automatically calculated brightness
	  levels so that the user keeps in control. An offset shifts
	  the characteristic curve according users will.

2004-02-07  0.5.8-3
	* bug in scan_kbddevices() fixed. keyboards are correctly
	  unregistered now.
	* support generic i386 laptops without laptop dependent
	  features. Call ./configure LAPTOP=i386 to activate. 
	* module_display.c reworked to fully support keyboard
	  illumination and the ambient light sensor on aluminum
	  PowerBooks.
	* some tags related to the display module renamed and some
	  added. most of them regarding the hotkey definitions.
	  see pbbtags.h for complete list.
	* module_peep.c and pbbcmd updated to support the new and
	  the renamed tags.
	* some options of the config file added and some renamed
	  to match the changes in module_display.c

2004-01-31  0.5.8-2
	* modules_display.c updated. LCD Brightness will be adjusted
	  automatically and keyboard illumination change smoothly.
	  Thanks to Andreas Jaggi for his patch.

2004-01-23  0.5.8-1
	* implemented some functions to access lmu (i2c device for
	  the keyboard illumination and the ambient light sensors
	  of new aluminium PowerBooks. Thanks for code fragments
	  from Andreas Jaggi <andreas.jaggi@waterwav.ch> and
	  Alexander Clausen.

2004-01-18  0.5.8   (public release)

2004-01-17  0.5.7-4
	* check for root added in module loader code in
	  input_manager.c.
	* autogen.sh modified to cope with gettext 0.11.3 and
	  above and also with its predecessors. First update
	  had problems.
	* Add new option 'HeartbeatBeep' in module powersave.c.
	  Configfile and man-page updated.
	* New option also added to pbbcmd.
	* moved to gettext 0.13.1

2004-01-08  0.5.7-3
	* added code to input_manager.c to load the kernel module
	  evdev if necessary. Thanks to Wolfram Quester
	  <wolfi@mittelerde.physik.uni-konstanz.de> for the patch.
	* updated german language file

2003-12-29  0.5.7-2
	* configure.in and /po changed to work also if GNU gettext
	  version >0.11.3 is installed. New version of autogen.sh

2003-12-27  0.5.7-1
	* After wake up with closed cover the machine didn't go
	  to sleep again - fixed. This happens for example when USB
	  devices are connected/disconnected during sleep.

2003-12-19  0.5.7  (public release)

2003-12-11  0.5.6-4
	* libmisc.c uses C++ keywords that causes a compile
	  conflict with C++ compilers - fixed.

2003-12-05  0.5.6-3
	* the new options onXX_coversleep weren't read
	  from configfile - fixed
	* timeout for scripts was to short - extended to four
	  seconds.
	* scan_for_kbdevdevs() did't close all file
	  handles - fixed.

2003-11-17  0.5.6-2
	* module_pmac.c reads flags from /proc/pmu/battery_%
	  as decimal instead of hexadecimal. This could lead
	  to wrong charging detection - fixed.

2003-11-13  0.5.6-1
	* configure flag --with-pmud added to decide
	  at compile time to use pmud or not.
	* option 'replace_pmud' removed. pmud support
	  have to compiled in now. Default is compiling
	  without pmud support.

2003-11-12  0.5.6 (public release)

2003-11-09  0.5.5-7
	* moved foreign code from inputhandler.c to
	  new module_system.c
	* man pages updated
	* german language files updated

2003-11-08  0.5.5-6
	* Added filter reset in module_pmac to prevent
	  erroneous battery warning due to transient
	  oscillation of the filtered time remaining.
	* added function to unregister inputhandler again.
	* extend keyboard event device scanning so that
	  it becomes able to scan the devices to get changes.
	* connect scan of event devices to the HUP signal.
	* add option for enabling automatic scan every
	  5 seconds.

2003-11-04  0.5.5-5
	* warnlevel 0 wasn't send if woke up with
	  recharged battery - fixed.
	* add error message E_NOSUPPORT for requested
	  but not supported functions. module_peep.c
	  and pbbcmd updated.
	* setting EMA_SLEEP with no sleep support will
	  cause an error message now.
	* TAG_DIMFULLYDARK in module_display added.
	* module_powersave: screen off instead of sleep
	  didn't work correctly because a broken keyboard
	  handler - fixed.
	* TAG_ONACCOVERSLEEP and TAG_ONBATTERYCOVERSLEEP
	  added to make behaviour after cover closed
	  independently configurable.
	* TAG_ONACBLANK and TAG_ONBATTERYBLANK removed.
	* play a beep every 30 seconds when the screen is
	  dark so the user knows the machine is still alive.
	* allow sleepkey also if sleep is not supported
	  (display will be switched off in this case).

2003-11-01  0.5.5-4
	* update battery status and warnlevel in module
	  poversave after wakeup.
	* Send battery warnlevel 0 to clients after we
	  had a warnlevel greater than zero and the
	  AC connector was plugged in.

2003-10-31  0.5.5-3
	* insert 1s delay between sending 'going to sleep'
	  signal and entering sleep mode to give clients
	  enough time to process the signal. This delay only
	  occur at sleep requests coming from the sleepkey.

2003-10-30  0.5.5-2
	* New option 'FadingSpeed' and new Tag TAG_FADINGSPEED
	  added for module_display.
	* added 10ms timer callback for module_display.
	* brightness could be faded up and down smoothly now.
	  the timer callback is in control for that.

2003-10-29  0.5.5-1
	* collect all keyboard event devices now not only
	  the internal keyboard and the button device.
	* openeventdev() removed
	* moved open event devices to inputhandler.c
	* MAXINPUTS increased from 4 to 8

2003-10-06  0.5.5 (public release)
	* fix ipc_exit() to handle parent and child correctly

2003-10-02  0.5.4d
	* unused include file pbblib.h removed
	* artefacts from init.c removed
	* added optional pidfile argument for command
	  line switch '-d'
	* ordered help text a little bit
	* rewrite the daemonize code. A welcome message will
	  always be printed to console now and additionally
	  written to the log file if running as daemon.
	* the pid of the daemon will be written to /var/run/.
	* updated debian startscript for server.

2003-10-01  0.5.4c
	* added two functions in libpbb: find_tagitem() and
	  taglist_count()
	* update key & modifier functions in configfile.c
	* empty filename will be accepted now. Empty names
	  for devices and symlinks are still not allowed.
	* implemented support for ejecting a CDROM. The external
	  program 'eject' isn't necessary anymore.
	* trap empty script names in call_script() in support.c

2003-09-24  0.5.4b
	* processing the configuration at startup launches some
	  empty scripts - fixed
	* launching the power changed script at startup broken
	  - fixed.
	* got rid of system() call, replaced by more secure
	  launch_program() in pbb_misc.c.
	* ordered some mess with fixed buffer length
	* use geteuid() for security checks instead of getuid()
	* remove TAG_SLEEPINSECONDS from pbbcmd.c

2003-09-23  0.5.4a
	* power profile did not change after changing powersource
	  during sleep. Thanks to Stephan Helma
	* fix for Makefile.am. Thanks to Stephan Helma
	* preparations to handle more than Apple Laptops
	* strcmp_nocase() in pbb_misc.c replaced by strcasecmp()
	  in libc. code cleanup in pbbcmd and pbbuttonsd.

2003-09-13  0.5.4 (public release)
	* some internationalizing in module_peep
	* package pbbcmd integrated in pbbuttonsd. Pbbcmd makes
	  no sense as independent package.
	* config.h missing in some sourcefiles - fixed
	* problems with translating comment for configfile - fixed

2003-09-10  0.5.3g
	* after awake from sleep some data in module_poversave
	  wasn't immediately updated. It operates up to 100ms
	  with old data. This could have caused different strange
	  behaviour like shutdown or sleep immediately after
	  the machine has awaken or shutdown after last disentangled
	  warning even though the AC connector has been plugged
	  in recently (debian bug #183614) - fixed.
	* script arguments for SCRIPT_PROFCHANGED changed:
	  the arguments 'ac' and 'battery' were replaced by
	  'profile'. A second argument containing the powersource
 	  was added.
	* TAG_TIMEREMAINING and TAG_POWERSOURCE disentangled,
	  because config and query operations with this tags were
	  done by two different modules, which causes responsibility
	  problems. To keep compatibility to existing clients,
	  the tag values weren't changed. But this have to be done
	  in an later restructuring of the interfaces.

2003-09-09  0.5.3f
	* mark TAG_BRIGHTNESSOP and TAG_COVERSTATUS as private
	* some code cleanup in display module(5 to go)
	* some code cleanup in input manager (4 to go)
	* some code cleanup in module ossmixer  (3 to go)
	* some code cleanup in module cdrom  (2 to go)
	* some code cleanup in module pmac(1 to go)
	* some code cleanup in module poversave ( done  )
	* preventing TAG_TIMEREMAINING from sending if AC power
	  is connected. In conjunction with changing default
	  low battery emergency behaviour the 'laptop halted'
	  problem (debian bug #183614) should be solved.

2003-09-08  0.5.3e
	* empty strings in configfile causes segfault - fixed.
	* typo in framebuffer device default setting - fixed
	* configfile could be saved now (/var/lib/pbbuttons/).

2003-09-07  0.5.3d
	* some code restructuring in input manager. moved some code
	  from pbbuttonsd.c to input_manager.c to make custom
	  input managers possible.
	* moved the timer code from pbbuttonsd.c to input_manager.c
	* some general code cleanup
	* work around for kernel problem: booting without batteries
	  connected in module_pmac.c#pmac_update_batteryinfo()
 	  implemented.

2003-09-06  0.5.3c
	* bug in warning level calculation makes it impossible
	  to step a warninglevel up again - fixed.
	* powerwait and powerokwait implemented. SIGPWR to the
	  init process works.
	* IPC signals routed through the module_peep for debugging
	  This is only active if compiled with DEBUG.
	* TAG_IDENTITY added. The identity string is printed to
	  console at pbbuttonsd startup.
	* The profile-changed-script and HDSetup-script will now
	  be started at pbbuttonsd startup to do initial settings.
	* removed default settings for script_batcritical. Default
	  emergency behaviour is now sleep. No shutdown anymore
	  unless it's explicit configured.
	* scripts were now checked for permissions and owner to
	  improve security.

2003-09-05  0.5.3b
	* TAG_ONBATTERYCRITICALSLEEP removed and replaced by
	  TAG_EMERGENCYACTION with four commands: EMA_SLEEP,
	  EMA_SIGNAL and EMA_COMMAND.
	* Signal to INIT process integrated. It uses first the new
	  method via /dev/initctl and second if that failed the old
	  method via /etc/powerstatus.
	* Module_peep writes a battery profile in
	  /var/lib/pbbuttons/xxx_battery.log. This is only active
	  if compiled with DEBUG.

2003-09-04  0.5.3a
	* ToDo List updated
	* Changed to new Version of autoconf/automake. The header
	  acconfig.h was removed

2003-04-13  0.5.3a
	* The CDROM device could be missing now. The check at
	  startup has been adjusted.

2003-03-16  0.5.3
	* sleepkeydelay works again
	* sleepkeydelay and ejectcdkeydelay changed to use
	  time periods in milliseconds instead of counting
	  repeating keys. (debian bug #164882).
	* typo in option EjectCDKeyDelay in configfile - fixed
	  (debian bug #184323)
	* option MixerChannels added to control which channels
	  should be controlled by the volume keys (debian bug
	  #176000).
	* pbbuttonsd failed if the mixer device didn't exist
	  even if mixer_delayed was set. This problem occurred
	  with devfs. Now, if mixer_delayed was set, a missing
	  mixer device wouldn't cause an error messages or
	  hinder pbbuttonsd to startup (debian bug #182218).
	* EjectCDKey in default config file set again to 161.
	  This is the correct value for iBooks.
	* option 'userallowed' added to imrove security of the
	  ipc-interface (debian bug #164881). First step done.
	  maybe further steps will follow.

2002-12-22  0.5.2b
	* config file option 'replace_pmud' did nothing, fixed.

2002-10-13  0.5.2a
	* new include file pbbinput.h to add brightness keys
	  to make compiling with older kernels possible.

2002-10-03  0.5.2
	* documentation updated
	* catalogs updated

2002-08-24  0.5.1a
	* code changed to use the new library libpbb
	* code cleanup regarding error messages
	* TAG_SLEEPINSECONDS was mistakenly marked as private
	  -> fixed
	* Sleepmessages were sent to clients even though the
	  machine doesn't support sleep mode -> fixed

2002-07-22  0.5.0p
	* powersave: changed 10ms functions to 100ms interval
	  10ms timer removed
	* effect of sleeplocks reorganised, priority reduced
	* display: added framebuffer blank and the Tags
	* TAG_FRAMEBUFFERDEVICE and TAG_BLANKFRAMEBUFFER to
	  control this function.

2002-07-10  0.5.0p
	* implemented sleeplocks for cpuload and netload

2002-07-07  0.5.0p
	* implement new improved error management for Tags
	* the exitcode gives detailed information about the
	  malfunction.

2002-07-05  0.5.0p
	* security improvement: scripts are only changeable by
	  the effective process owner of pbbuttonsd.

2002-07-03  0.5.0p
	* pmac: fixed cover status and OHARE button level
	  evaluation.

2002-07-02  0.5.0p
	* powersave: script for profile change implemented
	* powersave: script for HD setup implemented
	* powersave, pmac: TAG_PREPAREFORSLEEP and
	  TAG_WAKEUPFROMSLEEP added
	* peep: TAG_PREPAREFORSLEEP, TAG_WAKEUPFROMSLEEP,
	  TAG_SCRIPT_PROFCHANGED and TAG_SCRIPT_HDSETUP added

2002-06-30  0.5.0p
	* module test renamed to peep and bound to compile
	  option DEBUG.
	* added TAG_SKIP to list in module_peep.

2002-06-25  0.5.0p
	* main loop changed. return code <0 from select()
	  won't abort the program anymore. Signal handling is
	  done instead.
	* SIGHUP implemented.
	* config table in read_configfile() set to static due
	  to a segfault on receiving SIGHUP.
	* added filter for internal private tags in
	  IPC-receive()

2002-05-06  0.5.0p
	* start of pbbuttonsd restructuring.

2002-05-05  0.4.9
	* new IPC commands to support new PowerPrefs features

2002-05-01  0.4.8p
	* added check if sleep is supported
	* added option 'blank_screen' as alternative to sleep
	* cleanup sleep code

2002-04-28  0.4.8p
	* added feature to save the configuration via
	  PowerPrefs
	* mouse input was ignored if started with sleep
	  disabled and would be enabled later on.
	* added italian translation file, Thanks to Gioele
	  Barabucci <dev@gioelebarabucci.com>

2002-04-20  0.4.8
	* public release

2002-04-17  0.4.7p
	* fixed a bad behaviour with manually set backlight
	  level of zero.
	* fixed another problem in battery status routines
	  and warning level calculation.

2002-04-14  0.4.7p
	* fixed a bug in time remaining calculation with more
	  than one battery. Implemented an work-around for a
	  kernel problem. Thanks to Michael G Schwern
	  <schwern@pobox.com>

2002-04-09  0.4.7
	* another bugfix in calculation of battery warnlevels
	  thanks to Vincent Katz <vincent.katz@laposte.net>
	* warning added if kernel doesn't support /proc/pmu
	* configfile will now be read from sysconfdir defined
	  by ./configure rather than hard-coded from /etc
	* Makefile adapted to adjustable config file location
	  thanks to Uwe Steinmann <uwe.steinmann@fernuni-hagen.de>
	  and to Ralf Ertzinger <ralf@camperquake.de>

2002-04-07  0.4.7
	* added commands to get and set trackpad, keyboard
	  and pbbuttonsd configuration. Preparation for new
	  client PowerPrefs.

2002-04-03  0.4.6
	* bugfix in calculation of battery warnlevels

2002-03-31  0.4.5
	* swaped the configuration from command line to a
	  configuration file.
	* tpmode and snooze keys are now configurable
	* the delay of the snooze key could be disabled now

2002-03-24  0.4.5
	* some code cleanup in event.c
	* Test added in do_delayed_jobs() if user released
	  any keys before perform trackpad configuration or
	  trigger sleep mode.

2002-03-23  0.4.5
	* If battery is critically low, the machine will be
	  shut down.
	* The keyboard settings are now kept during sleep
	  (only Powerbooks G3/G4 that support this)
	* The trackpad mode could now be toogled with
	  alt+brightnesskeys (up/down).
	* with alt+mute the sleep mode could be triggered
	  (delayed key, press 3-4 seconds).
	* problem with delayed keys fixed

2002-03-17  0.4.4
	* If the machine is idle first the display will be
	  dimmed and after some additional idle time it will
	  go to sleep
	* add command line switch '-n (nosleep)' to disable
	  the dim/sleep feature on user demand.

2002-03-15  0.4.3
	* add the command line switch '-e' which causes that
	  the eject key has to be constantly pressed for 3-4
	  seconds to react.
	* put some flags into an bitfield.

2002-03-08  0.4.3
	* program returns now positive error codes
	* if started as daemon, error messages would be
	  redirected to SYSLOG
	* pbbuttonsd reads battery states now from /proc/pmu.
	  this should work on every supported machine.

2002-03-07  0.4.2a
	* fixed a problem with the exit code.
	* fixed serious bug that caused a segfault when the
	  program exited (Thanks to Geof)

2002-03-06  0.4.2
	* The server was put to a separate package.
	* removed package name from package data directory
	* adapt some texts to the new package name
	* update the documentation
	* open mixer device only if needed. Calculate
	  hardware independent volume values by myself.

------------------------------------------------------------------------

2002-03-03
	* Server calculates battery warnlevels and sends
	  alarm messages to clients.
	* little sequencing problem with detach option in
	  client and server fixed.
	* Client displays battery warnings now.
	* Client got the option to play a sound during volume
	  adjustment or play alarm sound at battery warnings.

2002-02-28  0.4.1
	* Server sends exit-message to clients, when it exits.
	* Client exited, if it receives the exit-message.
	* Server polls the pmu and collects data about the
	  cover, the states of the batteries, the volume and
	  brightness buttons and pmu version. Pollcycle was
	  reduced from 100ms to 10ms.

2002-02-26  0.4
	* package divided into client and server. The server
	  could run as root and the client could run as user.
	  The communication is done via SystemV IPC messages.
	* low level IPC functions were exported to a static
	  library.
	* the directory structure was reorganized
	* newly created and updated man pages for client and
	  server

2002-02-22  0.3.3
	* mixer code reworked to fix some problems with newer
	  PowerMac sound hardware, especially iBook2 and new
	  TiBooks.
	* changed lockfile name to a more conventional one.
	* backlight control adapted to new kernel features.
	  Since 2.4.18-rc2-benh the PPC branch of the kernel
	  allow backlight control trough user space programs.
	  In this context the default keycodes for brightness
	  control changed to new kernel defined values. Thanks
	  to Ben Herrenschmidt <benh@kernel.crashing.org>

2002-02-21  0.3.2
	* changed mixer code for verification trough beta
	  testers.

2002-02-20  0.3.1
	* added new comand line switch 'd --detach', so
	  PBButtons could be started now as background
	  process.
	* running PBButtons as daemon causes high CPU time
	  consuming - fixed. Thanks to Uwe Steinmann
	  <steinm@majestix.fernuni-hagen.de>.
	* PBButtons now would use alternative PMU and Mixer
	  devices, if specified. exchanged hard wired device
	  names with dynamic ones.
	* fixed some problems, if compiled with optimization
	  switched on.

2002-02-18  0.3
	* added I18N support with GNU gettext
	* added setup-script to check and setup used devices
	  and directories with suitable user permissions.

2002-02-16  0.2.1
	* PBButtons works now with ALSA 0.9.x via OSS
	  emulation. The mixer device must not to be closed
	  after each adjustment. If so the ALSA OSS-emu mixer
	  would forget the device independent volume levels.
	  The mixer device will now be kept open while the
	  program is running.

2002-02-14  0.2
	* program take care about multiply instances.
	* defined exit procedure via sighandlers.
	* improved error handling.
	* general code cleanup
	* work with ALSA stable (0.5.x) via OSS emulation
	* devices, keycodes and lockfile are now configurable
	  via comand line

2002-02-06  0.1
	* inital release
	
