<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>blog.crox.net (Entries tagged as axbo)</title>
    <link>https://blog.crox.net/</link>
    <description></description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.5.0 - http://www.s9y.org/</generator>
    <pubDate>Mon, 29 Dec 2008 07:38:43 GMT</pubDate>

    <image>
    <url>https://blog.crox.net/templates/2k11/img/s9y_banner_small.png</url>
    <title>RSS: blog.crox.net - </title>
    <link>https://blog.crox.net/</link>
    <width>100</width>
    <height>21</height>
</image>

<item>
    <title>aXbo research 2.0 (Analysis Software &amp; Sounds Upload) on linux</title>
    <link>https://blog.crox.net/archives/45-aXbo-research-2.0-Analysis-Software-Sounds-Upload-on-linux.html</link>
    
    <comments>https://blog.crox.net/archives/45-aXbo-research-2.0-Analysis-Software-Sounds-Upload-on-linux.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=45</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=45</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    This is a follow-up to &lt;a href=&quot;http://blog.crox.net/archives/37-Running-aXbo-research-software-on-linux-for-aXbo-SPAC-Sleep-Phase-Alarm-Clock.html&quot;  title=&quot;running aXbo software 1.0 on linux&quot;&gt;my previous post about using the aXbo Sleep Phase Alarm Clock (SPAC) on linux&lt;/a&gt;. You should probably read that post first.&lt;br /&gt;
