From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Ionescu Date: Sun, 14 Mar 2004 21:53:13 +0000 Subject: IBM thinkpads and ultrabay hotplug (new info) Message-Id: <1079301192.5417.17.camel@t40> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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_id70&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