View previous topic :: View next topic |
Author |
Message |
qnx l33t
Joined: 25 Jun 2002 Posts: 638 Location: Göteborg, Sweden
|
Posted: Mon Jan 06, 2003 9:59 am Post subject: No /dev/dsp with ALSA |
|
|
This feels really stupied to ask...
I have built in ALSA support in my ck-kernel. I modprobe for snd-es1371 and it seems ok, when I do lsmod I see this:
Code: | snd-ens1371 10316 0 (unused)
snd-rawmidi 12000 0 [snd-ens1371]
snd-pcm 49664 0 [snd-ens1371]
snd-timer 10952 0 [snd-pcm]
snd-ac97-codec 23204 0 [snd-ens1371]
snd 22496 0 [snd-ens1371 snd-rawmidi snd-pcm snd-timer snd-ac97-codec] |
But I still have no /dev/dsp nor other such as /dev/mixer and so...
I also tried to start alsasound, but I have no such script in init.d. .... Guess I have to emerge something..But what??
Cheers! _________________ Registred Linux user #191143!
Abit NF7-S rev. 2.00 (BIOS v. 2.7)
AMD AthlonXP 2500+ (Barton)
PATA Seagate ST3120022A
SATA Seagate ST3200822AS & Silicon Image 3112 chipset
Gentoo Linux |
|
Back to top |
|
|
puddpunk l33t
Joined: 20 Jul 2002 Posts: 681 Location: New Zealand
|
Posted: Mon Jan 06, 2003 10:51 am Post subject: |
|
|
You need to install the alsa-oss package. This package maps the OSS devices (/dev/dsp, /dev/mixer and the like) to alsa's SND devices (/dev/snd/pcm, /dev/snd/mixer and the like) and to be able to use those devices without messing with program settings, I've found it's just easier to emerge the alsa-oss compatability package.
Hope I've helped,
Chris. |
|
Back to top |
|
|
qnx l33t
Joined: 25 Jun 2002 Posts: 638 Location: Göteborg, Sweden
|
Posted: Mon Jan 06, 2003 3:09 pm Post subject: |
|
|
Thanks, you helped! One more question just: Does it mean I have to enable OSS Emulation in kernel??
Cheers, Jacob _________________ Registred Linux user #191143!
Abit NF7-S rev. 2.00 (BIOS v. 2.7)
AMD AthlonXP 2500+ (Barton)
PATA Seagate ST3120022A
SATA Seagate ST3200822AS & Silicon Image 3112 chipset
Gentoo Linux |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Mon Jan 06, 2003 3:17 pm Post subject: |
|
|
You shouldn't have to do that. I think you just need to make sure the modules snd-pcm-oss and snd-seq-oss are loaded. I haven't installed the alsa-oss package, but I just load those two modules on boot and OSS works fine. |
|
Back to top |
|
|
qnx l33t
Joined: 25 Jun 2002 Posts: 638 Location: Göteborg, Sweden
|
Posted: Mon Jan 06, 2003 4:30 pm Post subject: |
|
|
Wedge_ wrote: | You shouldn't have to do that. I think you just need to make sure the modules snd-pcm-oss and snd-seq-oss are loaded. I haven't installed the alsa-oss package, but I just load those two modules on boot and OSS works fine. |
But it seems like you are running ALSA via OSS!
And here's what I have loaded:
Code: | jacob@qnx jacob $ lsmod
Module Size Used by Not tainted
snd-ens1371 10316 0 (unused)
snd-rawmidi 12000 0 [snd-ens1371]
snd-pcm 49664 0 [snd-ens1371]
snd-timer 10952 0 [snd-pcm]
snd-ac97-codec 23204 0 [snd-ens1371]
snd 22496 0 [snd-ens1371 snd-rawmidi snd-pcm snd-timer snd-ac97-codec] |
Now I at least see something inside /dev/snd, here's ls of this dir:
Code: | jacob@qnx jacob $ ls /dev/snd
controlC0 controlC2 controlC4 controlC6 midiC0D0 pcmC0D0p timer
controlC1 controlC3 controlC5 controlC7 pcmC0D0c pcmC0D1p |
Is this what I should have there??
Oh! After I load the modules, I cannot see any changes in dmesg....Suspicious....
And I have emerged alsa-oss and alsa-lib. I tried to run aoss after loading the modules, but it didn't make any ln -s like /dev/dsp or /dev/mixer . What's wrong?? Have you seen any HOWTOs on this?? Can you help me??
Cheers! _________________ Registred Linux user #191143!
Abit NF7-S rev. 2.00 (BIOS v. 2.7)
AMD AthlonXP 2500+ (Barton)
PATA Seagate ST3120022A
SATA Seagate ST3200822AS & Silicon Image 3112 chipset
Gentoo Linux |
|
Back to top |
|
|
|