Bug 4425 - Problem with snd-ens1371 module not fully loading.
Summary: Problem with snd-ens1371 module not fully loading.
Status: REJECTED UNREPRODUCIBLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: i386 Linux
: P2 low
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 15:16 UTC by Robert Linder
Modified: 2006-05-11 09:28 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.11.6
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
Increase wait delay for AC'97 codec (test patch) (523 bytes, patch)
2005-05-30 02:01 UTC, Jaroslav Kysela
Details | Diff

Description Robert Linder 2005-03-30 15:16:12 UTC
Distribution: Slackware current
Hardware Environment: K7S5A, Athlon-xp 2600+, 266 FSB, 2100 DDR 1G, SB16.
Software Environment:
Problem Description: When the kernel first starts to initialize everything along
with loading modules my sound module does not load correctly. When I bring up
alsamixer there are several "simple controls" missing, even when I try to access
the controls via amixer. I have to wait untill I get to a shell to modprobe the
module for it to insert correctly. I have also tried building the module into
the kernel with the same result of missing "simple controls". Also note that
without these "simple controls" I can have no volume control so I do not hear
any sound when it is in this state. I have already scratched off my alsa
packages as the culprit, it has nothing to do with the alsa packages installed
on my system such as the alsa-utils and what not.

Steps to reproduce: Compile snd-ens1371 into the kernel or as a module that is
auto loaded.
Comment 1 Jaroslav Kysela 2005-03-31 00:23:50 UTC
Can you provide more info when the driver is as module before the manual modprobe?

- output from 'lsmod'
- output from 'amixer controls'
- any lines related to sound from /var/log/messages
Comment 2 Jaroslav Kysela 2005-03-31 03:21:42 UTC
This bug might be similar with this one:

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1023
Comment 3 Robert Linder 2005-03-31 10:24:25 UTC
lsmod output:

Module                  Size  Used by
snd_ens1371            23716  0
snd_rawmidi            25952  1 snd_ens1371
snd_ac97_codec         78072  1 snd_ens1371

amixer controls output:

numid=11,iface=MIXER,name='3D Control - Center'
numid=12,iface=MIXER,name='3D Control - Depth'
numid=8,iface=MIXER,name='3D Control - Switch'
numid=3,iface=MIXER,name='PCM Playback Switch'
numid=4,iface=MIXER,name='PCM Playback Volume'
numid=22,iface=MIXER,name='Line In->Rear Out Switch'
numid=1,iface=MIXER,name='Mic Boost (+20dB)'
numid=10,iface=MIXER,name='Mic Select'
numid=2,iface=MIXER,name='Aux Playback Volume'
numid=9,iface=MIXER,name='Mono Output Select'
numid=5,iface=MIXER,name='Capture Source'
numid=6,iface=MIXER,name='Capture Switch'
numid=7,iface=MIXER,name='Capture Volume'
numid=13,iface=MIXER,name='IEC958 Playback Con Mask'
numid=14,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=15,iface=MIXER,name='IEC958 Playback Default'
numid=16,iface=MIXER,name='IEC958 Playback Switch'
numid=18,iface=MIXER,name='IEC958 Playback Switch',index=1
numid=17,iface=MIXER,name='External Amplifier'
numid=19,iface=PCM,name='IEC958 Playback Default',index=1
numid=20,iface=PCM,name='IEC958 Playback Mask',index=1
numid=21,iface=PCM,name='IEC958 Playback PCM Stream',index=1

/var/log/messages:
Mar 31 10:07:38 blah kernel: Advanced Linux Sound Architecture Driver Version
1.0.8 (Thu Jan 13 09:39:32 2005 UTC).
Mar 31 10:07:38 blah kernel: ALSA device list:
Mar 31 10:07:38 blah kernel:   No soundcards found.

Athough it looks like it doesn't see my card, i've seen this before when I had
no problems with the sound module, so I think this message is unrelated.

Also I took a look at that bug report at the alsa bug report page and it is very
similer to what I am experiencing, although I do not know if its the same problem.

Comment 4 Andrew Morton 2005-05-25 21:30:14 UTC
Robert, it would be useful to test 2.6.12-rc5 and/or 2.6.12-rc5-mm1, see
if this problem is still present, thanks.
Comment 5 Robert Linder 2005-05-28 14:37:41 UTC
Unfortunatly my sound blaster card doesn't work anymore, I still need to get a
new one to see if the problem persists. Sorry I can't test it to see if the
problem persists.
Comment 6 Robert Linder 2005-05-28 23:26:31 UTC
Correction regarding last comment. I am able to test it, I had taken everything
out of my case to change cases and I guess I didn't mount my sb16 correctly even
though I checked it twice, I guess third time was the charm. Anyway I will
compile  both kernels and check to see if it works.
Comment 7 Robert Linder 2005-05-29 13:22:26 UTC
Problem is still there, I am missing the "Master" control with both kernels.
Here are the amixer 'controls' and lsmod outputs for both kernels.


