For docking station on my e6520 experienced similar issue of not easily telling 
docked state. Settled on usb device presence check. Compare lsusb outputs when 
docked/undocked.
For me it was:
Bus 001 Device 029: ID 413c:2513 Dell Computer Corp. internal USB Hub of E-Port 
Replicator
Thus you may try to incorporate lsusb usage as check to run scripts:
lsusb -d 413c:2513 2>&1 > /dev/null && notify-send -u normal docked || 
notify-send -u critical undocked

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/857150

Title:
  Dock not detected (Dell Latitude E6420 ; PR03X)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/857150/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to