<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Rychle jsem to prošel (nemám čas to pitvat detailně). Čtečka
komunikuje přes COM, takže pyserial bude správná cesta.<br>
<br>
Dokumentace není nic moc, ale jsou tam příklady v C++, tak je můžete
zkusit "překlopit" do Pythona. Nenašel jsem tam popsané jak
komunikovat na "binární" úrovni bez ohledu na jazyk. To mne u
zařízení tohoto druhu překvapuje a prostě bych napsal výrobci.<br>
<br>
Btw u takto drahé čtečky nepoužít FTDI je minimálně zvláštní...<br>
<br>
Dex<br>
<br>
<br>
<div class="moz-cite-prefix">On 17.5.2015 10:19, "Ing. Vladislav
Ludík" wrote:<br>
</div>
<blockquote cite="mid:55584F27.7060000@ludik.cz" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">Celá dokumentace je na adrese: <br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.security-warehouse.com/index.php/rfid-860-925-mhz-equipment/rfid-uhf-860-960-mhz-iso-18000-6b-6c-desktop-reader-writrer-ultra-thin-usb-with-sdk.html">http://www.security-warehouse.com/index.php/rfid-860-925-mhz-equipment/rfid-uhf-860-960-mhz-iso-18000-6b-6c-desktop-reader-writrer-ultra-thin-usb-with-sdk.html</a>
<br>
<br>
unzip heslo je securitywarehouse <br>
<br>
Mám ještě jednu čtečku Alien ALR-8800 a ta po zapnutí opravdu po
přiložení čipu odešle ID tagu přes COM port<br>
<br>
Tato malá ruční čtečka ne.<br>
Potřebuje inicializaci a v demo od výrobce funguje.<br>
Já programuju web aplikace v Cherrypy a potřebuju ji nějak
připojit.<br>
Nevím zazím jak.<br>
<br>
Dne 17.5.2015 v 9:50 Dex napsal(a):<br>
</div>
<blockquote cite="mid:55584857.2020806@symboliq.net" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
Je k té čtečce nějaký bližší popis?<br>
<br>
Obvod CP2102 je převodník USB <-> COM (podobně jako PL2303
nebo FTDI). Nejsem expert na RFID čtečky, ale ty dvě co jsem
viděl po přiložení karty odeslaly sadu bajtů odpovídající ID
karty. Stačilo je mít správně nainstalované a používat vhodnou
rychlost.<br>
<br>
Dex<br>
<br>
<br>
<div class="moz-cite-prefix">On 17.5.2015 9:28, "Ing. Vladislav
Ludík" wrote:<br>
</div>
<blockquote cite="mid:55584310.3060302@ludik.cz" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Původně tam byl COM4, ale serial,
nebo i hyperterminal se tvářili jako otevřené, ale čtečka
nereagovala.<br>
Po přeinstalaci ovladačů COM port zmizel.<br>
Tak nevím jak to má být, protože v dokumentaci je nějaké:<br>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<small><span style="font-size:14.0pt;font-family:
"Times New
Roman";mso-fareast-font-family:SimSun;mso-font-kerning:.5pt;
mso-ansi-language:EN-US;mso-fareast-language:AR-SA;mso-bidi-language:AR-SA"
lang="EN-US">Dynamic library file name</span><b
style="mso-bidi-font-weight:normal"><span
style="font-size:14.0pt;font-family:微软雅黑;mso-hansi-font-
family:微软雅黑;
mso-bidi-font-family:Arial;color:black;mso-font-kerning:.5pt;mso-ansi-language:EN-US;mso-fareast-language:AR-SA;mso-bidi-language:AR-SA"
lang="AR-SA">: </span><span
style="font-size:14.0pt;font-family:微软雅黑;mso-hansi-font-family:微软雅黑;
mso-bidi-font-family:Arial;color:black;mso-font-kerning:.5pt;mso-ansi-language:
EN-US;mso-fareast-language:AR-SA;mso-bidi-language:AR-SA" lang="EN-US">RfidApiLib.dll</span></b></small>
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 9">
<meta name="Originator" content="Microsoft Word 9">
<link rel="File-List"
href="file:///C:/Users/Vlada/AppData/Local/Temp/msoclip1/03/clip_filelist.xml">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:HyphenationZone>21</w:HyphenationZone>
<w:DoNotOptimizeForBrowser/>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:宋体;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 680460288 22 0 262145 0;}
@font-face
{font-family:微软雅黑;
mso-font-alt:Arial;
mso-font-charset:134;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:0 0 0 0 0 0;}
@font-face
{font-family:"Microsoft YaHei";
panose-1:2 11 5 3 2 2 4 2 2 4;
mso-font-charset:134;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-2147483001 672087122 22 0 262175 0;}
@font-face
{font-family:"\@Microsoft YaHei";
panose-1:2 11 5 3 2 2 4 2 2 4;
mso-font-charset:134;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-2147483001 672087122 22 0 262175 0;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 680460288 22 0 262145 0;}
@font-face
{font-family:"\@微软雅黑";
mso-font-charset:134;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
mso-pagination:none;
mso-hyphenate:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
h1
{mso-style-next:Normální;
margin-top:17.0pt;
margin-right:0cm;
margin-bottom:16.5pt;
margin-left:21.6pt;
text-align:justify;
text-indent:-21.6pt;
line-height:200%;
mso-pagination:lines-together;
page-break-after:avoid;
mso-outline-level:1;
mso-list:l0 level1 lfo1;
mso-hyphenate:none;
tab-stops:list 21.6pt;
font-size:22.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
{margin:0cm;
margin-bottom:.0001pt;
text-align:center;
mso-pagination:none;
mso-hyphenate:none;
tab-stops:center 207.65pt right 415.3pt;
layout-grid-mode:char;
border:none;
mso-border-bottom-alt:solid black .5pt;
padding:0cm;
mso-padding-alt:0cm 0cm 1.0pt 0cm;
font-size:9.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.MsoFooter, li.MsoFooter, div.MsoFooter
{margin:0cm;
margin-bottom:.0001pt;
mso-pagination:none;
mso-hyphenate:none;
tab-stops:center 207.65pt right 415.3pt;
layout-grid-mode:char;
font-size:9.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:X-NONE;
mso-fareast-language:AR-SA;}
p.MsoList, li.MsoList, div.MsoList
{mso-style-parent:"Základní text";
margin-top:0cm;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
text-align:justify;
mso-pagination:none;
mso-hyphenate:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
{margin-top:0cm;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
text-align:justify;
mso-pagination:none;
mso-hyphenate:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
span.WW8Num1z0
{mso-style-name:WW8Num1z0;
mso-style-parent:"";}
span.WW8Num1z1
{mso-style-name:WW8Num1z1;
mso-style-parent:"";}
span.WW8Num1z2
{mso-style-name:WW8Num1z2;
mso-style-parent:"";}
span.WW8Num1z3
{mso-style-name:WW8Num1z3;
mso-style-parent:"";}
span.WW8Num1z4
{mso-style-name:WW8Num1z4;
mso-style-parent:"";}
span.WW8Num1z5
{mso-style-name:WW8Num1z5;
mso-style-parent:"";}
span.WW8Num1z6
{mso-style-name:WW8Num1z6;
mso-style-parent:"";}
span.WW8Num1z7
{mso-style-name:WW8Num1z7;
mso-style-parent:"";}
span.WW8Num1z8
{mso-style-name:WW8Num1z8;
mso-style-parent:"";}
span.WW8Num2z0
{mso-style-name:WW8Num2z0;
mso-style-parent:"";}
span.WW8Num2z1
{mso-style-name:WW8Num2z1;
mso-style-parent:"";}
span.WW8Num2z2
{mso-style-name:WW8Num2z2;
mso-style-parent:"";}
span.WW8Num2z3
{mso-style-name:WW8Num2z3;
mso-style-parent:"";}
span.WW8Num2z4
{mso-style-name:WW8Num2z4;
mso-style-parent:"";}
span.WW8Num2z5
{mso-style-name:WW8Num2z5;
mso-style-parent:"";}
span.WW8Num2z6
{mso-style-name:WW8Num2z6;
mso-style-parent:"";}
span.WW8Num2z7
{mso-style-name:WW8Num2z7;
mso-style-parent:"";}
span.WW8Num2z8
{mso-style-name:WW8Num2z8;
mso-style-parent:"";}
span.WW8Num3z0
{mso-style-name:WW8Num3z0;
mso-style-parent:"";}
span.WW8Num3z1
{mso-style-name:WW8Num3z1;
mso-style-parent:"";}
span.WW8Num3z2
{mso-style-name:WW8Num3z2;
mso-style-parent:"";}
span.WW8Num3z3
{mso-style-name:WW8Num3z3;
mso-style-parent:"";}
span.WW8Num3z4
{mso-style-name:WW8Num3z4;
mso-style-parent:"";}
span.WW8Num3z5
{mso-style-name:WW8Num3z5;
mso-style-parent:"";}
span.WW8Num3z6
{mso-style-name:WW8Num3z6;
mso-style-parent:"";}
span.WW8Num3z7
{mso-style-name:WW8Num3z7;
mso-style-parent:"";}
span.WW8Num3z8
{mso-style-name:WW8Num3z8;
mso-style-parent:"";}
span.WW8Num4z0
{mso-style-name:WW8Num4z0;
mso-style-parent:"";
mso-ansi-font-size:10.5pt;
mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-hansi-font-family:"Times New Roman";}
span.WW8Num4z1
{mso-style-name:WW8Num4z1;
mso-style-parent:"";}
span.WW8Num4z2
{mso-style-name:WW8Num4z2;
mso-style-parent:"";}
span.WW8Num4z3
{mso-style-name:WW8Num4z3;
mso-style-parent:"";}
span.WW8Num4z4
{mso-style-name:WW8Num4z4;
mso-style-parent:"";}
span.WW8Num4z5
{mso-style-name:WW8Num4z5;
mso-style-parent:"";}
span.WW8Num4z6
{mso-style-name:WW8Num4z6;
mso-style-parent:"";}
span.WW8Num4z7
{mso-style-name:WW8Num4z7;
mso-style-parent:"";}
span.WW8Num4z8
{mso-style-name:WW8Num4z8;
mso-style-parent:"";}
span.a
{mso-style-name:默认段落字体;
mso-style-parent:"";}
span.1Char
{mso-style-name:"标题 1 Char";
mso-style-parent:"";
mso-ansi-font-size:22.0pt;
mso-bidi-font-size:22.0pt;
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;
mso-bidi-language:AR-SA;
font-weight:bold;}
span.Char
{mso-style-name:"页脚 Char";
mso-style-parent:"";
mso-ansi-font-size:9.0pt;
mso-bidi-font-size:9.0pt;
mso-font-kerning:.5pt;}
p.Nadpis, li.Nadpis, div.Nadpis
{mso-style-name:Nadpis;
mso-style-next:"Základní text";
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
text-align:justify;
mso-pagination:none;
page-break-after:avoid;
mso-hyphenate:none;
font-size:14.0pt;
font-family:Arial;
mso-fareast-font-family:"Microsoft YaHei";
mso-bidi-font-family:"Times New Roman";
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.Popisek, li.Popisek, div.Popisek
{mso-style-name:Popisek;
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
text-align:justify;
mso-pagination:no-line-numbers;
mso-hyphenate:none;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;
font-style:italic;}
p.Rejstk, li.Rejstk, div.Rejstk
{mso-style-name:Rejstřík;
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
mso-pagination:no-line-numbers;
mso-hyphenate:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.a0, li.a0, div.a0
{mso-style-name:文档结构图;
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
mso-pagination:none;
mso-hyphenate:none;
background:navy;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.Obsahtabulky, li.Obsahtabulky, div.Obsahtabulky
{mso-style-name:"Obsah tabulky";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
mso-pagination:no-line-numbers;
mso-hyphenate:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.Nadpistabulky, li.Nadpistabulky, div.Nadpistabulky
{mso-style-name:"Nadpis tabulky";
mso-style-parent:"Obsah tabulky";
margin:0cm;
margin-bottom:.0001pt;
text-align:center;
mso-pagination:no-line-numbers;
mso-hyphenate:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;
font-weight:bold;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:1;
mso-list-template-ids:1;}
@list l0:level1
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:21.6pt;
mso-level-number-position:left;
margin-left:21.6pt;
text-indent:-21.6pt;}
@list l0:level2
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:28.8pt;
mso-level-number-position:left;
margin-left:28.8pt;
text-indent:-28.8pt;}
@list l0:level3
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
margin-left:36.0pt;
text-indent:-36.0pt;}
@list l0:level4
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:43.2pt;
mso-level-number-position:left;
margin-left:43.2pt;
text-indent:-43.2pt;}
@list l0:level5
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:50.4pt;
mso-level-number-position:left;
margin-left:50.4pt;
text-indent:-50.4pt;}
@list l0:level6
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:57.6pt;
mso-level-number-position:left;
margin-left:57.6pt;
text-indent:-57.6pt;}
@list l0:level7
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:64.8pt;
mso-level-number-position:left;
margin-left:64.8pt;
text-indent:-64.8pt;}
@list l0:level8
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
margin-left:72.0pt;
text-indent:-72.0pt;}
@list l0:level9
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:79.2pt;
mso-level-number-position:left;
margin-left:79.2pt;
text-indent:-79.2pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</style><br>
a v příkazech například v popisu<b> </b>aplikace:<b> <br>
<br>
</b>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:微软雅黑;mso-hansi-font-family:
微软雅黑;mso-bidi-font-family:微软雅黑;color:black">I</span><span
style="font-size:
9.0pt;font-family:微软雅黑;mso-hansi-font-family:微软雅黑;mso-bidi-
font-family:微软雅黑; color:black">f(</span><span
style="font-size:10.0pt;font-family:
微软雅黑;mso-hansi-font-family:微软雅黑;mso-bidi-font-
family:SimSun;color:black; mso-bidi-font-weight:bold"
lang="EN-US">OpenCommPort</span><span
style="font-size:9.0pt;
font-family:微软雅黑;mso-hansi-font-family:微软雅黑;mso-bidi-font-
family:微软雅黑; color:black"> (</span><span
style="font-size:9.0pt;font-family:微软雅黑;mso-hansi-font-family:
微软雅黑;mso-bidi-font-family:微软雅黑;color:black">“</span><span
style="font-size:
9.0pt;font-family:微软雅黑;mso-hansi-font-family:微软雅黑;mso-bidi-
font-family:微软雅黑; color:black">COM1</span><span
style="font-size:9.0pt;font-family:微软雅黑;
mso-hansi-font-family:微软雅黑;mso-bidi-font-family:微软雅
黑;color:black">”</span><span
style="font-size:9.0pt;font-family:微软雅黑;mso-hansi-font-family:微软雅黑;mso-
bidi-font-family: 微软雅黑;color:black">,9600) == 0)</span><span
style="font-size:9.0pt;font-family:
微软雅黑;mso-hansi-font-family:微软雅黑;mso-bidi-font-family:微软雅
黑;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:微软雅黑;mso-hansi-font-family:
微软雅黑;mso-bidi-font-family:微软雅黑;color:black"><span
style="mso-spacerun: yes"> </span></span><span
style="font-size:9.0pt;font-family:微软雅黑;mso-hansi-font-family:
微软雅黑;mso-bidi-font-family:微软雅黑;color:black">M</span><span
style="font-size:
9.0pt;font-family:微软雅黑;mso-hansi-font-family:微软雅黑;mso-bidi-
font-family:微软雅黑; color:black">essageBox(</span><span
style="font-size:9.0pt;font-family:微软雅黑;
mso-hansi-font-family:微软雅黑;mso-bidi-font-family:微软雅
黑;color:black">"</span><span
style="font-size:9.0pt;font-family:微软雅黑;mso-hansi-font-family:微软雅黑;mso-
bidi-font-family: 微软雅黑;color:black">success</span><span
style="font-size:9.0pt;font-family:微软雅黑;
mso-hansi-font-family:微软雅黑;mso-bidi-font-family:微软雅
黑;color:black">"</span><span
style="font-size:9.0pt;font-family:微软雅黑;mso-hansi-font-family:微软雅黑;mso-
bidi-font-family: 微软雅黑;color:black">);</span><span
style="font-size:9.0pt;font-family:微软雅黑;
mso-hansi-font-family:微软雅黑;mso-bidi-font-family:微软雅
黑;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:微软雅黑;mso-hansi-font-family:
微软雅黑;mso-bidi-font-family:微软雅黑;color:black">E</span><span
style="font-size:
9.0pt;font-family:微软雅黑;mso-hansi-font-family:微软雅黑;mso-bidi-
font-family:微软雅黑; color:black">lse</span><span
style="font-size:9.0pt;font-family:微软雅黑;
mso-hansi-font-family:微软雅黑;mso-bidi-font-family:微软雅
黑;color:black"><o:p></o:p></span></p>
<span
style="font-size:9.0pt;font-family:微软雅黑;mso-hansi-font-family:微软雅黑;
mso-bidi-font-family:微软雅黑;color:black;mso-font-
kerning:.5pt;mso- fareast-language:
AR-SA;mso-bidi-language:AR-SA"><span style="mso-spacerun:
yes"> </span>MessageBox("failed");<br>
</span>
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 9">
<meta name="Originator" content="Microsoft Word 9">
<link rel="File-List"
href="file:///C:/Users/Vlada/AppData/Local/Temp/msoclip1/06/clip_filelist.xml">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:HyphenationZone>21</w:HyphenationZone>
<w:DoNotOptimizeForBrowser/>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:宋体;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 680460288 22 0 262145 0;}
@font-face
{font-family:微软雅黑;
mso-font-alt:Arial;
mso-font-charset:134;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:0 0 0 0 0 0;}
@font-face
{font-family:"Microsoft YaHei";
panose-1:2 11 5 3 2 2 4 2 2 4;
mso-font-charset:134;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-2147483001 672087122 22 0 262175 0;}
@font-face
{font-family:"\@Microsoft YaHei";
panose-1:2 11 5 3 2 2 4 2 2 4;
mso-font-charset:134;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-2147483001 672087122 22 0 262175 0;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 680460288 22 0 262145 0;}
@font-face
{font-family:"\@微软雅黑";
mso-font-charset:134;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
mso-pagination:none;
mso-hyphenate:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
h1
{mso-style-next:Normální;
margin-top:17.0pt;
margin-right:0cm;
margin-bottom:16.5pt;
margin-left:21.6pt;
text-align:justify;
text-indent:-21.6pt;
line-height:200%;
mso-pagination:lines-together;
page-break-after:avoid;
mso-outline-level:1;
mso-list:l0 level1 lfo1;
mso-hyphenate:none;
tab-stops:list 21.6pt;
font-size:22.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
{margin:0cm;
margin-bottom:.0001pt;
text-align:center;
mso-pagination:none;
mso-hyphenate:none;
tab-stops:center 207.65pt right 415.3pt;
layout-grid-mode:char;
border:none;
mso-border-bottom-alt:solid black .5pt;
padding:0cm;
mso-padding-alt:0cm 0cm 1.0pt 0cm;
font-size:9.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.MsoFooter, li.MsoFooter, div.MsoFooter
{margin:0cm;
margin-bottom:.0001pt;
mso-pagination:none;
mso-hyphenate:none;
tab-stops:center 207.65pt right 415.3pt;
layout-grid-mode:char;
font-size:9.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:X-NONE;
mso-fareast-language:AR-SA;}
p.MsoList, li.MsoList, div.MsoList
{mso-style-parent:"Základní text";
margin-top:0cm;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
text-align:justify;
mso-pagination:none;
mso-hyphenate:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
{margin-top:0cm;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
text-align:justify;
mso-pagination:none;
mso-hyphenate:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
span.WW8Num1z0
{mso-style-name:WW8Num1z0;
mso-style-parent:"";}
span.WW8Num1z1
{mso-style-name:WW8Num1z1;
mso-style-parent:"";}
span.WW8Num1z2
{mso-style-name:WW8Num1z2;
mso-style-parent:"";}
span.WW8Num1z3
{mso-style-name:WW8Num1z3;
mso-style-parent:"";}
span.WW8Num1z4
{mso-style-name:WW8Num1z4;
mso-style-parent:"";}
span.WW8Num1z5
{mso-style-name:WW8Num1z5;
mso-style-parent:"";}
span.WW8Num1z6
{mso-style-name:WW8Num1z6;
mso-style-parent:"";}
span.WW8Num1z7
{mso-style-name:WW8Num1z7;
mso-style-parent:"";}
span.WW8Num1z8
{mso-style-name:WW8Num1z8;
mso-style-parent:"";}
span.WW8Num2z0
{mso-style-name:WW8Num2z0;
mso-style-parent:"";}
span.WW8Num2z1
{mso-style-name:WW8Num2z1;
mso-style-parent:"";}
span.WW8Num2z2
{mso-style-name:WW8Num2z2;
mso-style-parent:"";}
span.WW8Num2z3
{mso-style-name:WW8Num2z3;
mso-style-parent:"";}
span.WW8Num2z4
{mso-style-name:WW8Num2z4;
mso-style-parent:"";}
span.WW8Num2z5
{mso-style-name:WW8Num2z5;
mso-style-parent:"";}
span.WW8Num2z6
{mso-style-name:WW8Num2z6;
mso-style-parent:"";}
span.WW8Num2z7
{mso-style-name:WW8Num2z7;
mso-style-parent:"";}
span.WW8Num2z8
{mso-style-name:WW8Num2z8;
mso-style-parent:"";}
span.WW8Num3z0
{mso-style-name:WW8Num3z0;
mso-style-parent:"";}
span.WW8Num3z1
{mso-style-name:WW8Num3z1;
mso-style-parent:"";}
span.WW8Num3z2
{mso-style-name:WW8Num3z2;
mso-style-parent:"";}
span.WW8Num3z3
{mso-style-name:WW8Num3z3;
mso-style-parent:"";}
span.WW8Num3z4
{mso-style-name:WW8Num3z4;
mso-style-parent:"";}
span.WW8Num3z5
{mso-style-name:WW8Num3z5;
mso-style-parent:"";}
span.WW8Num3z6
{mso-style-name:WW8Num3z6;
mso-style-parent:"";}
span.WW8Num3z7
{mso-style-name:WW8Num3z7;
mso-style-parent:"";}
span.WW8Num3z8
{mso-style-name:WW8Num3z8;
mso-style-parent:"";}
span.WW8Num4z0
{mso-style-name:WW8Num4z0;
mso-style-parent:"";
mso-ansi-font-size:10.5pt;
mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-hansi-font-family:"Times New Roman";}
span.WW8Num4z1
{mso-style-name:WW8Num4z1;
mso-style-parent:"";}
span.WW8Num4z2
{mso-style-name:WW8Num4z2;
mso-style-parent:"";}
span.WW8Num4z3
{mso-style-name:WW8Num4z3;
mso-style-parent:"";}
span.WW8Num4z4
{mso-style-name:WW8Num4z4;
mso-style-parent:"";}
span.WW8Num4z5
{mso-style-name:WW8Num4z5;
mso-style-parent:"";}
span.WW8Num4z6
{mso-style-name:WW8Num4z6;
mso-style-parent:"";}
span.WW8Num4z7
{mso-style-name:WW8Num4z7;
mso-style-parent:"";}
span.WW8Num4z8
{mso-style-name:WW8Num4z8;
mso-style-parent:"";}
span.a
{mso-style-name:默认段落字体;
mso-style-parent:"";}
span.1Char
{mso-style-name:"标题 1 Char";
mso-style-parent:"";
mso-ansi-font-size:22.0pt;
mso-bidi-font-size:22.0pt;
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;
mso-bidi-language:AR-SA;
font-weight:bold;}
span.Char
{mso-style-name:"页脚 Char";
mso-style-parent:"";
mso-ansi-font-size:9.0pt;
mso-bidi-font-size:9.0pt;
mso-font-kerning:.5pt;}
p.Nadpis, li.Nadpis, div.Nadpis
{mso-style-name:Nadpis;
mso-style-next:"Základní text";
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
text-align:justify;
mso-pagination:none;
page-break-after:avoid;
mso-hyphenate:none;
font-size:14.0pt;
font-family:Arial;
mso-fareast-font-family:"Microsoft YaHei";
mso-bidi-font-family:"Times New Roman";
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.Popisek, li.Popisek, div.Popisek
{mso-style-name:Popisek;
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
text-align:justify;
mso-pagination:no-line-numbers;
mso-hyphenate:none;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;
font-style:italic;}
p.Rejstk, li.Rejstk, div.Rejstk
{mso-style-name:Rejstřík;
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
mso-pagination:no-line-numbers;
mso-hyphenate:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.a0, li.a0, div.a0
{mso-style-name:文档结构图;
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
mso-pagination:none;
mso-hyphenate:none;
background:navy;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.Obsahtabulky, li.Obsahtabulky, div.Obsahtabulky
{mso-style-name:"Obsah tabulky";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
mso-pagination:no-line-numbers;
mso-hyphenate:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;}
p.Nadpistabulky, li.Nadpistabulky, div.Nadpistabulky
{mso-style-name:"Nadpis tabulky";
mso-style-parent:"Obsah tabulky";
margin:0cm;
margin-bottom:.0001pt;
text-align:center;
mso-pagination:no-line-numbers;
mso-hyphenate:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:SimSun;
mso-font-kerning:.5pt;
mso-ansi-language:EN-US;
mso-fareast-language:AR-SA;
font-weight:bold;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:1;
mso-list-template-ids:1;}
@list l0:level1
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:21.6pt;
mso-level-number-position:left;
margin-left:21.6pt;
text-indent:-21.6pt;}
@list l0:level2
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:28.8pt;
mso-level-number-position:left;
margin-left:28.8pt;
text-indent:-28.8pt;}
@list l0:level3
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
margin-left:36.0pt;
text-indent:-36.0pt;}
@list l0:level4
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:43.2pt;
mso-level-number-position:left;
margin-left:43.2pt;
text-indent:-43.2pt;}
@list l0:level5
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:50.4pt;
mso-level-number-position:left;
margin-left:50.4pt;
text-indent:-50.4pt;}
@list l0:level6
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:57.6pt;
mso-level-number-position:left;
margin-left:57.6pt;
text-indent:-57.6pt;}
@list l0:level7
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:64.8pt;
mso-level-number-position:left;
margin-left:64.8pt;
text-indent:-64.8pt;}
@list l0:level8
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
margin-left:72.0pt;
text-indent:-72.0pt;}
@list l0:level9
{mso-level-number-format:none;
mso-level-suffix:none;
mso-level-text:"";
mso-level-tab-stop:79.2pt;
mso-level-number-position:left;
margin-left:79.2pt;
text-indent:-79.2pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</style><br>
Ale nyní port nemám !<br>
Přiznám se, že zatím nevím co dál.<br>
<br>
Dne 17.5.2015 v 9:11 Dex napsal(a):<br>
</div>
<blockquote cite="mid:55583F15.1020805@symboliq.net"
type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
Zdravím,<br>
<br>
nechci Vás svést na špatnou cestu, ale netváří se ta čtečka
jako COM port? Poznámka o CP2102 by o tom svědčila. Pak bych
ovšem doporučil pyserial místo pyusb ;-)<br>
<br>
Jen nápad...<br>
<br>
Dex<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 17.5.2015 8:30, "Ing.
Vladislav Ludík" wrote:<br>
</div>
<blockquote cite="mid:5558357A.9000101@ludik.cz" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">libusb0 jsem jsem měl
nahrané, ale asi špatné verze.<br>
Teď jsem našel správnou verzi, libusb0 se nahrálo
korektně.<br>
<br>
Čtečka pak zmizela ve správci zařízení z Portů (byl tam
nějaký COM) <br>
a objevil se samostatný symbol pro usb jako libusb-32
devices s podsložkou<br>
CP2102 USB to UART Bridge Controller<br>
<br>
Když nyní dám usb.core.show_devices()<br>
vrátí mi: <br>
DEVICE ID 10c4:ea60 on Bus 000 Address 001, Specified at
interface<br>
<br>
Takže idVendor=0x10C48 měl být 0x10C4<br>
Po opravě se vše rozjelo. Zdá se, že jsem na dobré
cestě.<br>
<br>
Děkuji za pomoc.<br>
<br>
Vláďa<br>
<br>
Dne 17.5.2015 v 2:43 Petr Messner napsal(a):<br>
</div>
<blockquote
cite="mid:CAK9Q5BQ9rgHH4C6xeQGMg-FkfJ+ZVoZJbN7tQQDi0=GjLkzX+Q@mail.gmail.com"
type="cite">
<div dir="ltr">Njn, když chceš hackovat, tak na to musíš
mít křídla :)
<div><br>
</div>
<div>Z chyby <span
style="font-size:12.8000001907349px"><font
face="monospace, monospace">'generator' object
has no attribute 'set_configuration'</font> je
zřejmé, že to <font face="monospace, monospace">usb.core.find</font>
vrací iterátor. No a proč to vrací iterátor?
Protože <a moz-do-not-send="true"
href="https://github.com/walac/pyusb/blob/a83f17e568bf893bed53fa984f00c1e168348cb9/usb/core.py#L1127">deklarace
té funkce</a> je</span></div>
<div><span style="font-size:12.8000001907349px"><br>
</span></div>
<div><span class=""
style="color:rgb(167,29,93);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">def</span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">
</span><span class=""
style="color:rgb(121,93,163);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">find</span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">(</span><span
class=""
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">find_all</span><span
class=""
style="color:rgb(167,29,93);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">=</span><span
class=""
style="color:rgb(0,134,179);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">False</span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">,
</span><span class=""
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">backend</span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">
</span><span class=""
style="color:rgb(167,29,93);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">=</span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">
</span><span class=""
style="color:rgb(0,134,179);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">None</span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">,
</span><span class=""
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">custom_match</span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">
</span><span class=""
style="color:rgb(167,29,93);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">=</span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">
</span><span class=""
style="color:rgb(0,134,179);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">None</span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">,
**</span><span class=""
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">args</span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">):</span><span
style="font-size:12.8000001907349px"><br>
</span></div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">a když to voláš bez keyword
argumentů, tak se jako <font face="monospace,
monospace">find_all</font> nastaví to 0x10C48, což
se interpretuje podobně jako <font face="monospace,
monospace">find_all=True</font>.</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Takže o krok zpět k <span
style="font-size:12.8000001907349px"><font
face="monospace, monospace">ValueError: No
backend available</font>. Podívej se do
zdrojáku, co to dělá. Prochází to moduly </span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">usb.backend.libusb1</span><span
style="font-size:12.8000001907349px">,</span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre"> u</span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">sb.backend.libusb0</span><span
style="font-size:12.8000001907349px"> a </span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">usb.backend.openusb</span><span
style="font-size:12.8000001907349px"> a volá to
jejich funkci </span><span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre">get_backend()</span><span
style="font-size:12.8000001907349px">, která se
snaží danou DLL (nebo .so) knihovnu načíst
(protože <font face="monospace, monospace">usb.backend.*
</font>jsou jen ctypes wrappery "céčkových"
knihoven). Takže problém je v tom, že žádnou z
těch knihoven buď nemáš k dispozici, nebo ji pyusb
nemůže najít.</span></div>
<div class="gmail_extra"><span
style="font-size:12.8000001907349px"><br>
</span></div>
<div class="gmail_extra">PM</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">Dne 16. května 2015 16:28
"Ing. Vladislav Ludík" <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:vlada@ludik.cz" target="_blank">vlada@ludik.cz</a>></span>
napsal(a):<br>
<blockquote class="gmail_quote" style="margin:0px
0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Ještě
chyby:<br>
<br>
dev = usb.core.find(idVendor=0x10C48,
idProduct=0xEA60)<br>
<br>
hlásí chybu:<br>
<br>
dev = usb.core.find(idVendor=0x10C48,
idProduct=0xEA60)<br>
File "build\bdist.win32\egg\usb\core.py", line
1199, in find<br>
raise ValueError('No backend available')<br>
ValueError: No backend available<br>
<br>
Když jsem změnil řádek na:<br>
<br>
dev = usb.core.find(0x10C48, 0xEA60)<br>
<br>
program projde dále, ale hlásí chybu:<br>
<br>
dev.set_configuration()<br>
AttributeError: 'generator' object has no
attribute 'set_configuration'<br>
<br>
Co s tím dále, nevím.
<div class="">
<div class="h5"><br>
<br>
Díky Vláďa<br>
_______________________________________________<br>
Python mailing list<br>
<a moz-do-not-send="true"
href="mailto:python@py.cz" target="_blank">python@py.cz</a><br>
<a moz-do-not-send="true"
href="http://www.py.cz/mailman/listinfo/python"
target="_blank">http://www.py.cz/mailman/listinfo/python</a><br>
<br>
Visit: <a moz-do-not-send="true"
href="http://www.py.cz" target="_blank">http://www.py.cz</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Python mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:python@py.cz">python@py.cz</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.py.cz/mailman/listinfo/python">http://www.py.cz/mailman/listinfo/python</a>
Visit: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.py.cz">http://www.py.cz</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Python mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:python@py.cz">python@py.cz</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.py.cz/mailman/listinfo/python">http://www.py.cz/mailman/listinfo/python</a>
Visit: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.py.cz">http://www.py.cz</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Python mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:python@py.cz">python@py.cz</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.py.cz/mailman/listinfo/python">http://www.py.cz/mailman/listinfo/python</a>
Visit: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.py.cz">http://www.py.cz</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Python mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:python@py.cz">python@py.cz</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.py.cz/mailman/listinfo/python">http://www.py.cz/mailman/listinfo/python</a>
Visit: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.py.cz">http://www.py.cz</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Python mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:python@py.cz">python@py.cz</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.py.cz/mailman/listinfo/python">http://www.py.cz/mailman/listinfo/python</a>
Visit: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.py.cz">http://www.py.cz</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:python@py.cz">python@py.cz</a>
<a class="moz-txt-link-freetext" href="http://www.py.cz/mailman/listinfo/python">http://www.py.cz/mailman/listinfo/python</a>
Visit: <a class="moz-txt-link-freetext" href="http://www.py.cz">http://www.py.cz</a></pre>
</blockquote>
<br>
</body>
</html>