2.6.12-rc5 lsmod output:
Module                  Size  Used by
snd_ens1371            23652  0
snd_rawmidi            26464  1 snd_ens1371
snd_ac97_codec         82616  1 snd_ens1371

2.6.12-rc5 amixer 'controls' output:
numid=1,iface=MIXER,name='Master Mono Playback Volume'
numid=25,iface=MIXER,name='3D Control - Center'
numid=26,iface=MIXER,name='3D Control - Depth'
numid=22,iface=MIXER,name='3D Control - Switch'
numid=17,iface=MIXER,name='PCM Playback Switch'
numid=18,iface=MIXER,name='PCM Playback Volume'
numid=36,iface=MIXER,name='Line In->Rear Out Switch'
numid=9,iface=MIXER,name='Line Playback Switch'
numid=10,iface=MIXER,name='Line Playback Volume'
numid=11,iface=MIXER,name='CD Playback Switch'
numid=12,iface=MIXER,name='CD Playback Volume'
numid=8,iface=MIXER,name='Mic Boost (+20dB)'
numid=24,iface=MIXER,name='Mic Select'
numid=6,iface=MIXER,name='Mic Playback Switch'
numid=7,iface=MIXER,name='Mic Playback Volume'
numid=4,iface=MIXER,name='Phone Playback Switch'
numid=5,iface=MIXER,name='Phone Playback Volume'
numid=13,iface=MIXER,name='Video Playback Switch'
numid=14,iface=MIXER,name='Video Playback Volume'
numid=2,iface=MIXER,name='PC Speaker Playback Switch'
numid=3,iface=MIXER,name='PC Speaker Playback Volume'
numid=15,iface=MIXER,name='Aux Playback Switch'
numid=16,iface=MIXER,name='Aux Playback Volume'
numid=23,iface=MIXER,name='Mono Output Select'
numid=19,iface=MIXER,name='Capture Source'
numid=20,iface=MIXER,name='Capture Switch'
numid=21,iface=MIXER,name='Capture Volume'
numid=27,iface=MIXER,name='IEC958 Playback Con Mask'
numid=28,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=29,iface=MIXER,name='IEC958 Playback Default'
numid=30,iface=MIXER,name='IEC958 Playback Switch'
numid=32,iface=MIXER,name='IEC958 Playback Switch',index=1
numid=31,iface=MIXER,name='External Amplifier'
numid=33,iface=PCM,name='IEC958 Playback Default',index=1
numid=34,iface=PCM,name='IEC958 Playback Mask',index=1
numid=35,iface=PCM,name='IEC958 Playback PCM Stream',index=1

2.6.12-rc5-mm1 lsmod output:
Module                  Size  Used by
snd_ens1371            23716  0
snd_rawmidi            26528  1 snd_ens1371
snd_ac97_codec         85244  1 snd_ens1371

2.6.12-rc5-mm1 amixer 'controls' output:
numid=22,iface=MIXER,name='3D Control - Center'
numid=23,iface=MIXER,name='3D Control - Depth'
numid=19,iface=MIXER,name='3D Control - Switch'
numid=14,iface=MIXER,name='PCM Playback Switch'
numid=15,iface=MIXER,name='PCM Playback Volume'
numid=33,iface=MIXER,name='Line In->Rear Out Switch'
numid=6,iface=MIXER,name='Line Playback Switch'
numid=7,iface=MIXER,name='Line Playback Volume'
numid=8,iface=MIXER,name='CD Playback Switch'
numid=9,iface=MIXER,name='CD Playback Volume'
numid=5,iface=MIXER,name='Mic Boost (+20dB)'
numid=21,iface=MIXER,name='Mic Select'
numid=3,iface=MIXER,name='Mic Playback Switch'
numid=4,iface=MIXER,name='Mic Playback Volume'
numid=1,iface=MIXER,name='Phone Playback Switch'
numid=2,iface=MIXER,name='Phone Playback Volume'
numid=10,iface=MIXER,name='Video Playback Switch'
numid=11,iface=MIXER,name='Video Playback Volume'
numid=12,iface=MIXER,name='Aux Playback Switch'
numid=13,iface=MIXER,name='Aux Playback Volume'
numid=20,iface=MIXER,name='Mono Output Select'
numid=16,iface=MIXER,name='Capture Source'
numid=17,iface=MIXER,name='Capture Switch'
numid=18,iface=MIXER,name='Capture Volume'
numid=24,iface=MIXER,name='IEC958 Playback Con Mask'
numid=25,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=26,iface=MIXER,name='IEC958 Playback Default'
numid=27,iface=MIXER,name='IEC958 Playback Switch'
numid=29,iface=MIXER,name='IEC958 Playback Switch',index=1
numid=28,iface=MIXER,name='External Amplifier'
numid=30,iface=PCM,name='IEC958 Playback Default',index=1
numid=31,iface=PCM,name='IEC958 Playback Mask',index=1
numid=32,iface=PCM,name='IEC958 Playback PCM Stream',index=1

