Greetings,
I am having a bit of an issue with my setup. I have a ThinkPad W520, with a docking station on the desk with my desktop machine. Both hosts run the latest version of FreeBSD, currently 14.1.
So when I first got the laptop (about FBSD 12.3, if memory serves), I was running Synergy soft KVM. I was able, thanks to vermaden's great article, to launch synergy on the laptop when I dropped it into the dock. Over the course of time, when synergy built their paywall, I ended up switching to barrier as it matured. With synergy, I had the following in my dock.conf, when running under synergy:
Once I switched to barrier, I tried switching devd.conf, and was never able to get it working. I just rebuilt my laptop (after HDD/memory upgrades), and revisited the issue.
I have tried changing
So far, I am missing the secret sauce that makes this work. Anyone know the right incantation of the barrier command to get it to automagically start when I plug in the dock?
Thanks,
--vr
I am having a bit of an issue with my setup. I have a ThinkPad W520, with a docking station on the desk with my desktop machine. Both hosts run the latest version of FreeBSD, currently 14.1.
So when I first got the laptop (about FBSD 12.3, if memory serves), I was running Synergy soft KVM. I was able, thanks to vermaden's great article, to launch synergy on the laptop when I dropped it into the dock. Over the course of time, when synergy built their paywall, I ended up switching to barrier as it matured. With synergy, I had the following in my dock.conf, when running under synergy:
Code:
# In docking staton start synergy
notify 100 {
match "system" "USB";
match "subsystem" "DEVICE";
match "type" "ATTACH";
match "vendor" "0x17ef";
match "product" "0x100a";
action "su -l vulcanridr -c 'synergy-core --client --name laptop desktop' &";
};
# Out of docking staton kill synergy
notify 100 {
match "system" "USB";
match "subsystem" "DEVICE";
match "type" "DETACH";
match "vendor" "0x17ef";
match "product" "0x100a";
action "pkill synergy-core";
};
Once I switched to barrier, I tried switching devd.conf, and was never able to get it working. I just rebuilt my laptop (after HDD/memory upgrades), and revisited the issue.
I have tried changing
synergy-core --client --name laptop desktop
to barrier --client --name laptop desktop
, barrierc laptop desktop
, and barrier --client --name laptop.fqdn desktop.fqdn
So far, I am missing the secret sauce that makes this work. Anyone know the right incantation of the barrier command to get it to automagically start when I plug in the dock?
Thanks,
--vr