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. :)
Showing posts with label 64 studio. Show all posts
Showing posts with label 64 studio. Show all posts
Saturday, January 16, 2010
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.
Download the latest package of your desired variety from http://eclipse.org/downloads/.
Your version may differ here.
Paste the following into the file:
Paste the following into the file:
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:
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#
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#
Sunday, September 27, 2009
wicd, medibuntu, and ardour from source
Network manager has never worked well for me. I have a Intel 3945ABG wireless card. I always install Wicd because I like it. :)
I end up needing proprietary codecs and such, so next is to add the medibunu repository.
Get the latests srouce from Ardour.org or the repo:
Check the scons output for errors and that support for LV2 is good.
My output looks like:
If you are interested in ardour-x-change(http://www.avtoolkit.co.uk/) which addes AAF/OMF support, you can pledge some money towards the feature in Ardour's Mantis: http://tracker.ardour.org/view.php?id=2652
The creator of AxC will send you the current version which runs in wine. The donation is for a native version to be written.
Build away!
If all goes well:
This will automaticaly uninstall network-manager and add wicd to be started on login.deb http://apt.wicd.net hardy extras
sudo apt-get install wicd
I end up needing proprietary codecs and such, so next is to add the medibunu repository.
sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list && sudo apt-get -q update && sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring && sudo apt-get -q updateNext, I install dependcies for ardour. Details at http://ardour.org/building.sudo apt-get install libasound2-dev scons gettext pkg-config libtool libjack-dev libxml2-dev libart-dev libsamplerate-dev libraptor-dev liblrdf-dev libgtk2.0-dev libgnomecanvas2-dev liblo-dev libboost-dev libfftw3-dev libaubio-dev Get a newer lv2core package from here: http://lv2plug.in/spec/ Follow the install instructions../waf configure./wafsudo ./waf install
Get the slv2 package from here: http://drobilla.net/software/slv2/ Get dependencies:sudo apt-get install librdf-dev./waf configure./wafsudo ./waf install
Get the latests srouce from Ardour.org or the repo:
sudo apt-get source ardour
cd ardour-2.8/
scons --help
Check the scons output for errors and that support for LV2 is good.
My output looks like:
brian@64studio:~/src/ardour-2.8$ scons --help
scons: Reading SConscript files ...
Checking for pkg-config version >= 0.8.0... yes
Checking for gthread-2.0... yes
Checking for lrdf... yes
Checking for libgnomecanvas-2.0... yes
Checking for gtk+-2.0... yes
Checking for jack... yes
Checking for samplerate... yes
Checking for glib-2.0... yes
Checking for libxml-2.0... yes
Checking for raptor... yes
Checking for fftw3f...yes
Checking for fftw3...yes
Checking for aubio...yes
Checking for C header file fftw3.h... yes
FREESOUND support is not enabled. Build with 'scons FREESOUND=1' to enable.
Checking for slv2... yes
WIIMOTE not enabled. Build with 'scons WIIMOTE=1' to enable support.
Congratulations, you have a functioning C++ compiler.
system triple: i686-pc-linux-gnu
Checking for C header file fftw3.h... yes
Checking for usb_interrupt_write() in C library usb... no
Checking for C header file linux/input.h... yes
Checking for FLAC__seekable_stream_decoder_init() in C++ library FLAC... no
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking for lo_server_new() in C library lo... yes
Checking for dmalloc_shutdown() in C library dmallocth... no
Checking for C header file alsa/asoundlib.h... yes
Disabled building Tranzport code because libusb could not be found
Checking for internationalization support ...
Found xgettext
Found msgmerge
Checking for C header file libintl.h... yes
International version will be built.
Checking for C header file /System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers/CoreAudio.h... no
Checking for C function posix_memalign()... yes
Checking for C function gtk_widget_set_tooltip_text()... yes
scons: warning: Ignoring missing SConscript 'manual/SConscript'
File "/home/brian/src/ardour-2.8/SConstruct", line 1427, in
Checking for C header file /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h... no
Checking for C function getmntent()... yes
Checking for C header file execinfo.h... yes
Checking for jack_client_open()...yes
Checking for jack_recompute_total_latencies()...yes
Checking for JackVideoFrameOffset in jack_position_bits_t enum...yes
Checking for jack_port_ensure_monitor_input()...yes
Checking for C header file wordexp.h... yes
Checking for C header file sys/vfs.h... yes
Checking for C header file /System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h... no
Checking for C header file /System/Library/Frameworks/AudioToolbox.framework/Headers/ExtendedAudioFile.h... no
Checking for C header file /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h... no
Checking for C header file /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h... no
Checking for jack_set_thread_creator()...yes
scons: done reading SConscript files.
ARCH: Set architecture-specific compilation flags by hand (all flags as 1 argument)
default:
actual:
WINDOWS_KEY: Set X Modifier (Mod1,Mod2,Mod3,Mod4,Mod5) for "Windows" key
default: Mod4>
actual: Mod4>
AUDIOUNITS: Compile with Apple's AudioUnit library. (experimental) (yes|no)
default: 0
actual: False
COREAUDIO: Compile with Apple's CoreAudio library (yes|no)
default: 0
actual: False
GTKOSX: Compile for use with GTK-OSX, not GTK-X11 (yes|no)
default: 0
actual: False
OLDFONTS: Old school font sizes (yes|no)
default: 0
actual: False
DEBUG: Set to build with debugging information and no optimizations (yes|no)
default: 0
actual: False
STL_DEBUG: Set to build with Standard Template Library Debugging (yes|no)
default: 0
actual: False
DESTDIR: Set the intermediate install "prefix" ( /path/to/DESTDIR )
default: /
actual: /
DIST_TARGET: Build target for cross compiling packagers (auto|i386|i686|x86_64|powerpc|tiger|panther|leopard|none)
default: auto
actual: i686
DMALLOC: Compile and link using the dmalloc library (yes|no)
default: 0
actual: False
EXTRA_WARN: Compile with -Wextra, -ansi, and -pedantic. Might break compilation. For pedants (yes|no)
default: 0
actual: False
FFT_ANALYSIS: Include FFT analysis window (yes|no)
default: 1
actual: True
FREESOUND: Include Freesound database lookup (yes|no)
default: 0
actual: False
FPU_OPTIMIZATION: Build runtime checked assembler code (yes|no)
default: 1
actual: True
LIBLO: Compile with support for liblo library (yes|no)
default: 1
actual: True
NLS: Set to turn on i18n support (yes|no)
default: 1
actual: True
PREFIX: Set the install "prefix" ( /path/to/PREFIX )
default: /usr/local
actual: /usr/local
SURFACES: Build support for control surfaces (yes|no)
default: 1
actual: True
WIIMOTE: Build the wiimote control surface (yes|no)
default: 0
actual: False
SYSLIBS: USE AT YOUR OWN RISK: CANCELS ALL SUPPORT FROM ARDOUR AUTHORS: Use existing system versions of various libraries instead of internal ones (yes|no)
default: 0
actual: False
UNIVERSAL: Compile as universal binary. Requires that external libraries are already universal. (yes|no)
default: 0
actual: False
VERSIONED: Add revision information to ardour/gtk executable name inside the build directory (yes|no)
default: 0
actual: False
VST: Compile with support for VST (yes|no)
default: 0
actual: False
LV2: Compile with support for LV2 (if slv2 is available) (yes|no)
default: 1
actual: True
GPROFILE: Compile with support for gprofile (Developers only) (yes|no)
default: 0
actual: False
FREEDESKTOP: Install MIME type, icons and .desktop file as per the freedesktop.org spec (requires xdg-utils and shared-mime-info). "scons uninstall" removes associations in desktop database (yes|no)
default: 0
actual: False
TRANZPORT: Compile with support for Frontier Designs (if libusb is available) (yes|no)
default: 1
actual: 0
AUBIO: Use Paul Brossier's aubio library for feature detection (if available) (yes|no)
default: 1
actual: 1
AUSTATE: Build with support for AU settings & presets saving/loading (yes|no)
default: 0
actual: False
Build away!
scons
If all goes well:
sudo scons install
64 Studio 3.0 beta 3 Install and Setup
So I got a nice big hard drive for my laptop this week and am reinstalling XP and 64 Studio 3.0 beta 3 from scratch. I installed XP first and then 64 studio so GRUB would be my boot loader.
I booted from the install disc and installed normally with a partition for /, a partition for /home and 2 gig swap space. First thing I did when I got booted up was a 'sudo apt-get update' and I encountered a "partial upgrade" error. I remembered this was solved in the forum from the last time I installed. Steps to fix this beta 2/3 bug are at the post below.
http://www.64studio.com/node/1072
I got an error I haven't gotten before:
Setting up acpid (1.0.4-5ubuntu9.3) ...
* Stopping Hardware abstraction layer hald [ OK ]
* Loading ACPI modules... [ OK ]
* Starting ACPI services... acpid: can't open /proc/acpi/event: No such file or directory
invoke-rc.d: initscript acpid, action "start" failed.
dpkg: error processing acpid (--configure):
subprocess post-installation script returned error exit status 1
Which I am working on solving.
My next steps are to install some of my favorite apps and restore my home folder with my audio project files. I will also be building Ardour 2.8 from source with LV2 support and ardour-x-change support to import AAF files from Pro Tools. More later. :)
I booted from the install disc and installed normally with a partition for /, a partition for /home and 2 gig swap space. First thing I did when I got booted up was a 'sudo apt-get update' and I encountered a "partial upgrade" error. I remembered this was solved in the forum from the last time I installed. Steps to fix this beta 2/3 bug are at the post below.
http://www.64studio.com/node/1072
I got an error I haven't gotten before:
Setting up acpid (1.0.4-5ubuntu9.3) ...
* Stopping Hardware abstraction layer hald [ OK ]
* Loading ACPI modules... [ OK ]
* Starting ACPI services... acpid: can't open /proc/acpi/event: No such file or directory
invoke-rc.d: initscript acpid, action "start" failed.
dpkg: error processing acpid (--configure):
subprocess post-installation script returned error exit status 1
Which I am working on solving.
My next steps are to install some of my favorite apps and restore my home folder with my audio project files. I will also be building Ardour 2.8 from source with LV2 support and ardour-x-change support to import AAF files from Pro Tools. More later. :)
Subscribe to:
Posts (Atom)