I hope this information is useful, let me know if you need anymore.

Comment 8 Robert Linder 2005-05-29 19:18:26 UTC
Also on a side note, I tried using my onboard sound and it worked just fine, so
it  definently is a Sound Blaster 16 thing, not to sure about the other Sound
Blasters. I was thinking it might be the way my distro loads modules at startup
so I wanted to rule that out. It definently only affects my sb16.
Comment 9 Jaroslav Kysela 2005-05-30 02:01:40 UTC
Created attachment 5102 [details]
Increase wait delay for AC'97 codec (test patch)
Comment 10 Jaroslav Kysela 2005-05-30 02:02:53 UTC
Could you test the patch above?
Comment 11 Robert Linder 2005-05-30 11:50:33 UTC
Patch works I seem to have all my controls, here is the output of amixer
'controls' and lsmod anyway.

lsmod output:
Module                  Size  Used by
nvidia               3921660  12 
snd_ens1371            23716  2 
snd_rawmidi            26528  1 snd_ens1371
snd_ac97_codec         85372  1 snd_ens1371

amixer 'controls' output:
numid=5,iface=MIXER,name='Master Mono Playback Switch'
numid=6,iface=MIXER,name='Master Mono Playback Volume'
numid=1,iface=MIXER,name='Master Playback Switch'
numid=2,iface=MIXER,name='Master Playback Volume'
numid=3,iface=MIXER,name='Headphone Playback Switch'
numid=4,iface=MIXER,name='Headphone Playback Volume'
numid=30,iface=MIXER,name='3D Control - Center'
numid=31,iface=MIXER,name='3D Control - Depth'
numid=27,iface=MIXER,name='3D Control - Switch'
numid=22,iface=MIXER,name='PCM Playback Switch'
numid=23,iface=MIXER,name='PCM Playback Volume'
numid=41,iface=MIXER,name='Line In->Rear Out Switch'
numid=14,iface=MIXER,name='Line Playback Switch'
numid=15,iface=MIXER,name='Line Playback Volume'
numid=16,iface=MIXER,name='CD Playback Switch'
numid=17,iface=MIXER,name='CD Playback Volume'
numid=13,iface=MIXER,name='Mic Boost (+20dB)'
numid=29,iface=MIXER,name='Mic Select'
numid=11,iface=MIXER,name='Mic Playback Switch'
numid=12,iface=MIXER,name='Mic Playback Volume'
numid=9,iface=MIXER,name='Phone Playback Switch'
numid=10,iface=MIXER,name='Phone Playback Volume'
numid=18,iface=MIXER,name='Video Playback Switch'
numid=19,iface=MIXER,name='Video Playback Volume'
numid=7,iface=MIXER,name='PC Speaker Playback Switch'
numid=8,iface=MIXER,name='PC Speaker Playback Volume'
numid=20,iface=MIXER,name='Aux Playback Switch'
numid=21,iface=MIXER,name='Aux Playback Volume'
numid=28,iface=MIXER,name='Mono Output Select'
numid=24,iface=MIXER,name='Capture Source'
numid=25,iface=MIXER,name='Capture Switch'
numid=26,iface=MIXER,name='Capture Volume'
numid=32,iface=MIXER,name='IEC958 Playback Con Mask'
numid=33,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=34,iface=MIXER,name='IEC958 Playback Default'
numid=35,iface=MIXER,name='IEC958 Playback Switch'
numid=37,iface=MIXER,name='IEC958 Playback Switch',index=1
numid=36,iface=MIXER,name='External Amplifier'
numid=38,iface=PCM,name='IEC958 Playback Default',index=1
numid=39,iface=PCM,name='IEC958 Playback Mask',index=1
numid=40,iface=PCM,name='IEC958 Playback PCM Stream',index=1


I was going to test the sound out with one of the 3d games that I play but they
won't start up with the latest development kernels, but I tested the sound with
mplayer listening to streaming media and it works no problem. It appears the
problem is fixed.

I appreciate the hard work fixing this bug. If you need anymore information
please let me know. Thanks.
Comment 12 Adrian Bunk 2006-04-15 05:31:46 UTC
What's the status of this issue in kernel 2.6.16.5?
Comment 13 Robert Linder 2006-04-16 01:22:52 UTC
I no longer use the sb16 card and my system has been practically rebuilt with
all the changes I made to it. I'm not even sure where I put that card at. I am
not able to  test it right now. I'll probably look for the card and see if the
problem is fixed.
Comment 14 Adrian Bunk 2006-05-11 09:26:58 UTC
Please reopen this bug if you'll be able to reproduce it.

Note You need to log in before you can comment on or make changes to this bug.