Date: Mon, 11 Apr 2022 01:08:39 +0200 From: Axel Rau <Axel.Rau@Chaos1.DE> To: Tomek CEDRO <tomek@cedro.info> Cc: Hans Petter Selasky <hps@selasky.org>, hardware@freebsd.org Subject: Re: timeouts on USB ISP programmer Message-ID: <BF8BDA54-4BC0-4B61-9330-600047FC7A05@Chaos1.DE> In-Reply-To: <CAFYkXjnypDg=7WzTZQbvORJwq0XjtSA9bpyS=BYgVLjYZ6-r=A@mail.gmail.com> References: <3A781DFA-1E2C-41A5-8053-C90A806244DC@Chaos1.DE> <34a747ea-2ee5-660f-71c6-dc00d5de337f@selasky.org> <9334c4f0-3ecf-c046-420f-516e39379981@selasky.org> <976BDBEB-8B57-4541-A0B7-3F2C89498DC6@Chaos1.DE> <7190bdde-22bc-79ee-06d0-d0114a3ffbad@selasky.org> <CAFYkXj=HMdxZG%2B8x0gpLCDy8cbu_qOpFqcN37RO9EG=WOBHkqw@mail.gmail.com> <CAFYkXjmjnFX1a3%2BCQxAxdwX=-oASSEWLdzrmx=%2B4QbX3_Og2Gw@mail.gmail.com> <CAFYkXjmgLi0F4gLVWQxtVwS6tCXCni%2BxU2-7KQM4ve%2B%2B-aEiBw@mail.gmail.com> <CAFYkXjnG5uOzF5_BbNZUgzBzTN8hpU9RmTTh1h_KDZ0EonZgEQ@mail.gmail.com> <CAFYkXjnbneNUszR8ZwS50xY8924uvCQyYQ9d3ohT_t1HZrjmDw@mail.gmail.com> <CAFYkXjmf8DpZw5hQ6Cc_FBurHufKNHhKGYiXpK%2BArB0SGCbqsg@mail.gmail.com> <7CDFB049-241F-4C31-A7B1-A7D6BDE6A002@Chaos1.DE> <CAFYkXjnwvba60u3_tRMReEiyb5dohNZDLoenZWieNB2q_c_-0w@mail.gmail.com> <24AA646A-698B-4D41-9668-3F9F99732D02@Chaos1.DE> <CAFYkXjk2TgdC65j1YZqYw2AHn2zMVR2uZ52NTF8jTGVPRV60sg@mail.gmail.com> <1A94816D-E3C1-4488-A5A9-784BAC68AE74@Chaos1.DE> <CAFYkXjkCZopGV2vOEtzNg_Ut76WuyHQ5NxxVOjoY-Sy-QNuGHw@mail.gmail.com> <FF735DA2-B675-4E3D-B247-E1E3CAD735CF@Chaos1.DE> <CAFYkXj=w6aTh8LGy_aE26fB-1brjgEHr_VRfugggBP5FmooNow@mail.gmail.com> <EB9AB05C-3095-4419-9FF3-43E853923ABC@Chaos1.DE> <CAFYkXjk=9iEg%2B2pTZrmJVVNgUQJi%2BJYzs2xExyDDJ4Po_W8Bpg@mail.gmail.com> <13D17C8D-D67B-47E8-BB64-A8E32267C669@Chaos1.DE> <CAFYkXjnypDg=7WzTZQbvORJwq0XjtSA9bpyS=BYgVLjYZ6-r=A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_4A4EBA20-9180-4B6C-8ACC-1B2DAF4958A3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 10.04.2022 um 23:59 schrieb Tomek CEDRO <tomek@cedro.info>: >=20 > On Sun, Apr 10, 2022 at 10:46 PM Axel Rau <Axel.Rau@chaos1.de> wrote: >> root@home2l:~ # avrdude -c stk500v2 -p t85 -vvv -t -P usb >>=20 >> avrdude: Version 6.4 >> Copyright (c) Brian Dean, http://www.bdmicro.com/ >> Copyright (c) Joerg Wunsch >>=20 >> System wide configuration file is "/usr/local/etc/avrdude.conf= " >> User configuration file is "/root/.avrduderc" >> User configuration file does not exist or is not a regular = file, skipping >>=20 >> Using Port : usb >> Using Programmer : stk500v2 >> avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x21= 04) >=20 > Okay, your local `~/.avrduderc` configuration needs an update. Remove > all from file and put only this: >=20 > default_programmer =3D "diamex-avr-usb"; > programmer > id =3D "diamex-avr-usb"; > desc =3D "Diamex AVR USB Programmer"; > type =3D "stk500v2"; > connection_type =3D usb; > usbvid =3D 0x16c0; > usbpid =3D 0x2a9b; > ; >=20 > Then run: >=20 > avrdude -c diamex-avr-usb -p t85 -vvv -t >=20 > Configuration will define a new Programmer, that is STK500v2 > compatible (not FT2232), will provide VID:PID pair, and will tell to > use USB connection as default :-) >=20 > Because default_programmer is set to diamex-avr-usb it may not be even > necessary to provide `-c diamex-avr-usb` just `avrdude -p t85 -t` :-) >=20 - - - root@home2l:~ # avrdude -c diamex-avr-usb -p t85 -vvv -t avrdude: Version 6.4 Copyright (c) Brian Dean, http://www.bdmicro.com/ Copyright (c) Joerg Wunsch System wide configuration file is "/usr/local/etc/avrdude.conf" User configuration file is "/root/.avrduderc" Using Port : usb Using Programmer : diamex-avr-usb avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104) avrdude done. Thank you. root@home2l:~ # avrdude -p t85 -vvv -t avrdude: Version 6.4 Copyright (c) Brian Dean, http://www.bdmicro.com/ Copyright (c) Joerg Wunsch System wide configuration file is "/usr/local/etc/avrdude.conf" User configuration file is "/root/.avrduderc" Using Port : usb Using Programmer : diamex-avr-usb avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104) avrdude done. Thank you. root@home2l:~ # avrdude -p t85 -vvv -t avrdude: Version 6.4 Copyright (c) Brian Dean, http://www.bdmicro.com/ Copyright (c) Joerg Wunsch System wide configuration file is "/usr/local/etc/avrdude.conf" User configuration file is "/root/.avrduderc" Using Port : usb Using Programmer : diamex-avr-usb avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104) avrdude done. Thank you. root@home2l:~ # root@home2l:~ # root@home2l:~ # cat ~/.avrduderc default_programmer =3D "diamex-avr-usb"; programmer id =3D "diamex-avr-usb"; desc =3D "Diamex AVR USB Programmer"; type =3D "stk500v2"; connection_type =3D usb; usbvid =3D 0x03eb; usbpid =3D 0x2104; ; - - - usbvid and usbpid are ignored: - - - root@home2l:~ # cat ~/.avrduderc default_programmer =3D "diamex-avr-usb"; programmer id =3D "diamex-avr-usb"; desc =3D "Diamex AVR USB Programmer"; type =3D "stk500v2"; connection_type =3D usb; ; root@home2l:~ # avrdude -p t85 -vvv -t avrdude: Version 6.4 Copyright (c) Brian Dean, http://www.bdmicro.com/ Copyright (c) Joerg Wunsch System wide configuration file is "/usr/local/etc/avrdude.conf" User configuration file is "/root/.avrduderc" Using Port : usb Using Programmer : diamex-avr-usb avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104) avrdude done. Thank you. - - - Axel ps: All this is inside a jail, but I see no difference on the host. devfs.rules are - - - [devfsrules_jail_home2l=3D100] add include $devfsrules_jail add path 'ugen*' unhide add path 'usb/*' unhide add path 'usbctl' unhide add path 'cuaU*' unhide add path 'cuau*' unhide - - - =2D-- PGP-Key: CDE74120 =E2=98=80 computing @ chaos claudius --Apple-Mail=_4A4EBA20-9180-4B6C-8ACC-1B2DAF4958A3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; -webkit-nbs= p-mode: space; line-break: after-white-space;" class=3D""><br class=3D"">= <div><br class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">= Am 10.04.2022 um 23:59 schrieb Tomek CEDRO <<a href=3D"mailto:tomek@ce= dro.info" class=3D"">tomek@cedro.info</a>>:</div><br class=3D"Apple-in= terchange-newline"><div class=3D""><div class=3D"">On Sun, Apr 10, 2022 = at 10:46 PM Axel Rau <<a href=3D"mailto:Axel.Rau@chaos1.de" class=3D""= >Axel.Rau@chaos1.de</a>> wrote:<br class=3D""><blockquote type=3D"cite= " class=3D"">root@home2l:~ # avrdude -c stk500v2 -p t85 -vvv -t -P = usb<br class=3D""><br class=3D"">avrdude: Version 6.4<br class=3D""> = Copyright (c) Brian = Dean, <a href=3D"http://www.bdmicro.com/" class=3D"">http://www.bdmicro.c= om/</a><br class=3D""> Co= pyright (c) Joerg Wunsch<br class=3D""><br class=3D""> = System wide configuration file is "/usr/loc= al/etc/avrdude.conf"<br class=3D""> &= nbsp; User configuration file is "/root/.avrduderc"<br class=3D""> = User configuration file = does not exist or is not a regular file, skipping<br class=3D""><br = class=3D""> Using Port = &= nbsp; : usb<br class=3D"">  = ; Using Programmer &= nbsp; : stk500v2<br = class=3D"">avrdude: usbdev_open(): did not find any USB device "usb" = (0x03eb:0x2104)<br class=3D""></blockquote><br class=3D"">Okay, your = local `~/.avrduderc` configuration needs an update. Remove<br class=3D"">= all from file and put only this:<br class=3D""><br class=3D"">default_pro= grammer =3D "diamex-avr-usb";<br class=3D"">programmer<br class=3D""> = id =3D "diamex-avr-usb";<br class=3D""> des= c =3D "Diamex AVR USB Programmer";<br class=3D""> type = =3D "stk500v2";<br class=3D""> connection_type =3D = usb;<br class=3D""> usbvid =3D 0x16c0;<br = class=3D""> usbpid =3D 0x2a9b;<br class=3D"= ">;<br class=3D""><br class=3D"">Then run:<br class=3D""><br class=3D"">a= vrdude -c diamex-avr-usb -p t85 -vvv -t<br class=3D""><br class=3D"">Conf= iguration will define a new Programmer, that is STK500v2<br class=3D"">co= mpatible (not FT2232), will provide VID:PID pair, and will tell to<br = class=3D"">use USB connection as default :-)<br class=3D""><br class=3D""= >Because default_programmer is set to diamex-avr-usb it may not be = even<br class=3D"">necessary to provide `-c diamex-avr-usb` just = `avrdude -p t85 -t` :-)<br class=3D""><br class=3D""></div></div></blockq= uote></div><div style=3D"margin: 0px; font-stretch: normal; font-size: = 11px; line-height: normal; font-family: Monaco; background-color: = rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D"">- - -</span></div><div style=3D"margin: = 0px; font-stretch: normal; font-size: 11px; line-height: normal; = font-family: Monaco; background-color: rgb(255, 255, 255);" class=3D""><s= pan style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">root= @home2l:~ #<span class=3D"Apple-tab-span" style=3D"white-space:pre"> </sp= an>avrdude -c diamex-avr-usb -p t85 -vvv -t</span></div><div style=3D"mar= gin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; = font-family: Monaco; background-color: rgb(255, 255, 255); min-height: = 15px;" class=3D""><span style=3D"font-variant-ligatures: no-common-ligatu= res" class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D"">avrdude: Version = 6.4</span></div><div style=3D"margin: 0px; font-stretch: normal; = font-size: 11px; line-height: normal; font-family: Monaco; background-col= or: rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures= : no-common-ligatures" class=3D""> = Copyright (c) Brian Dean, <a href=3D"http://www.bdmicro.com/" class=3D"">= http://www.bdmicro.com/</a></span></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D""> = Copyright (c) Joerg Wunsch</span></div><div = style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-height:= normal; font-family: Monaco; background-color: rgb(255, 255, 255); = min-height: 15px;" class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D""></span><br class=3D""></div><div = style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-height:= normal; font-family: Monaco; background-color: rgb(255, 255, 255);" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""> System wide configuration = file is "/usr/local/etc/avrdude.conf"</span></div><div style=3D"margin: = 0px; font-stretch: normal; font-size: 11px; line-height: normal; = font-family: Monaco; background-color: rgb(255, 255, 255);" class=3D""><s= pan style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbs= p; User configuration file is "/root/.avrduder= c"</span></div><div style=3D"margin: 0px; font-stretch: normal; font-size= : 11px; line-height: normal; font-family: Monaco; background-color: = rgb(255, 255, 255); min-height: 15px;" class=3D""><span style=3D"font-var= iant-ligatures: no-common-ligatures" class=3D""></span><br class=3D""></d= iv><div style=3D"margin: 0px; font-stretch: normal; font-size: 11px; = line-height: normal; font-family: Monaco; background-color: rgb(255, = 255, 255);" class=3D""><span style=3D"font-variant-ligatures: no-common-l= igatures" class=3D""> Using Port = : = usb</span></div><div style=3D"margin: 0px; font-stretch: normal; = font-size: 11px; line-height: normal; font-family: Monaco; background-col= or: rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures= : no-common-ligatures" class=3D""> = Using Programmer : = diamex-avr-usb</span></div><div style=3D"margin: 0px; font-stretch: = normal; font-size: 11px; line-height: normal; font-family: Monaco; = background-color: rgb(255, 255, 255);" class=3D""><span style=3D"font-var= iant-ligatures: no-common-ligatures" class=3D"">avrdude: usbdev_open(): = did not find any USB device "usb" (0x03eb:0x2104)</span></div><div = style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-height:= normal; font-family: Monaco; background-color: rgb(255, 255, 255); = min-height: 15px;" class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D""></span><br class=3D""></div><div = style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-height:= normal; font-family: Monaco; background-color: rgb(255, 255, 255);" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">avrdude done. Thank you.</span></div><div style=3D"margi= n: 0px; font-stretch: normal; font-size: 11px; line-height: normal; = font-family: Monaco; background-color: rgb(255, 255, 255); min-height: = 15px;" class=3D""><span style=3D"font-variant-ligatures: no-common-ligatu= res" class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D"">root@home2l:~ = #<span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>avrdude= -p t85 -vvv -t</span></div><div style=3D"margin: 0px; font-stretch= : normal; font-size: 11px; line-height: normal; font-family: Monaco; = background-color: rgb(255, 255, 255); min-height: 15px;" class=3D""><span= style=3D"font-variant-ligatures: no-common-ligatures" class=3D""></span>= <br class=3D""></div><div style=3D"margin: 0px; font-stretch: normal; = font-size: 11px; line-height: normal; font-family: Monaco; background-col= or: rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures= : no-common-ligatures" class=3D"">avrdude: Version 6.4</span></div><div = style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-height:= normal; font-family: Monaco; background-color: rgb(255, 255, 255);" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""> Copyright (c) Brian Dean, = <a href=3D"http://www.bdmicro.com/" class=3D"">http://www.bdmicro.com/</a= ></span></div><div style=3D"margin: 0px; font-stretch: normal; font-size:= 11px; line-height: normal; font-family: Monaco; background-color: = rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D""> = Copyright (c) Joerg Wunsch</span></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255); min-height: 15px;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D""> = System wide configuration file is "/usr/local/etc/av= rdude.conf"</span></div><div style=3D"margin: 0px; font-stretch: normal; = font-size: 11px; line-height: normal; font-family: Monaco; background-col= or: rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures= : no-common-ligatures" class=3D""> User = configuration file is "/root/.avrduderc"</span></div><div style=3D"margin= : 0px; font-stretch: normal; font-size: 11px; line-height: normal; = font-family: Monaco; background-color: rgb(255, 255, 255); min-height: = 15px;" class=3D""><span style=3D"font-variant-ligatures: no-common-ligatu= res" class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D""> = Using Port = : usb</span></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D""> = Using Programmer = : diamex-avr-usb</span></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D"">avrdude: = usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)</span></= div><div style=3D"margin: 0px; font-stretch: normal; font-size: 11px; = line-height: normal; font-family: Monaco; background-color: rgb(255, = 255, 255); min-height: 15px;" class=3D""><span style=3D"font-variant-liga= tures: no-common-ligatures" class=3D""></span><br class=3D""></div><div = style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-height:= normal; font-family: Monaco; background-color: rgb(255, 255, 255);" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">avrdude done. Thank you.</span></div><div style=3D"margi= n: 0px; font-stretch: normal; font-size: 11px; line-height: normal; = font-family: Monaco; background-color: rgb(255, 255, 255); min-height: = 15px;" class=3D""><span style=3D"font-variant-ligatures: no-common-ligatu= res" class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D"">root@home2l:~ = #<span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>avrdude= -p t85 -vvv -t</span></div><div style=3D"margin: 0px; font-stretch: = normal; font-size: 11px; line-height: normal; font-family: Monaco; = background-color: rgb(255, 255, 255); min-height: 15px;" class=3D""><span= style=3D"font-variant-ligatures: no-common-ligatures" class=3D""></span>= <br class=3D""></div><div style=3D"margin: 0px; font-stretch: normal; = font-size: 11px; line-height: normal; font-family: Monaco; background-col= or: rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures= : no-common-ligatures" class=3D"">avrdude: Version 6.4</span></div><div = style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-height:= normal; font-family: Monaco; background-color: rgb(255, 255, 255);" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""> Copyright (c) Brian Dean, = <a href=3D"http://www.bdmicro.com/" class=3D"">http://www.bdmicro.com/</a= ></span></div><div style=3D"margin: 0px; font-stretch: normal; font-size:= 11px; line-height: normal; font-family: Monaco; background-color: = rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D""> = Copyright (c) Joerg Wunsch</span></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255); min-height: 15px;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D""> = System wide configuration file is "/usr/local/etc/av= rdude.conf"</span></div><div style=3D"margin: 0px; font-stretch: normal; = font-size: 11px; line-height: normal; font-family: Monaco; background-col= or: rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures= : no-common-ligatures" class=3D""> User = configuration file is "/root/.avrduderc"</span></div><div style=3D"margin= : 0px; font-stretch: normal; font-size: 11px; line-height: normal; = font-family: Monaco; background-color: rgb(255, 255, 255); min-height: = 15px;" class=3D""><span style=3D"font-variant-ligatures: no-common-ligatu= res" class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D""> = Using Port = : usb</span></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D""> = Using Programmer = : diamex-avr-usb</span></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D"">avrdude: = usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)</span></= div><div style=3D"margin: 0px; font-stretch: normal; font-size: 11px; = line-height: normal; font-family: Monaco; background-color: rgb(255, = 255, 255); min-height: 15px;" class=3D""><span style=3D"font-variant-liga= tures: no-common-ligatures" class=3D""></span><br class=3D""></div><div = style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-height:= normal; font-family: Monaco; background-color: rgb(255, 255, 255);" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">avrdude done. Thank you.</span></div><div style=3D"margi= n: 0px; font-stretch: normal; font-size: 11px; line-height: normal; = font-family: Monaco; background-color: rgb(255, 255, 255); min-height: = 15px;" class=3D""><span style=3D"font-variant-ligatures: no-common-ligatu= res" class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D"">root@home2l:~ = #<span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span></span>= </div><div style=3D"margin: 0px; font-stretch: normal; font-size: 11px; = line-height: normal; font-family: Monaco; background-color: rgb(255, = 255, 255);" class=3D""><span style=3D"font-variant-ligatures: no-common-l= igatures" class=3D"">root@home2l:~ #<span class=3D"Apple-tab-span" = style=3D"white-space:pre"> </span></span></div><div style=3D"margin: = 0px; font-stretch: normal; font-size: 11px; line-height: normal; = font-family: Monaco; background-color: rgb(255, 255, 255);" class=3D""><s= pan style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">root= @home2l:~ #<span class=3D"Apple-tab-span" style=3D"white-space:pre"> </sp= an>cat ~/.avrduderc</span></div><div style=3D"margin: 0px; font-stretch: = normal; font-size: 11px; line-height: normal; font-family: Monaco; = background-color: rgb(255, 255, 255);" class=3D""><span style=3D"font-var= iant-ligatures: no-common-ligatures" class=3D"">default_programmer =3D = "diamex-avr-usb";</span></div><div style=3D"margin: 0px; font-stretch: = normal; font-size: 11px; line-height: normal; font-family: Monaco; = background-color: rgb(255, 255, 255);" class=3D""><span style=3D"font-var= iant-ligatures: no-common-ligatures" class=3D"">programmer</span></div><d= iv style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-heig= ht: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""> id =3D "diamex-avr-usb";</span></div><div = style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-height:= normal; font-family: Monaco; background-color: rgb(255, 255, 255);" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""> desc =3D "Diamex AVR USB Programmer";</span></div>= <div style=3D"margin: 0px; font-stretch: normal; font-size: 11px; = line-height: normal; font-family: Monaco; background-color: rgb(255, = 255, 255);" class=3D""><span style=3D"font-variant-ligatures: no-common-l= igatures" class=3D""> type =3D "stk500v2";</span></div><= div style=3D"margin: 0px; font-stretch: normal; font-size: 11px; = line-height: normal; font-family: Monaco; background-color: rgb(255, = 255, 255);" class=3D""><span style=3D"font-variant-ligatures: no-common-l= igatures" class=3D""> connection_type =3D usb;</span></div><div = style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-height:= normal; font-family: Monaco; background-color: rgb(255, 255, 255);" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">usbvid =3D 0x03eb;</span></div><div style=3D"mar= gin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; = font-family: Monaco; background-color: rgb(255, 255, 255);" class=3D""><s= pan style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">usbp= id =3D 0x2104;</span></div><div style=3D"margin: 0px; = font-stretch: normal; font-size: 11px; line-height: normal; font-family: = Monaco; background-color: rgb(255, 255, 255);" class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D"">;</span></div><di= v style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-heigh= t: normal; font-family: Monaco; background-color: rgb(255, 255, 255); = min-height: 15px;" class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D""></span>- - -</div><div style=3D"margin: = 0px; font-stretch: normal; font-size: 11px; line-height: normal; = font-family: Monaco; background-color: rgb(255, 255, 255); min-height: = 15px;" class=3D"">usbvid and usbpid are ignored:</div><div style=3D"margi= n: 0px; font-stretch: normal; font-size: 11px; line-height: normal; = font-family: Monaco; background-color: rgb(255, 255, 255); min-height: = 15px;" class=3D"">- - -</div><div style=3D"margin: 0px; font-stretch: = normal; font-size: 11px; line-height: normal; font-family: Monaco; = background-color: rgb(255, 255, 255); min-height: 15px;" class=3D""><div = style=3D"margin: 0px; font-stretch: normal; line-height: normal;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">root@home2l:~ #<span class=3D"Apple-tab-span" style=3D"white-s= pace:pre"> </span>cat ~/.avrduderc</span></div><div style=3D"margin: = 0px; font-stretch: normal; line-height: normal;" class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">default_= programmer =3D "diamex-avr-usb";</span></div><div style=3D"margin: 0px; = font-stretch: normal; line-height: normal;" class=3D""><span style=3D"fon= t-variant-ligatures: no-common-ligatures" class=3D"">programmer</span></d= iv><div style=3D"margin: 0px; font-stretch: normal; line-height: = normal;" class=3D""><span style=3D"font-variant-ligatures: no-common-liga= tures" class=3D""> id =3D "diamex-avr-usb";</span></div= ><div style=3D"margin: 0px; font-stretch: normal; line-height: normal;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""> desc =3D "Diamex AVR USB Programmer";</span></div>= <div style=3D"margin: 0px; font-stretch: normal; line-height: normal;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""> type =3D "stk500v2";</span></div><div = style=3D"margin: 0px; font-stretch: normal; line-height: normal;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""> connection_type =3D usb;</span></div><div style=3D"margi= n: 0px; font-stretch: normal; line-height: normal;" class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">;</span>= </div><div style=3D"margin: 0px; font-stretch: normal; line-height: = normal; min-height: 15px;" class=3D""><span style=3D"font-variant-ligatur= es: no-common-ligatures" class=3D""></span><br class=3D""></div><div = style=3D"margin: 0px; font-stretch: normal; line-height: normal;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">root@home2l:~ #<span class=3D"Apple-tab-span" style=3D"white-s= pace:pre"> </span>avrdude -p t85 -vvv -t</span></div><div style=3D"margin= : 0px; font-stretch: normal; line-height: normal; min-height: 15px;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; = font-stretch: normal; line-height: normal;" class=3D""><span style=3D"fon= t-variant-ligatures: no-common-ligatures" class=3D"">avrdude: Version = 6.4</span></div><div style=3D"margin: 0px; font-stretch: normal; = line-height: normal;" class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D""> = Copyright (c) Brian Dean, <a href=3D"http://www.bdmicro.com/" class=3D"">= http://www.bdmicro.com/</a></span></div><div style=3D"margin: 0px; = font-stretch: normal; line-height: normal;" class=3D""><span style=3D"fon= t-variant-ligatures: no-common-ligatures" class=3D""> = Copyright (c) Joerg Wunsch</span></div><div style=3D"margin= : 0px; font-stretch: normal; line-height: normal; min-height: 15px;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; = font-stretch: normal; line-height: normal;" class=3D""><span style=3D"fon= t-variant-ligatures: no-common-ligatures" class=3D""> = System wide configuration file is "/usr/local/etc/avrdude.c= onf"</span></div><div style=3D"margin: 0px; font-stretch: normal; = line-height: normal;" class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D""> User = configuration file is "/root/.avrduderc"</span></div><div style=3D"margin= : 0px; font-stretch: normal; line-height: normal; min-height: 15px;" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; = font-stretch: normal; line-height: normal;" class=3D""><span style=3D"fon= t-variant-ligatures: no-common-ligatures" class=3D""> = Using Port = : usb</span></div><div style=3D"margin: 0px; = font-stretch: normal; line-height: normal;" class=3D""><span style=3D"fon= t-variant-ligatures: no-common-ligatures" class=3D""> = Using Programmer = : diamex-avr-usb</span></div><div style=3D"margin: 0px; font-stret= ch: normal; line-height: normal;" class=3D""><span style=3D"font-variant-= ligatures: no-common-ligatures" class=3D"">avrdude: usbdev_open(): did = not find any USB device "usb" (0x03eb:0x2104)</span></div><div style=3D"m= argin: 0px; font-stretch: normal; line-height: normal; min-height: = 15px;" class=3D""><span style=3D"font-variant-ligatures: no-common-ligatu= res" class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; = font-stretch: normal; line-height: normal;" class=3D""><span style=3D"fon= t-variant-ligatures: no-common-ligatures" class=3D"">avrdude done. = Thank you.</span></div><div class=3D""><span style=3D"font-variant-ligatu= res: no-common-ligatures" class=3D"">- - -</span></div><div class=3D""><s= pan style=3D"font-variant-ligatures: no-common-ligatures" class=3D""><br = class=3D""></span></div><div class=3D""><span style=3D"font-variant-ligat= ures: no-common-ligatures" class=3D"">Axel</span></div><div class=3D""><s= pan style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">ps: = All this is inside a jail, but I see no difference on the host.</span></d= iv><div class=3D""><span style=3D"font-variant-ligatures: no-common-ligat= ures" class=3D"">devfs.rules are</span></div><div class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">- - = -</span></div><div class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D""><div class=3D"">[devfsrules_jail_home2l=3D= 100]</div><div class=3D"">add include $devfsrules_jail</div><div = class=3D"">add path 'ugen*' unhide</div><div class=3D"">add path 'usb/*' = unhide</div><div class=3D"">add path 'usbctl' unhide</div><div class=3D""= >add path 'cuaU*' unhide</div><div class=3D"">add path 'cuau*' unhide</di= v><div class=3D"">- - -</div><div class=3D""><br class=3D""></div></span>= </div></div><div class=3D""> <div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, = 0); letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; -webkit-tex= t-stroke-width: 0px; text-decoration: none; word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><div= dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); = letter-spacing: normal; text-align: start; text-indent: 0px; text-transfo= rm: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-wid= th: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode:= space; line-break: after-white-space;" class=3D""><div style=3D"color: = rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode:= space; line-break: after-white-space;" class=3D""><div style=3D"color: = rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode:= space; line-break: after-white-space;" class=3D""><div style=3D"color: = rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-li= gatures: normal; font-variant-position: normal; font-variant-caps: = normal; font-variant-numeric: normal; font-variant-alternates: normal; = font-variant-east-asian: normal; font-weight: normal; letter-spacing: = normal; line-height: normal; orphans: 2; text-align: -webkit-auto; = text-indent: 0px; text-transform: none; white-space: normal; widows: 2; = word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word;= -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><di= v class=3D"">---<br class=3D"">PGP-Key: CDE74120 =E2=98=80 = computing @ chaos claudius</div></div></div></div></div></div> </div> <br class=3D""></body></html> --Apple-Mail=_4A4EBA20-9180-4B6C-8ACC-1B2DAF4958A3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF8BDA54-4BC0-4B61-9330-600047FC7A05>