View Full Version : EMU 0404 USB driver progress
martintfd
May 13th, 2007, 03:56 AM
I am quite looking forward to installing Ubuntu Studio for audio production, however no linux drivers are available for my particular soundcard. It looks like some work is being done in this area at ALSA:
https://bugtrack.alsa-project.org/wiki/wikka.php?wakka=emu
I have started this thread so that we can keep track of what progress is being made and maybe post some info on how to contribute to driver development. I have experience programming but no experience with device drivers but from what I understand firstly we need to acquire the datasheets from Creative. I have e-mailed Creative tech support about this. The response is non committal, however if many others do the same they may take notice (EMU.Support@customercare.creative.com).
If nothing else, if you have a EMU 0404 USB and are waiting for a driver, please leave a post so we can get a feel for how many people would like this issue to be resolved!
Creative responded as follows...
Dear Martin,
Thank you for contacting E-MU Support.
We are sorry to inform you that we do not have Linux drivers or support
at this time. We may or may not have support for it in the future. Tech
support is not the place where future, new features or product
development is discussed. Nor is it the place where we discuss or
disclose upcoming product development or non released features and
functions. That is done via marketing, usually through an official press
release, usually done at a trade show event and/or posted on our
website. We will pass your request on to both management and marketing.
Please retain all the previous correspondence when replying to this
email.
Best Regards,
Brian
E-MU Technical Support
Original Message Follows: ------------------------
================================== Subject: EMU - Support Request Form
Name: Martin Wilson E-mail Address: mpw473@bham.ac.uk Region: Europe
Self Description: Intermediate PC User Support Inquiry: I need support
with an E-MU hardware product Product: 0404 USB 2.0 Operating System:
Model Number: Computer Type: CPU: RAM: BIOS: Motherboard/Chipset:
Detailed Problem Description: I am currently using Linux and would like
to know if there are plans to make a driver available for this platform?
If not, is creative willing to supply the necessary datasheets/firmware
to ALSA to make this possible? Thanks for you help Martin
==================================
Settel
May 16th, 2007, 01:58 PM
Hi,
I was planning to buy a E-MU 0404, so I'm looking forward to have a working driver, too.
bye,
Settel
Ywiart
May 19th, 2007, 04:18 AM
I
I have a EMU 404 and I'm locking for a driver.
Thank you
ywiart@gmail.com
aliaselias
May 22nd, 2007, 07:24 AM
Hi!
I am also interested in getting a driver for linux.
JeffB1
May 23rd, 2007, 01:24 PM
I would be interested in purchasing an 0404 if Linux drivers were available.
ccrmady
May 23rd, 2007, 02:51 PM
If only EMU would help develop Linux drivers for the 0404 USB I'm sure a lot more people would buy it. I have one, willing to help the alsa project development too.
David
sadako1
May 27th, 2007, 09:49 PM
It's one of the options available as my next purchase. Undecided over that or an M-Audio 2496. Having access to drivers'd help!
kilgor
June 1st, 2007, 04:32 AM
I have the card lying around for some months now. Waiting for the drivers. I have tried to contact the author of the wiki page with no avail.
I too have received the generic EMU reply.
I remember a post from this spring by James where he commented on the issue. Unfortunately he hasn't updated the wiki page in a while. Here's the link:
http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg19748.html
Please bug EMU support about this, it is becoming a very popular card by now. Linux support is a must.
winterborne
June 2nd, 2007, 06:55 PM
I've got the EMU 0404 PCI card.
I don't know how much the API for the PCI differs from that of the USB, but I'm really hoping the recent developments for EMU 1212m and 1820m in ALSA 1.0.14 lead to an 0404 driver. Creative releases one driver for the 0404, 1212m, 1616, 1616m, 1820 and 1820m. Of course, their "driver" is almost 25mb... but hey.
I would love to see a response from Creative, but so far they don't even have Windows Vista drivers (I don't think they have 9x drivers either).
This card is the reason I'm still using Windows XP on my home studio machine. I wish I'd checked linux compatibility before I went out and bought this thing last year. My mistake. Lesson learned.
My next investment will be something that uses a standard USB Audio interface.
kilgor
June 5th, 2007, 09:06 AM
Got this reply from EMU, looks more promising than before:
E-MU is not officially supporting or developing for the Linux platform but we are assisting members of the ALSA group in their efforts to make basic linux compatible drivers available for the E-MU DAS product line.
martintfd
June 5th, 2007, 05:23 PM
Nice work, it sounds like some progress is being made which is the main thing. Hopefully the recent deal with Dell and the availability Ubuntu Studio will make hardware manufactures more willing to be involved...
kilgor
June 6th, 2007, 05:54 PM
Hopefully the recent deal with Dell and the availability Ubuntu Studio will make hardware manufactures more willing to be involved...Yeah, hope that too. Although, I'm a Fedora fanboy myself and don't care much about Ubuntu (although it's the distro I recommend to people asking about linux). These drivers will help any distro's users', linux rocks :). More importently, it will help EMU/Creative and their customers, the former have to understand that it's for their own shareholder's good.
Wok500
June 14th, 2007, 11:06 AM
Hi,
I would be interested in purchasing an 0404 when Linux drivers were available. I am waiting.
I too have received today the generic EMU reply and not this: "E-MU is not officially supporting or developing for the Linux platform but we are assisting members of the ALSA group in their efforts to make basic linux compatible drivers available for the E-MU DAS product line."
Bye,
Wok
pollero
June 14th, 2007, 02:03 PM
I am very interested in the EMU 0404 USB drivers for Ubuntu, because I have very big problems with the XP drivers: not able to install the product properly on my favorite computer...
kasperhetspookje
June 20th, 2007, 05:54 PM
Sure looking forward to that driver too! Ubuntu studio is ready : )
thisllub
June 21st, 2007, 05:33 AM
I will only consider Linux compatible cards.
The EMU is excellent value but useless without a driver.
I would be quite likely to buy one if it had Linux drivers.
Ross1
June 22nd, 2007, 04:12 PM
They still havent even released a beta driver for vista, so i get the feeling we might be in for a long wait for a driver for linux......
fsando
June 23rd, 2007, 05:52 AM
What about other cards? I am also looking for a suitable device, thinking about:
- tc electronic's Kontakt 8 - looks very good
- echo's audiofire (firewire) or their usb-alternatives
They all (emu,echo,tc.electronic) make comparable (high quality) products
I've mailed all three companies (just wrote so no answers yet)
We may be able to incite some competition, show them a 'first mover' opportunity here.
Personally I think the first mover effect could be fairly huge, it would most likely lead to free press coverage world wide for the better part of a year. It would tie the first mover's name to every subsequent release of ubuntu-studio (and other even remotely relevant linux distros), and all other vendors' products would be compared to the 'first mover' - that is, whenever any other product is mentioned the first mover will get its spot alongside too.
The target audience are themselves mostly 'first movers' or early adopters (ie musicians and artists) so I think any company who is seen to be courageous in this field will win very long time credits with its primary customers.
With me it certainly would.
UPDATE:
Got answers from
* TC.Electronics: No active support
* Echo (Audiofire): Perhaps full support - not shure what the answers says
More here: http://ubuntuforums.org/showthread.php?t=485678
drgb
June 23rd, 2007, 11:02 PM
Just add my name to the list. I have got the emu 0404 and am really waiting for linux drivers. :(I will send a message to creative about it so they can get a better idea of how many people want this.
Jsewill
June 25th, 2007, 07:52 AM
Count me in. I just purchased an E-MU 0404 PCI card while building my new studio system...on which I was planning to install linux (64 Studio, Ubuntu Studio, etc). I am eagerly awaiting the release of this card's drivers. I would be glad to help out in any way I can.
bogr@
June 28th, 2007, 12:52 AM
Add another to the list.
I've got the 0404 PCI card and am just swapping over to Linux. Need those drivers please...
Cheers.
Update:
Wrote to Creative to add my 2cents worth of pressure:) Got the standard response back...
iliketuna
July 23rd, 2007, 07:20 PM
hi guys... i recently tried ubuntu and i'm amazed at how err... amazing this os is! its too bad that i cant fully ditch windows since i listen to most of my music on my computer through the emu 0404 usb...
i hope these linux drivers get released soon! 0404 usb really is an amazing product, its just too bad about the software end of things... :x
theorganloft
July 25th, 2007, 02:58 PM
I have a 0404 with Proteus X. I not that impressed with it in Windows. I get much better results from M-audio Deltas and Echo Mia Midi.
Why bother with the EMU's when there are other much more compatible ALSA interfaces
caramelsoul
July 27th, 2007, 02:44 AM
Drivers for the PCI EMU 0404 have been released by ALSA.
My information was apparently false. The drivers are supposedly being released in the next release from ALSA. Sorry for the misinformation.
bogr@
July 31st, 2007, 04:35 PM
Thanks for the news.
Where do I find the drivers?
I've looked at ALSA and Source Forge, but cannot find them.
Cheers
Fingers & Thumbs
August 2nd, 2007, 12:56 PM
I have the EMU 1616m, and, much as this is a great unit, I have found that since changing to ubuntu, the strengths of the linux system outweigh anything that EMU have to offer; so if they wont give us drivers, them I'm going to someone who will, probably RME. No point trying to advertise my EMU here then, it will have to be resigned to spending the rest of it's life on somebody's windows machine.
Shredder11
August 8th, 2007, 09:22 AM
Really crossing my fingers hard that these EMU 0404 drivers become a reality as I really love the look and feel of Ubuntu Studio.
UObean
August 14th, 2007, 05:54 PM
Waiting for 0404 USB drivers here as well. :)
fletch44
August 15th, 2007, 07:33 AM
Adding my name to the list of users with an EMU 0404 USB, looking for linux drivers.
On a side note, I can't get mine to run at any clock speed other than 44.1 or 48. I need 88.2 to work on a session I recorded recently. Anyone got any advice?
bogr@
August 17th, 2007, 01:05 AM
Drivers for the PCI EMU 0404 have been released by ALSA.
My information was apparently false. The drivers are supposedly being released in the next release from ALSA. Sorry for the misinformation.
Thanks for the heads-up. Any idea when the next release of ALSA is planned for?
JakeMMX
August 22nd, 2007, 04:09 PM
I hope someone can get this driver working in the near future. I can finally rid my computer of windows then :)
Question: Can I assume that ALSA can be configured to not resample my music, or do I need something like the ASIO I used to bypass KMixer in windows?
infokarma
August 28th, 2007, 04:58 AM
Hi,
The main reason I dont use Linux as my primary OS because I dont have EMU support. I have an EMU 0404 USB as well and badly need drivers for that. What are the manufacturers doing on that part? Cos this is revolutionary sound console and I think a lot of people are awaiting to find a solution to make it work with Linux.
gilleylen
September 5th, 2007, 04:35 PM
I too have the EMU 0404 USB and I am waiting on drivers. If Linux drivers were available I would be able to run Ubuntu as my main OS. I have a fair amount of programming experience so I would be happy to assist the ALSA team if that sort of help is needed.
Joe
martintfd
September 10th, 2007, 03:48 PM
Dear all,
Thanks for your posts, the number of people who would like a driver for this device has exceeded my expectations. Unfortunately, I have recently become tired of waiting for a driver and am now using OS X rather than linux for music production. It's a shame, but I'm dual booting so when a driver does come out I can go back to using Ubuntu full time. Recently, there have been excellent developments in linux driver availability, with the open sourcing of ATI's graphics drivers. If a large company like ATI can open source drivers in a highly competitive environment, then companies such as Creative no longer have an excuse. This, and the rising interest of manufactures in linux (notably Dell) makes me hopeful that soon all manufactures will choose to have open drivers.
Thanks
Martin
kilgor
September 14th, 2007, 06:45 PM
From http://www.alsa-project.org/main/index.php/Changes_v1.0.14_v1.0.15rc1 :
Summary:
snd-emu10k1: Add support for E-Mu 1616 PCI, 1616M PCI, 0404 PCI, E-Mu Notebook.
No 0404 USB yet, and there's no mention of EMU cards in Changes_v1.0.15rc1_v1.0.15rc2 either. But let's hope for the best.
Edit:
This post from spring does not offer much hope though:
"Neither the E-MU 0404 or 0202 USB sound cards are supported in Linux.
I have samples, but work on a driver has not yet started.
They are not usb-audio standards compliant, so a new driver will have to
be written for them."
source: http://article.gmane.org/gmane.linux.alsa.user/27179/
billstei
September 26th, 2007, 11:40 AM
Stuff for the rumor mill:
http://article.gmane.org/gmane.linux.alsa.devel/48713
arachnegl
September 29th, 2007, 08:41 AM
I have sent an email to E-MU asking about linux support.
Does anyone know of an equivalent card (USB) that has very good support under linux?
billstei
September 30th, 2007, 10:22 PM
I've been debating whether the Tascam 122L is a better (and less expensive) choice at the moment. Anyone out there have any comments?
Bill
panta rei
October 10th, 2007, 04:45 PM
E-MU 0404 USB driver seems to be on its way to born. There should already be some basic support - look at: https://bugtrack.alsa-project.org/wiki/wikka.php?wakka=emu
"The support for the EMU USB cards has started, and basic support is now in the latest alsa hg. It only supports 48000 rate, but all the in/outs should work."...
Has anyone tried to make it work?
(Have no idea what is alsa hg or how the heck can I use it...)
As for Tascam 122L - I was also deciding between that one and E-MU, read many rewiews and tests and EMU is probably worth to wait for the driver (hopefuly not for long anymore). People were reporting problems with Tascam, however the reviews usually refer to Windows/Mac users... Tascam might work well too but I have not checked its Linux support. E-MU 0404 has very good preamps in comparsion to similar interfaces.
Now I have my E-MU 0404 USB waiting here to make it work in Ubuntu together with my Sony Vaio laptop and ATI Mobility Radeon X600 (waiting for a new driver with AIGLX support that is claimed to arrive very soon as well). Then a serious Ubuntu-based audio recording/editing system will be launched. :)
Come on guys, don't let those Macbooks with the new MacOSX tempt me anymore! ;-)
bliz_pm
October 11th, 2007, 02:37 PM
Has anyone tried to make it work?
Yes, I have tried.
I have Creative E-MU 0202 USB and it works with latest alsa HG snapshot (alsa-driver-hg20071011.tar.bz2) !!!
OS: openSUSE 10.3 (kernel 2.6.22.9-0.4-default)
blizzz@blizzz-suse-laptop:~> dmesg | grep usb | tail -n 8
usb 5-5: new high speed USB device using ehci_hcd and address 4
usb 5-5: new device found, idVendor=041e, idProduct=3f02
usb 5-5: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 5-5: Product: E-MU 0202 | USB
usb 5-5: Manufacturer: E-MU Systems, Inc.
usb 5-5: SerialNumber: E-MU-9A-3F02-07D60B04-0182A-STATION 1
usb 5-5: configuration #1 chosen from 1 choice
usbcore: registered new interface driver snd-usb-audio
blizzz@blizzz-suse-laptop:~> cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf4700000 irq 16
1 [USB ]: USB-Audio - E-MU 0202 | USB
E-MU Systems, Inc. E-MU 0202 | USB at usb-0000:00:1d.7-5, high peed
Have no idea what is alsa hg or how the heck can I use it...
Just download and install alsa HG snapshot: ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/
panta rei
October 11th, 2007, 07:57 PM
Excelent! This is breaking news for all the "waiters" in this thread.
So it is true - there already IS a support for EMU USB cards!
Thanks for the post! Will try it out soon.
billstei
October 12th, 2007, 10:45 AM
Woohoo! I would not be surprised that the E-MU preamps are better.
Bill
bogr@
October 12th, 2007, 09:45 PM
OK, I took the plunge and d/loaded the alsa-driver-1.0.15rc3 because I have the 0404PCI and it is supported.
I have extracted it, but where do I go from here?
Thanks
kblcuk
October 13th, 2007, 03:54 AM
OK, I took the plunge and d/loaded the alsa-driver-1.0.15rc3 because I have the 0404PCI and it is supported.
I have extracted it, but where do I go from here?
Thanks
go to terminal, there go to the directory where you have extracted the driver.
there, type
./configure
make
sudo make install
should work.
I have emu 0404usb, it works, but something is definitely wrong, since during the playback I receive a lot of hissing etc together with the actual sound. :(
kilgor
October 15th, 2007, 09:01 AM
I have emu 0404usb, it works, but something is definitely wrong, since during the playback I receive a lot of hissing etc together with the actual sound. :(I got the same issue. Actually I can only hear sound from the left channel and that with noise, the right channel is completely silent.
theorganloft
October 15th, 2007, 09:20 AM
This sounds like a problem with Multichannel support. There is an ALSA article on it. I was just looking at it concerning the VIA chipset. I cannot find it again. When I do, I will post it here.
Basically you need to open the Alsamixer and mess with the Multi-Channel settings. Either the gain is too high or the channels need to be turned on or off depending on your needs.
Hope this helps.](*,)
kilgor
October 15th, 2007, 10:14 AM
I got it working! I have to use plughw:0,0 instead whatever the default is.
Any explanation and what to do to make this the default via alsa.conf?
theorganloft
October 15th, 2007, 10:20 AM
GREAT!!
How did you do it? I don't know how to get it into the config file.
kilgor
October 15th, 2007, 10:31 AM
GREAT!!
How did you do it? I don't know how to get it into the config file.I just put it in the configuration of amarok under stereo in the engine setup, instead of "default".
But it works the same if you give it to aplay with the -D option, like:
aplay -D plughw0,0 file.wav
I dunno how to make this the "default". And I'm enjoying the sound right now, maybe I'll experiment later on. Have had the card idling since February after all.
theorganloft
October 15th, 2007, 10:37 AM
I just put it in the configuration of amarok under stereo in the engine setup, instead of "default".
But it works the same if you give it to aplay with the -D option, like:
aplay -D plughw0,0 file.wav
I dunno how to make this the "default". And I'm enjoying the sound right now, maybe I'll experiment later on. Have had the card idling since February after all.
Did you try these settings in the ALSAMixer? Open a terminal and type "alsamixer". You have to scroll to the right and use your tabs key to find the HW settings. I am just wondering if you can set it there or not.
Good work!
kilgor
October 15th, 2007, 11:12 AM
Did you try these settings in the ALSAMixer? Open a terminal and type "alsamixer". You have to scroll to the right and use your tabs key to find the HW settings. I am just wondering if you can set it there or not.Sorry, it was plughw:0,0 (with the colon).
alsamixer is quite useless, it shows 2 PCM's. And they're set to 0. Changing them doesn't do anything. It also shows four MM-s. KMix says they're extension units. No use for them either. It is a hardware controlled card anyway.
theorganloft
October 15th, 2007, 12:43 PM
Thanks for the info.
I am quite pleased with the progress of ALSA. I feel it is going to help revolutionize the industry.
I currently use a M-Audio Delta Revolution 7.1 with Ubuntu Studio and it really sounds good. I gave up on the 0404 back in Feb.
My 0404 is sitting on the shelf. Now I can build a system with the 0404 and see if I can get all the components working. The card came with Proteus X software for windoze and I really did not use it much. Windows required too much hardware to make it feasible at the time.
Good luck and please continue to post. It really helps others.
bliz_pm
October 15th, 2007, 12:51 PM
I have emu 0404usb, it works, but something is definitely wrong, since during the playback I receive a lot of hissing etc together with the actual sound.
0202 USB
I have the same but only with the system sound. Amarok's sound with "plughw:0,0" is flawless.
UObean
October 16th, 2007, 10:05 PM
Can anyone tell me if the digital outputs work with this? I don't really care about the sampling rate at the moment as long as I can get the digital output to work.
bogr@
October 16th, 2007, 10:41 PM
go to terminal, there go to the directory where you have extracted the driver.
there, type
./configure
make
sudo make install
should work.
I have emu 0404usb, it works, but something is definitely wrong, since during the playback I receive a lot of hissing etc together with the actual sound. :(
Thanks for your advice - I did all that you suggested and it did its thing.
I think I've got it installed, but still no sound.
I've tried opening the alsa-mixer but it doesn't seem to see the PCI card.
I've tried to get sound through the System>Preferences>Sound dialog, but nothing seems to work there as well.
I've rebooted the machine too.
Any more ideas?
Thanks for you help
kilgor
October 17th, 2007, 04:10 AM
Can anyone tell me if the digital outputs work with this? I don't really care about the sampling rate at the moment as long as I can get the digital output to work.Is the card detected? Look into /proc/asound/cards. Copy the ouput here.
Does dmesg show, that the USB device was found?
UObean
October 17th, 2007, 11:57 AM
Is the card detected? Look into /proc/asound/cards. Copy the ouput here.
Does dmesg show, that the USB device was found?
I haven't installed anything yet. I just want to know if the digital output works before I install it.
kilgor
October 17th, 2007, 05:06 PM
I haven't installed anything yet. I just want to know if the digital output works before I install it.Sorry, I quoted the wrong post. I commented on the one by bogr@.
krko7365
October 23rd, 2007, 05:14 AM
I have no progress. Downloaded latest alsa-driver nightly snapshots
and compiled drivers, installed alsa-drivers with:
./configure
make
make install
Sound card (EMU USB 2.0) is detected and listed as USB DEVICE
but can not get more than just a short noise from the card, then
the program using it crashes.
Sound panel in System Preferences dies when trying to
test the USB DEVICE.
Does anyone have some kind of walktrough for this?
Thanks in advance!
bogr@
October 23rd, 2007, 08:14 PM
Hi Kilgor,
Sorry to be so long in replying, but I am away from that PC until 29Oct. Will get back to you ASAP with the copied output.
Cheers
cmbryan
October 24th, 2007, 08:37 PM
Hi everyone, I too am trying to get my 0404 working!
I'm stuck on the pcsp module, mentioned here:
http://ubuntuforums.org/showthread.php?p=3624398&posted=1#post3624398
Any suggestions??
Thanks
-Chris
cmbryan
October 25th, 2007, 08:52 AM
Yes, I have tried.
I have Creative E-MU 0202 USB and it works with latest alsa HG snapshot (alsa-driver-hg20071011.tar.bz2) !!!
OS: openSUSE 10.3 (kernel 2.6.22.9-0.4-default)
blizzz@blizzz-suse-laptop:~> dmesg | grep usb | tail -n 8
usb 5-5: new high speed USB device using ehci_hcd and address 4
usb 5-5: new device found, idVendor=041e, idProduct=3f02
usb 5-5: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 5-5: Product: E-MU 0202 | USB
usb 5-5: Manufacturer: E-MU Systems, Inc.
usb 5-5: SerialNumber: E-MU-9A-3F02-07D60B04-0182A-STATION 1
usb 5-5: configuration #1 chosen from 1 choice
usbcore: registered new interface driver snd-usb-audio
blizzz@blizzz-suse-laptop:~> cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf4700000 irq 16
1 [USB ]: USB-Audio - E-MU 0202 | USB
E-MU Systems, Inc. E-MU 0202 | USB at usb-0000:00:1d.7-5, high peed
Ok, I'm trying to get my 0404 running. I've sucessfully installed alsa via hg version 20071016, and internal sound is working (hda-intel). I can modprobe emu10k1 without errors. However, when I plug the 0404 in, dmesg only gives me:
$ dmesg | grep usb | tail -n 8
[ 53.406909] usb usb4: configuration #1 chosen from 1 choice
[ 51.206514] usb 1-1: new high speed USB device using ehci_hcd and address 2
[ 53.507770] usb usb5: configuration #1 chosen from 1 choice
[ 53.526202] usb 1-1: configuration #1 chosen from 1 choice
[ 69.269819] usbcore: registered new interface driver ndiswrapper
[ 437.523235] usb 1-1: USB disconnect, address 2
[ 440.905943] usb 1-1: new high speed USB device using ehci_hcd and address 3
[ 441.021600] usb 1-1: configuration #1 chosen from 1 choice
and it doesn't appear...
$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xefebc000 irq 19
On further inspection, I found that I don't have the snd-usb-audio module (?!) no .ko, no source in the kernel, no nothing. Is that weird?? I'm using 2.6.22-14-rt in gutsy. Is anyone else doing this in gutsy, or can tell me about missing snd-usb-audio, or whether that's even the problem??
Thanks!
Chris
cmbryan
October 25th, 2007, 10:13 AM
Update: Reinstalling the kernel gave me snd-usb-audio back (don't know how I deleted it...)
The 0404 usb is now being recognized!!!
However, when I select it as the audio device and play a test sound (System -> Preferences -> Sound), I hear it distorted for a split-second, then the app crashes.
This is the last hurdle. Any ideas?
Yay!
Chris
bogr@
October 29th, 2007, 12:53 AM
Is the card detected? Look into /proc/asound/cards. Copy the ouput here.
Does dmesg show, that the USB device was found?
The /proc/asound/cards file is empty. It's actually a 0404 PCI card - will that make a difference as to where I should be looking, or how I set it up?
Thanks for your help
Here is the output from dmesg:
kilgor
October 29th, 2007, 05:47 PM
The /proc/asound/cards file is empty. It's actually a 0404 PCI card - will that make a difference as to where I should be looking, or how I set it up?That's a major difference. On the other hand the 0404 PCI should be better supported. I have the USB card, so I can't really give any advice.
To the others who can't get the card detected. I reinstalled alsa-lib too, not just alsa-driver. If this helps at all.
And there are several issues I haven't figured out yet. Nor is the driver really ready.
Yako
November 27th, 2007, 08:11 AM
I'm getting the same thing: Short noise, crash.
I have the USB 0404, and I am using alsa-driver 1.0.15 stable.
dmesg | tail:
[ 268.064000] usb 5-2: USB disconnect, address 2
[ 270.564000] usb 5-2: new high speed USB device using ehci_hcd and address 10
[ 270.700000] usb 5-2: configuration #1 chosen from 1 choice
cat /proc/asound/cards:
0 [USB ]: USB-Audio - E-MU 0404 | USB
E-MU Systems, Inc. E-MU 0404 | USB at usb-0000:00:1d.7-2, high speed
Any progress?
PS. Is anyone else having problems that the EMU 0404 USB midi controller 'crashes'? I.e. after 5-20 minutes of operation it just *stops* working. It's kinda random, sometimes it works for half an hour, sometimes it crashes after a few minutes. The rest of the device keeps working.
kilgor
December 1st, 2007, 06:17 AM
I've now been using Fedora 8. It ships with alsa 1.0.15 and I didn't have to setup absolutely _anything_. Playback works out of the box for 0404 USB.
Though I have to admit I have used only the main and headphone outputs.
And pulseaudio (the new default audio server) is nice too, btw.
Yako
December 1st, 2007, 07:16 AM
Surprisingly, after a few reboots, the thing works unexpectedly.
It's like it needs a few reboots to 'warm up'.
kilgor
December 1st, 2007, 07:31 AM
Surprisingly, after a few reboots, the thing works unexpectedly.
It's like it needs a few reboots to 'warm up'.I'm just guessing here, but if your onboard soundcard is enabled, it might be chosen as the first one on boot. It should be listed on /proc/asound/cards though.
jlderoui
December 3rd, 2007, 08:27 PM
I did not try yet with UBUNTU but it "almost" works with FEDORA 8,without any special instal (alsa 1.0.15).
The problem that still remains is that there is like static when I listen to audio files.
I am wondering if it could be a sampling ate issue???
UObean
December 4th, 2007, 01:00 PM
I did not try yet with UBUNTU but it "almost" works with FEDORA 8,without any special instal (alsa 1.0.15).
The problem that still remains is that there is like static when I listen to audio files.
I am wondering if it could be a sampling ate issue???
Yeah I installed a daily build and this is pretty much were I'm at. I can get music to play, but every once in a while there's a little popping.
SuperDindon
December 7th, 2007, 08:03 AM
Yeah I installed a daily build and this is pretty much were I'm at. I can get music to play, but every once in a while there's a little popping.
Hi, did you tried to bypass DMix by using "plughw:0,0" (or "plughw:1,0", "plughw:2,0", .. ) instead of "default" ? There should be an option in your music player for that, or you can put this .asoundrc file in your home root :
pcm.!default {
type plug
slave.pcm "hw:0,0"
}
I'm also interested to buy an 0202 USB now, but want to be sure that bliz_pm is not the only one on earth who got it working :) :
0202 USB
I have the same but only with the system sound. Amarok's sound with "plughw:0,0" is flawless.
kilgor
December 9th, 2007, 07:11 AM
Surprisingly, after a few reboots, the thing works unexpectedly.
It's like it needs a few reboots to 'warm up'.Funny thing. I have had this issue twice now. Boot up. No sound. The card is listed in /proc/asound/cards. Give it a reboot and it works.
Has happened only twice, I boot at least once daily. Haven't had time to investigate those two times.
maxminimum
December 11th, 2007, 10:23 AM
hi!
I have a 0404 USB and installed Fedora 8 today. 0404 was detected and configured successfully but was giving a lot of static and distortion with playback.
So heres what i did
1.put the code in the .asoundrc file in home.
2.Started amarok and all settings were on autodetect
3.Set the sampling to 48000Hz in sound in kde control centre
It works fine but a few pops now and then (not too disturbing) but very listenable .System sounds work flawlessly , even when music is on.
If it runs on 44.1khz without pops then bye bye OSX :).
P.S. I'm a week old to linux so please be gentle :D
cheers
bofphile
December 23rd, 2007, 06:32 AM
Hi guys!
I would like to buy an EMU 0202 USB, but I want to make sure it will work well with ubuntu. So what's the status of the driver ? Does it work well with 44.1kHz and 48 kHz source files ?
Thanks in advance. :)
Goophy
December 23rd, 2007, 10:49 AM
I just installed the newest snapshots from alsa and got the error:
pci/emu10k1/emu10k1_main.c:893: emu1010: Loading Hana Firmware file failed, reg=0x7f
This is with a 0404 PCI-card.
It's supposed to be the right fw, and it does find the file.
Does anyone know why it fails or have any tips?
Thanks in advance.
awilki01
January 1st, 2008, 03:26 AM
Well, I installed the driver for my 0404 USB and the "aplay -D plughw:0,0 foo.wav" works well, but that doesn't help me for MP3s. When I click on MP3s and WAV files in applications like the Totem Movie player, I can hear my MP3s, but they are extremely distorted.
Any suggestions?
vhex
January 8th, 2008, 01:03 PM
As of 2007/08/08, EMU 0202 does not work for me in Gutsy. With the original ALSA the system wouldn't even see the device; after manually upgrading ALSA to version 1.0.15 and later to the latest daily (http://ftp.suse.com/pub/projects/alsa/snapshot/) package, the device is detected but the sound is distorted. The only way to get a somewhat clean sound sample is to run speaker-test, but at the end of the sample it plays there's gray noise. If I press a "test" button in gnome-sound-properties, it plays a clean sound, then segfaults.
I booted to XP and installed the latest driver for 0202 (4.03 => 5.02), but nothing changed in Linux; in Windows everything works well.
I was using aplay and mplayer for testing, with an MP3 file I know very well. I even installed amarok (because bliz_pm said it plays flawlessly). Same story.
Yako
January 9th, 2008, 10:53 AM
This is a quick and dirty fix to get playback in Ubuntu.
Update the EMU 0404 USB firmware in windows using the web install package (http://www.emu.com/support/files/download2.asp?Centric=1004&Legacy=&Platform=1) from the EMU website.
Set the device playback sample rate to 44.1 KHz using the EMU windows configuration tool (Don't know if this is required, but I did it) Don't worry about keeping windows for this, the device should remember its sample rate even if you disconnect the power supply.
Boot Ubuntu
Install the daily alsa-driver snapshot (ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver). I used 8 January 2008. Also install the latest alsa-lib and alsa-utils if you didn't do this already.
Shut down your PC
Switch the device on, plug in the USB cable (Don't know if this is required, but I did it)
Boot Ubuntu
If you have multiple audio devices, use System > Preferences > Sound to set the EMU 0404 USB as playback device
Play a file using Totem or Rhythmbox, there should be no playback, just silence. Rhythmbox doesn't play altogether.
Close your audio application
Disconnect and reconnect the EMU USB cable
Play a file, playback should now be working without distortion.
This worked for me, please let me know if it does for you.
Update:
- Whenever you use a playback application it seems to get some sort of 'lock' on the device, just like in Windows. It looks like the driver is unable to multiplex multiple audio sources to the device.
- I am unable to get a clean recording from the device, recorded sound is still distorted.
- The volume sliders in Ubuntu still act strange. They seem not to control anything at all, even though they go up an down now and then and go crazy if you want to set the volume. There are also 4 sliders instead of 2 (I assume there should be two since playback is stereo). The mute button doesn't do anything either except going on and off if you click on it.
Hobnobb
January 24th, 2008, 05:17 PM
Goophy and awilky, Change sample rate in alsamixer to 44100 and sound should playback better
emu cards are better supported since the latest alsa project release alsa-driver-1.0.16rc1 january 22 2008
See my other post on:
http://ubuntuforums.org/showthread.php?t=518039&highlight=emu%200404
Good luck !
Josko
January 29th, 2008, 04:42 PM
Hi,
I tryed to install driver like described here http://www.alsa-project.org/main/index.php/Matrix:Module-emu10k1-fpga and something really f**** up :( , because after reboot, alsa is not working at all... even on board sound card is not working when I run alsamixer it shows: alsamixer
alsamixer: [CODE]function snd_ctl_open failed for default: No such file or directory
alsaconf won't detect any soundcard.. :(
and alsa-utils: /etc/init.d/alsa-utils start
* Setting up ALSA... * warning: 'alsactl restore' failed with error message 'alsactl: load_st[ OK ]73: No soundcards found...'...
I used daily HG build ans also tryed 1.0.16rc2..
Any clue?
//Edit: I recompiled w/o option --with-cards=emu10k1, now onboadr is working, but it still not detects my E-MU 0202 USB... I mean alsaconf detets only onboard soundcard :(
btw. I have Ubuntu 7.10...
proc: shinji@Casper:~$ cat /proc/asound/cards
0 [CK8S ]: NFORCE - NVidia CK8S
NVidia CK8S with ALC658D at irq 17
//Edit2:
Its working now (I forgotten to load snd-usb-audio), bot only few seconds after it aplication crash and stops playing, any clue to this crashing?
Amarok works but with lots of distortion.... How can I cahnge sample rate?
Hobnobb
January 30th, 2008, 10:54 AM
Hi Josko
Yuu can change the internal clock-sample rate in alsamixer. It's kinda hidden. Just open alsamixer in a terminalwindow and push on the arrow right button about 35 times. :guitar: If it is on 48000 then chamge it to 44100 and sound should playback better.
Josko
January 30th, 2008, 12:43 PM
Thanks for advice, but I have in alsamixer only two bars one is PCM Volume wich don't work and second is something strange: Estension switch...
I try to install windows and change clock in original drivers but I don't know if E-MU rememer it.
//Edit: I chaned bitrate in windows and now in amarok it's work without a pop... excelent sound.. thanks all...
And another question: Is there anybody that have this card working with Gnome apps? Totem plays only few seconds (without disortion) and then segfault, only on some video files Totem works.
Xine plays every video file but some of them with disortion.
cliff01
January 30th, 2008, 01:17 PM
Could there possibly be a parallel program that uses native Windows drivers to work in Linux? ie; Linuxant for wireless USB adaptors.
Josko
January 30th, 2008, 04:11 PM
One small problem: How can I set Adobe flash plugin to play with external E-MU instead of onboard card? it's a bit annoying to reconnect jack to onboard card every time I want to watch something in youtube. I didn't find anything in opera or firefox and even in settings in flash window is nothing like selecting sound output.
And lack sound mixing is a bit annoying too, but I can live without that(better than that crappy sound from onboard soundcard).
bofphile
January 31st, 2008, 06:44 AM
Thanks for advice, but I have in alsamixer only two bars one is PCM Volume wich don't work and second is something strange: Estension switch...
I try to install windows and change clock in original drivers but I don't know if E-MU rememer it.
//Edit: I chaned bitrate in windows and now in amarok it's work without a pop... excelent sound.. thanks all...
And another question: Is there anybody that have this card working with Gnome apps? Totem plays only few seconds (without disortion) and then segfault, only on some video files Totem works.
Xine plays every video file but some of them with disortion.
How did you manage to make your 0202 USB device work exactly ?
Because I've installed alsa 1.0.16RC2 but I don't get any sound.
My card is recognized:
chakib@inspiron:~$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfebfc000 irq 21
1 [USB ]: USB-Audio - E-MU 0202 | USB
E-MU Systems, Inc. E-MU 0202 | USB at usb-0000:00:1d.7-1, high speed
and all channels are unmuted:
http://bofphile.free.fr/Images/alsamixer.png
and when I try to play a wav file with aplay, i only hear a distorted sound for 1 second then it stops:
chakib@inspiron:~$ aplay -vv -Ddefault:1 foo.wav
Lecture en cours WAVE 'foo.wav' : Signed 16 bit Little Endian, Taux 44100 Hz, Stéréo
Plug PCM: Rate conversion PCM (48000, sformat=S24_3LE)
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 15052
period_size : 940
period_time : 21333
tstamp_mode : NONE
period_step : 1
avail_min : 940
start_threshold : 15052
stop_threshold : 15052
silence_threshold: 0
silence_size : 0
boundary : 986447872
Slave: Direct Stream Mixing PCM
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S24_3LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 24
buffer_size : 16384
period_size : 1024
period_time : 21333
tstamp_mode : NONE
period_step : 1
avail_min : 1024
start_threshold : 16384
stop_threshold : 16384
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Hardware PCM card 1 'E-MU 0202 | USB' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S24_3LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 24
buffer_size : 16384
period_size : 1024
period_time : 21333
tstamp_mode : ENABLE
period_step : 1
avail_min : 1024
start_threshold : 1
stop_threshold : 1073741824
silence_threshold: 0
silence_size : 1073741824
boundary : 1073741824
#### + | 25%Erreur de segmentation (core dumped)
The sample rate of the device has already been set to 44.1kHz on Windows.
Josko
January 31st, 2008, 08:45 AM
Try to use Amarok or Xine, Mplayer and set alsa output device to plughw:1,0 for amarok, xine or plughw=1.0 for mplayer. Amarok works without any distortion, xine or mplayer have disortion only on some videos, but I buyed this card especialy for music so this not bothes me...
btw. I'm using latest HG build. - ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/
bofphile
January 31st, 2008, 09:38 AM
I've tried with mplayer and the file plays perfectly fine for 20 seconds then it stops. I'm going to try with the latest HG build.
Josko
January 31st, 2008, 09:48 AM
Probably the same error as I have with almost all gnome apps: segmentation fault..
Try to use some kde application like amarok, or independent like xine.
//Edit: I noticed that 48kHz (which plays ok whe it is set to 48kHz) files plays now with disortion and 44kHz ok. But only problem is that I can't set sampling rate in linux... only in windows.
And even some mp3s/flacs are in 48khz... :( wich is problem.
Is there some posibility to set E-MU's 0202 USB sampling rate in linux? Or is there any video/music player (or some argument/setting in mplayer/xine/amarok) that can resample 48khz videos/music files to 44 khz???
bofphile
January 31st, 2008, 10:02 AM
Yes you are right, it works better with Amarok and gxine, but I still have some problems (sometimes the music stops then continues, some parasites). It's strange you've got a perfect playback with Amarok. What version of the driver are you using ? I've installed:
- alsa-utils-hg20080122.tar.bz2
- alsa-driver-hg20080131.tar.bz2
- alsa-lib-hg20080130.tar.bz2
- alsa-firmware-hg20080131.tar.bz2
Josko
January 31st, 2008, 10:14 AM
I used this: alsa-driver-hg20080129... but I have problem with 48kHz files wich amarok plays with disortion, i have only few music files in 48kHz, but almost all anime and movies are in 48khz :(. I'm looking for some workaround..
bofphile
January 31st, 2008, 10:22 AM
With mplayer, I think you can use this argument "-af resample=44100" to play 48kHz files at 44.1kHz.
Josko
January 31st, 2008, 10:56 AM
Thank you... It's working without disortion.. :) now only problem for me is that i can't force flashplugin to play to E-MU and not to onboard card..
//Edit: For permanent resampling in mplayer put line af=resample=44100 in mplayer config file... maybe that help somebody who is trying to get this working..
//Edit2: I added to /etc/modprobe.d/alsa-base: options snd-usb-audio index=0, so now E-MU is primary sound card and VLC and SMPlayer is working (wich don't have posibilitiy of selection output device), but I still can't get sound from flshplugin :( it is bounded to my onboard card .. grrr
Mikhail Sayapin
February 4th, 2008, 02:59 AM
I got my E-MU 0404 USB playing great with this ~/.asoundrc settings:
pcm.48k {
type rate
slave {
pcm "plughw:1,0"
rate 48000
}
}
Just setting 48k as alsa output device in any program works fine. Maybe with more sophisticated config one can get 48k as default system device - I don't know how to do it. :-[
awilki01
February 5th, 2008, 02:00 AM
Goophy and awilky, Change sample rate in alsamixer to 44100 and sound should playback better
emu cards are better supported since the latest alsa project release alsa-driver-1.0.16rc1 january 22 2008
How exactly do you change the sampling rate? I can't find the setting.
I got my E-MU 0404 USB playing great with this ~/.asoundrc settings:
pcm.48k {
type rate
slave {
pcm "plughw:1,0"
rate 48000
}
}
Just setting 48k as alsa output device in any program works fine. Maybe with more sophisticated config one can get 48k as default system device - I don't know how to do it. :-[
Where is this .asoundrc file located? What directory?
Also, can someone tell me the deal with the daily driver build vs the latest currently out there 1.0.16rc2? And what of the latest library files as well. I just want a quick overview of what each is if anyone has time.
Thanks in advance...
bofphile
February 5th, 2008, 07:07 AM
If you have an EMU-0404 USB, you can change the sampling rate in alsamixer (type alsamixer in a console), and the asoundrc file has to be created in your home directory (just type "gedit ~/.asoundrc" in a console, without the quotes)
awilki01
February 5th, 2008, 07:33 PM
If you have an EMU-0404 USB, you can change the sampling rate in alsamixer (type alsamixer in a console), and the asoundrc file has to be created in your home directory (just type "gedit ~/.asoundrc" in a console, without the quotes)
About changing the sampling rate in alsamixer, I run it from command line and I see no options at all for sampling rate.
bofphile
February 6th, 2008, 04:56 AM
I don't have an EMU 0404 USB but from what I've heard it should be there:
Hi Josko
Yuu can change the internal clock-sample rate in alsamixer. It's kinda hidden. Just open alsamixer in a terminalwindow and push on the arrow right button about 35 times. :guitar: If it is on 48000 then chamge it to 44100 and sound should playback better.
awilki01
February 6th, 2008, 10:24 AM
I don't have an EMU 0404 USB but from what I've heard it should be there:
I saw this before and gave it a whirl. I've pushed on the right arrow button a hundred times and nothing happens.
Is the screen supposed to change or something when you do this because mine doesn't do a thing when pressing the right arrow button.
Edit:
Now, after I did a reboot, alsamixer won't even open; however, I am still able to click on .mp3 and .wav files on my desktop and hear them - albeit very distorted.
adam@adam-ubuntu:~$ cat /proc/asound/cards
1 [USB ]: USB-Audio - E-MU 0404 | USB
E-MU Systems, Inc. E-MU 0404 | USB at usb-0000:00:1a.7-4, high speed
adam@adam-ubuntu:~$ alsamixer
alsamixer: function snd_ctl_open failed for default: No such device
Josko
February 8th, 2008, 11:31 AM
Try alsamixer with option -c USB or add to /etc/modprobe.d/alsa-base: options snd-usb-audio index=0, to set E-MU as default sound card..
awilki01
February 9th, 2008, 12:07 PM
Try alsamixer with option -c USB or add to /etc/modprobe.d/alsa-base: options snd-usb-audio index=0, to set E-MU as default sound card..
That worked from the command line! Thanks! Now, what exactly do I put in the /etc/modprobe.d/alsa-base file? And, where within it to I put it? There seems to be quite a bit going on in that file.
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }
# Load snd-seq for devices that don't have hardware midi;
# Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
# non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options cx88-alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
Also, I am having issues figuring out how to set the sample rate. I am pressing the right arrow key in Alsamixer and it is only going as far as the 'Extension Unit 3'. I keep pressing the right arrow key to no avail. Where is this elusive sample rate setting?
http://www.davidadamsmusic.com/images/alsamixer.png
:confused: I'm a little confused what to do now. I'm sure once one of you show me, I'll feel like an idiot. :confused:
Edit:
Update.... I installed Amarok and my 0404 sounds perfect now! Not sure why, but I'm not complaining!!!
Josko
February 11th, 2008, 12:45 PM
You can rewrite -2 in line options snd-usb-audio index=-2 to 0 and then you'll have your E-MU as defaulI. It soved my problems with flashplugin and smplayer(wich is probably best media player for exotic codecs and sub formats that are used in some anime releases).
And btw. I have 0202 and I don't have sample rate setting in alsamixer too so I changed it in windows computer(wich i installed only for that reason :() so you can do the same.... but if you play some 48kHz video then, you'll need to set mplayer in ~./mplayer to play in 44,1kHz (af=resample=44100).
luarvik
February 11th, 2008, 10:18 PM
Hello
I have a problem with EMU 0202 USB, during the playback there is a hissing sound every 4 seconds. Has anybody seen similar problems?
Is there a way around this?
awilki01
February 14th, 2008, 01:12 AM
You can rewrite -2 in line options snd-usb-audio index=-2 to 0 and then you'll have your E-MU as defaulI. It soved my problems with flashplugin and smplayer(wich is probably best media player for exotic codecs and sub formats that are used in some anime releases).
And btw. I have 0202 and I don't have sample rate setting in alsamixer too so I changed it in windows computer(wich i installed only for that reason :() so you can do the same.... but if you play some 48kHz video then, you'll need to set mplayer in ~./mplayer to play in 44,1kHz (af=resample=44100).
Thanks for the feedback!
I don't even mess with Alsamixer any longer. I installed Amarok and that alone took care of everything for me. It sounds like a champ now!!!
billstei
February 19th, 2008, 02:48 PM
So, does the relative quietness of this thread mean it works really good now or really bad?
Bill
deathu
February 20th, 2008, 08:33 AM
Hi all,
So, does the relative quietness of this thread mean it works really good now or really bad?
If you are referring to the USB version of the 0404, it works using the current stable alsa release (1.0.16), but still giving periodic sound artifacts (at least for me).
In fact, it not clear to me if anybody solved the artifacts problem.
I'd say that this is the biggest usability problem of this interface under Linux, because all the other issues (setting the sampling rate, resampling all data on the fly in order match the current unit's rate) have solutions/workarounds.
As this problem with the periodic pops/clicks is the most annoying for me, I did some additional testing during the last days and found that they are less disturbing when using the unit at 96kHz (of course, all material being played back will have to be resampled to this rate).
By recording the output and observing the behavior under different circumstances, I'm getting closer and closer to a conclusion regarding the source of this problem. It would be useful to know how often this problem manifests for other users (how many seconds from starting playback till the artifacts).
Thanks.
deathu
February 21st, 2008, 06:31 AM
update: I also attached the interface to my other (desktop) computer, compiled the same version of alsa and gave it a try...
as I was expecting, the issue is still there, but manifests with a totally different pattern. on this one, there is a single little pop every 6 seconds or so, *almost* unnoticeable (in contrast to my laptop, where the issue is really annoying).
my guess until now is that there is a synchronization problem between the USB host bus and the 0404 usb's internally generated clock (used for the digital-to-analog conversion) .
patagonik
February 21st, 2008, 05:09 PM
Hy there, and congratulations to all of you who contributed to this thread. It's quite encouraging to see how things move on.
I'd like to ask if someone have tried to use the EMU 0404 USB to record music by using Ardour 2. In my case I don want to use the sound-card to listen music but to record it.
It could be great if someone could put some light here.
Thanks all and congratulations again!
deathu
February 22nd, 2008, 07:39 AM
another update: I can now confirm this is a synchronization issue; I made a quick & dirty fix in the alsa (snd-usb-audio) source which corrected 99.9% of the problem for me :guitar:
also posted on the alsa mailing list about this, let's see what comes out now (hopefully, an universal/generic fix)
dmitryf
February 23rd, 2008, 06:38 AM
Hello! How about noise level? In linux it is annoying.
deathu
February 23rd, 2008, 09:55 AM
Hello! How about noise level? In linux it is annoying.
What type of noise are you talking about? white noise? what version of alsa? sampling rate? what software player?
for me, the interface doesn't show any hearable noise of it's own now. in fact, it's own noise levels seem to me levels of magnitude lower the ones found on typical audio material.
btw, yet another update: an alsa developer guided me in debugging the synchronization problem until we found exactly what caused it. It should be fixed in the driver soon.
dmitryf
February 23rd, 2008, 10:49 AM
What type of noise are you talking about? white noise? what version of alsa? sampling rate? what software player?
for me, the interface doesn't show any hearable noise of it's own now. in fact, it's own noise levels seem to me levels of magnitude lower the ones found on typical audio material.
Yep. it is white noise, but hearable only when playing music and changes accordingly with it. I have a emu 0202 with hg20080221 alsa driver, rhytmbox player, sampling rate set to 48khz from the windows drivers and i have no other synchronization problems. In windows all right of course. :)
dmitryf
February 23rd, 2008, 10:59 AM
If set level of software volume in programs, level of noise not change, hm look like it's adduction, but in windows no noise!
deathu
February 23rd, 2008, 11:31 AM
Which method are you using for resampling your music to 48kHz?
also, how loud is the noise compared to the music?
dmitryf
February 23rd, 2008, 11:39 AM
Which method are you using for resampling your music to 48kHz?
also, how loud is the noise compared to the music?
I use nothing. By default sampling rate will be set to 44100 and music are played very slow (i don't know why, all my music in 44100). When i set 48khz from windows music with 44100hz and videos with 48khz are played ok! I was surprised too... :)
dmitryf
February 23rd, 2008, 11:46 AM
also, how loud is the noise compared to the music?
Like on analog audio cassete.
deathu
February 23rd, 2008, 11:48 AM
If you are using software mixing in alsa (the 'default' output device), alsa will automatically resample all material, and the default chosen frequency is 48kHz.
start playing some music and show the output of:
grep -i momentary /proc/asound/card*/stream0
dmitryf
February 23rd, 2008, 11:56 AM
Hmm, yep:
$ grep -i momentary /proc/asound/card*/stream0
Momentary freq = 48000 Hz (0x6.0000)
But how to change it to 44100?
deathu
February 23rd, 2008, 12:06 PM
it is not necessary to change it to 44100
you may try using plughw:1,0 or plughw:0,0 as output in your program, to avoid software resampling. however, in this case the interface must be set to match the sampling freq of the audio material.
anyway, I don't think this will help you at all. I deffinitely did not experience such an issue (in fact, I am still amazed how noise-free this interface can be).
dmitryf
February 23rd, 2008, 01:50 PM
Thanks, with 44.1khz in windows and .asoundrc like this:
pcm.!default {
type rate
slave {
pcm "plughw:0,0"
rate 44100
}
}
noise is gone.
luarvik
February 24th, 2008, 10:28 PM
Hello,
could you let us know about the progress with the sound artifact issue, the hiss is still there for me and it is in about 4 seconds.
billstei
February 24th, 2008, 11:26 PM
btw, yet another update: an alsa developer guided me in debugging the synchronization problem until we found exactly what caused it. It should be fixed in the driver soon.
Nice.
Looks like this will be 1.0.17 and probably not make it into Hardy. How much of alsa will we need to compile and bring into Hardy (or Gutsy) to get this resolved? alsa-driver or alsa-lib or ?
Bill
deathu
February 27th, 2008, 02:19 PM
Hi,
@luarvik: the latest unofficial daily snapshot tarballs already include the patch that was written for this issue.
@billstei: the 'alsa-driver' package is the required one here. However, I would not suggest mixing user-compiled alsa-driver with binary distributed alsa-lib, alsa-utils etc. Why not compile them all, after all?
luarvik
February 27th, 2008, 02:42 PM
Hi,
@luarvik: the latest unofficial daily snapshot tarballs already include the patch that was written for this issue.
@billstei: the 'alsa-driver' package is the required one here. However, I would not suggest mixing user-compiled alsa-driver with binary distributed alsa-lib, alsa-utils etc. Why not compile them all, after all?
Thank you so much!!
I just applied the patch you posted on alsa-devel and my sync issues are gone and the card works flawlessly. The sound is perfect!
Once again, thank you.
luarvik
February 27th, 2008, 02:44 PM
Hello,
could you let us know about the progress with the sound artifact issue, the hiss is still there for me and it is in about 4 seconds.
The issue with hiss is gone now as there is a fix, look for the patch on alsa-devel maillist.
1.0.16 works flawlessly for me now.
luarvik
February 27th, 2008, 02:45 PM
Nice.
Looks like this will be 1.0.17 and probably not make it into Hardy. How much of alsa will we need to compile and bring into Hardy (or Gutsy) to get this resolved? alsa-driver or alsa-lib or ?
Bill
You need to have alsa-driver, alsa-lib and alsa-utils packages,
configure, make and install driver, lib and utils.
deathu
February 27th, 2008, 02:52 PM
Thank you so much!!
I just applied the patch you posted on alsa-devel and my sync issues are gone and the card works flawlessly. The sound is perfect!
Once again, thank you.
I'm glad to hear this solved the issue for you, too.
However, I did NOT write that patch :D - I'm not an alsa developer
I only posted about the problem and collaborated with the author of the patch, testing things as requested :)
billstei
February 28th, 2008, 12:41 PM
The issue with hiss is gone now as there is a fix, look for the patch on alsa-devel maillist.
1.0.16 works flawlessly for me now.
Excellent. I assume then that the patch can be (should be) applied to 1.0.16.
When you say "works flawlessly" are you able to do (at least) 96Khz recording as well? I am planning to route through Jack (and WineASIO possibly).
I have been holding off buying the 0404 but it sounds (ha) like it's good-to-go.
Bill
deathu
February 28th, 2008, 01:45 PM
Excellent. I assume then that the patch can be (should be) applied to 1.0.16.
When you say "works flawlessly" are you able to do (at least) 96Khz recording as well? I am planning to route through Jack (and WineASIO possibly).
I have been holding off buying the 0404 but it sounds (ha) like it's good-to-go.
Bill
You can do 96kHz playback/recording with the 0404 USB, but for the moment it is not possible to control the sampling rate of this device under Linux (i.e. you have to set the rate on another OS, then connect the device to the Linux machine without powering it off). I tested recording only from line inputs, not from SPDIF.
Any rate higher than 96kHz is currently unusable in Linux, because this device will not store these rates (176.4k or 192k) when you disconnect it from the machine (will reset to 44.1k).
billstei
February 28th, 2008, 02:26 PM
Just for kicks I tried applying the patch to the stock Ubuntu Gutsy 1.0.14 alsa-driver source and it patches (and compiles) fine. I am guessing that the only file that really needs to be installed is "snd-usb-audio.ko" which is located at:
/lib/modules/2.6.22-14-whatever_your_kernel_is_named/kernel/sound/usb/snd-usb-audio.ko
and is normally a part of the linux-image-2.6.22-xxxxxxx package. Seems like the least intrusive way to do this would be to just copy over the ko file. Yes, no?
Bill
deathu
February 28th, 2008, 02:35 PM
why don't you just back up the /lib/modules/whatever_kernel_you_use directory (just to be sure), then do a 'make install' in the compiled source directory?
I noticed that when I change anything in the usbaudio.c file, the snd-usb-lib module also gets rebuilt.
billstei
February 28th, 2008, 03:37 PM
I noticed that when I change anything in the usbaudio.c file, the snd-usb-lib module also gets rebuilt.
You are correct, I see now that snd-usb-lib.ko is also rebuilt.
Bill
bofphile
February 28th, 2008, 07:52 PM
I have a silly question: How do I apply the patch after having installed alsa 1.0.16 (utils/lib/driver) ?
Thanks in advance.
vhex
March 4th, 2008, 02:43 PM
E-MU 0202 USB works with ALSA 1.0.16 if I add "slave.rate 48000" to /etc/asound.conf. This means that the output part of the driver is good, but the configuration part needs work (to work out of the box). Until then, you have to manually specify the frequency, sample size, channels and other parameters in the configuration file.
Also, I think when I pause an instance of mplayer and run another one, it complaints about the unability to open the audio port. But I'm not absolutely sure about the reasons.
dmitryf
March 5th, 2008, 04:31 PM
The reasons that the driver doesn't support hardware mixing. When using the default device software mixinig (via dmix) are working out of the box, but when using "pcm "plughw:0,0"" is not. Need right .asoundrc file http://alsa.opensrc.org/index.php/Dmix.
surfinusa555
March 12th, 2008, 03:46 PM
For some reason my 0404 is not being recognized (pci version, but hopefully you can help) as a sound card in cat /proc/asound/cards. I'm using the latest 1.0.16. I can tell it's being detected, and it works in windows, but still no luck. Any ideas? It does list my onboard sound in that cards file, but onboard doesn't work either, probably a hardware issue. I tried disabling the onboard card in the bios, but then it just tells me I have no soundcards so it will use null output, because it won't use my emu 0404.
SOLVED: Thanks to the people in #mandriva on freenode irc. For anyone who may have the same card/problem, here was my solution. First, make sure you have the same problem as me: type "dmesg |grep emu" and the problem lines are:
firmware: emu/emu0404.fw not found. Err=-2
emu1010: Loading Firmware file emu/emu0404.fw failed
Basically I think this is saying for whatever reason I don't have the firmware for the 0404.
So since I have Mandriva I did "urpmi emu1010-firmware" and voila! It now works.
For whatever distro you have, you just need to find the emu1010-firmware and compile it or find a package for your distro, make sure its 1.0.16. Probably a .deb out there for ubuntu users for sure.
aidave
March 12th, 2008, 04:01 PM
Hey, pleased to have found this thread!
I recently upgraded from XP to Ubuntu and noticed my sound isnt working. Yep I have an EMU 404! I am trying to hunt down a driver right now.
aidave
March 13th, 2008, 11:23 AM
Hey I have no idea what we have to do to get the soundcard working.
Can someone please help?
surfinusa555
March 14th, 2008, 05:29 AM
Is yours usb or pci? If it is pci I can probably get it working. I spent a lot of time figuring out how to get mine to work. Which ubuntu are you using? Hardy Heron is the only one with 1.0.16 installed by default I think. Show me the output of "cat /proc/asound/cards" and "lspci -nn" and "dmesg |grep emu" This output will tell me whether or not you need 1.0.16 or 1.0.15. Basically there are 2 known device ids. If yours has 0008 you'll need 1.0.16.
aidave
March 14th, 2008, 10:00 AM
Hi, thanks for the response! I just tried Ubuntu Hardy to solve this very issue, yet the soundcard is not recognize (PCI).
~$ cat /proc/asound/cards
1 [UART ]: MPU-401 UART - MPU-401 UART
MPU-401 UART at 0x330, irq 10
:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface [8086:2570] (rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation 82865G/PE/P PCI to AGP Controller [8086:2571] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 [8086:24d2] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 [8086:24d4] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 [8086:24d7] (rev 02)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 [8086:24de] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller [8086:24dd] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev c2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge [8086:24d0] (rev 02)
00:1f.1 IDE interface [0101]: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller [8086:24db] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801EB (ICH5) SATA Controller [8086:24d1] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller [8086:24d3] (rev 02)
01:00.0 VGA compatible controller [0300]: nVidia Corporation NV34 [GeForce FX 5500] [10de:0326] (rev a1)
02:05.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller [11ab:4320] (rev 13)
02:0a.0 VGA compatible controller [0300]: ATI Technologies Inc RV280 [Radeon 9200 PRO] [1002:5960] (rev 01)
02:0a.1 Display controller [0380]: ATI Technologies Inc RV280 [Radeon 9200 PRO] (Secondary) [1002:5940] (rev 01)
02:0b.0 Multimedia audio controller [0401]: Creative Labs SB Audigy [1102:0004] (rev 03)
02:0c.0 VGA compatible controller [0300]: 3Dfx Interactive, Inc. Voodoo 3 [121a:0005] (rev 01)
02:0d.0 Multimedia controller [0480]: Philips Semiconductors SAA7146 [1131:7146] (rev 01)
~$ dmesg |grep emu
[ 26.141175] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 40.666876] ALSA /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/emu10k1/emu10k1_main.c:822: emu1010: Special config.
[ 40.666959] ALSA /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/emu10k1/emu10k1_main.c:861: emu1010: EMU_HANA_ID=0x7f
[ 40.666963] ALSA /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/emu10k1/emu10k1_main.c:880: emu1010: filename emu/emu0404.fw testing
[ 41.840606] ALSA /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/emu10k1/emu10k1_main.c:681: firmware: emu/emu0404.fw not found. Err=-2
[ 41.840614] ALSA /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/emu10k1/emu10k1_main.c:885: emu1010: Loading Firmware file emu/emu0404.fw failed
surfinusa555
March 14th, 2008, 04:22 PM
Simple fix, you have the same problem I do, but since you have the one with device id 0004 1.0.15 might work for you. You just need the firmware. I don't know if it's in the ubuntu repsitories or not since I'm not using ubuntu, but this guy here http://www.uluga.ubuntuforums.org/showpost.php?p=3734116&postcount=3 had a way to compile just what you need. Hopefully that works!
aidave
March 14th, 2008, 05:12 PM
Simple fix, you have the same problem I do, but since you have the one with device id 0004 1.0.15 might work for you. You just need the firmware. I don't know if it's in the ubuntu repsitories or not since I'm not using ubuntu, but this guy here http://www.uluga.ubuntuforums.org/showpost.php?p=3734116&postcount=3 had a way to compile just what you need. Hopefully that works!
Hey Thanks. I actually tried installing firmware 1.0.16, and got a compile message:
~/Temp/alsa-firmware-1.0.16$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
see config.log for more details
...
configure:2534: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2537: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "alsa-firmware"
| #define VERSION "1.0.16"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2576: error: C compiler cannot create executables
I dunno if you can help with that. But I will try the older 1.0.15 firmware instead, thanks to your suggestion!
Edit: no, i get the same compile error with 1.0.15. Im using Ubuntu Hardy
I wonder why the firmware doesn't come preinstalled? Wierd.
surfinusa555
March 14th, 2008, 07:58 PM
From what I've heard, you may need the package "build-essential" to build it. I can't say for sure, so try installing that from whatever manager you have. You can probably use "gksudo aptitude install build-essential" but that may or may not work, so you can probably search for it in your gui thing.
aidave
March 15th, 2008, 12:08 AM
Thanks. ok, i did that but 1.0.16 gave me this message
./configure
configure: error: cannot find install-sh or install.sh in "." "./.." "./../.."
So I tried version 1.0.15 instead. That compiled and installed. Then reboot, still no sound or anything...
dmesg | grep emu
[ 38.447815] ALSA /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/emu10k1/emu10k1_main.c:822: emu1010: Special config.
[ 38.447899] ALSA /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/emu10k1/emu10k1_main.c:861: emu1010: EMU_HANA_ID=0x7f
[ 38.447903] ALSA /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/emu10k1/emu10k1_main.c:880: emu1010: filename emu/emu0404.fw testing
[ 39.695452] ALSA /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/emu10k1/emu10k1_main.c:684: firmware size=0xd67c
[ 44.144439] ALSA /build/buildd/linux-ubuntu-modules-2.6.24-2.6.24/debian/build/build-generic/sound/alsa-driver/pci/emu10k1/emu10k1_main.c:893: emu1010: Loading Hana Firmware file failed, reg=0x7f
surfinusa555
March 15th, 2008, 06:05 AM
hmmm, I'm not sure why that isn't working for you... something seems wrong with the firmware... maybe? I didn't have to compile mine because mandriva had it in the repository so I didn't experience that problem. But as soon as you get that firmware sorted, you will likely get sound because you had the same exact error output as I did. Try disabling the onboard sound in the bios and see if it makes a difference.
bofphile
March 30th, 2008, 11:59 AM
It seems some people managed to make work their USB device flawlessly at 44.1 kHz.
Thank you so much!!
I just applied the patch you posted on alsa-devel and my sync issues are gone and the card works flawlessly. The sound is perfect!
Once again, thank you.
Just for kicks I tried applying the patch to the stock Ubuntu Gutsy 1.0.14 alsa-driver source and it patches (and compiles) fine. I am guessing that the only file that really needs to be installed is "snd-usb-audio.ko" which is located at:
/lib/modules/2.6.22-14-whatever_your_kernel_is_named/kernel/sound/usb/snd-usb-audio.ko
and is normally a part of the linux-image-2.6.22-xxxxxxx package. Seems like the least intrusive way to do this would be to just copy over the ko file. Yes, no?
Bill
If those people could write a little how-to on how to do this with a basic setup (for example with Hardy), it would be really appreciated. Particularly for people like me who don't know much about compiling or patching. ;)
Thanks in advance.
luarvik
April 6th, 2008, 04:12 PM
To install new alsa driver you do need more than snd-usb-audio.ko, the libraries and utils have to be up to date as well.
You need to
1. Download HG-alsa source from
ftp://ftp.suse.com/pub/projects/alsa/snapshot/
2. unpack the sources with
tar -xvf alsa-driver-hgTHEDATE.tar.bz2
3. cd alsa-driver-hgTHEDATE
4. ./hgcompile --with-cards=usb-audio
5. sudo make install
6. repeat points 1-5 for alsa-lib-hg, alsa-utils-hg
You are set.
PS --with-cards speeds things up, otherwise you'd compile the whole lot.,
it is needed only for alsa-drivers
You can test the version of alsa used by
alsamixer --version
If you have more than one sound-card, you need to add the module name to --with-cards
Hope it helps
luarvik
April 6th, 2008, 04:19 PM
why don't you just back up the /lib/modules/whatever_kernel_you_use directory (just to be sure), then do a 'make install' in the compiled source directory?
I noticed that when I change anything in the usbaudio.c file, the snd-usb-lib module also gets rebuilt.
You don't want to do that. Ubuntu takes care of the versions, you install new ko kernel modules, these will be used.
bofphile
April 7th, 2008, 08:37 AM
Ok, here's what I did:
First, I installed all the necessary packages:
sudo apt-get install libncurses5 libncurses5-dev gettext autoconf automake
Then I downloaded on the desktop alsa-driver/lib/utils/hg20080403:
sudo mkdir /usr/src/alsa
sudo mv ~/Bureau/alsa-* /usr/src/alsa/
cd /usr/src/alsa/
1/ alsa-driver
sudo tar jxvf alsa-driver-hg20080323.tar.bz2
cd alsa-driver-hg20080403/
sudo ./hgcompile --with-cards=usb-audio,hda-intel
sudo make install
2/ alsa-lib
cd..
sudo tar jxvf alsa-lib-hg20080323.tar.bz2
cd alsa-lib-hg20080323/
sudo ./hgcompile
sudo make install
3/ alsa-utils
cd..
sudo tar jxvf alsa-utils-hg20080315.tar.bz2
cd alsa-utils-hg20080315/
sudo ./hgcompile
sudo make install
As you can see, my alsamixer version is 1.0.16:
http://bofphile.free.fr/Images/alsamixer.png
but my card still doesn't seem to work. I don't get any sound with this command:
chakib@core2duo:~$ aplay -vv -Ddefault:1 foo.wav
Lecture en cours WAVE 'foo.wav' : Signed 16 bit Little Endian, Taux 44100 Hz, Stéréo
Plug PCM: Rate conversion PCM (48000, sformat=S24_3LE)
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 15052
period_size : 940
period_time : 21333
tstamp_mode : NONE
period_step : 1
avail_min : 940
start_threshold : 15052
stop_threshold : 15052
silence_threshold: 0
silence_size : 0
boundary : 986447872
Slave: Direct Stream Mixing PCM
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S24_3LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 24
buffer_size : 16384
period_size : 1024
period_time : 21333
tstamp_mode : NONE
period_step : 1
avail_min : 1024
start_threshold : 16384
stop_threshold : 16384
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Hardware PCM card 1 'E-MU 0202 | USB' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S24_3LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 24
buffer_size : 16384
period_size : 1024
period_time : 21333
tstamp_mode : ENABLE
period_step : 1
avail_min : 1024
start_threshold : 1
stop_threshold : 1073741824
silence_threshold: 0
silence_size : 1073741824
boundary : 1073741824
#+ | 00%Erreur de segmentation (core dumped)
I tried with mplayer, rhythmbox and neither work. But I can hear the sample sound with pulse audio manager (sample cache).
Yako
April 8th, 2008, 10:11 AM
I have installed:
alsa-driver-hg20080408 (--with-cards=hda-intel,emu10k1,emu10k1x,usb-audio --with-sequencer=yes --with-moddir=/llib/modules/2.6.22-14-generic/updates/alsa --prefix=/usr)
alsa-lib-hg20080323
alsa-utils-hg20080315
alsa-firmware-1.0.16
alsa-plugins-1.0.16
alsa-tools-1.0.16
Sound on my hda-intel device works fine, but my EMU 0404 USB doesn't. Any application that tries to play audio on the EMU crashes after a split second of proper playback.
When I execute aplay -vv -Ddefault:1 /usr/share/sounds/login.wav it plays the sound just fine. All the other media applications i tried (totem, rhythmbox) play sound for less than half a second, then crash.
I had to set the device's sample rate to 48000Hz using Windows first to take away the sound distortion.
Does anyone have an idea what might be wrong? Thanks.
haizum
April 10th, 2008, 07:25 AM
i tried installing the latest snapshot of alsa-driver and could not get sound to work in XMMS... it wouldn't even recognize the driver (when using alsa as my output--oss works but it horribly distorted). though i DID get a beep in the ubuntu sound test, so perhaps XMMS just isn't up to date enough? if so, what other player do you recommend?
either way, I followed your steps luarvik but am having trouble compiling alsa-utils... i get a syntax error. here's my readout:
haizum@wintermute:~/Documents/incoming/alsa-utils-hg20080315$ ./hgcompile --with-cards=usb-audio
configure.in:7: warning: macro `AM_GNU_GETTEXT' not found in library
configure.in:8: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library
./hgcompile: line 10: gettextize: command not found
configure.in:7: error: possibly undefined macro: AM_GNU_GETTEXT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:8: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
CFLAGS=-O2 -Wall -pipe -g
./configure --with-cards=usb-audio
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
./configure: line 2187: syntax error near unexpected token `external'
./configure: line 2187: `AM_GNU_GETTEXT(external)'
haizum@wintermute:~/Documents/incoming/alsa-utils-hg20080315$
i've got an EMU 0404 USB and am running ubuntu 7.10. by default it only has alsa 1.0.14 installed.
i also tried compiling older snapshots, and even the stable 1.0.16rc1 release (the latest) and got the same results... any ideas?
also, should i uninstall the older alsa 1.0.14 before installing any of the later ones?
thanks!
To install new alsa driver you do need more than snd-usb-audio.ko, the libraries and utils have to be up to date as well.
You need to
1. Download HG-alsa source from
ftp://ftp.suse.com/pub/projects/alsa/snapshot/
2. unpack the sources with
tar -xvf alsa-driver-hgTHEDATE.tar.bz2
3. cd alsa-driver-hgTHEDATE
4. ./hgcompile --with-cards=usb-audio
5. sudo make install
6. repeat points 1-5 for alsa-lib-hg, alsa-utils-hg
You are set.
PS --with-cards speeds things up, otherwise you'd compile the whole lot.,
it is needed only for alsa-drivers
You can test the version of alsa used by
alsamixer --version
If you have more than one sound-card, you need to add the module name to --with-cards
Hope it helps
noj91
April 10th, 2008, 12:55 PM
hi there,had the same problem myself the other day,you are missing the tool gettext needed by the configure script .search synaptic for gettext install it and you should be good to go
haizum
April 10th, 2008, 04:53 PM
OK, major update:
I've managed to get audio WORKING with my EMU 0404 USB in both audacious & mplayer in ubuntu 7.10. here's what i had to do:
1. install gettext & libncurses5-dev (P.S. bophile: libncurses5, autoconf and automake are already included in ubuntu and are not needed)
2. install alsa-driver-hgXXXX, alsa-lib-hgXXXX, alsa-utils-hgXXXX (in order to install alsa-utils, you have to run 'alocal -I m4' in the alsa-utils dir after running './hgcompile')
3. run windows xp, install EMU 0404 web install package, reboot, set samplerate to 44K, reboot to ubuntu
(this step isn't practical for people w/o windows installed, but i believe that it's absolutely necessary as i couldn't get audio to work without doing it)
4. changed the following line in /usr/share/alsa/alsa.conf:
defaults.pcm.dmix.rate 48000
to:
defaults.pcm.dmix.rate 44100
(i don't believe that this step was necessary after reading this at alsa.opensrc.org: "NOTE: For ALSA 1.0.9rc2 and higher you don't need to setup dmix. Dmix is enabled as default for soundcards which don't support hw mixing." but i did it nonetheless)
5. NOW, this is the important step... in your audio player of choice (i am using audacious, as i find the interface superior to xmms) you need to set the output plugin to OSS. in audacious you can just choose 'Default' for both the audio and mixer devices and it works... in mplayer i had to set them to /dev/dsp1 and /dev/mixer1 (or wherever your devices are located)
I don't know why the ALSA outpug plugin doesn't seem to work in any app for me, but it just doesn't. anyone know why?? i'm sure the audio quality would be better if i could get it to work, but the app just returns with the message that the sound driver isn't working... and YES, i've tried setting the output device to plughw:1,0 and it still doesn't work.
if you do the above, you should get distortedless sound, however, it doesn't sound like the quality one should be expecting from this card. i believe this is due to the fact that i had to use OSS rather than ALSA as my output plugins. also, this doesn't give you any volume control in ubuntu or the apps... it's all hardware based. this i annoying, and also causes the volume levels to be a little low by default, even when maxed in alsamixer (try increasing the preamp in your audio app to solve this).
this seems like the best i can do so far... any comments/suggestions anyone?
bigb_
April 20th, 2008, 07:13 AM
Hi guys!
Great job on those drivers! Many thanks and kudos to whoever's working on them!
I just got my 0404 usb and I am really happy with the sound! The moment I can use it reliably in Linux, I'd be even happier :-)
So enough non-sense, let's get to it.
First as a note, let me say that I am on openSuSE, so many of the things I do might be different and I want to apologize in advance for posting SuSE stuff on an Ubuntu forum! It's just that this is the most lively discussion on the subject that I could find and I thought the info might be helpful, regardless of the distribution used.
OK. All I did to get the drivers to work is download the alsa 1.0.16 driver sources and compile with
./configure --with-cards=emu10k1,usb-audio --with-sequencer=yes
I restarted and I was shocked to hear the login sound playing through the 0404 usb! So far so good. The card was set in advance to 44.1 in XP, but it seems that even in 48 it still plays with no distortion... My mixer in KDE shows the card, PCM level only, but it cannot adjust the volume.
The downside of the whole deal is that I lost my HDA Intel drivers and the laptop card didn't work. So I decided to try recompiling again with hda-intel support. So it was basically the same deal + hda-intel:
./configure --with-cards=hda-intel,emu10k1,usb-audio --with-sequencer=yes
Now I have both cards working. In applications such as Amarok where you can chose the output device, I can put "plughw:USB,0" and it plays through the 0404 usb. Sound quality seems very good - can't compare with XP quality yet, cause I've only had the card for 1 day and I haven't done much listening yet.
Now the problems:
Every now and then I get this weird thing going - distortion going from the left to the right channel and back. It starts out pretty quite and then goes louder and louder and then disappears again... It sounds almost like a condenser is getting charged and discharged... weird...
The other thing is that alsaconf doesn't see the 0404 usb... when I run it, it founds HDA Intel only.
The other thing, which might be SuSE, and/or normal ALSA related, and thus not relevant (I apologize in advance if it is), is that the /etc/modprobe.d/sound file got changed the first time I compiled the drivers and now it just says:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
This causes YAST to display two rows in the Sound Config applet:
HDA Intel
Not Configured 82801G (ICH7 Family) High Definition Audio Controller
Is there a way of changing that?
In any case, it seems a lot of progress has been made since I first decided to get the 0404 usb some months ago, and I had a look here. I didn't expect it to work at all so I am really positively surprised!
Keep up the good work guys!!!
aidave
April 20th, 2008, 05:29 PM
./configure --with-cards=emu10k1,usb-audio --with-sequencer=yes
When I try this, it errors:
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: WARNING: Makefile.conf.in seems to ignore the --datarootdir setting
config.status: creating snddevices
config.status: error: cannot find input file: utils/alsa-driver.spec.in
Where do we get "utils/alsa-driver.spec.in" from?
bigb_
April 21st, 2008, 11:48 AM
Where do we get "utils/alsa-driver.spec.in" from?
I am not sure, but I am guessing it refers to the alsa-utillities package/sources, which you can download along with the driver sources from the ALSA website. It is werd however that it should not compile without them... I think I compliled the drivers before the utilities, but I am not completely sure so you might wanna give it a shot...
Btw. just to clarify on my previous post, the card only works in 44.1 khz mode and not in 48 as stated before and video sound has a lot of distortion when the card is installed along with the hda-intel drivers. When installed alone, it works just fine in 44.1 khz mode. I suspect it would also work fine if it is installed as the "first card", meaning that the "default" setting refers to it and not the hda-intel.
bayonetblaha
May 6th, 2008, 03:59 AM
Nelson,
We don't have official Linux drivers, but we have provided AlsaProject with hardware samples and datasheets for driver development. It doesn't appear as though they have a driver yet, but looks as though it's in development. Refer to the below URL for more information.
http://www.alsa-project.org/main/index.php/Matrix:Vendor-Creative_Labs
Please remember the more information you provide, including previous correspondence in your mail, helps in troubleshooting and solving the problem you are experiencing.
Thank you,
-Tanner
E-MU Systems
So it seems that as of September 13, 2007 Creative supplied ALSA with a unit and data. So if/when this does get worked out, ubuntu studio will absolutely rock for me. Until then I'm on vista. I'm just one more person here to say that I really want 0404 support!
Josko
May 14th, 2008, 01:43 PM
I updated my system to Hardy Heron and also switched to 64bit and since then I am experiencing annoying problem:
When ubuntu is booting, my card - EMU 0202 USB not switch on, only one LED blinks very faintly and card remain off... I have to switch it off and switch it on again to have it on.
It's not big deal because I don't restart my computer very often but if I forgot to switch off/on card Pulseaudio fail to start and I have to start it manualy... And this is very confusing for my sister if she wants to play WoW on my computer..
I think that it's some USB stack problem in Hardy... because on Feisty with the same driver I had no problem and driver is loading after initialization of USB so it's not fault od ALSA Driver.
One good thing on Hardy is that it has built in pulseaudio wich is doing software mixing (dmix of alsa is not working on EMU).
bigb_
May 15th, 2008, 06:04 PM
How do you get your card to start at 44100? If I power off mine (0404 usb) and turn it on again, it boots up at 48000 and I get distortion...
It's not big deal because I don't restart my computer very often but if I forgot to switch off/on card Pulseaudio fail to start and I have to start it manualy... And this is very confusing for my sister if she wants to play WoW on my computer..
sanus|art
May 17th, 2008, 12:32 AM
Had 0404 PCI working on hardy out-of-the-box, but one day stopped and that's it - nothing helps.
Josko
May 20th, 2008, 12:08 PM
How do you get your card to start at 44100? If I power off mine (0404 usb) and turn it on again, it boots up at 48000 and I get distortion...
I swithed it in windows xp on another machine(but I have 0202 not 0404 so it may be different), but you can use 48kHz as well, because you can switch pulseaudio to sample in 48kHz and then it'll be ok, without distortion.
cclofton
May 31st, 2008, 02:43 PM
anyone get their emu 0404 to work with midi yet? it appears in jack, but just won't connect to anything
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.