<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Fixing Arduino on Ubuntu 9.10 Karmic x64 with librxtx-java</title>
	<atom:link href="http://chemicaloliver.net/programming/fixing-arduino-on-ubuntu-9-10-karmic-x64/feed/" rel="self" type="application/rss+xml" />
	<link>http://chemicaloliver.net/arduino/fixing-arduino-on-ubuntu-9-10-karmic-x64/</link>
	<description>experimentation, criticism and geekyness</description>
	<lastBuildDate>Sun, 05 Sep 2010 20:10:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Dhara</title>
		<link>http://chemicaloliver.net/arduino/fixing-arduino-on-ubuntu-9-10-karmic-x64/#comment-25</link>
		<dc:creator>Dhara</dc:creator>
		<pubDate>Sat, 03 Jul 2010 09:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://chemicaloliver.net/?p=145#comment-25</guid>
		<description>Hi everyone.. i am using Ubuntu 9.10 i686..32-bit and jdk version java-6-sun-1.6.0.16. i have installed the rxtx jar n the required file in ext and lib folders resp of jdk. The rxtx version i used is rxtx-2.1-7-bins-r2. The issue with my application is i m not getting any values in CommPortIdentifier.getPortIdentifiers() method &amp; not getting any error also. i even explicitly added System.setProperty(&quot;gnu.io.rxtx.SerialPorts&quot;, &quot;/dev/ttyACM0&quot;); But yet no succcess !! I m tired of tryin everythin.. Can anyone point out the mistake.. Am i using a wrong version of rxtx or so..</description>
		<content:encoded><![CDATA[<p>Hi everyone.. i am using Ubuntu 9.10 i686..32-bit and jdk version java-6-sun-1.6.0.16. i have installed the rxtx jar n the required file in ext and lib folders resp of jdk. The rxtx version i used is rxtx-2.1-7-bins-r2. The issue with my application is i m not getting any values in CommPortIdentifier.getPortIdentifiers() method &amp; not getting any error also. i even explicitly added System.setProperty(&#8220;gnu.io.rxtx.SerialPorts&#8221;, &#8220;/dev/ttyACM0&#8243;); But yet no succcess !! I m tired of tryin everythin.. Can anyone point out the mistake.. Am i using a wrong version of rxtx or so..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian S</title>
		<link>http://chemicaloliver.net/arduino/fixing-arduino-on-ubuntu-9-10-karmic-x64/#comment-24</link>
		<dc:creator>Sebastian S</dc:creator>
		<pubDate>Tue, 04 May 2010 13:03:04 +0000</pubDate>
		<guid isPermaLink="false">http://chemicaloliver.net/?p=145#comment-24</guid>
		<description>hi

the 64bit lib from rxtx works like a charm. thanks</description>
		<content:encoded><![CDATA[<p>hi</p>
<p>the 64bit lib from rxtx works like a charm. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scrat75</title>
		<link>http://chemicaloliver.net/arduino/fixing-arduino-on-ubuntu-9-10-karmic-x64/#comment-23</link>
		<dc:creator>scrat75</dc:creator>
		<pubDate>Thu, 01 Apr 2010 22:13:02 +0000</pubDate>
		<guid isPermaLink="false">http://chemicaloliver.net/?p=145#comment-23</guid>
		<description>Hi,
the problem I wrote was due to a wrong sun-java6-jre package: I used the 32 bit version on a 64 bit ubuntu karmic. I purged the 32 bit version of sun-java6-jre package and installed again the correct one.
Now all things seem to be right.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
the problem I wrote was due to a wrong sun-java6-jre package: I used the 32 bit version on a 64 bit ubuntu karmic. I purged the 32 bit version of sun-java6-jre package and installed again the correct one.<br />
Now all things seem to be right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chemicaloliver</title>
		<link>http://chemicaloliver.net/arduino/fixing-arduino-on-ubuntu-9-10-karmic-x64/#comment-22</link>
		<dc:creator>chemicaloliver</dc:creator>
		<pubDate>Tue, 30 Mar 2010 21:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://chemicaloliver.net/?p=145#comment-22</guid>
		<description>To be honest you&#039;re probably trying to fix a problem that doesn&#039;t exist any more, as far as I know the current 64bit linux version of the arduino IDE works ok without additional tinkering. This was more aimed at the last version (0017) and before some packages were updated in ubuntu. I&#039;ve not tried using the PPA you mention so I can&#039;t really advise on that. You might wanna try the arduino.cc forums if you continue having troubles.</description>
		<content:encoded><![CDATA[<p>To be honest you&#8217;re probably trying to fix a problem that doesn&#8217;t exist any more, as far as I know the current 64bit linux version of the arduino IDE works ok without additional tinkering. This was more aimed at the last version (0017) and before some packages were updated in ubuntu. I&#8217;ve not tried using the PPA you mention so I can&#8217;t really advise on that. You might wanna try the arduino.cc forums if you continue having troubles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scrat75</title>
		<link>http://chemicaloliver.net/arduino/fixing-arduino-on-ubuntu-9-10-karmic-x64/#comment-21</link>
		<dc:creator>scrat75</dc:creator>
		<pubDate>Tue, 30 Mar 2010 20:53:08 +0000</pubDate>
		<guid isPermaLink="false">http://chemicaloliver.net/?p=145#comment-21</guid>
		<description>Hi,

I installed avr-libc, gcc-avr and avrdude packages, then I imported in my Ubuntu 9.10 64bit linux box the Arduino-0018 PPA found at https://launchpad.net/~arduino-ubuntu-team/+archive/ppa, as indicated in the instructions present in the http://www.arduino.cc/playground/Linux/Ubuntu.

Finally I downloaded and installed
librxtx-java_2.2pre2_amd64.deb, but when I run arduino command in a shell, I get the following error:

/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64

Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so

/usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64

Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so

/usr/lib/gio/modules/libgiogconf.so: wrong ELF class: ELFCLASS64

Failed to load module: /usr/lib/gio/modules/libgiogconf.so

and then also:

java.lang.UnsatisfiedLinkError:
/usr/lib/librxtxSerial.so: /usr/lib/librxtxSerial.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver

Exception in thread &quot;main&quot; java.lang.UnsatisfiedLinkError: /usr/lib/librxtxSerial.so: /usr/lib/librxtxSerial.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
	at java.lang.Runtime.loadLibrary0(Runtime.java:823)
	at java.lang.System.loadLibrary(System.java:1028)
	at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:123)
	at processing.app.Editor.populateSerialMenu(Editor.java:965)
	at processing.app.Editor.buildToolsMenu(Editor.java:717)
	at processing.app.Editor.buildMenuBar(Editor.java:502)
	at processing.app.Editor.(Editor.java:194)
	at processing.app.Base.handleOpen(Base.java:698)
	at processing.app.Base.handleOpen(Base.java:663)
	at processing.app.Base.handleNew(Base.java:578)
	at processing.app.Base.(Base.java:318)
	at processing.app.Base.main(Base.java:207)

Where do you think I&#039;m wrong?

Thanks in advance for you help.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I installed avr-libc, gcc-avr and avrdude packages, then I imported in my Ubuntu 9.10 64bit linux box the Arduino-0018 PPA found at <a href="https://launchpad.net/~arduino-ubuntu-team/+archive/ppa" rel="nofollow">https://launchpad.net/~arduino-ubuntu-team/+archive/ppa</a>, as indicated in the instructions present in the <a href="http://www.arduino.cc/playground/Linux/Ubuntu" rel="nofollow">http://www.arduino.cc/playground/Linux/Ubuntu</a>.</p>
<p>Finally I downloaded and installed<br />
librxtx-java_2.2pre2_amd64.deb, but when I run arduino command in a shell, I get the following error:</p>
<p>/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64</p>
<p>Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so</p>
<p>/usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64</p>
<p>Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so</p>
<p>/usr/lib/gio/modules/libgiogconf.so: wrong ELF class: ELFCLASS64</p>
<p>Failed to load module: /usr/lib/gio/modules/libgiogconf.so</p>
<p>and then also:</p>
<p>java.lang.UnsatisfiedLinkError:<br />
/usr/lib/librxtxSerial.so: /usr/lib/librxtxSerial.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver</p>
<p>Exception in thread &#8220;main&#8221; java.lang.UnsatisfiedLinkError: /usr/lib/librxtxSerial.so: /usr/lib/librxtxSerial.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)<br />
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)<br />
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)<br />
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)<br />
	at java.lang.Runtime.loadLibrary0(Runtime.java:823)<br />
	at java.lang.System.loadLibrary(System.java:1028)<br />
	at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:123)<br />
	at processing.app.Editor.populateSerialMenu(Editor.java:965)<br />
	at processing.app.Editor.buildToolsMenu(Editor.java:717)<br />
	at processing.app.Editor.buildMenuBar(Editor.java:502)<br />
	at processing.app.Editor.(Editor.java:194)<br />
	at processing.app.Base.handleOpen(Base.java:698)<br />
	at processing.app.Base.handleOpen(Base.java:663)<br />
	at processing.app.Base.handleNew(Base.java:578)<br />
	at processing.app.Base.(Base.java:318)<br />
	at processing.app.Base.main(Base.java:207)</p>
<p>Where do you think I&#8217;m wrong?</p>
<p>Thanks in advance for you help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robynhub</title>
		<link>http://chemicaloliver.net/arduino/fixing-arduino-on-ubuntu-9-10-karmic-x64/#comment-20</link>
		<dc:creator>Robynhub</dc:creator>
		<pubDate>Wed, 10 Feb 2010 18:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://chemicaloliver.net/?p=145#comment-20</guid>
		<description>Thanks a lot dude!</description>
		<content:encoded><![CDATA[<p>Thanks a lot dude!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://chemicaloliver.net/arduino/fixing-arduino-on-ubuntu-9-10-karmic-x64/#comment-19</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Sat, 30 Jan 2010 18:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://chemicaloliver.net/?p=145#comment-19</guid>
		<description>I&#039;ve had problems with various FTDI USB serial devices under Ubuntu 9.10.

I found that a power management driver is configured to recognise a wide range of Ftdi parts as belonging to a &#039;Watts Up&#039; power meter. This can cause the driver to hold the device open, requiring the arduino user to be superuser to get the port.

I have reported this as a bug,
https://bugs.launchpad.net/ubuntu/+source/devicekit-power/+bug/507247

but the workaround is to rename /lib/udev/rules.d/95-devkit-power-wup.rules as 95-devkit-power-wup.rules.DISABLED.

If you actually own a Watts-Up meter, edit that file to distinguish between the FTDI chip in the power meter and the one in your arduino.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve had problems with various FTDI USB serial devices under Ubuntu 9.10.</p>
<p>I found that a power management driver is configured to recognise a wide range of Ftdi parts as belonging to a &#8216;Watts Up&#8217; power meter. This can cause the driver to hold the device open, requiring the arduino user to be superuser to get the port.</p>
<p>I have reported this as a bug,<br />
<a href="https://bugs.launchpad.net/ubuntu/+source/devicekit-power/+bug/507247" rel="nofollow">https://bugs.launchpad.net/ubuntu/+source/devicekit-power/+bug/507247</a></p>
<p>but the workaround is to rename /lib/udev/rules.d/95-devkit-power-wup.rules as 95-devkit-power-wup.rules.DISABLED.</p>
<p>If you actually own a Watts-Up meter, edit that file to distinguish between the FTDI chip in the power meter and the one in your arduino.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph</title>
		<link>http://chemicaloliver.net/arduino/fixing-arduino-on-ubuntu-9-10-karmic-x64/#comment-18</link>
		<dc:creator>Christoph</dc:creator>
		<pubDate>Sat, 30 Jan 2010 15:10:35 +0000</pubDate>
		<guid isPermaLink="false">http://chemicaloliver.net/?p=145#comment-18</guid>
		<description>It&#039;s hard to reproduce the bug. The standard examples (LED blinking etc) work fine. Seems like Serial.available() works unreliably in my scripts on 2.6.31-18, whereas I&#039;ve never had problems with earlier versions. I&#039;ll try to put together a reproducible bug sample before filing something on launchpad.</description>
		<content:encoded><![CDATA[<p>It&#8217;s hard to reproduce the bug. The standard examples (LED blinking etc) work fine. Seems like Serial.available() works unreliably in my scripts on 2.6.31-18, whereas I&#8217;ve never had problems with earlier versions. I&#8217;ll try to put together a reproducible bug sample before filing something on launchpad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chemicaloliver</title>
		<link>http://chemicaloliver.net/arduino/fixing-arduino-on-ubuntu-9-10-karmic-x64/#comment-17</link>
		<dc:creator>chemicaloliver</dc:creator>
		<pubDate>Sat, 30 Jan 2010 13:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://chemicaloliver.net/?p=145#comment-17</guid>
		<description>I assume you&#039;ve filed a bug on launchpad!</description>
		<content:encoded><![CDATA[<p>I assume you&#8217;ve filed a bug on launchpad!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph</title>
		<link>http://chemicaloliver.net/arduino/fixing-arduino-on-ubuntu-9-10-karmic-x64/#comment-16</link>
		<dc:creator>Christoph</dc:creator>
		<pubDate>Sat, 30 Jan 2010 13:51:09 +0000</pubDate>
		<guid isPermaLink="false">http://chemicaloliver.net/?p=145#comment-16</guid>
		<description>If you activate the proposed repositories (karmic-proposed), you&#039;ll get 2.6.31-18. Maybe this will be fixed once the kernel update finds its way into the default repositories. For now, it seems to be a good idea not to get the &quot;proposed&quot; stuff.</description>
		<content:encoded><![CDATA[<p>If you activate the proposed repositories (karmic-proposed), you&#8217;ll get 2.6.31-18. Maybe this will be fixed once the kernel update finds its way into the default repositories. For now, it seems to be a good idea not to get the &#8220;proposed&#8221; stuff.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
