|
Lapsus is a set of programs providing easy access to many features of various laptops. It currently supports most features provided by asus-laptop kernel module from ACPI4Asus project, such as additional LEDs, hotkeys, backlight control etc. It also has support for some IBM laptops features provided by IBM ThinkPad ACPI Extras Driver and NVRAM device. It consist of a daemon program monitoring ACPI events, reading/writing system files created by either asus-laptop or ibm-acpi module and run commands that need privileged access. The daemon can be controlled over DBus using the client program, or any other programs which has support for that, or can be customized to do so. It can also be controlled with dbus-send utility. Client program is a KDE Panel Applet (standalone client is planned). It gives easy access to daemon's functions, as well as (in the future) providing additional features, such as ACPI hotkeys bindings or power status monitoring. It is quite easy to add new backends for other types of devices, such as laptops from other manufacturers. Unfortunatelly I have no other types of hardware to test it on, so if someone is willing to help with other types of devices that have some additional features like LEDs or backlight power switches supported in Linux - please contact me! Even if no Asus or IBM features are found, Lapsus will still be able to control synaptics touchpad device and default channel of alsa mixer. |
All devices:
If you have an IBM laptop with some features supported by ibm-acpi driver, or by ThinkPad Buttons and you would like to help - please contact me! While running lapsus on IBM device, you can set IBM_DEBUG_DUMP in sys_ibm.cpp to 1, recompile lapsusd and run it with '--no-daemon' parameter to see all debugging messages. |
|
|
|
|
|
|
|
|
|
Get the source of the latest version: lapsus-0.0.6.tar.bz2 You may also get the newest sources from SVN with:svn co svn://svn.berlios.de/lapsus/trunk lapsusTo compile the sources run (the first step is only for sources from SVN): make -f Makefile.cvs ./configure make make installYou need:
To do that you should place included lapsus.conf file in /etc/dbus-1/system.d/ and restart (or reload) dbus. That file contains rules for using DBus system bus by lapsus(d). Default lapsus.conf lets root user to run lapsusd, and any user who is in lapsus group to connect to the daemon. You can customize this file to fit your needs, but if you want to use it as it is, you need to create lapsus group with a command: groupadd lapsusand add any user that should have the right to use lapsus to this group with: gpasswd -a user_name lapsus If you use Gentoo, you may choose to install Lapsus using following ebuild: http://forums.gentoo.org/viewtopic-t-547055.html For Slackware there is SlackBuild: http://slackbuilds.org/repository/12.0/system/lapsus/ For Arch Linux, there is AUR package: http://aur.archlinux.org/packages.php?ID=11207 And for SVN version: http://aur.archlinux.org/packages.php?ID=11776 |
|
Copyright (C) 2007, 2008 Jakub Schmidtke |