Skip to content

Instantly share code, notes, and snippets.

@legumbre
Created August 22, 2011 21:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save legumbre/1163643 to your computer and use it in GitHub Desktop.
Save legumbre/1163643 to your computer and use it in GitHub Desktop.
usb blaster setup CentOS 5
# USB Blaster setup for Centos5
# create /etc/udev/rules.d/51-usbblaster.rules
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001",MODE="0666", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf /proc/bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", RUN+="/bin/chmod 0666 %c"
touch ~/.jtag.conf
# USB Blaster setup for Centos5
# create /etc/udev/rules.d/51-usbblaster.rules
BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001",MODE="0666", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf /proc/bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", RUN+="/bin/chmod 0666 %c"
touch ~/.jtag.conf
# also for CentOS 5, echo usbfs /proc/bus/usb usbfs devmode=0666 0 0 >> /etc/fstab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment