[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
Thu, 31 Jan 2008 23:06:00 -0200


On Fri, 01 Feb 2008, Marc MERLIN wrote:
> > I think you get an event through udev when using the ACPI generic bay and
> > dock.  udevmonitor will tell you more (works like acpi_listen).
> 
> Indeed. This is what I currently get with a battery in the bay:
> UDEV  [1201818152.927552] change   /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
> UEVENT[1201818152.934954] remove   /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:01/power_supply/BAT1 (power_supply)
> UDEV  [1201818152.939496] remove   /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:01/power_supply/BAT1 (power_supply)

Exactly. I will try to move my box from thinkpad-acpi bay to standard bay
soon, and at that time, I am certain to find out (and document) what needs
to be done, at least for 2.6.23.y.   No promises for 2.6.24 right now, as I
am too short on time this week.

> I recommend you at least log the bay error even if not in debug mode

I can't.  ENODEV is the expected response if there is no bay.

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