Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.
cat /sys/devices/platform/dock.0/docked


cat /sys/devices/platform/dock.1/docked

ist always 0, whether Thinkpad T410 is connected to "Lenovo Mini Dock Series 3" or not.

I need some way to check whether the Thinkpad is docked or not at startup.

share|improve this question

closed as too localized by fossfreedom Mar 3 '12 at 18:10

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be abandoned, if you are experiencing a similar issue please ask a new question with details pertaining to your problem. If you feel this question is not abandoned, please flag the question explaining that. :) –  fossfreedom Mar 3 '12 at 18:10

Browse other questions tagged or ask your own question.