LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-02-2005, 01:57 PM   #1
KingOfDreams
LQ Newbie
 
Registered: Jan 2005
Location: East of Eden
Distribution: Slackware
Posts: 27

Rep: Reputation: 15
OSS issues after 2.6.10 compile


I compiled ALSA as a module, included OSS emulation. I ran alsaconf, the AC97 onboard is found, alsamixer - ok. All the snd modules are loaded. The problem is that I have
/dev/dsp
missing, which means that I cant use OSS emulation. I think the compilation wiped out my /dev/dsp*.
Which options should I choose in the ALSA configuration section in the kernel so I dont get /dev/dsp* missing and have OSS emulation working?
And what generates the /dev/dsp* devices?

Thanks!

I have fresh 10.1 install

Last edited by KingOfDreams; 03-02-2005 at 01:58 PM.
 
Old 03-02-2005, 02:17 PM   #2
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
Is your /etc/modules.conf correctly set up? (See http://www.alsa-project.org documenation on your soundcard on how to do this)

Or, you can just run these lines, then add them to /etc/rc.d/rc.local:
Code:
modprobe snd_pcm_oss
modprobe snd_mixer_oss
 
Old 03-02-2005, 02:33 PM   #3
KingOfDreams
LQ Newbie
 
Registered: Jan 2005
Location: East of Eden
Distribution: Slackware
Posts: 27

Original Poster
Rep: Reputation: 15
well, after typing lsmod i see that all necessary modules are loaded, i recompiled the kernel and put the ALSA in, not as module. But still i get /dev/dsp* missing which are used by OSS. I dont know what to do to have /dev/dsp*.
 
Old 03-02-2005, 02:49 PM   #4
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
Quote:
i see that all necessary modules are loaded
Including snd-pcm-oss, snd-mixer-oss and snd-seq-oss? Without these modules loaded, udev does not create device nodes for the OSS emulation components.
 
Old 03-04-2005, 06:52 AM   #5
KingOfDreams
LQ Newbie
 
Registered: Jan 2005
Location: East of Eden
Distribution: Slackware
Posts: 27

Original Poster
Rep: Reputation: 15
I ran alsaconfig, alsamixer, alsactl store. After reboot:
lsmod
Code:
Module                  Size  Used by
snd_seq_oss            34688  0
snd_seq_midi_event      6400  1 snd_seq_oss
snd_seq                51984  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          7564  2 snd_seq_oss,snd_seq
snd_pcm_oss            48928  0
snd_mixer_oss          17920  1 snd_pcm_oss
snd_intel8x0           29376  0
snd_ac97_codec         75640  1 snd_intel8x0
snd_pcm                84100  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              21892  2 snd_seq,snd_pcm
snd                    47972  9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc          7940  2 snd_intel8x0,snd_pcm
But typing
alsactl restore
Code:
alsactl: load_state:1267: No soundcards found...
This is what I get before and after starting the X server.
/dev/dsp* and /dev/mixer* are still missing.
And this is my modprobe.conf
Code:
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.8 ---
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---

Last edited by KingOfDreams; 03-04-2005 at 07:46 AM.
 
Old 03-04-2005, 05:09 PM   #6
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
I would check /etc/rc.d/rc.alsa that is responsible for sound stuff settings.
If hotplug/udev do not create the necessary device nodes try creating them manually editing your /etc/rc.d/rc.local.
Make sure major/minor numbers of those devices are created according to lanana assignements.
Hope this helps
Ciao
 
Old 03-04-2005, 05:18 PM   #7
crud
Member
 
Registered: Jan 2005
Distribution: Slackware-10.1.0
Posts: 41

Rep: Reputation: 15
Compile ALSA as built-in, with OSS emulation of course

C-
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
oss problem suddenly wont compile sndshield linuxmandrake Debian 1 10-02-2007 04:42 AM
KDE 3.3 compile issues elitecodex Linux - Software 3 03-05-2005 08:25 PM
Compile Issues Megadeth08902 Linux - Software 1 02-18-2005 09:49 PM
Issue with snd-pcm-oss and snd-mixer-oss; OSS load failed EnigmaX Slackware 3 07-26-2004 03:26 PM
COMPILE issues meindlj Linux - Software 0 05-18-2004 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration