Hi,

I have a programmable board connected via USB that is only writeable by
root, so I have to run every make command as root, which is not good.
This is for a class, and the lecturer has given us some udev rules to
use, but they don't work on Debian stable. I new enough versions of the
development tools, so that's not the problem.

Here are the instructions from the lecturer...


set up the USB permissions by creating a file called
/etc/udev/rules.d/52-bootloadDFU.rules containing:

ATTR{idVendor}=="03eb", ATTR{idProduct}=="2fee", MODE="666"
ATTR{idVendor}=="03eb", ATTR{idProduct}=="2ff0", MODE="666"

To activate this new rule, reboot or use

sudo udevadm control --reload-rules

Note, with older versions of udev (prior to Ubuntu 10.04 Lucid Lynx) you
need the following syntax:

SYSFS{idVendor}=="03eb", SYSFS{idProduct}=="2fee", MODE="666"
SYSFS{idVendor}=="03eb", SYSFS{idProduct}=="2ff0", MODE="666"


I tried both syntaxes and even rebooted when neither worked after
running udevadm.

I'm going crazy here.  I can just run make commands as sudo, but that's
rather unsafe, especially when it comes to writing our own make files.
Anyone know what on Earth the problem could be?  I've attached the (I
think) the relevant part of my syslog.  It does not appear to even be
trying to load the new rule file.

Ripping hair out,
Aidan

Attachment: syslog-excerpt.gz
Description: application/gzip

_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to