Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Noob trying to get Sound Blaster to work without OSS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
andrewski
Guru
Guru


Joined: 30 Apr 2004
Posts: 366
Location: Royersford, PA, USA

PostPosted: Sat Jul 24, 2004 4:56 pm    Post subject: Noob trying to get Sound Blaster to work without OSS Reply with quote

OK, I'm in just a little over my head, so if anyone could help me out, that'd be great.

I have a "Creative Sound Blaster Live! Value" card and I'd like to have it work with ALSA and without OSS. As I understand it, I should have ALSA emulate OSS for programs not yet using ALSA. (This is where I'm in over my head.)
Thusly, I compiled my 2.6.7 kernel as follows:
Code:
<M> Advanced Linux Sound Architecture
<M> Sequencer support
< >   Sequencer dummy client
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
[*] OSS Sequencer API

I have my USE flags to include alsa and to exclude oss.

Then, from the ALSA Guide, I emerged alsa-utils and didn't emerge alsa-oss.
Since I compiled my own kernel, I checked my devfs.conf, made sure alsa loaded at boot, started it up right now, and went to unmute the volume... huh, there's an error:
Code:
root:/$ amixer
amixer: Mixer attach default error: No such device

So I do as much checking as I know how:
Code:
root:/$ lsmod
Module                  Size  Used by
snd_seq_oss            32512  0
snd_seq_midi_event      6528  1 snd_seq_oss
snd_seq                52112  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          7048  2 snd_seq_oss,snd_seq
snd_pcm_oss            49192  0
snd_pcm                87556  1 snd_pcm_oss
snd_page_alloc          9224  1 snd_pcm
snd_timer              22660  2 snd_seq,snd_pcm
snd_mixer_oss          17920  1 snd_pcm_oss
snd                    47844  8 snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
<SNIP>

root:/$ cat /proc/asound/modules
root:/$ cat /proc/asound/oss/   
devices  sndstat 
root:/$ cat /proc/asound/oss/devices
  1:       : sequencer
  8:       : sequencer
root:/$ cat /proc/asound/cards       
--- no soundcards ---
root:/$ cat /proc/asound/devices
  1:       : sequencer
 33:       : timer

I can't seem to get the card recognised, though the modules seem loaded. Why is that?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Sat Jul 24, 2004 5:05 pm    Post subject: Reply with quote

andrewski,

It looks like the snd_emu10k1 module isn't loaded but all the ALSA OSS emulation modules are.

That is, your apps can talk to the OSS emulation layer but the emulation layer can't talk to the hardware because the ALSA module for the hardware is missing.

Its under
Sound
Advanced Linux Sound Architecture
Oops (edit)
PCI devices
and choose EMU10K1 (SB Live! & Audigy, E-mu APS) if you forgot to configure it.

Maybe your ALSA config file is not right, because it should be loaded from there.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
andrewski
Guru
Guru


Joined: 30 Apr 2004
Posts: 366
Location: Royersford, PA, USA

PostPosted: Sat Jul 24, 2004 5:49 pm    Post subject: Reply with quote

Nope, that wasn't compiled in my kernel... oh man... :oops:
(I had been looking for Creative.)

Now everything's working fine!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum