Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound problems with 2.6 kernel
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
Tsuki
n00b
n00b


Joined: 27 May 2004
Posts: 42
Location: Southampton, England

PostPosted: Thu Jun 03, 2004 5:00 pm    Post subject: Sound problems with 2.6 kernel Reply with quote

Linux newbie alert, I'm afraid!

I've just upgraded to the 2.6.5 kernel, and I'm having problems with my sound. I've compiled all the new ALSA stuff into the kernel, and I didn't see a sound-related problem on boot-up.

However, upon starting KDE I get white noise from my speakers, and this error:

Quote:
Sound server informational message:

Error while initialising sound driver:

device: default can't be opened for playback (No such file or directory)

The sound server will continue, using the null output device.


KDE's sound system config lets me select other audio devices - using OSS for example gives the same error as above but with "device /dev/dsp" rather than "device: default".

My sound card is reported as an Ensoniq AudioPCI ENS1371.

Any idea what's going wrong here, and how I might sort it out?

TIA,
Ian
Back to top
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Thu Jun 03, 2004 8:39 pm    Post subject: Reply with quote

did u
Code:
emerge alsa-utils
and config it http://www.gentoo.org/doc/en/alsa-guide.xml
u dont have to emerge alsa-driver with 2.6 , just follow the config part
good luck !
Back to top
View user's profile Send private message
teutzz
Guru
Guru


Joined: 22 Apr 2004
Posts: 333
Location: .ro

PostPosted: Thu Jun 03, 2004 9:24 pm    Post subject: Reply with quote

try dmix
and try to use esd as arts output, not alsa (even if you have configured dmix software mixing with alsa)
_________________
Cand nu stii ce sa raspunzi sau ce sa spui un simplu BLA ajunge... lolz
Back to top
View user's profile Send private message
Tsuki
n00b
n00b


Joined: 27 May 2004
Posts: 42
Location: Southampton, England

PostPosted: Fri Jun 04, 2004 7:18 pm    Post subject: Reply with quote

I've just tried following through the guide, and hit a problem. Everything goes fine up until the point where it says to run amixer.

Just running "amixer" on its own produces no output for me, and the next step - "amixer set Master 100 unmute" produces the error "amixer: Unable to find simple control 'Master',0".

Any ideas?

Support for my sound card is enabled in my kernel (2.6.5-gentoo-r1), alsa-utils are installed and alsasound is running.


Last edited by Tsuki on Fri Jun 04, 2004 7:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Fri Jun 04, 2004 7:25 pm    Post subject: Reply with quote

run this
Code:
amixer
Back to top
View user's profile Send private message
Tsuki
n00b
n00b


Joined: 27 May 2004
Posts: 42
Location: Southampton, England

PostPosted: Fri Jun 04, 2004 7:47 pm    Post subject: Reply with quote

li1_getoo wrote:
run this
Code:
amixer

In a previous post, Tsuki wrote:
Just running "amixer" on its own produces no output for me
Back to top
View user's profile Send private message
seventhguardian
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 261
Location: Portugal

PostPosted: Fri Jun 04, 2004 8:32 pm    Post subject: Reply with quote

Try not to start alsasound and check it out..

Code:
 rc-update del alsasound boot


Reboot and see if it works. If it doesn't you may want to make it start again:

Code:
rc-update add alsasound boot


I say this because I don't have alsasound running, yet I have alsa sound :D I think 2.6 kernels don't need alsasound, because alsa is embedded in the kernel. Also the "alsa guide" is meant for 2.4 kernels, so it may not be true for 2.6 kernels.
Back to top
View user's profile Send private message
Tsuki
n00b
n00b


Joined: 27 May 2004
Posts: 42
Location: Southampton, England

PostPosted: Fri Jun 04, 2004 9:28 pm    Post subject: Reply with quote

No difference with alsasound stopped, I'm afraid...

If it helps things at all, running alsamixer rather than amixer reports "No mixer elems found" - although I guess that's just the equivalent of amixer reporting nothing anyway.
Back to top
View user's profile Send private message
seventhguardian
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 261
Location: Portugal

PostPosted: Fri Jun 04, 2004 10:23 pm    Post subject: Reply with quote

Hi again!

From reading your first post with more attention, it seems to me that the problem isn't with alsa, but with artsd (the kde's sound-server)!

What I think it is trying to say is that the "default device" (your soundcard) isn't present.. isn't being detected. So it uses the "null" device (a "dummy" device that serves as a "drain-hole" for the sound). My guess is that either arts or your soundcard aren't configured the right way...

Check out the kernel configuration, and try to compile everything related to sound in the kernel (not in modules)....

Also read the "desktop configuration guide" http://www.gentoo.org/doc/en/desktop.xml

good luck!
Back to top
View user's profile Send private message
Tsuki
n00b
n00b


Joined: 27 May 2004
Posts: 42
Location: Southampton, England

PostPosted: Wed Jun 09, 2004 12:39 pm    Post subject: Reply with quote

Hmm... still not having any luck I'm afraid, so I've changed back to OSS and everything seems to be working fine. I guess that'll do for now ^_^;
Back to top
View user's profile Send private message
Tsuki
n00b
n00b


Joined: 27 May 2004
Posts: 42
Location: Southampton, England

PostPosted: Mon Jun 14, 2004 6:42 am    Post subject: Reply with quote

More odd goings-on I'm afraid. After switching back to just using OSS, I'm getting sound and that fine - but for some reason, something I've changed causes kcontrol to lock up every time I try and access the Sound System section. Oddly this only happens for me (running it as root, for example, is fine).

Any ideas? Since it only started doing this since I messed around with sound settings in the kernel, I assume it's something that I did wrong...
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1630
Location: U.S.A.

PostPosted: Mon Jun 14, 2004 10:26 pm    Post subject: Reply with quote

Had to problem myself and couldn't seem to stop it with alsamixer (maybe didn't try hard enough), but with Aumix, found that the "Digital1" was the culprit.
Knocked that down to Zero and noise went away. Then saved the settings.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
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