Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound Madness
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
gmak
n00b
n00b


Joined: 22 Jul 2002
Posts: 5
Location: London

PostPosted: Wed Jul 24, 2002 10:50 pm    Post subject: Sound Madness Reply with quote

Hi,

I've read and followed all of the Desktop guide for setting up - and it is all working except my sound.

I've got devfs compiled into the kernel.
I've only the sound core item compiled into the kernel.
I've got alsa installed and working (at least it doesn't throw errors during boot).
I can successfully probe my sound card (cmipci module).
I can get alsa to play a sound through aplay.

What I can't do is get sound working in KDE. Each time it says that /dev/dsp does not exist; which is true - the device is not being linked or created by devfs but I cannot see why.

When I look do dmesg I do see this:

...
devfs: v1.12 (20020219) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
...
cmipci: no OPL device at 0x388, skipping...
devfs_register(1): could not append to parent, err: -17
devfs_register(a1): could not append to parent, err: -17
devfs_register(1): could not append to parent, err: -17
devfs_register(a1): could not append to parent, err: -17
...

Can someone please give me some guidance as to what I'm missing/doing wrong?
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Wed Jul 24, 2002 11:19 pm    Post subject: Reply with quote

Check out '/etc/modules.d/alsa'. Read the directions in there and uncomment the lines for OSS/Free support. You usually only need to uncomment the lines for 'snd-card-0', unless you have more than one sound card.

Then run 'update-modules', and restart. This will load the appropriate modules for OSS/Free emulation, and cause devfs to create the appropriate links.
Back to top
View user's profile Send private message
gmak
n00b
n00b


Joined: 22 Jul 2002
Posts: 5
Location: London

PostPosted: Wed Jul 24, 2002 11:45 pm    Post subject: Yes, but... Reply with quote

Okay, I can see the problem. When changing the ALSA/OSS part of the /etc/modules.d/alsa file do I change the the line:

alias sound-slot-0 snd-card-0

to

alias sound-slot-0 snd-cmipci

or leave it as it is?
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Thu Jul 25, 2002 12:05 am    Post subject: Reply with quote

Leave it as it is, just uncomment it. Also uncomment the OSS/Free line at the top of the file.
Back to top
View user's profile Send private message
gmak
n00b
n00b


Joined: 22 Jul 2002
Posts: 5
Location: London

PostPosted: Thu Jul 25, 2002 12:18 am    Post subject: no module loading Reply with quote

Okay, I've amended the /etc/modules.d/alsa file as you suggest. Here's the gist of it:
Code:

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##  ALSA portion
alias snd-card-0 snd-cmipci
alias snd-card-1 snd-cmipci
alias snd-card-2 snd-cmipci
alias snd-card-3 snd-cmipci
alias snd-card-4 snd-cmipci
alias snd-card-5 snd-cmipci
alias snd-card-6 snd-cmipci
alias snd-card-7 snd-cmipci

## alias snd-card-1 snd-cmipci
##  OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss


The problem is that the snd-pcm-oss modules is not loading. If I do a modprobe snd-pcm-oss it loads fine.

How can get this module loading automatically?

Thanks for your help MrChuckles
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Thu Jul 25, 2002 1:06 am    Post subject: Reply with quote

Are you starting alsa via the alsasound init script? Add alsasound to your boot runlevel, remove any references to your sound card's module from '/etc/modules.autoload', and restart. That's all I had to do to get OSS support enabled. Alsa make sure you have the alsa-utils package installed.
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