ALSA bizarre behavior with C-Media Electronics CMI9738.
Hi: when I start any of the several audio players that come with slackware 12.0 (kernel 2.6.21.5), which is the version I am using, a curious thing happens: the PCM volume sets itself to 100% which, if the Master volume is set high enough, causes distortion.
This happens every time I do a slackware 12.0 installation, and I have never been able to fix it. I have just done this. I unloaded module snd_trident. This had the effect of automatically unloading all of the other sound modules. Then I ran alsaconf. Then I tested, with the hope of having fixed the problem. But the problem persists. Card: SiS SI7018 Chip: C-Media Electronics CMI9738, Silicon Laboratory Si3036,8 rev 1 These data are reported by alsamixer. Any idea about what can be happening? |
I had problems with alsa being to loud and no pcm control so I ran
Code:
alsactl init |
Sound configurations with older Slackware releases such as 12.0 were not as automated as more recent releases. With those older releases ALSA had to be configured manually with every installation.
My basic routine for configuring sound on older systems: As root: Run alsaconf. Run alsamixer: be sure to set any setting with "boost" in the name to zero.. Run alsactl store. Run aplay to test any wave file. Verify /etc/rc.d/rc.alsa is executable. Those steps configure the system default settings only. The desktop mixer and various user settings with apps will override the default system settings. As non-root: Start the desktop. Configure the desktop mixer. Configure any apps that effect mixer settings. |
It's no use. I followed your instructions but did not solve the problem. I have an OPL3 Yamaha sound card in another machine. Alsaconf configurated the card and I had not this problem, although the version installed on that machine is slack 9.1.
I do not understand, because the sound chip, C-Media CMI9738, which is a subset of SiS SI7018, is a very popular chip. I mean, it is or was widely known. And that linux does not have the proper driver for it seems to me an extremely improbable case. Perhaps I did not describe the problem in much detail: I start play, let's say play though it could be any other audio media player, and have to go to the console that is running alsamixer to lower the volume, which I find at 100% (it is the PCM Front control). Now the volume is at, lets say, 68%. And there it stays until play ends execution. I now rerun play. And again alsamixer shows the PCM Front control at 100%. That would be the description of the problem, but of course, there might be other things that could be pinpointed. Or some tests could be made, the results of which I could send to the forum. |
Apparently this is a known problem with your hardware. There is no PCM volume register on the chip. http://comments.gmane.org/gmane.linux.alsa.user/5587
From http://alsa.opensrc.org/Intel8x0_user_comments Quote:
|
There's a package called "alsaequal" at SlackBuilds.org that might prove useful with the C-Media 9739 Codec. It adds the Equalizer module to alsamixer to adjust the channels for input and output. You might do well to adjust the channels with the audio maxed to see if maybe reducing channel I/O in certain ways will clear up your audio. It often will help with these types of audio codecs because they lack a dedicated hardware controller.
|
Quote:
|
Welcome. Let us know how it goes.
|
Is this sound card a PCI card? If so, have you disabled onboard audio?
|
Well, it is an onboard chipset.
|
Apparently the ALSA Soft Volume plugin will help with this.
From http://www.sabi.co.uk/Notes/linuxSou...l#chipsCMI973x Quote:
Code:
pcm.name { |
Thank you. I will study these links. Meanwhile, I noticed I have no asound.conf. Then I ran alsaconf. It said:
Code:
Following cards are found on your system. |
From http://alsa.opensrc.org/.asoundrc
Quote:
|
All times are GMT -5. The time now is 01:10 AM. |