Skip to content

aXbo research 2.0 (Analysis Software & Sounds Upload) on linux

This is a follow-up to my previous post about using the aXbo Sleep Phase Alarm Clock (SPAC) on linux. You should probably read that post first.

There is now a new 2.0 version of the "aXbo research" software (thanks rac for the hint). It is quite similar to version 1.0, with the added feature that you can upload new sounds to the device. It's still a Java application, using a number of Open Source components => Look at NOTICE.txt, and from what I saw it seems it's being developed on OS X - a shame that they don't provide an easy way to use it with linux: while version 1.0 was launched using Java Web Start, 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 all platforms supported by RXTX (as long as there is a driver for the USB->serial converter of course)...

Here are the steps that allowed me to successfully run version 2.0 on linux:

- download aXbo_windows_2_0_11.exe

- run wine aXbo_windows_2_0_11.exe, this will install version 2.0.11 (don't install the drivers, only the application)

- 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't offer this file for download directly is a mystery)

- install / update to version 2.0.13 using wine again (and again, don't install the drivers, only the application)

At this point you can already use aXbo research through wine. I didn'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:

- create a directory to hold the files, eg mkdir ~/aXbo-2.0

- copy the .jar files to that directory, eg cp -rp ~/.wine/drive_c/Program\ Files/aXbo2/lib ~/aXbo-2.0/

- move axbo.jar one directory up, eg mv ~/aXbo-2.0/lib/axbo.jar ~/aXbo-2.0/

- get librxtxSerial.so, eg cd ~/aXbo-2.0/lib/ ; wget http://blog.crox.net/uploads/librxtxSerial.so

- run the application like this: cd ~/aXbo-2.0/ ; java -Djava.library.path=lib/ -jar axbo.jar


NOTE / RXTX:

- the librxtxSerial.so offered for download here is 32-bit, which means you need to run a 32-bit JRE.

- instead, you can also install a distribution-provided librxtxSerial.so, eg with Gentoo 64-bit:
emerge rxtx
java -Djava.library.path=/usr/lib64/rxtx-2/ -jar axbo.jar
(in this example you obviously have to select a 64-bit JRE)

(RXTX is distributed under a variant of the LGPL license, you'll find more info on the RXTX website.)


NOTE / Sounds Upload:

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.
  • Twitter
  • Bookmark aXbo research 2.0 (Analysis Software & Sounds Upload) on linux at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg aXbo research 2.0 (Analysis Software & Sounds Upload) on linux
  • Mixx aXbo research 2.0 (Analysis Software & Sounds Upload) on linux
  • Bloglines aXbo research 2.0 (Analysis Software & Sounds Upload) on linux
  • Technorati aXbo research 2.0 (Analysis Software & Sounds Upload) on linux
  • Fark this: aXbo research 2.0 (Analysis Software & Sounds Upload) on linux
  • Bookmark aXbo research 2.0 (Analysis Software & Sounds Upload) on linux at YahooMyWeb
  • Bookmark aXbo research 2.0 (Analysis Software & Sounds Upload) on linux at Furl.net
  • Bookmark aXbo research 2.0 (Analysis Software & Sounds Upload) on linux at reddit.com
  • Bookmark aXbo research 2.0 (Analysis Software & Sounds Upload) on linux at blinklist.com
  • Bookmark aXbo research 2.0 (Analysis Software & Sounds Upload) on linux at Spurl.net
  • Bookmark aXbo research 2.0 (Analysis Software & Sounds Upload) on linux at NewsVine
  • Bookmark aXbo research 2.0 (Analysis Software & Sounds Upload) on linux at Simpy.com
  • Bookmark aXbo research 2.0 (Analysis Software & Sounds Upload) on linux at blogmarks
  • Bookmark aXbo research 2.0 (Analysis Software & Sounds Upload) on linux with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too)

It's quite easy actually, once you know where to look.

Just browse to http://archive.ubuntu.com/ubuntu/dists/[version]/main/installer-[arch]/current/images/netboot/ubuntu-installer/[arch]/ - eg http://archive.ubuntu.com/ubuntu/dists/intrepid/main/installer-i386/current/images/netboot/ubuntu-installer/i386/.

The two files "linux" and "initrd.gz" can be used with pxegrub to boot a PC with a fully-working Ubuntu-installer (text-mode). See my other posts about my diskless / network boot setup for details on how I configured the network booting part, based on dhcp, tftp and pxegrub.

Alternatively, if you have a CF card USB stick etc. with a working GRUB install, you can just copy the two files over there.

What I still haven't found is how to do an Ubuntu NFS install directly. For now I'm stuck with my diskless Ubuntu install procedure where I first do a hard disk install and then make it diskless.

Credits: the whole thing was inspired by this article.
  • Twitter
  • Bookmark Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too)
  • Mixx Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too)
  • Bloglines Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too)
  • Technorati Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too)
  • Fark this: Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too)
  • Bookmark Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too) at YahooMyWeb
  • Bookmark Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too) at Furl.net
  • Bookmark Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too) at reddit.com
  • Bookmark Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too) at blinklist.com
  • Bookmark Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too) at Spurl.net
  • Bookmark Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too) at NewsVine
  • Bookmark Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too) at Simpy.com
  • Bookmark Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too) at blogmarks
  • Bookmark Install Ubuntu without cd-rom over the network (Ubuntu netboot install, works for CF or USB too) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64)

- Lu à plusieurs reprises (mais pas vérifié moi-même) : il est difficile, mais pas impossible, de faire fonctionner VaudTax avec une VM Java 64 bits. (Il faut remplacer le swt.jar fourni par une série de liens symboliques.) Par contre, le format des fichiers sauvegardés n'est semble-t-il pas compatible d'une version 32 bits à une version 64 bits et vice-versa... J'ai donc opté pour la version téléchargeable qui inclut une JVM (32 bits).

