Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grrrrr ALSA [SOLVED]
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
jerrykenny
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2005
Posts: 105

PostPosted: Wed May 17, 2006 11:54 pm    Post subject: Grrrrr ALSA [SOLVED] Reply with quote

Its just that I cant get this fixed that driving me nuts :twisted:

Its not even a big problem, but every time I log into kde, I have to unmute my master and PCM . . . . . and then everything works a treat.

I've even got a desktop shortcut now with a script that does it for me.

My alsa is compiled in kernel (not modules), I've re-emerged alsa-utils, checked /etc/conf.d/alsasound (its set to restore OK), and theres no error messages anywhere.

But why O why do I either have to run "alsamixer" or "amixer set PCM 85% unmute && amixer set Master 85% unmute" Every time I log in


GGGGrrrrr
_________________
Hopeless tinkerer with things that are best left alone


Last edited by jerrykenny on Thu May 18, 2006 1:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Wed May 17, 2006 11:57 pm    Post subject: Reply with quote

Hi!

Did you already try with alsa as modules in kernel? They are loaded by the alsasound script automatically. I had the same problem with alsa in the kernel, but with modules it works great. Volume restore, etc...

And do you have your card configured with alsaconf?

Regards.
_________________
* Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1
Back to top
View user's profile Send private message
jerrykenny
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2005
Posts: 105

PostPosted: Thu May 18, 2006 12:05 am    Post subject: Reply with quote

Thanks apprentice, I might do a recompile then. . . .

Oddly enough, alsaconf cant find my card (I wonder why) but if you follow the gentoo alsa guide, with your alsa compiled straight in you dont need to run alsaconf . . . .

. . . . .however when I do run alsaconf it precedes its ncurses interface with

modinfo: could not find module snd-opl3sa2
modinfo: could not find module snd-cs4236
modinfo: could not find module snd-cs4232
modinfo: could not find module snd-cs4231
modinfo: could not find module snd-es18xx
modinfo: could not find module snd-es1688
modinfo: could not find module snd-sb16
modinfo: could not find module snd-sb8
none of which modules would've been my card anyway (should be intel 8x_0) or whatever
_________________
Hopeless tinkerer with things that are best left alone
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Thu May 18, 2006 12:11 am    Post subject: Reply with quote

You're welcome, though my nick is antares2001 and not apprentice (is my status) ;-)

Hmmm... yes, I've also sometimes had some problems with alsaconf. If it doesn't do the job, set up your /etc/modules.d/alsa manually and run modules-update after that.

What soundcard do you use?
_________________
* Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1
Back to top
View user's profile Send private message
jerrykenny
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2005
Posts: 105

PostPosted: Thu May 18, 2006 12:18 am    Post subject: Reply with quote

Sorry antares, getting bleary eyed :oops:

Heres my sound card . . . .

00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)

heres my dmesg . . .

Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04 08:57:20 2006 UTC).

cat /proc/asound/cards gives me

0 [SI7012 ]: ICH - SiS SI7012
SiS SI7012 with ALC200,200P at 0xd000, irq 18


Goodness knows why its being so fussy
_________________
Hopeless tinkerer with things that are best left alone
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Thu May 18, 2006 12:25 am    Post subject: Reply with quote

Grml... sis soundcard, onboard I assume ;-)

I've had one once and had also problems with it until I drove out my motherboard, bought a PentiumD CPU and an ASUS board with Intel chipset ;-)

Have you tried it out now with modules? What do you have selected in kernel?

This is my /etc/conf.d/alsasound:

Code:
# ENABLE_OSS_EMUL:
# Do you want to enable in-kernel oss emulation?
# no - Do not load oss emul drivers
# yes - Load oss emul drivers if they're found

ENABLE_OSS_EMUL="yes"

# RESTORE_ON_START:
# Do you want to restore your mixer settings?  If not, your cards will be
# muted.
# no - Do not restore state
# yes - Restore state

RESTORE_ON_START="yes"

# SAVE_ON_STOP:
# Do you want to save changes made to your mixer volumes when alsasound
# stops?
# no - Do not save state
# yes - Save state

SAVE_ON_STOP="yes"

_________________
* Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1
Back to top
View user's profile Send private message
jerrykenny
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2005
Posts: 105

PostPosted: Thu May 18, 2006 12:53 am    Post subject: Reply with quote

AAAAAAHHHHHH wait a minute ! 8O

It seems to be a user-specific problem !


I just created another user to see what would happen and they're kde starts up with a proper sound start level. . . . .


Now heres a thing, when I first logged into the gui in this system (only a few days ago) KDE login complained and muttered something about the DCOP server, I recall a bug with kubuntu unstable where the same complaint was getting a lot of guys . . .

So I issued the command chown -R jerry /home/jerry

Which is a bit of a kludge but it lets you log in and work away fine . . . . . so is KDE trying to save to a config file in my home folder somewhere, but because of the above command, it doesnt have the permission ?

Hold that kernel config . . .
_________________
Hopeless tinkerer with things that are best left alone
Back to top
View user's profile Send private message
jerrykenny
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2005
Posts: 105

PostPosted: Thu May 18, 2006 1:07 am    Post subject: Reply with quote

Getting too tired to think now, but I'll tackle it tomorow from the point of view of file - ownership . . . . permissions
_________________
Hopeless tinkerer with things that are best left alone
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Thu May 18, 2006 2:31 am    Post subject: Reply with quote

check which groups the user belongs to, and if you want to you could always nuke your KDE settings and start fresh by typing
Code:
rm -rf ~/.kde*
if you won't miss your settings/don't mind setting things up the way you want again.
Back to top
View user's profile Send private message
jerrykenny
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2005
Posts: 105

PostPosted: Thu May 18, 2006 1:55 pm    Post subject: Reply with quote

Yes, it was a user problem, "rm -rf ~/.kde*" definitely fixed it. Cheers :D

Mind you it wiped out all my e-mail settings as well. ah well . . . . . I wonder what the offending file was, I'd had a good rummage in the hidden files in my home folder but couldn't see anything amiss.

Anyway its fixed now so thanks guys.
_________________
Hopeless tinkerer with things that are best left alone
Back to top
View user's profile Send private message
antares2001
Guru
Guru


Joined: 02 Mar 2004
Posts: 339
Location: Germany

PostPosted: Thu May 18, 2006 2:28 pm    Post subject: Reply with quote

Hi!

Well... I hope it was not just one of .kde/share/config/kmix*

Anyhow - good to hear you solved it.
_________________
* Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1
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