Help getting the AV710's Wolfson DAC under Linux working

Sep 6, 2005 at 10:54 PM Thread Starter Post #1 of 33

mustang

100+ Head-Fier
Joined
Jun 22, 2004
Posts
234
Likes
10
Hi Guys,

I'm completely new to Linux and I'm having a good deal of difficulty getting the Wolfson DAC (among other things) to work. I am running Ubuntu 5.04.

As of right now, I can get the normal line out(green jack) working with OSS. However, when I select ALSA in XMMS, it gives me some error about device cannot be found or something like that. And when I look at the alsamixer, it displays the mixer for my nforce onboard sound, rather than the AV710 chip (starts with "ICE" I believe?)

So would someone mind walking me, STEP-BY-STEP (as I'm completely new to all of this) to get the Wolfson DAC working? I never thought I'd have to do so much work to get things I take for granted on Windows to run.

Thank you
 
Sep 7, 2005 at 10:10 PM Post #2 of 33
*bump* anyone?
frown.gif
 
Sep 8, 2005 at 7:16 PM Post #3 of 33
Try the following.
Code:

Code:
[left]aplay -D default yourMusic.wav[/left]

Does that work?
Now try.
Code:

Code:
[left]aplay -D hw:0,0 yourMusic.wav[/left]

post the outputs you get.
 
Sep 8, 2005 at 11:27 PM Post #4 of 33
Quote:

Originally Posted by blueworm
Try the following.
Code:

Code:
[left]aplay -D default yourMusic.wav[/left]

Does that work?
Now try.
Code:

Code:
[left]aplay -D hw:0,0 yourMusic.wav[/left]

post the outputs you get.



Hi blueworm

Thank you for your help. I get the same output for both of the lines you posted:

Code:

Code:
[left]Playing WAVE 'FunkMusic.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono aplay: set_params:857: Sample format non available[/left]

Same thing happens when I try a mp3.
 
Sep 9, 2005 at 7:31 AM Post #6 of 33
Do the following.
edit your .asoundrc so it looks like this.
Code:

Code:
[left]pcm.!default { type hw card 0 } ctl.!default { type hw card 0 }[/left]

now repeat.
Code:

Code:
[left]aplay -D default yourMusic.wav[/left]

If that does not produce sound and an output like this re-install the latest drivers alsa 1.0.9b.
Code:

Code:
[left]aplay -D default foo.wav Playing WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo[/left]

If that works we will be able to move on to try get the rear channels to work.
wink.gif
 
Sep 9, 2005 at 4:02 PM Post #7 of 33
Quote:

Originally Posted by blueworm
.Wait a minuit Is you nforce2 audio enabled?
If so disable it in BIOS for know at least.



Ok done, even though alsamixer still shows the nforce2...

Quote:

Originally Posted by blueworm
Do the following.
edit your .asoundrc so it looks like this.
Code:

Code:
[left]pcm.!default { type hw card 0 } ctl.!default { type hw card 0 }[/left]

now repeat.
Code:

Code:
[left]aplay -D default yourMusic.wav[/left]

If that does not produce sound and an output like this re-install the latest drivers alsa 1.0.9b.
Code:

Code:
[left]aplay -D default foo.wav Playing WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo[/left]

If that works we will be able to move on to try get the rear channels to work.
wink.gif



Ok here I am confused. I have no such asoundrc in any relevant directory. I have asound.rc in /usr/share/doc/jackd/examples. Are you sure you are not referring to asound.conf and asound.state in my /etc/ directory? (I also have an asound.state in my /var/lib/alsa directory) I tried modifying asound.conf with what you said but I still get the same error so I reverted back to my original asound.conf.
 
Sep 9, 2005 at 4:45 PM Post #8 of 33
Quote:

Originally Posted by mustang
Ok done, even though alsamixer still shows the nforce2...


alsamixer should not show nforce2!
what do you get if you do?
Code:

Code:
[left]alsamixer -c1[/left]

Also do Code:

Code:
[left]lsmod[/left]

and post the read out.
 
Sep 9, 2005 at 4:54 PM Post #9 of 33
Quote:

Originally Posted by mustang
Ok here I am confused. I have no such asoundrc in any relevant directory. I have asound.rc in /usr/share/doc/jackd/examples. Are you sure you are not referring to asound.conf and asound.state in my /etc/ directory? (I also have an asound.state in my /var/lib/alsa directory) I tried modifying asound.conf with what you said but I still get the same error so I reverted back to my original asound.conf.


Alsa works like this. it reads a list of rules in /etc asond.conf and applies them to all the users, BUT if a particular user has a .asoundrc (note the period before asoundrc, this denotes a hidden file) this will take presedence. These rules are in turn defined by /usr/share/alsa/alsa.conf .
Please read THIS GUIDE for a brief overview.
Also This guide in the alsa wiki
 
Sep 9, 2005 at 10:38 PM Post #10 of 33
Quote:

Originally Posted by blueworm
alsamixer should not show nforce2!
what do you get if you do?
Code:

Code:
[left]alsamixer -c1[/left]




I get

Code:

Code:
[left] Card: AMP Ltd AUDIO2000 Chip: ICEnsemble VT1616i View: Playback Item: Master[/left]

Or look at this:
http://disciplined.org/Screenshot.jpg

Quote:

Also do Code:

Code:
[left]lsmod[/left]

and post the read out.


I get
Code:

Code:
[left]Module Size Used by nls_cp437 5888 1 isofs 33848 1 udf 77060 0 proc_intf 4100 0 freq_table 4100 0 cpufreq_userspace 4572 0 cpufreq_ondemand 6172 0 cpufreq_powersave 1920 0 video 16260 0 sony_acpi 6280 0 pcc_acpi 11264 0 button 6800 0 battery 10244 0 container 4608 0 ac 4996 0 ipv6 229504 9 ohci1394 31876 0 snd_ice1724 49060 1 snd_ice17xx_ak4xxx 4096 1 snd_ice1724 snd_ak4xxx_adda 5760 2 snd_ice1724,snd_ice17xx_ak4xxx snd_mpu401_uart 7168 1 snd_ice1724 snd_rawmidi 22944 1 snd_mpu401_uart snd_seq_device 8332 1 snd_rawmidi shpchp 86116 0 pci_hotplug 30512 1 shpchp af_packet 20744 2 snd_intel8x0 29984 0 tsdev 7488 0 usbhid 29376 0 snd_ac97_codec 64608 2 snd_ice1724,snd_intel8x0 snd_pcm_oss 47652 0 ati_remote 12168 0 snd_mixer_oss 16768 1 snd_pcm_oss snd_pcm 84872 4 snd_ice1724,snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_timer 23300 1 snd_pcm snd 50276 13 snd_ice1724,snd_ak4xxx_adda,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore 9824 1 snd snd_page_alloc 9604 2 snd_intel8x0,snd_pcm forcedeth 16128 0 ehci_hcd 29444 0 ohci_hcd 19848 0 usbcore 107384 5 usbhid,ati_remote,ehci_hcd,ohci_hcd i2c_nforce2 6400 0 i2c_core 21264 1 i2c_nforce2 nvidia_agp 7452 1 agpgart 31784 1 nvidia_agp floppy 54864 0 pcspkr 3816 0 rtc 12216 0 evdev 9088 0 md 43856 0 dm_mod 53116 1 capability 5000 0 commoncap 7808 1 capability fglrx 229568 0 sr_mod 16036 0 sbp2 22408 0 scsi_mod 119936 2 sr_mod,sbp2 ieee1394 100408 2 ohci1394,sbp2 mousedev 11160 1 parport_pc 34372 1 lp 10792 0 parport 33480 2 parport_pc,lp ide_cd 38532 1 cdrom 36508 2 sr_mod,ide_cd psmouse 19336 0 ext3 120968 1 jbd 54168 1 ext3 ide_generic 1664 0 ide_disk 18176 4 amd74xx 13340 1 ide_core 118988 4 ide_cd,ide_generic,ide_disk,amd74xx unix 26164 746 thermal 13576 0 processor 22708 1 thermal fan 4612 0 fbcon 34048 71 font 8448 1 fbcon bitblit 5120 1 fbcon vesafb 6948 1 cfbcopyarea 3968 1 vesafb cfbimgblt 3072 1 vesafb cfbfillrect 3584 1 vesafb[/left]

Quote:

Originally Posted by blueworm
Alsa works like this. it reads a list of rules in /etc asond.conf and applies them to all the users, BUT if a particular user has a .asoundrc (note the period before asoundrc, this denotes a hidden file) this will take presedence. These rules are in turn defined by /usr/share/alsa/alsa.conf .
Please read THIS GUIDE for a brief overview.
Also This guide in the alsa wiki



Hmm ok. Well I made an .asoundrc file and dropped it into my home directory and pasted what you posted in your first post. I still get the same error though (even after a reboot)
 
Sep 9, 2005 at 10:48 PM Post #11 of 33
Here is my /proc/asound/cards if it helps at all..

Code:

Code:
[left]0 [nForce2 ]: NFORCE - NVidia nForce2 NVidia nForce2 with ALC655 at 0xef002000, irq 21 1 [AUDIO2000 ]: ICE1724 - AMP Ltd AUDIO2000 AMP Ltd AUDIO2000 at 0x9000, irq 16[/left]

I tried modifying that file and remove the nforce...but it didn't let me...even when I used the sudo command...
 
Sep 9, 2005 at 11:33 PM Post #12 of 33
Now try this
Code:

Code:
[left]aplay -D hw:1,0 yourMusic.wav[/left]

That should be front 2 channels.
If that works try.
Code:

Code:
[left]aplay -D hw:1,2 yourMusic.wav[/left]

That should be rear 2 channels.

post what you have in /etc/modules.d/alsa.
Or simply run.
Code:

Code:
[left]alsaconf[/left]

And configure only the ice1724 card.
 
Sep 10, 2005 at 12:49 AM Post #13 of 33
Quote:

Originally Posted by blueworm
Now try this
Code:

Code:
[left]aplay -D hw:1,0 yourMusic.wav[/left]

That should be front 2 channels.
If that works try.
Code:

Code:
[left]aplay -D hw:1,2 yourMusic.wav[/left]

That should be rear 2 channels.

post what you have in /etc/modules.d/alsa.
Or simply run.
Code:

Code:
[left]alsaconf[/left]

And configure only the ice1724 card.



Code:

Code:
[left]manish@ubuntu:~$ aplay -D hw:1,0 test.wav Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono aplay: set_params:857: Sample format non available manish@ubuntu:~$ aplay -D hw:1,2 test.wav aplay: main:508: audio open error: No such file or directory manish@ubuntu:~$ alsaconf bash: alsaconf: command not found[/left]

Nothing...
frown.gif
 

Users who are viewing this thread

Back
Top