random findings by wt8008
RSS icon Home icon
  • Ubuntu 8.10 avarice USB permission issue

    Posted on January 9th, 2009 wt8008 No comments

    Apparently lots of people are having issues with permissions with USB devices, mines is the AVR Dragon. Using sudo allows the command to work. Most people change the udev mask rules to 0666 to allow everyone to read and write. I found that in Ubuntu the package does not setup the udev rules file properly.

    When installing the packages the file /dev/udev.d/avarice.rules already exists to setup the permissions and group.

    Snippet:

    # Atmel Corp. AVR Dragon
    ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2107", MODE="0666", GROUP="dialout"
    

    The avarice.rules file is linked to /etc/udev/rules.d/z60_avarice.rules, but it does not work, so create a new link:

    cd /etc/udev/rules.d
    
    sudo ln -s ../avarice.rules 60-avarice.rules
    

    Replug in the AVR Dragon and it should work, assuming you are in the dialout group. You can check the /etc/group files to see if you are a memeber of that group.