alsa is replaced by oss after logout and login

Whenever I log out and re-login, my alsa is gone, and is replaced by oss. It won’t even work after I do

rcalsasound restart

my alsa info:
http://www.alsa-project.org/db/?f=98bf48f995b26d7499214a480dcc36490fb8ba23

before logout my mixer (normal until i logoff):
http://i39.tinypic.com/15p1wdx.jpg

after login:
http://i40.tinypic.com/j94weg.jpg

It works good even if i hibernate or sleep but, breaks down while I logout and relogin…

created a new user for testing: same problem persists.

here is my
~/.kde4/share/config/kmixctrlrc file:

[MixerALSA::HDA_Intel:1]
name=

[MixerALSA::HDA_Intel:1.DevCapture:0]
is_muted=false
is_recsrc=true
name=Capture
volumeL=0
volumeLCapture=9
volumeR=0
volumeRCapture=9

[MixerALSA::HDA_Intel:1.DevDigital:0]
is_muted=false
is_recsrc=false
name=Digital
volumeL=0
volumeLCapture=120
volumeR=0
volumeRCapture=120

[MixerALSA::HDA_Intel:1.DevIEC958:0]
is_muted=true
is_recsrc=false
name=IEC958
volumeL=0
volumeLCapture=0
volumeR=0
volumeRCapture=0

[MixerALSA::HDA_Intel:1.DevIEC958_Default_PCM:0]
is_muted=false
is_recsrc=false
name=IEC958 Default PCM
volumeL=0
volumeLCapture=0
volumeR=0
volumeRCapture=0

[MixerALSA::HDA_Intel:1.DevLFE:0]
is_muted=false
is_recsrc=false
name=LFE
volumeL=31
volumeLCapture=0
volumeR=0
volumeRCapture=0

[MixerALSA::HDA_Intel:1.DevMaster:0]
is_muted=false
is_recsrc=false
name=Master
volumeL=214
volumeLCapture=0
volumeR=214
volumeRCapture=0

[MixerALSA::HDA_Intel:1.DevMux:0]
is_muted=false
is_recsrc=false
name=Mux
volumeL=0
volumeLCapture=0
volumeR=0
volumeRCapture=0

[MixerALSA::HDA_Intel:1.DevPCM:0]
is_muted=false
is_recsrc=false
name=PCM
volumeL=0
volumeLCapture=0
volumeR=0
volumeRCapture=0

[MixerALSA::HDA_Intel:1.DevPhonon:0]
is_muted=false
is_recsrc=false
name=Phonon
volumeL=99
volumeLCapture=99
volumeR=99
volumeRCapture=99

[MixerALSA::Philips_SPC_1300NC_Webcam:1]
name=

[MixerALSA::Philips_SPC_1300NC_Webcam:1.DevMic:0]
is_muted=false
is_recsrc=true
name=Mic
volumeL=0
volumeLCapture=2664
volumeR=0
volumeRCapture=2664

[MixerALSA::VF0490_Live_Cam_Notebook_Ultra:1]
name=

[MixerALSA::VF0490_Live_Cam_Notebook_Ultra:1.DevMic:0]
is_muted=false
is_recsrc=true
name=Mic
volumeL=0
volumeLCapture=3328
volumeR=0
volumeRCapture=3328

[MixerOSS::SigmaTel_STAC9200:1]
name=

[MixerOSS::SigmaTel_STAC9200:1.Dev0]
is_muted=false
is_recsrc=false
name=Front
volumeL=68
volumeLCapture=0
volumeR=68
volumeRCapture=0

[MixerOSS::SigmaTel_STAC9200:1.Dev12]
is_muted=false
is_recsrc=false
name=IGain
volumeL=93
volumeLCapture=0
volumeR=93
volumeRCapture=0

[MixerOSS::SigmaTel_STAC9200:1.Dev17]
is_muted=false
is_recsrc=false
name=Digital1
volumeL=100
volumeLCapture=0
volumeR=100
volumeRCapture=0

[MixerOSS::SigmaTel_STAC9200:1.Dev4]
is_muted=false
is_recsrc=false
name=Pcm
volumeL=100
volumeLCapture=0
volumeR=100
volumeRCapture=0

[MixerOSS::USB_Mixer:1]
name=

[MixerOSS::USB_Mixer:1.Dev7]
is_muted=false
is_recsrc=true
name=Microphone
volumeL=100
volumeLCapture=0
volumeR=100
volumeRCapture=0

It looks like a different mixer or a different version. Are both mixers KMIX? What versions do the two say, are they the same version of KMIX? I noticed this on your first posts, but I have never seen this type of issue before.

Thank You,

(PS - If anyone else reads this thread with an idea, please come in and help)

Do you have two sound cards?

no. I only have one… intel ICH7 HD audio.

But I have front speakers and a subwoofer.

@jdmcdaniel3

this is the same kmix. the first one is normal. second one shows up after i log out and log back in.

If you look on the kmixctrlrc file there, alll of these controls are mentioned there. But i don’t need these oss. these are pain in _ss. I never get my sound back if I log out and log back in. The only way to get sound back is restart the computer. Even alsasound restart won’t do.