&lt;br /&gt;
There is now a new 2.0 version of the &quot;aXbo research&quot; software (&lt;a href=&quot;http://blog.crox.net/archives/37-Running-aXbo-research-software-on-linux-for-aXbo-SPAC-Sleep-Phase-Alarm-Clock.html#c862&quot; &gt;thanks rac for the hint&lt;/a&gt;). It is quite similar to version 1.0, with the added feature that you can upload new sounds to the device. It&#039;s still a Java application, using a number of Open Source components =&gt; Look at NOTICE.txt, and from what I saw it seems it&#039;s being developed on &lt;a href=&quot;http://en.wikipedia.org/wiki/Mac_OS_X&quot;  title=&quot;Mac OS X on Wikipedia&quot;&gt;OS X&lt;/a&gt; - a shame that they don&#039;t provide an easy way to use it with linux: while version 1.0 was launched using &lt;a href=&quot;http://en.wikipedia.org/wiki/Java_Web_Start&quot;  title=&quot;Java Web Start on Wikipedia&quot;&gt;Java Web Start&lt;/a&gt;, version 2.0 is installed locally in an OS-specific way which makes it a bit more complicated for the (not Mac / Windows) users. As far as I can tell the software should work fine on &lt;a href=&quot;http://rxtx.qbang.org/wiki/index.php/FAQ#What_Platforms_does_RXTX_run_on.3F&quot; &gt;all platforms supported by RXTX&lt;/a&gt; (as long as there is a driver for the USB-&gt;serial converter of course)...&lt;br /&gt;
&lt;br /&gt;
Here are the steps that allowed me to successfully run version 2.0 on linux:&lt;br /&gt;
&lt;br /&gt;
- download aXbo_windows_2_0_11.exe&lt;br /&gt;
&lt;br /&gt;
- run &lt;code&gt;wine aXbo_windows_2_0_11.exe&lt;/code&gt;, this will install version 2.0.11 (don&#039;t install the drivers, only the application)&lt;br /&gt;
&lt;br /&gt;
- at the end of the install process, you can directly start the program. for me this triggered the download of aXbo_windows_2_0_13.exe (why they don&#039;t offer this file for download directly is a mystery)&lt;br /&gt;
&lt;br /&gt;
- install / update to version 2.0.13 using wine again (and again, don&#039;t install the drivers, only the application)&lt;br /&gt;
&lt;br /&gt;
At this point you can already use aXbo research through wine. I didn&#039;t test the sound upload, but the rest seemed to work fine, although there were some glitches with the display. Here is how to run it without wine:&lt;br /&gt;
&lt;br /&gt;
- create a directory to hold the files, eg &lt;code&gt;mkdir ~/aXbo-2.0&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
- copy the .jar files to that directory, eg &lt;code&gt;cp -rp ~/.wine/drive_c/Program\ Files/aXbo2/lib ~/aXbo-2.0/&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
- move axbo.jar one directory up, eg &lt;code&gt;mv ~/aXbo-2.0/lib/axbo.jar ~/aXbo-2.0/&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
- get &lt;a href=&quot;https://blog.crox.net/uploads/librxtxSerial.so&quot; title=&quot;librxtxSerial.so&quot; target=&quot;_blank&quot;&gt;librxtxSerial.so&lt;/a&gt;, eg &lt;code&gt;cd ~/aXbo-2.0/lib/ ; wget http://blog.crox.net/uploads/librxtxSerial.so&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
- run the application like this: &lt;code&gt;cd ~/aXbo-2.0/ ; java -Djava.library.path=lib/ -jar axbo.jar&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE / RXTX:&lt;br /&gt;
&lt;br /&gt;
- the librxtxSerial.so offered for download here is 32-bit, which means you need to run a 32-bit JRE.&lt;br /&gt;
&lt;br /&gt;
- instead, you can also install a distribution-provided librxtxSerial.so, eg with Gentoo 64-bit:&lt;br /&gt;
&lt;code&gt;emerge rxtx&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;java -Djava.library.path=/usr/lib64/rxtx-2/ -jar axbo.jar&lt;/code&gt;&lt;br /&gt;
(in this example you obviously have to select a 64-bit JRE)&lt;br /&gt;
&lt;br /&gt;
(RXTX is distributed under a variant of the LGPL license, you&#039;ll find more info on the &lt;a href=&quot;http://www.rxtx.org/&quot;  title=&quot;RXTX&quot;&gt;RXTX website&lt;/a&gt;.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE / Sounds Upload:&lt;br /&gt;
&lt;br /&gt;
Be aware that the sounds upload function will upload the whole package at once, and that it will replace the sounds currently on the device, and not just add new ones.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sat, 27 Dec 2008 17:05:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/45-guid.html</guid>
    <category>axbo</category>
<category>java</category>
<category>linux</category>

</item>
<item>
    <title>Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock)</title>
    <link>https://blog.crox.net/archives/37-Running-aXbo-research-software-on-linux-for-aXbo-SPAC-Sleep-Phase-Alarm-Clock.html</link>
    
    <comments>https://blog.crox.net/archives/37-Running-aXbo-research-software-on-linux-for-aXbo-SPAC-Sleep-Phase-Alarm-Clock.html#comments</comments>
    <wfw:comment>https://blog.crox.net/wfwcomment.php?cid=37</wfw:comment>

    <slash:comments>7</slash:comments>
    <wfw:commentRss>https://blog.crox.net/rss.php?version=2.0&amp;type=comments&amp;cid=37</wfw:commentRss>
    

    <author>nospam@example.com (crox)</author>
    <content:encoded>
    UPDATE: there is now a version 2.0, see &lt;a href=&quot;http://blog.crox.net/archives/45-aXbo-research-2.0-Analysis-Software-Sounds-Upload-on-linux.html&quot; &gt;my new post&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
it&#039;s actually pretty easy :&lt;br /&gt;
&lt;br /&gt;
- connect the aXbo to your linux computer using the provided USB cable&lt;br /&gt;
&lt;br /&gt;
- download the JNLP file from their web interface (you need to register first)&lt;br /&gt;
&lt;br /&gt;
- run &lt;pre&gt;javaws aXbo.jnlp&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Note: on my 64-bit Gentoo system I had to use &quot;Sun 32bit JRE 1.6.0.07 [emul-linux-x86-java-1.6]&quot; as user VM for this to work.&lt;br /&gt;
&lt;br /&gt;
Then from the menu use the &quot;find aXbo&quot; function. If it fails, check &lt;pre&gt;dmesg&lt;/pre&gt; to make sure that the USB connection has been properly initialised - the aXbo has a usb-to-serial converter inside:&lt;br /&gt;
&lt;br /&gt;
(from lsusb)&lt;br /&gt;
&lt;pre&gt;ID 10c4:ea60 Cygnal Integrated Products, Inc.&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
(from dmesg)&lt;br /&gt;
&lt;pre&gt;[31426.366845] usb 2-2: New USB device found, idVendor=10c4, idProduct=ea60&lt;br /&gt;[31426.366856] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3&lt;br /&gt;[31426.366863] usb 2-2: Product: CP2102 USB to UART Bridge Controller&lt;br /&gt;[31426.366868] usb 2-2: Manufacturer: Silicon Labs&lt;br /&gt;[31426.366871] usb 2-2: SerialNumber: 0001&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
The proper usbserial module (cp2101) was automatically loaded on my Gentoo system and a friend&#039;s Ubuntu laptop (both with fairly recent kernels though).&lt;br /&gt;
&lt;br /&gt;
Now I&#039;d like to bypass the GUI to be able to set the clock and download the data from the command line, but that&#039;s another story...&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sat, 30 Aug 2008 01:26:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.crox.net/archives/37-guid.html</guid>
    <category>axbo</category>
<category>java</category>
<category>linux</category>

</item>

</channel>
</rss>
