mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-21 16:46:30 +03:00
120 lines
4.7 KiB
HTML
120 lines
4.7 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
|
|
<html>
|
|
<!-- Created on September 11, 2026 by texi2html 1.82
|
|
texi2html was written by:
|
|
Lionel Cons <Lionel.Cons@cern.ch> (original author)
|
|
Karl Berry <karl@freefriends.org>
|
|
Olaf Bachmann <obachman@mathematik.uni-kl.de>
|
|
and many others.
|
|
Maintained by: Many creative people.
|
|
Send bugs and suggestions to <texi2html-bug@nongnu.org>
|
|
-->
|
|
<head>
|
|
<title>AVRDUDE: A.1.4.1 FreeBSD USB Permissions</title>
|
|
|
|
<meta name="description" content="AVRDUDE: A.1.4.1 FreeBSD USB Permissions">
|
|
<meta name="keywords" content="AVRDUDE: A.1.4.1 FreeBSD USB Permissions">
|
|
<meta name="resource-type" content="document">
|
|
<meta name="distribution" content="global">
|
|
<meta name="Generator" content="texi2html 1.82">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<style type="text/css">
|
|
<!--
|
|
a.summary-letter {text-decoration: none}
|
|
blockquote.smallquotation {font-size: smaller}
|
|
pre.display {font-family: serif}
|
|
pre.format {font-family: serif}
|
|
pre.menu-comment {font-family: serif}
|
|
pre.menu-preformatted {font-family: serif}
|
|
pre.smalldisplay {font-family: serif; font-size: smaller}
|
|
pre.smallexample {font-size: smaller}
|
|
pre.smallformat {font-family: serif; font-size: smaller}
|
|
pre.smalllisp {font-size: smaller}
|
|
span.roman {font-family:serif; font-weight:normal;}
|
|
span.sansserif {font-family:sans-serif; font-weight:normal;}
|
|
ul.toc {list-style: none}
|
|
body { background-color: #ffd; }
|
|
h1 { text-shadow: .05em .05em #ccc; }
|
|
table {
|
|
border: 3px solid #ccf;
|
|
background-color: white;
|
|
}
|
|
div.smallexample {
|
|
background-color: #dfd;
|
|
border: 3px solid #cfc;
|
|
}
|
|
div.example {
|
|
background-color: #dfd;
|
|
border: 3px solid #cfc;
|
|
}
|
|
samp {
|
|
color: blue;
|
|
}
|
|
code {
|
|
color: green;
|
|
}
|
|
|
|
-->
|
|
</style>
|
|
|
|
|
|
</head>
|
|
|
|
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
|
|
|
|
<a name="FreeBSD-USB-Permissions"></a>
|
|
<table cellpadding="1" cellspacing="1" border="0">
|
|
<tr><td valign="middle" align="left">[<a href="avrdude_34.html#Unix-USB-Permissions" title="Previous section in reading order"> < </a>]</td>
|
|
<td valign="middle" align="left">[<a href="avrdude_36.html#Linux-USB-Permissions" title="Next section in reading order"> > </a>]</td>
|
|
<td valign="middle" align="left"> </td>
|
|
<td valign="middle" align="left">[<a href="avrdude_27.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td>
|
|
<td valign="middle" align="left">[<a href="avrdude_34.html#Unix-USB-Permissions" title="Up section"> Up </a>]</td>
|
|
<td valign="middle" align="left">[<a href="avrdude_46.html#Troubleshooting" title="Next chapter"> >> </a>]</td>
|
|
<td valign="middle" align="left"> </td>
|
|
<td valign="middle" align="left"> </td>
|
|
<td valign="middle" align="left"> </td>
|
|
<td valign="middle" align="left"> </td>
|
|
<td valign="middle" align="left">[<a href="avrdude.html#Top" title="Cover (top) of document">Top</a>]</td>
|
|
<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
|
|
<td valign="middle" align="left">[<a href="avrdude_53.html#Index" title="Index">Index</a>]</td>
|
|
<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
|
|
</tr></table>
|
|
<hr size="1">
|
|
<a name="FreeBSD-USB-Permissions-1"></a>
|
|
<h4 class="subsubsection">A.1.4.1 FreeBSD USB Permissions</h4>
|
|
<a name="index-FreeBSD-USB-permissions"></a>
|
|
<a name="index-USB-permissions-1"></a>
|
|
|
|
<p>In FreeBSD a so-called <code>devd</code> config files in
|
|
<code>/usr/local/etc/devd</code> serve to modify permissions of plugged-in USB
|
|
devices. Here is an example how Atmel’s JTAGICE3 programmer (product ID
|
|
0x2110 or 0x2140) by Atmel (vendor ID 0x0eb) can be given appropriate
|
|
permissions using a file <code>jtagice3.conf</code>:
|
|
</p>
|
|
<table><tr><td> </td><td><table class="cartouche" border="1"><tr><td>
|
|
<pre class="smallexample">notify 100 {
|
|
match "system" "USB";
|
|
match "subsystem" "DEVICE";
|
|
match "type" "ATTACH";
|
|
match "vendor" "0x03eb";
|
|
match "product" "(0x2110|0x2140)";
|
|
action "chmod 660 /dev/$cdev";
|
|
action "chgrp yourgroup /dev/$cdev";
|
|
};
|
|
</pre></td></tr></table>
|
|
</td></tr></table>
|
|
|
|
<p><code>yourgroup</code> would be a group that the user(s) should be
|
|
member of who wish to have access to the programmer.
|
|
</p>
|
|
<hr size="1">
|
|
<p>
|
|
<font size="-1">
|
|
This document was generated on <i>September 11, 2026</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
|
|
</font>
|
|
<br>
|
|
|
|
</p>
|
|
</body>
|
|
</html>
|