All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ângelo Miguel Arrifano" <miknix@gmail.com>
To: linux-acpi@vger.kernel.org
Subject: *NEW* ACPI driver to support App Hot Startup AKA PNP0C32
Date: Sat, 10 Nov 2007 01:44:48 +0000	[thread overview]
Message-ID: <20071110014448.471e384b.miknix@gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2007-11-10  1:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-10  1:44 Ângelo Miguel Arrifano [this message]
2007-11-10  3:21 ` *NEW* ACPI driver to support App Hot Startup AKA PNP0C32 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071110014448.471e384b.miknix@gmail.com \
    --to=miknix@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.