[ltp] ThinkPad Theft Protection evolved

André Wyrwa linux-thinkpad@linux-thinkpad.org
Sat, 17 Feb 2007 16:33:40 +1000


--=-53CSrkBOAvsHOctcdky9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Sorry, guys,

On Mon, 2007-02-12 at 13:11 +1000, Andr=E9 Wyrwa wrote:
> Hei,
>=20
> I'm going away for a couple of weeks, but i want to give you guys a
> preview of the little project i was working on recently:
>=20
> http://wyrfel.reukauf.com/tonttu-0.1.tar.bz2

this link should be http://wyrfel.reukauf.com/hosting/tonttu-0.1.tar.bz2

> I ran into Lex van Roons Thinkpad Theft Protection application, which is
> written in Python and is intended for a GNOME environment. It was the
> most promising approach in that area i found so far, so i hooked on to
> it, first extending it, then rewriting almost all the code.
>=20
> The most significant changes:
> -> plugin-system
> -> main program is completely event driven,
>    loops and threads only in plugins that need them
>    and for grace state
> -> merged daemon and tray icon, separated settings
> -> options to hide tray icon
> -> gnome-screensaver and xscreensaver support
> -> lid support (needs acpid)
> -> ThinkPad Fn-F2 support (needs acpid and ibm-acpi)
> -> support for immediate triggering on
> ---> ac-power (needs gnome-power-manager)
> ---> power-button (needs acpid)
> -> CD-ROM eject functionality (needs eject)
> -> ThinkPad LED and ThinkLight support (needs ibm-acpi)
> -> OSD support (needs XOSD and pyosd)
>=20
> And the software requirements:
>=20
> - gconf
> - pygtk
>=20
> Plugin-Requirements:
>=20
> Screensaver.....(dbus, gnome-screensaver) or xscreensaver
> Lid.....acpid
> Fn-F2.....acpid, ibm-acpi
> USB.....hal, dbus
> Bluetooth.....hal, dbus, bluez-libs, pybluez
> HDAPS.....hdaps kernel driver
> AC-Power.....dbus, gnome-power-manager
> Power-Button.....acpid
> ThinkPad LEDs.....ibm-acpi
> On Screen Display.....xosd, pyosd
> Play Sound.....python-alsaaudio
> Eject CD-ROM.....eject
>=20
> Tonttu (the new name is rather temporary, actually) is targetted at
> GNOME and uses a lot of it (hal, dbus, gconf, gtk) to be both functional
> and sexy. Thanks to being a plugin framework and handling all hardware
> specific functionality through plugins, it is not ThinkPad specific
> anymore and can even be used without a motion sensor. However, i'm
> pointing this out to you, because the original idea was born here and it
> evolved from that.
>=20
> The code is still a bit rough and there are quite a few features still
> to be implemented, but the basic framework pretty much includes all the
> features i wanted it to. It doesn't do much error checking at the
> moment, either, so expect to run into a few misbehaviours. That said, at
> least here everything is pretty much usable. If you feel like it, give
> it a try and give me some feedback. Would make me happy. ;-)
>=20
> And there might be a problem with autostarting the daemon, so try
> running it from a terminal, if nothing happens on preferences change.
> (A good test is to enable the LED module and then activate the "Enable
> alarm" checkbox.)
>=20
> Have fun playing with it,
> Andr=E9.
>=20

--=-53CSrkBOAvsHOctcdky9
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBF1qHEEOp8fsnyxsQRAvWQAKC8ZNIGJYZ0m08FVsQ63JVtKxIQOQCgmV5V
zIRJu/4588+kl3hVf7L3tKk=
=OVN1
-----END PGP SIGNATURE-----

--=-53CSrkBOAvsHOctcdky9--