You are not logged in.

#1 2011-02-19 07:12:26

trigger
Member
Registered: 2011-02-19
Posts: 2

[Solved] Alsa and EMU20K2

Solved: Not really, but what I did sort of works. For other frustrated owners of Auzentech's X-Fi Forte, I'll let you know what I did. I have 5.1 Logitech speakers, and I noticed all of them work but the front drivers. My ~/.asoundrc file defines hw:0,1 as the default pcm and ctl device. The Forte is card 0, and device 1 is surround51, surround sound. Then send rear channel sound through the front channels. Unfortunately I don't have surround sound, but I could probably route it through to the rear speakers if I had to. It's an awful setup, I know, but after two years of looking for a solution with this card it's the only one that I -- or anyone I know -- have come up with.

Two years ago when I got my soundcard I never bothered to check its Linux support, but the EMU20K2 chip turned out to have no support at all. Every once and a while I take a look around to see if anyone has had success, and I guess some people have. Apparently that user had his sound working just fine, he just had problems with his mic. I have a 5.1 Logitech system.

I've worked through the wiki article on ALSA. My X-Fi card is now the default card and it has the necessary modules loaded, as far as I can tell:

$ cat /proc/asound/modules

0 snd_ctxfi
1 snd_hda_intel

$ lsmod | grep '^snd'

snd_hda_codec_realtek   295557  1
snd_seq_dummy           1479  0
snd_hda_intel          21837  0
snd_seq_oss            29240  0
snd_hda_codec          74577  2 snd_hda_codec_realtek,snd_hda_intel
snd_ctxfi              95695  1
snd_seq_midi_event      5516  1 snd_seq_oss
snd_seq                50562  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          5281  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            39509  0
snd_mixer_oss          17730  1 snd_pcm_oss
snd_hwdep               6222  1 snd_hda_codec
snd_pcm                72321  4 snd_hda_intel,snd_hda_codec,snd_ctxfi,snd_pcm_oss
snd_timer              19537  2 snd_seq,snd_pcm
snd                    58906  14 snd_hda_codec_realtek,snd_hda_intel,snd_seq_oss,snd_hda_codec,snd_ctxfi,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc          7361  3 snd_hda_intel,snd_ctxfi,snd_pcm

$ ll /dev/snd

total 0
drwxr-xr-x  2 root root       80 Feb 18 20:50 by-path/
crw-rw----+ 1 root audio 116, 10 Feb 18 20:50 controlC0
crw-rw----+ 1 root audio 116, 17 Feb 18 20:50 controlC1
crw-rw----+ 1 root audio 116, 16 Feb 18 20:50 hwC1D0
crw-rw----+ 1 root audio 116,  9 Feb 18 20:50 pcmC0D0c
crw-rw----+ 1 root audio 116,  8 Feb 18 22:08 pcmC0D0p
crw-rw----+ 1 root audio 116,  7 Feb 18 20:50 pcmC0D1p
crw-rw----+ 1 root audio 116,  6 Feb 18 20:50 pcmC0D2p
crw-rw----+ 1 root audio 116,  5 Feb 18 20:50 pcmC0D3p
crw-rw----+ 1 root audio 116,  4 Feb 18 20:50 pcmC0D4p
crw-rw----+ 1 root audio 116, 15 Feb 18 20:50 pcmC1D0c
crw-rw----+ 1 root audio 116, 14 Feb 18 20:50 pcmC1D0p
crw-rw----+ 1 root audio 116, 13 Feb 18 20:50 pcmC1D1c
crw-rw----+ 1 root audio 116, 12 Feb 18 20:50 pcmC1D1p
crw-rw----+ 1 root audio 116, 11 Feb 18 20:50 pcmC1D2c
crw-rw----+ 1 root audio 116,  3 Feb 18 20:50 seq
crw-rw----+ 1 root audio 116,  2 Feb 18 20:50 timer

Now, when I was fiddling before with the onboard sound, I would run a little test and it worked fine:

$ speaker-test -c 2

That test provides nothing at all with my discrete card. However, when I run the following test:

$ speaker-test -Dplug:surround51 -c6

speaker-test 1.0.23

Playback device is plug:surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 86 to 10922
Period size range from 6 to 5461
Using max buffer size 10920
Periods = 4
was set period_size = 2730
was set buffer_size = 10920
0 - Front Left
4 - Center
1 - Front Right
3 - Rear Right
2 - Rear Left
5 - LFE
Time per period = 17.513255

my rear right, rear left, center and sub all make their lovely noise, but nothing from my front speakers! When I play music through moc, I get no sound at all.

I almost died with excitement when I heard sound, it was the first time this card had ever made noise in Linux. Now I'm just confused. I'm guessing I need to fix some settings somewhere? I've run alsamixer and made sure everything is unmuted. I did notice that the "Master" and "PCM" bars are missing something, though. Everything else has "MM" or "00" underneath it, but those two don't.

Edit: If I put the cable for my front speakers where the side ones (I don't have side) should go, I hear sound through my front speakers. Unfortunately thats sound that's coming from the side channels, which isn't helpful. Is there any way I can reroute the front channel sound to the side channel, since that is -- oddly enough -- my front channel?

Last edited by trigger (2011-02-21 00:26:35)

Offline

Board footer

Powered by FluxBB