[ibm-acpi-devel] [ltp] /proc/acpi/ibm/bay gone with ThinkPad
ACPI Extras v0.19-20080107/2.6.24
Henrique de Moraes Holschuh
linux-thinkpad@linux-thinkpad.org
Fri, 1 Feb 2008 16:55:24 -0200
On Fri, 01 Feb 2008, Joerg Platte wrote:
> Am Freitag, 1. Februar 2008 schrieb Henrique de Moraes Holschuh:
> > On Fri, 01 Feb 2008, Frédéric BOITEUX wrote:
> > > Thanks for info, I'll test it this week-end ! I've tried load 'bay'
> > > module, and it detected the capability, but when inserting thinkpad
> > > on the base after boot, I didn't see the CD-ROM drive in /dev/ : what
> > > do we have to do then ?
> > >
> > > I'll check udev's events
> >
> > Please do. Also, bay on 2.6.24 is likely a lot more intelligent than on
> > 2.6.23, I don't know if 2.6.23 did the device hotplug automatically, but it
> > *appears* that 2.6.24 bay does so.
>
> What do you mean with device hotplug? Without a udev helper script
> that "ejects" the drive my computer hardlocked when removing the cdrom drive.
Just looked at 2.6.24 bay, and indeed it is dumb as a brick. Yeah, you need
the entire hoopla in userspace just like thinkpad-acpi does.
I will talk to upstream, we really need also at least a link between a bay
device and whatever crap is inside it. This is not optional, it is
*needed*.
IMO, bay should be something like a class, and the "eject" should go into
the device proper, but that's probably a lot more difficult to pull off.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh