[ltp] R51 & SuSE ACPI Ultrabay
FeRD
linux-thinkpad@linux-thinkpad.org
Wed, 30 Mar 2005 17:08:38 -0500
It's generally suggested that a:
/sbin/hotplug stop
is a good thing to do before suspending the machine, that may cut
activity to the CD-ROM device enough to do what you want. (Although it's
not a sure thing, I doubt your machine is really considering the CD-ROM
a "hotpluggable" device. It may be the best you can reasonably do, tho.)
Because the UltraBay isn't under hotplug control, there really isn't a
module to unload -- the module controlling the CD-ROM is just the
standard IDE interface, and you probably don't want to unload that!
<G> ...You'll have to resort to ACPI (/proc/acpi/ibm/bay to be
specific) to cut power to the UltraBay without killing off the IDE
interface to important things like your hard drive.
See a recent message to this list why games with /proc/acpi/ibm/bay
don't always work the way they should anyway. (Hell, I've never gotten
my CD-ROM drive to properly hot-swap even under Windows 2000!)
-FeRD
P.S> There's always the unhelpful answer: "Take out the CD!" ;) (Sorry.)
ibert wrote:
>Hi!
>
>SUSE 9.2, R51
>no ibm-acpi
>
>Does anybody know which module has to be unloaded when the machine goes into
>suspend to ram, that the ultraybay - LED turns off?
>
>If there is a cdrom in the bay, it takes a lot of power during suspend.
>
>thanks
>robert
>
>