[ltp] Re: ibm-acpi compatibility table
Borislav Deianov
linux-thinkpad@linux-thinkpad.org
Sat, 16 Oct 2004 02:02:04 -0700
David Tansey <djtansey@umd.edu> wrote:
> Hey! It worked!
Great!
> I was doing echo undock > /proc/acpi/dock -- which would let me undock
> but i would have no keyboard access.
>
> now i used the script /etc/acpi/undock.sh and it worked!
I guess skipping the idectl step that undock.sh does can cause this -
IDE isn't too happy when devices suddenly disappear.
> I get the event
>
> ibm/dock GDCK 00000003 00000001
>
> in /var/log/acpid -- but it doesn't do anything. how can i make that
> event trigger /etc/acpi/undock.sh?
You need to have an event rule defined (see config/etc/acpi/events/ in
the ibm-acpi tarball) which references the undock.sh script. Put those
under /etc/acpi/events, then restart acpid and it should get invoked.
Wishes,
Boris