Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No ALSA sound on 2.4.26
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
DenDixon
n00b
n00b


Joined: 15 Mar 2005
Posts: 49

PostPosted: Tue Oct 04, 2005 2:15 am    Post subject: No ALSA sound on 2.4.26 Reply with quote

The good news is the command:
Code:
cat /dev/urandom > /dev/dsp

plays loud and clear.
However, when I start KDE, it plays some start up music for a few seconds, then nothing works anymore.

Some obvious things wrong:
Code:
cat /proc/asound/cards

gives "no soundcard" response.

Code:

amixer
Mixer attach default error: No such device


Code:

alsamixer
alsamixer: function snd_ctrl_open failed for default: No such device

I tried "killall udevd; udevstart", which didn't help.


Some info that might be useful, although there's so much I'm not sure which to pass on:
On boot:
Code:

dmesg
...
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Via 686a/8233/8235 audio driver 1.9.1-ac3
....
Mounted devfs on /dev           (Is this a problem for some reason?)
....
ALSA seq_oss.c:232: can't register device seq
via-audio: ignoring drain playback error -11


In /etc/conf.d/alsasound I have:
SAVE_ON_STOP="yes"
ENABLE_OSS_EMUL="yes" (Added this on advice of a previous posting but it doesn't seem to have any effect)
Should I add "RESTORE_ON_START="yes"" ?

I do have a /dev/dsp pointing to /dev/sound/dsp and a /dev/snd directory.

When I run alsaconf, I get the following at the end:
...
Loading: snd-seq-oss
/lib/modules/2.4.26=gentoo-r9/kernel/sound/acore/seq/oss/snd-seq-oss.o: init_module: Device or resource busy.
Hint: insmod errors can be caused by incorrect module parameters including invalid IO or IRQ parameters.

Thanks for any help.
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Tue Oct 04, 2005 5:10 am    Post subject: Reply with quote

does arts work when you set it to use alsa directly (or oss emulation if you were using alsa) in control center sound system config?
Back to top
View user's profile Send private message
DenDixon
n00b
n00b


Joined: 15 Mar 2005
Posts: 49

PostPosted: Tue Oct 04, 2005 10:19 pm    Post subject: Reply with quote

I'm using KDE 3.3.0, when I go to the "control center/sound system" there is no mention of ALSA. (Which is different than the instructions for arts in the help manual)

Under "hardware/select & configure your Audio Device/Select Audio Device" I changed it from autodetect to Open Sound System.

There is also a button to test sound, when pressed nothing happens.
So my answer I guess is "no, arts doesn't work"

But it must be more than just KDE messing it up. How is it possible that:
Code:
cat /dev/urandom > /dev/dsp

works, but
Code:
cat /proc/asound/cards

says "no soundcard"?
Back to top
View user's profile Send private message
DenDixon
n00b
n00b


Joined: 15 Mar 2005
Posts: 49

PostPosted: Wed Oct 05, 2005 2:11 am    Post subject: SOLVED but KDE still problem Reply with quote

I solved my problem by reconfiguring the kernel:
In Sound I unselected: "Creative Ensoniq AudioPCI 97" and "VIA82c686 AudioCode" and "VIA 82c686 MIDI"
Then selected "OSS sound modules" and "verbose initialization" and "persistent DMA buffers"

I now have sound, and alsamixer works, and /proc/asound/cards gives me my sound card info.

Two Problems remain:
1) If I go to KDE while alsa is running nothing works anymore and I need to rerun alsaconf outside KDE.

The error message I get if turning on KDE without Alsa is:
"Error while initializing the sounddriver, device /dev/audio can't be opened."

The 1 possible box to check in my KDE Control Center changing from "autodetect "to "open sound system" does nothing.

There must be a KDE config file that I can change directly to link it to the right device.

2) My 2nd problem, although the sound seems to work anyways, is :
Code:
/etc/init.d/alsasound start
Loading Alsa driver
Using Alsa OSS emulation
Loading snd-seq-oss /lib/modules/2.4.26-gentoo-r9/kernel/sound/acore/seq/oss/snd-seq-oss.o: init_module: Drive or resource busy
Hint: insmod errors can be caused by incorrect module parameters including invalid IO or IRQ parameters.
Loading snd-via82xx
loading snd-seq
Running card - dependent scripts
Restoring Mixer Levels

I don't know why I have trouble with snd-seq-oss and why it doesn't seem to matter.


Thanks for any help.
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Mon Oct 10, 2005 4:46 pm    Post subject: Reply with quote

did you build arts with the alsa use flag? It probably doesn't have the support compiled in.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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