In order to get the Edirol UA-4FX to work alsa must be compiled from source with the patch given on the opensrc.org website. Copy the file they give and save as a .diff file. I saved mine as UA4FX.diff. Now find out which kernel you are running. You can do this by typing 'uname -r' in the terminal. Once you have that info you can get started. Open up your terminal and get to work.
note: the linux-headers-2.6.24-23-rt is the headers for the kernel I'm running. Be sure to get the correct kernel headers for your kernel.
sudo apt-get install build-essential linux-headers-2.6.24-23-rt alsa-source
Now unpack the alsa-source package. Should be in the /usr/src directory.
Now that that is unpacked copy and apply the UA4FX.diff patch you have saved already to the directory where compiling will be done.
sudo tar xjf alsa-driver.tar.bz2
I then removed the old alsa drivers from my system.
sudo cp UA4FX.diff /usr/src/modules/alsa-driver
sudo patch -p0 < UA4FX.diff
Then I did an sudo make && make install.
rm -rf /lib/modules/2.6.24-23-rt/ubuntu/sound/*
After a reboot I thought the drivers would have been installed in the directory that I removed but I had no sound and I had no directory where I had deleted. I solved this by:
I then did a reboot with the UA-4FX hooked up in advanced mode. Opened up the terminal
sudo cp -R /usr/src/modules/* /lib/modules/2.6.24-23-rt/ubuntu/sound
2 [UA4FX ]: USB-Audio - UA-4FX
EDIROL UA-4FX at usb-0000:00:0a.0-1, full speed
It now works perfectly w/ midi in Rosegarden but I have yet to have the midi work in Ardour. If any Ardour experts have gotten it to work I would appreciate some help w/ that. Thanks,