From: linux-kernel@ton.iguana.be (Ton Hospel)
To: linux-kernel@vger.kernel.org
Subject: 2.4.21: cmedia PCM not working
Date: Sat, 14 Jun 2003 12:25:43 +0000 (UTC) [thread overview]
Message-ID: <bcf487$4l8$1@post.home.lunix> (raw)
Hi,
I just compiled and tried kernel 2.4.21. All seems fine except that I
have no sound over /dev/dsp (other sources like e.g. "line" work fine).
My soundchip is a SiS 7012, which seems to have a cmedia CMI65.
Having a look at the changes, I see this new line in ac97_codec.c:
{0x434D4941, "CMedia", &cmedia_ops, AC97_NO_PCM_VOLUME },
Commenting out only the AC97_NO_PCM_VOLUME field (and leaving the rest of
the line) makes my audio work again.
While indeed the volume slider never allowed me to linearly control
the volume, it DOES have an effect:
- at level 0 there is no sound
- at any oher level, there is pcm sound. The volume is in no way
influenced by the value, as long as it's not zero
So I suspect that while indeed you don't want a pcm volume level for
a CMI65, just adding that line also gets rid of some needed
initialization.
--
#define struct union /* Great space saver */
next reply other threads:[~2003-06-14 12:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-14 12:25 Ton Hospel [this message]
2003-06-14 12:57 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='bcf487$4l8$1@post.home.lunix' \
--to=linux-kernel@ton.iguana.be \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®