Re: [ibm-acpi-devel] [ltp] /proc/acpi/ibm/bay gone with ThinkPad ACPI Extras v0.19-20080107/2.6.24

2008-01-31 Thread Marc MERLIN
On Thu, Jan 31, 2008 at 11:26:45PM -0200, Henrique de Moraes Holschuh wrote: > On Thu, 31 Jan 2008, Henrique de Moraes Holschuh wrote: > > > I had a similar problem with 2.6.23 and thinkpad_acpi before I loaded > > > thinkpad_acpi before most other modules (including libata). Is it > > > possible

Re: [ibm-acpi-devel] [ltp] /proc/acpi/ibm/bay gone with ThinkPad ACPI Extras v0.19-20080107/2.6.24

2008-01-31 Thread Henrique de Moraes Holschuh
On Thu, 31 Jan 2008, Henrique de Moraes Holschuh wrote: > > I had a similar problem with 2.6.23 and thinkpad_acpi before I loaded > > thinkpad_acpi before most other modules (including libata). Is it possible > > that libata, which now has been extended to make use of ACPI, causes this? > > Soun

Re: [ibm-acpi-devel] [ltp] /proc/acpi/ibm/bay gone with ThinkPad ACPI Extras v0.19-20080107/2.6.24

2008-01-31 Thread Henrique de Moraes Holschuh
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 > /dev

Re: [ibm-acpi-devel] [ltp] /proc/acpi/ibm/bay gone with ThinkPad ACPI Extras v0.19-20080107/2.6.24

2008-01-31 Thread Marc MERLIN
On Thu, Jan 31, 2008 at 06:49:48PM -0200, Henrique de Moraes Holschuh wrote: > On Thu, 31 Jan 2008, Marc MERLIN wrote: > > gandalf:~# lsmod | grep thinkpad > > gandalf:~# lsmod | grep bay > > bay 7040 0 > > dock 11412 1 bay > > gandalf:~# uname -r > > 2.6.24

Re: [ibm-acpi-devel] [ltp] /proc/acpi/ibm/bay gone with ThinkPad ACPI Extras v0.19-20080107/2.6.24

2008-01-31 Thread Marc MERLIN
On Thu, Jan 31, 2008 at 07:43:44AM +0100, Joerg Platte wrote: > Am Mittwoch, 30. Januar 2008 schrieb Henrique de Moraes Holschuh: > > > kernel: ACPI: \_SB_.PCI0.IDE0.PRIM.MSTR: found ejectable bay > > > kernel: ACPI: \_SB_.PCI0.IDE0.PRIM.MSTR: Adding notify handler > > > kernel: ACPI: Error install

Re: [ibm-acpi-devel] [ltp] /proc/acpi/ibm/bay gone with ThinkPad ACPI Extras v0.19-20080107/2.6.24

2008-01-31 Thread Marc MERLIN
On Thu, Jan 31, 2008 at 10:52:00AM +1100, Marc MERLIN wrote: > Shouldn't thinkpad_acpi output some message at load time that says > whether it saw the bay or if it was busy? I modified the source a bit to output the messages in there, and got: thinkpad_acpi: ThinkPad ACPI Extras v0.19-20080107 thi

Re: [ibm-acpi-devel] [ltp] /proc/acpi/ibm/bay gone with ThinkPad ACPI Extras v0.19-20080107/2.6.24

2008-01-31 Thread Marc MERLIN
On Wed, Jan 30, 2008 at 10:36:36AM -0200, Henrique de Moraes Holschuh wrote: > On Wed, 30 Jan 2008, Marc MERLIN wrote: > > thinkpad_acpi: ThinkPad BIOS 7FETA4WW (2.22 ), EC 7FHT26WW-1.08 > > thinkpad_acpi: Lenovo ThinkPad Z61p > > > > I am also slightly confused about the bay driver in 2.6.24: ker

Re: [ibm-acpi-devel] [ltp] /proc/acpi/ibm/bay gone with ThinkPad ACPI Extras v0.19-20080107/2.6.24

2008-01-31 Thread Marc MERLIN
On Wed, Jan 30, 2008 at 06:37:54PM -0200, Henrique de Moraes Holschuh wrote: > > > > I am also slightly confused about the bay driver in 2.6.24: > > kernel: ACPI: \_SB_.PCI0.IDE0.PRIM.MSTR: found ejectable bay > > kernel: ACPI: \_SB_.PCI0.IDE0.PRIM.MSTR: Adding notify handler > > kernel: ACPI: Erro

Re: [ibm-acpi-devel] [ltp] /proc/acpi/ibm/bay gone with ThinkPad ACPI Extras v0.19-20080107/2.6.24

2008-01-31 Thread Henrique de Moraes Holschuh
On Thu, 31 Jan 2008, Marc MERLIN wrote: > debug: initializing bay subdriver > bay 1: status supported, eject supported; bay 2: status not supported, > eject not supported > thinkpad_acpi: acpi_bus_get_device(bay) failed: -19 That's -ENODEV (if curious, the code is in the include/asm-generic/errno_

Re: [ibm-acpi-devel] [ltp] /proc/acpi/ibm/bay gone with ThinkPad ACPI Extras v0.19-20080107/2.6.24

2008-01-31 Thread Henrique de Moraes Holschuh
On Thu, 31 Jan 2008, Marc MERLIN wrote: > gandalf:~# lsmod | grep thinkpad > gandalf:~# lsmod | grep bay > bay 7040 0 > dock 11412 1 bay > gandalf:~# uname -r > 2.6.24-slab-tpacpi0.19-p4core2smp-preempt-1khz-noticks-marc8 > > After that, indeed, releasing t

Re: [ibm-acpi-devel] [ltp] /proc/acpi/ibm/bay gone with ThinkPad ACPI Extras v0.19-20080107/2.6.24

2008-01-31 Thread Henrique de Moraes Holschuh
On Thu, 31 Jan 2008, Joerg Platte wrote: > Am Mittwoch, 30. Januar 2008 schrieb Henrique de Moraes Holschuh: > > > kernel: ACPI: \_SB_.PCI0.IDE0.PRIM.MSTR: found ejectable bay > > > kernel: ACPI: \_SB_.PCI0.IDE0.PRIM.MSTR: Adding notify handler > > > kernel: ACPI: Error installing bay notify handle