- L'installation s'est déroulée sans peine, mais ensuite en exécutant VaudTax j'ai obtenu le message suivant :

Vous devez installer le navigateur Internet Mozilla Firefox afin de pouvoir visualiser l'aide de VaudTax 2007, se référer ici : http://www.eclipse.org/swt/faq.php#browserlinuxrcp


Ne souhaitant pas renoncer à l'aide en ligne, j'ai fini par trouver après de nombreux essais infructueux une procédure qui devrait fonctionner dans la plupart des cas :

- Télécharger xulrunner depuis http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.0.1/linux-i686/en-US/ (avec la version 1.9 ça ne fonctionne pas chez moi)

- Décompacter xulrunner-1.8.0.1.en-US.linux-i686.tar.gz dans le répertoire dans lequel VaudTax est installé (chez moi et par défaut : $HOME/VaudTax2007)

- Modifier le script qui démarre VaudTax (chez moi et par défaut : $HOME/VaudTax2007/VaudTax2007) en ajoutant les lignes suivantes juste après #!/bin/sh :
export MOZILLA_FIVE_HOME=$HOME/VaudTax2007/xulrunner
export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH


Liens utiles :

http://ymartin59.free.fr/wordpress/index.php/2008/02/17/suisse-vaudtax-2007-sur-linux-64-bits/
http://www.eclipse.org/swt/faq.php#browserlinux

  • Twitter
  • Bookmark VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64)
  • Mixx VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64)
  • Bloglines VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64)
  • Technorati VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64)
  • Fark this: VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64)
  • Bookmark VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64) at YahooMyWeb
  • Bookmark VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64) at Furl.net
  • Bookmark VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64) at reddit.com
  • Bookmark VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64) at blinklist.com
  • Bookmark VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64) at Spurl.net
  • Bookmark VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64) at NewsVine
  • Bookmark VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64) at Simpy.com
  • Bookmark VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64) at blogmarks
  • Bookmark VaudTax 2007 sous Gentoo 64 bit (VaudTax linux amd64) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock)

UPDATE: there is now a version 2.0, see my new post

it's actually pretty easy :

- connect the aXbo to your linux computer using the provided USB cable

- download the JNLP file from their web interface (you need to register first)

- run
javaws aXbo.jnlp


Note: on my 64-bit Gentoo system I had to use "Sun 32bit JRE 1.6.0.07 [emul-linux-x86-java-1.6]" as user VM for this to work.

Then from the menu use the "find aXbo" function. If it fails, check
dmesg
to make sure that the USB connection has been properly initialised - the aXbo has a usb-to-serial converter inside:

(from lsusb)
ID 10c4:ea60 Cygnal Integrated Products, Inc.


(from dmesg)
[31426.366845] usb 2-2: New USB device found, idVendor=10c4, idProduct=ea60
[31426.366856] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[31426.366863] usb 2-2: Product: CP2102 USB to UART Bridge Controller
[31426.366868] usb 2-2: Manufacturer: Silicon Labs
[31426.366871] usb 2-2: SerialNumber: 0001


The proper usbserial module (cp2101) was automatically loaded on my Gentoo system and a friend's Ubuntu laptop (both with fairly recent kernels though).

Now I'd like to bypass the GUI to be able to set the clock and download the data from the command line, but that's another story...
  • Twitter
  • Bookmark Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock)
  • Mixx Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock)
  • Bloglines Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock)
  • Technorati Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock)
  • Fark this: Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock)
  • Bookmark Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock) at YahooMyWeb
  • Bookmark Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock) at Furl.net
  • Bookmark Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock) at reddit.com
  • Bookmark Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock) at blinklist.com
  • Bookmark Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock) at Spurl.net
  • Bookmark Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock) at NewsVine
  • Bookmark Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock) at Simpy.com
  • Bookmark Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock) at blogmarks
  • Bookmark Running aXbo research software on linux (for aXbo SPAC - Sleep Phase Alarm Clock) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341)

Here is what dmesg reports :
New USB device found, idVendor=1a86, idProduct=7523
New USB device strings: Mfr=0, Product=2, SerialNumber=0
Product: USB2.0-Ser!

It works fine with the ch341 driver, I just had to add one line to drivers/usb/serial/ch341.c:
static struct usb_device_id id_table [] = {
{ USB_DEVICE(0x4348, 0x5523) },
{ USB_DEVICE(0x1a86, 0x7523) },
{ },
};

The relevant lines from my .config are:
CONFIG_USB_SERIAL=m
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_CH341=m

From the module comments:
ch341.c implements a serial port driver for the Winchiphead CH341.

The CH341 device can be used to implement an RS232 asynchronous serial port, an IEEE-1284 parallel printer port or a memory-like interface. In all cases the CH341 supports an I2C interface as well. This driver only supports the asynchronous serial interface.

I'm currently using a "vanilla" kernel 2.6.25.4.
  • Twitter
  • Bookmark Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341)
  • Mixx Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341)
  • Bloglines Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341)
  • Technorati Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341)
  • Fark this: Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341)
  • Bookmark Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341) at YahooMyWeb
  • Bookmark Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341) at Furl.net
  • Bookmark Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341) at reddit.com
  • Bookmark Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341) at blinklist.com
  • Bookmark Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341) at Spurl.net
  • Bookmark Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341) at NewsVine
  • Bookmark Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341) at Simpy.com
  • Bookmark Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341) at blogmarks
  • Bookmark Using the HL-340 USB-serial adapter with Linux (1a86:7523, driver ch341) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca