public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: Matthew Garrett <mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Generic hotkey driver for dock ejecting
Date: Sat, 27 Aug 2005 14:24:23 +0200	[thread overview]
Message-ID: <20050827122423.GC1109@openzaurus.ucw.cz> (raw)
In-Reply-To: <20050826152548.GA12991-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>

Hi!

> I'm playing with a Dell Latitude D610. By doing
> 
> echo "0:\_SB.PCI0.PCIE.GDCK::\SB_PCI0.PCIE.GDCK::0:0" 
> >/proc/hotkey/event_config
> 
> I can get an event when I push the eject request button on the dock. I 
> guess the appropriate thing to do in response to this is to call the 
> dock's eject method (the dock appears to be \_SB.PCI0.PCIE.GDCK, which 
> has _EJ0, _EJ3 and _EJ4 methods). How do I go about this?
> 

Well, I guess you need to hot-unplug devices in the dock and only then
call the eject methods.

BTW it would be nice to have some common infrastructure;
I have thinkpad with dock here, too...
-- 
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

  parent reply	other threads:[~2005-08-27 12:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-26 15:25 Generic hotkey driver for dock ejecting Matthew Garrett
     [not found] ` <20050826152548.GA12991-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2005-08-27 12:24   ` Pavel Machek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-08-27 14:43 Yu, Luming
2005-08-27 23:55 ` Matthew Garrett
     [not found]   ` <20050827235547.GA18990-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2005-08-28  4:37     ` Pavel Troller

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=20050827122423.GC1109@openzaurus.ucw.cz \
    --to=pavel-+zi9xunit7i@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox