linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IBM thinkpads and ultrabay hotplug (new info)
@ 2004-03-14 21:53 Paul Ionescu
  2004-03-16  6:38 ` Christian Zoz
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Ionescu @ 2004-03-14 21:53 UTC (permalink / raw)
  To: linux-hotplug

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

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

* Re: IBM thinkpads and ultrabay hotplug (new info)
  2004-03-14 21:53 IBM thinkpads and ultrabay hotplug (new info) Paul Ionescu
@ 2004-03-16  6:38 ` Christian Zoz
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Zoz @ 2004-03-16  6:38 UTC (permalink / raw)
  To: linux-hotplug

On Sun, Mar 14, Paul Ionescu wrote:
> 
> 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.

Yes.

> We could use the /proc/acpi/event interface and let the "acpid" handle
> the change.

No.

-- 

ciao, christian



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

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

end of thread, other threads:[~2004-03-16  6:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-14 21:53 IBM thinkpads and ultrabay hotplug (new info) Paul Ionescu
2004-03-16  6:38 ` Christian Zoz

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).