All of lore.kernel.org
 help / color / mirror / Atom feed
* *NEW* ACPI driver to support App Hot Startup AKA PNP0C32
@ 2007-11-10  1:44 Ângelo Miguel Arrifano
  2007-11-10  3:21 ` Carlos Corbacho
  0 siblings, 1 reply; 9+ messages in thread
From: Ângelo Miguel Arrifano @ 2007-11-10  1:44 UTC (permalink / raw)
  To: linux-acpi

[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]

-----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@gmail.com
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 #2: hotstart-001.tar.bz2 --]
[-- Type: application/x-bzip, Size: 4381 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-06-22 17:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-10  1:44 *NEW* ACPI driver to support App Hot Startup AKA PNP0C32 Ângelo Miguel Arrifano
2007-11-10  3:21 ` Carlos Corbacho
2007-11-12  0:05   ` Ângelo Miguel Arrifano
2007-11-12  0:02     ` Carlos Corbacho
2007-11-23 15:24       ` Ângelo Miguel Arrifano
2008-01-19 15:19         ` *NEW* ACPI driver to support App Hot Startup AKA PNP0C32 - please apply Ângelo Miguel Arrifano
2008-03-07  6:27           ` Zhang, Rui
     [not found]             ` <20080307112505.7281ef4b.miknix@gmail.com>
2008-03-10  3:23               ` Zhang, Rui
     [not found]                 ` <20080310123625.a3c96d0a.miknix@gmail.com>
     [not found]                   ` <823A93EED437D048963A3697DB0E35DE012DE3C1@pdsmsx414.ccr.corp.intel.com>
2009-06-22 17:03                     ` Angelo Arrifano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.