openocd command won't run without root permission on a Ubuntu 16.04 system.
Recent changes to system:
3-4 days ago my display would blackout after few seconds. While debugging the issue I installed/reinstalled a few drivers like
ubuntu-desktop. Eventually, it was a hardware problem and I replaced the monitor. I believe I undid the changes to libraries. Also, I was connected to the system using ssh while running above commands.
I verified that current user exist in
plugdev groups. Also I don't know if it matters but since this looks like a USB issue, I have three USB dongles - Wi-Fi, Bluetooth and Logitech Unifying receiver connected.