Skip to content

VAMPIRES:Troubleshooting

Miles Lucas edited this page May 16, 2023 · 5 revisions

Troubleshooting VAMPIRES

The beast can be tamed
- B. Norris

Cameras do not respond after "Start Video"

To fix this issue try restarting vControl.

  1. Press "Stop Video" and "Exit" if vControl is responding a. otherwise go to the last troubleshooting tip below which force-restarts the program.
  2. In the matlab command pane, type vControl and press enter a. If vControl fails to start due to serial issues, see the next troubleshooting tip

The cameras should now work fine after pressing "Start Video". If not, close vControl again and issue

ssh sc2 restartVampCameras

🔌 This will power cycle the cameras

then, try restarting vControl (as above) and see if the cameras work.

vControl won't start due to serial devices errors

To fix this, close vControl (hit "Exit") and reset the serial locks with

usb_reset.sh

You will be prompted for the sudo password. You may see some errors corresponding to individual devices, don't worry- this is what a successful output might look like

Removing lock files
0000:00:1a.0tee: /sys/bus/pci/drivers/xhci_hcd/unbind: No such device
0000:00:1a.0tee: /sys/bus/pci/drivers/xhci_hcd/bind: No such device
0000:00:1d.0tee: /sys/bus/pci/drivers/xhci_hcd/unbind: No such device
0000:00:1d.0tee: /sys/bus/pci/drivers/xhci_hcd/bind: No such device
0000:08:00.00000:08:00.00000:0a:00.00000:0a:00.0

at this point, you should be able to restart vControl from the Matlab command window.

If this does not solve your problem, one of the serial devices might be disconnected

vControl crashed / unresponsive

If you've lost all hope, you may need to manually kill and restart the matlab process, which

pgrep matlab
kill <the PID from the line above>

now you will need to restart matlab- there should be a vcontrol tmux session

tmux send-keys -t vcontrol matlab Enter

from there run vControl from the Matlab command pane.

Clone this wiki locally