All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: "Ozan Çağlayan" <ozan@pardus.org.tr>
Cc: alsa-devel@alsa-project.org
Subject: Re: No sound with C-Media CMI8788
Date: Wed, 02 Sep 2009 14:23:44 +0200	[thread overview]
Message-ID: <4A9E63D0.207@ladisch.de> (raw)
In-Reply-To: <4A9E36F3.2030909@ladisch.de>

I wrote:
> In the file sound/pci/oxygen/oxygen_lib.c, after the line containing
> "subdevice = oxygen_read_eeprom(chip, 2);" (about line number 262),
> please add the line
> 
>   printk(KERN_INFO "subdevice ID: %04x\n", subdevice);

I think the cause for your unknown subdevice ID is that your card does
not have an EEPROM chip.  (This is a feature, it saves you $0.25!)
In this case, adding the following lines at that place should make
the driver load correctly:

	if (subdevice == 0xffff)
		subdevice = 0x8788;


HTH
Clemens

  reply	other threads:[~2009-09-02 12:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-02  8:26 No sound with C-Media CMI8788 Ozan Çağlayan
2009-09-02  9:12 ` Clemens Ladisch
2009-09-02 12:23   ` Clemens Ladisch [this message]
2009-09-02 13:03     ` Ozan Çağlayan
2009-09-02 16:23     ` Ozan Çağlayan
2009-09-02 16:37       ` Clemens Ladisch

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=4A9E63D0.207@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=ozan@pardus.org.tr \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.