-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everyone, I made a driver to allow booting into specific apps by pressing hot buttons. This functionality is provided by PNP0C32 which all Vista capable laptops should have. If the laptop is turned off and a hot button is pressed, the computer turns on and boots. This module gets a notification from ACPI which button was pressed. Then the driver writes to the proc fs which button was pressed allowing userspace apps to read that files and behave accordingly. Proc files are also writable. Eg: ls /proc/acpi/hotstart/ DBTN LVBN MUBN PIBN QBTN VOBN WEBN DBTN is DVD Button WEBN is WWW Button I've uploaded everything to my personal server (very bandwidth limited). http://miknix.homelinux.com/hotstart/ It's also attached here, just in case my ISP might do the usual... I did only test on my own laptop. I hope you like it. - -- Angelo Arrifano AKA MiKNiX CSE Student at UBI, Portugal Gentoo Linux AMD64 Arch Tester miknix@xxxxxxxxx http://miknix.homelinux.com PGP Pubkey online - - - Abstainer, n.: A weak person who yields to the temptation of denying himself a pleasure. -- Ambrose Bierce, "The Devil's Dictionary" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHNQ0NNahyoD2SuwsRAlvPAJ0XEB+iOVsHhZ6HsVQ+a2Jjqe9qfwCgnuO8 JOigajLDRR20vF8sNDeY2FY= =Gwau -----END PGP SIGNATURE-----
Attachment:
hotstart-001.tar.bz2
Description: application/bzip