Steve Langasek wrote:
> I would still like to know where it is that the event is handled for the
> Prepare-for-undock key
Thecode in linux/drivers/acpi/dock.c seems to invoke ACPI routines
"_DCK" and "_EJ0". I'm afraid I don't know much about the ACPI
subsystem, though.
--
docking/undocking su
Steven Langasek wrote:
> What does 'sudo lsinput' show on this system when the dock is connected?
I append the output.
My X61 is docked in an UltraBase X6 whose Ultrabay Slim contains a DVD
burner. Connected to the UltraBase's USB ports are a Microsoft curve
keyboard and a Logitech trackball.
j
More info. The "prepare to undock" key generates the following
according to "lshal -m":
platform_dock_0 property info.docked = false
computer_logicaldev_input_0 condition ButtonPressed = switch-videomode
Contrast with Fn-F7 which generates:
computer_logicaldev_input_3 condition ButtonP
I used various utilities to monitor what happens when the "prepare to
undock" key (labelled "▸") is pressed on the UltraBase X6 while the X61
is docked in it. The X61 is runing freshly installed Karmic.
acpi_listen: video VID 0080
showkey -s: 0xe0 0x56 0xe0 0xd6
showkey -k: 227
input
In Intrepid my ThinkPad X61 would freeze when I tried to remove it from
the UltraBase X6 without deleting the Ultrabay Slim drive device first
(using "echo 1 > /sys/class/scsi_device/1:0:0:0/device/delete"). The
prepare-for-undock button on the UltraBase had no useful effect.
In Karmic:
* The X6
*** This bug is a duplicate of bug 18864 ***
https://bugs.launchpad.net/bugs/18864
If the prepare-to-undock button (on the UltraBase itself) works and you
want Fn-F9 to replicate its function then I'd expect that it is better
for a Fn-F9 keypress to be mapped in such a way that it generates th