Showing posts with label hardy. Show all posts
Showing posts with label hardy. Show all posts

Saturday, January 16, 2010

Installing M-Audio Ozone on 64 Studio / Ubuntu Hardy

I had to install the drivers for my M-Audio Ozone again today and thought I would put the steps in a nice little package here.

$ sudo apt-get update
$ sudo apt-get install madfuload
$ sudo nano /etc/udev/rules.d/42-madfuload.rules

Comment or delete it all out and put in this line:
ACTION=="add", SUBSYSTEM=="usb", SYSFS{idVendor}=="0763", SYSFS{idProduct}=="2808", RUN+="/usr/local/sbin/madfuload -l -3 -f /usr/local/share/usb/maudio/ma008100.bin -D $env{DEVNAME}"

$ sudo /etc/init.d/udev restart

Plug in and power on the Ozone.

$ dmesg |tail
should see a line like "usbcore: registered new interface driver snd-usb-audio"
$ aplay -l
You should see the Ozone listed as a sound device.

Happy jammin. :)

Tuesday, November 24, 2009

Installing Eclipse Galileo 3.5 on 64 Studio aka Ubuntu Hardy

The eclipse package that is in the repo for 64 studio is the old 3.2 from Ubuntu Hardy.  Let's get the newer Galileo Eclipse installed. Start by opening a terminal and installing the needed Sun Java packages.

brian@64studio:~$ sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin sun-java6-fonts

Download the latest package of your desired variety from http://eclipse.org/downloads/.

brian@64studio:~$ tar xvfz eclipse-jee-galileo-SR1-linux-gtk.tar.gz

Your version may differ here.

brian@64studio:~$ sudo mv eclipse /opt/
brian@64studio:~$ sudo chown -R root:root eclipse
brian@64studio:~$ sudo chmod -R +r eclipse
brian@64studio:~$ sudo chmod +x `sudo find eclipse -type d`

brian@64studio:~$ sudo touch /usr/bin/eclipse
brian@64studio:~$ sudo chmod 755 /usr/bin/eclipse
brian@64studio:~$ gksudo gedit /usr/bin/eclipse

Paste the following into the file:
#!/bin/sh
#export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
export ECLIPSE_HOME="/opt/eclipse"

$ECLIPSE_HOME/eclipse $*

brian@64studio:~$ gksudo gedit /usr/share/applications/eclipse.desktop

Paste the following into the file:
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true

Depending on your Java situation, you may have to tell it what version to use:
http://www.ubuntugeek.com/how-to-install-and-setup-eclipse-with-suns-java.html

Start it up with:
brian@64studio:~$ eclipse
or goto applications > Programming > Eclipse!

Thanks to these pages for their help!
https://help.ubuntu.com/community/EclipseIDE
http://knol.google.com/k/hemanth-h-m/java-and-eclipse-on-ubuntu/28s5hvh66sr3n/6#