[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-chat] avrdude with USB on Linux
From: |
Juergen Harms |
Subject: |
[avr-chat] avrdude with USB on Linux |
Date: |
Tue, 22 Oct 2013 07:19:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130914 Thunderbird/17.0.9 |
I intend to incorporate a patch into the avrdude rpm on Mageia that
fixes the use of avrdude with usb for non-root users. I have found
plenty of discussions on this issue, the fix is essentially based on
http://www.mikrocontroller.net/articles/AVRDUDE
I append a copy of set of udev rules proposed in this article.
I have experimentally build an rpm with such a patch (which also deals
with the fact that GROUP="users" appears not to work on Mageia) - the
rpm works as it should. Before officially introducing such a patch into
the distribution, I would like to verify
1. that the vendor and product IDs quoted are correct and
2. whether there are additional devices to be covered.
I do not have the hardware that would allow me to simply install the
patch and verify by testing.Can people in this list propose corrections
/ confirmation?
I have already found one issue: my AVR ISP mkII (JTAG) has product ID
2103 rather than 2104. Is 2104 a typo, or do I simply own an old JTAG
and there should be rules for both product IDs
Thanks for your help, Juergen
--------- udev rules proposed ----------
# Atmel AVR ISP mkII
SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2104",
GROUP="users", MODE="0660"
# usbprog bootloader
ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c62", GROUP="users",
MODE="0660"
# USBasp programmer
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", GROUP="users",
MODE="0660"
# USBtiny programmer
ATTRS{idVendor}=="1781", ATTRS{idProduct}=="0c9f", GROUP="users",
MODE="0660"
- [avr-chat] avrdude with USB on Linux,
Juergen Harms <=