From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Ionescu Subject: Re: Re: ibm-acpi-0.1 Date: Wed, 11 Aug 2004 12:38:47 +0300 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: References: <20040810080826.GD28939@aero.ensim.com> <1092188650.3156.0.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Return-path: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Wed, 11 Aug 2004 03:44:11 +0200, Erik Tews wrote: > Am Mi, den 11.08.2004 schrieb Paul Ionescu um 3:01: >> Method to soft eject/insert the device in UltraBay, and capture the event >> generated by the pull-off device-from-bay button. > > This would be really fine, I don't want to reboot everytime I switch > between cd-writer and extra battery. Hi Erik, Even now, without proper ACPI support, you don't have to reboot your thinkpad to do that. If you are using an ACPI enabled kernel, then you can just "idectl 1 off" pull out your cdrom insert your battery use the battery eject the battery insert the cdrom "idectl 1 on" or "idectl 1 rescan" use the cdrom however the DMA on the cdrom will not work because of this bug: http://bugme.osdl.org/show_bug.cgi?id=2261 Also, you can use hotplug utility instead of idectl. Good luck, Paul ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285