Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Aug 2006
Thinkpad T61 acpid events dock/undock
I know I have to use acpid so when the dock/undock event happens I can run the script, but I can't find the dock or undock event. I have tried acpi_listen and looked at the log file for acpid when I docked and undocked, but I don't see anything about docking (there were other events that happened, but they were about the ac adapter and cpu power usage).
I do know that ubuntu senses the dock/undock because when I type dmesg it says:
How do I find acpi event for docking?
In the event folder under /etc/acpi/events I would create a file for docking called docking and it would contain:
#!/bin/bash #event to run script when docking laptop event= <what goes here?> action=/path/to/script