Difference between revisions of "Talk:ThinkPad X6 UltraBase"
m (moved Talk:X6 UltraBase to Talk:ThinkPad X6 UltraBase: Official name) |
|
(No difference)
|
Revision as of 14:40, 7 July 2011
My Kernel (2.6.30.2) only generates a "change" udev-event. No "dock" or "undock" event. So I used the ATTR to find out whether docked or undocked. The udev rules in /etc/udev/rules.d/10-docking.rules look like this now:
ATTR{docked}=="1", KERNEL=="dock.0", SUBSYSTEM=="platform", RUN+="/some/script dock" ATTR{docked}=="0", KERNEL=="dock.0", SUBSYSTEM=="platform", RUN+="/some/script undock"
Cz8s 16:32, 26 July 2009 (UTC)