On Thu, Nov 06, 2008 at 06:52:21PM +0800, Bård Kalbakk wrote: > Hi > I need to handle dock events from dock.ko in order to enable video > output on my Thinkpad Port Replicator. From the kernel I see that this > event occurring: > > [ 680.551956] ACPI: \_SB_.GDCK - undocking > [ 704.534054] ACPI: \_SB_.GDCK - docking > > > The question is, how can I handle this event in userspace? I've tried > listening to acpi events with acpi_listen, and uevents with udevd, but > I get nothing. > > I just glanced at the source and saw some uevent references, but > obviously this doesn't automatically mean that it ends up in udevd. > Is there any way to accomplish this with the current driver? dock/undock will sent out uevent to udevd, please check your udev config. Thanks, Shaohua -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html