This makes no sense to me, unless you went and installed OSS separately.

Alsa comes with the OSS emulator alsa-oss. Hence there nominally is NO replacement of the alsa sound driver with OSS (unless you installed the OSS sound driver that you failed to tell us about). What there may be is a replacement of the alsa-api with the alsa-oss-emulator.

I assume you are logging on as a regular user the entire time and not messing about with root permissions?

Note that after running “rcalsasound restart” (with root permissions) it is quite common that a KDE user will need to run kmix afterward as a regular user, and NOT as root. If you run kmix as root, then of course it will be different. And given the circumstances in which it is being run are different than the circumstances that were in place during a boot, it would not surprise me if there are one or two different characteristics.

Also note under KDE kmix it is possible to modify the controls with Settings > Configure channels

I really don’t remember if i installed it or not… since i’m kinda mess things up regularly, I might have… :stuck_out_tongue:

I only do “rcalsasound restart” as root. everything else as normal user. But I am going to see if I oss is installed, and will try to see if i have oss installed and remove it. I will post the updates later.

looks like I did not installed oss myself. there is only alsa-oss wrapper:

 # rpm -qa | grep oss
 patterns-openSUSE-non_oss_opt-11.3-1.1.1.i586 cross-spu-newlib-1.17.0.2008_09_12-7.1.noarch cross-spu-binutils-2.19.51-11.26.2.i586 cross-avr-binutils-2.19.51-11.26.2.i586 cross-spu-newlib-headers-1.17.0.2008_09_12-7.2.noarch cross-spu-gcc-4.4.1_20090817-2.3.2.i586 alsa-oss-1.0.17-25.2.i586 cross-mips-binutils-2.19.51-11.26.2.i586 cross-avr-gcc-4.1.2_20070115-11.2.i586 patterns-openSUSE-non_oss-11.3-1.1.1.i586 

Oh, I guessed alsa is replaced by oss by looking on that kmixctrlrc file i provided in above post. I never get sound back after re-login. rcalsasound restart won’t give me sound back. The kmix turns from HDAIntel to SigmaTel (both are same aren’t they???)

Check the KDE multimedia-settings and make sure your soundcard is setted as the device with the highest priority in each section.

I’m not in front of a Linux PC, but these do not look like the OSS sound driver to me.

I do see the alsa-oss emulator there in what you provided, which is required.

Don’t confuse the “OSS” sound driver with “Open Source Software” acronymn.

Hmm. Looks like my defauls are gone after re-login… only ones left are these shown in picture… my defaul it greyed out. It says “either the devices disappear or the driver are not loaded”… something like that…
http://i44.tinypic.com/xbeber.jpg

http://i41.tinypic.com/2lcvjnb.jpg

BTW, “My default” used to be on the top… it was when I logged out and in previously… took screenshot… but for some reason the screenshot was 0 bytes, so had to take it again… and now it is at the bottom.

This phenomenon is caused by configuring and reconfiguring AFAIK. Tell KDE4 to forget about devices that are no longer there.

I can’t… I use that “My Default” as the default one… which i recently created (but the issue was there before)… on the top. As i said… it is always on the top of list. even after the re-login… but disabled… (IDK why it is at the last right now… may be because I did log-out->login twice today to get screenshot again.)

If I remove the “My Default”… I can’t control my sound… the Master will blast sound 100% all the time except it is on zero. (zero= 0 sound, 1-100= 100% sound)… Unusable. It won’t happen if i use phonon gstreamer backend … but the logout-login problem still remains… (and I really don’t want to use gstreamer, I have other problems with that).

What KDE version are you using?

right now 4.4.2
just installed 4.4.2 few days back.

Need of that custom device was since 11.1 but figured out a month back (while using 11.2 and kde 4.3.5)

so made that custom “my default” thing while using 4.3.5…

My guess is this could be related, or made worse by using KDE-4.4.2.

But old cpu… This was happening before I installed KDE-4.4.2, Actually I installed this new version in a hope that it might be fixed in this version, but not.

I thought it might be some configurations on my kde4 dir, so I gave a try with new user, in each case… for 4.3 and 4.4, with different new users each time… but no success.

I am so much fed up with this hardware… I hope Its not “the opensuse issue” as I can see a lot of users from other distro have different types of problems with this ICH7 card with subwoofer… some problems matches that volume problem which i have discussed in other forum topic… but I have not found any one with this problem yet.

This problem existed since the beginning, when I did not have that “my default” device. At that time I used phonon-gstreamer-backend, which has its own “default” device, which would disappear after logout and login.

what places can I check to see misconfigurations or problems, with my installation, to solve this problem… I want a perfectly stable linux for all basic functions (sound, video, network, printers, and if possible external display) but in these four years of using opensuse, I have found 10.3 to be the one which was very helpful for me… other versions had problems with atleast three above mentioned features (different most of the times) on each versions.

I love opensuse… want to learn it but can’t spend more than a few hours fixing things to make it work just about right. But I have my fingers crossed. Hopefully, i will be able to fix things faster eventually. :expressionless: