1
0
mirror of https://github.com/wfjm/w11.git synced 2026-01-13 15:37:43 +00:00
2019-07-21 09:50:57 +02:00
..
2017-06-03 16:23:55 +02:00

This directory contains udev rules which ensure that the Cypress FX2 on

  • Digilent Nexys2
  • Digilent Nexys3
  • Digilent Atlys

is read/write accessible for user land processes, either in

  • original power on state (thus Digilent VID/PID)
  • after custom firmware is loaded (thus VOTI VID/PID)

The rules assume that eligible user accounts are in group plugdev.
Check with the groups command whether your account is in group plugdev,
in not, add this group to your accounts groups list.

To setup udev rules do

    sudo cp -a 90-retro-usb-permissions.rules /etc/udev/rules.d/
    sudo chown root:root /etc/udev/rules.d/90-retro-usb-permissions.rules
    dir /etc/udev/rules.d/

    sudo udevadm control --reload-rules

to verify whether usb device was really put into group plugdev

  lsusb
    # --> look for bus/dev of interest

  find /dev/bus/usb -type c | sort| xargs ls -l
    # --> check whether bus/dev of interest is in group plugdev