Skip to content

Instantly share code, notes, and snippets.

@ZEROF
Created July 3, 2014 12:31
Show Gist options
  • Save ZEROF/bed6d261fabdadf984ad to your computer and use it in GitHub Desktop.
Save ZEROF/bed6d261fabdadf984ad to your computer and use it in GitHub Desktop.
Driver installation for BeagleBone for Linux user isn't required, but you might find a few udev rules helpful.
cat > /etc/udev/rules.d/73-beaglebone.rules <<EOF
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_interface", \
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="a6d0", \
DRIVER=="", RUN+="/sbin/modprobe -b ftdi_sio"
ACTION=="add", SUBSYSTEM=="drivers", \
ENV{DEVPATH}=="/bus/usb-serial/drivers/ftdi_sio", \
ATTR{new_id}="0403 a6d0"
ACTION=="add", KERNEL=="ttyUSB*", \
ATTRS{interface}=="BeagleBone", \
ATTRS{bInterfaceNumber}=="00", \
SYMLINK+="beaglebone-jtag"
ACTION=="add", KERNEL=="ttyUSB*", \
ATTRS{interface}=="BeagleBone", \
ATTRS{bInterfaceNumber}=="01", \
SYMLINK+="beaglebone-serial"
EOF
sudo udevadm control --reload-rules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment