BusPirate on Debian

I’m using BusPirate v4
Get driver for switch USB to serial mode.

1
apt-get install usb-modeswitch

Add user permission to access.

1
usermod -a -G dialout $USER

Add rules to udev.

1
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="04d8", ATTR{idProduct}=="fb00", MODE="0660"' | tee /etc/udev/rules.d/47-BusPirate.rules

Referencies:

https://wiki.archlinux.org/index.php/Bus_pirate
http://d.lij.uno/linux-bus-pirate.html
https://learn.sparkfun.com/tutorials/bus-pirate-v36a-hookup-guide
https://hackaday.com/2009/09/18/how-to-write-udev-rules/
http://jumptuck.com/2010/01/21/writing-a-bus-pirate-udev-rule/
http://jumptuck.com/2010/01/20/using-the-bus-pirate-with-ubuntu/