linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Ionescu <paul@acorp.ro>
To: linux-hotplug@vger.kernel.org
Subject: IBM thinkpads and ultrabay hotplug (new info)
Date: Sun, 14 Mar 2004 21:53:13 +0000	[thread overview]
Message-ID: <1079301192.5417.17.camel@t40> (raw)

Hello all,

There were some posts a couple of months ago about hotplugging of
ultrabay devices in IBM thinkpads or other laptops.
The resolution at the time was that IBM is not providing info about how
it works in order to develop some drivers for it.

Since then, I was playing a lot with some IBM Tseries thinkpads and I
noticed that when you hotswap some device on ultrabay, the system sends
ACPI notification for the specific devices.
I enabled the debugging option in ACPI and I was able to capture some
ACPI events related to hotswapping the devices in ultrabay.
I tested this with several devices like: cdrom, dvdrom, cd/rw, floppy,
battery, and with acpi enabled it works without powering off, or
suspending the laptop for swapping a device, only a idectl is needed
(hdparm -U/-R).

However, without a proper acpi module to handle these notifications, we
cannot do much hotplug things.
My question is what should do such an ACPI module ?
We could send some hotplug events, and let hotplug interface do the
rest.
We could use the /proc/acpi/event interface and let the "acpid" handle
the change.
Maybe we can do other things I don't thing about right now.

What is the preffered way to handle it ?




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

             reply	other threads:[~2004-03-14 21:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-14 21:53 Paul Ionescu [this message]
2004-03-16  6:38 ` IBM thinkpads and ultrabay hotplug (new info) Christian Zoz

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=1079301192.5417.17.camel@t40 \
    --to=paul@acorp.ro \
    --cc=linux-hotplug@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).