Это старая версия документа.



Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/inc/parser/handler.php on line 1458

Warning: Declaration of syntax_plugin_tablecalc::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/tablecalc/syntax.php on line 41

Warning: Declaration of syntax_plugin_tablecalc::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/tablecalc/syntax.php on line 72

Warning: Declaration of syntax_plugin_offline::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/offline/syntax.php on line 60

Warning: Declaration of syntax_plugin_offline::render($format, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/offline/syntax.php on line 67

Warning: preg_match(): Compilation failed: invalid range in character class at offset 3416 in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/inc/parser/lexer.php on line 118
A PCRE internal error occured. This might be caused by a faulty plugin

====== RXTXcomm ====== ===== Downloading ===== Official site download page http://rxtx.qbang.org/wiki/index.php/Download.\\ At the moment RXTX 2.1 is the main development branch for RXTX. ===== Installing on Ubuntu 10.04 (x86) ===== Copy libraries to your java dir from binary pack (rxtx-2.1-7-bins-r2.zip): sudo cp rxtx-2.1-7-bins-r2/Linux/i686-unknown-linux-gnu/*.* /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/i386 sudo cp rxtx-2.1-7-bins-r2/RXTXcomm.jar /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/ext ===== Adding support for MOXA on Linux ===== - Download sources pack (rxtx-2.1-7r2.zip) and unpack it somewhere - Open and add changes to the rxtx-2.1-7r2/src/**RXTXCommDriver.java**<code java> private void registerScannedPorts(int PortType) { ... if(osName.equals("Linux")) { String[] Temp = { "ttyS", // linux Serial Ports "ttyMI", // linux MOXA Serial Ports - ADD THIS LINE! "ttySA", // for the IPAQs "ttyUSB" // for USB frobs }; CandidatePortPrefixes=Temp; } ... } </code> - compile sources <code> sh ./configure make </code> - copy RXTXcomm.jar to your java place: <code> sudo cp rxtx-2.1-7r2/RXTXcomm.jar /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/ext </code>

dev/java/rxtxcomm.1305104031.txt.gz · Последние изменения: 2011/05/11 12:53 — jamis7005
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0