{"id":166,"date":"2008-11-23T20:43:00","date_gmt":"2008-11-23T18:43:00","guid":{"rendered":"http:\/\/blog.cipworx.org\/martin\/?p=166"},"modified":"2008-11-23T20:43:00","modified_gmt":"2008-11-23T18:43:00","slug":"avrdude-ohne-rootsusudo","status":"publish","type":"post","link":"https:\/\/blog.cipworx.org\/laserman\/2008\/11\/23\/avrdude-ohne-rootsusudo\/","title":{"rendered":"avrdude ohne root\/su\/sudo"},"content":{"rendered":"<p>normalerweise kann man <strong>avrdude<\/strong> nur als <strong>root<\/strong> benutzen. Ich hab das auf meinem Ubuntu Notebook mal so ge\u00e4ndert:<\/p>\n<p>In <code>\/etc\/udev\/rules.d\/40-permissions.rules<\/code><br \/>\neine Zeile hinzugef\u00fcgt:<\/p>\n<p><code><br \/>\n# USB serial converters<br \/>\nSUBSYSTEM==\"usb_device\", GOTO=\"usb_serial_start\"<br \/>\nSUBSYSTEM==\"usb\", ENV{DEVTYPE}==\"usb_device\", GOTO=\"usb_serial_start\"<br \/>\nGOTO=\"usb_serial_end\"<br \/>\nLABEL=\"usb_serial_start\"<br \/>\nATTRS{idVendor}==\"0403\", ATTRS{idProduct}==\"6001\", \\<br \/>\n                                        MODE=\"0660\", GROUP=\"dialout\"<br \/>\n# avrdude, usbasp:<br \/>\nATTRS{idVendor}==\"16c0\", ATTRS{idProduct}==\"05dc\", \\<br \/>\n                                        MODE=\"0660\", GROUP=\"dialout\"<\/p>\n<p>LABEL=\"usb_serial_end\"<\/code><\/p>\n<p>Mein usbasp hat diese USB-Id:  <strong>16c0:05dc<\/strong> und<br \/>\nder erste ubuntu-user ist in der Gruppe<strong> dialout<\/strong> &#8211; bei mir funktioniert&#8217;s so.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>normalerweise kann man avrdude nur als root benutzen. Ich hab das auf meinem Ubuntu Notebook mal so ge\u00e4ndert: In \/etc\/udev\/rules.d\/40-permissions.rules eine Zeile hinzugef\u00fcgt: # USB serial converters SUBSYSTEM==&#8221;usb_device&#8221;, GOTO=&#8221;usb_serial_start&#8221; SUBSYSTEM==&#8221;usb&#8221;, ENV{DEVTYPE}==&#8221;usb_device&#8221;, GOTO=&#8221;usb_serial_start&#8221; GOTO=&#8221;usb_serial_end&#8221; LABEL=&#8221;usb_serial_start&#8221; ATTRS{idVendor}==&#8221;0403&#8243;, ATTRS{idProduct}==&#8221;6001&#8243;, \\ MODE=&#8221;0660&#8243;, GROUP=&#8221;dialout&#8221; # avrdude, usbasp: ATTRS{idVendor}==&#8221;16c0&#8243;, ATTRS{idProduct}==&#8221;05dc&#8221;, \\ MODE=&#8221;0660&#8243;, GROUP=&#8221;dialout&#8221; LABEL=&#8221;usb_serial_end&#8221; Mein usbasp hat diese USB-Id: 16c0:05dc und [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,4],"tags":[],"class_list":["post-166","post","type-post","status-publish","format-standard","hentry","category-kubuntu","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":0,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts\/166\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/media?parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/categories?post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/tags?post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}