This is Debian 9 Stretch? Unfortunately we haven't done any testing there, given the last time we did a Linux release was in the days of Debian 8 Wheezy,
Actually I am using Buster, which is even ahead of Stretch.
plus V2 only officially supported Ubuntu.
I know. I don't expect any support here, but I thought it might be interesting for you, and I am still happy about any help .
If it still responds on the socket, you could also check whether it detects your device when plugged in. You can use either the systemctl log or the GUI log in LeapControlPanel.
I tried to start the leapd from commandline, and attach the LeapMotion. You where right, the LeapMotion is detected.
[Info] WebSocket server started
[Info] Secure WebSocket server started
[Info] Leap Motion Controller detected: LP43516768423
[Info] Firmware is up to date.
Failed to parse a message from a zero-copy input stream
Failed to parse a message from a zero-copy input stream
However, using the Visualiser there is no signal shown. Usually the LeapMotion gets some red lights when connecting, which didn't happen. Stopping via Ctrl^C didn't work as well. The LeapControlPanel seem the recognise the Ctrl^C, as it claims that there is no daemon running any more.
Does your hang on exit happen even when there is no Leap Motion Controller connected to the machine?
That's how I discovered the bug. I had leapd running per default, together with the small linux uinput driver I wrote. Usually I hadn't connected any device. When I tried to shutdown the system leapd blocked the entire shutdown, till systemd finally decided to kill it using SIGKILL.
Hope that helps.
Best,
Andreas