All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Kan-I Jyo <cecilhsujp@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]]
Date: Wed, 25 Jun 2008 14:20:08 +0200	[thread overview]
Message-ID: <s5hhcbhogef.wl%tiwai@suse.de> (raw)
In-Reply-To: <1e8a3dd0806250500p6f7a343u89b11d42f556347@mail.gmail.com>

At Wed, 25 Jun 2008 21:00:46 +0900,
Kan-I Jyo wrote:
> 
> Dear Takashi,
> 
> Thank you for your reply.
> 
> 2008/6/25 Takashi Iwai <tiwai@suse.de>:
> 
> > The patch below enables the probe on 4th slot on SCH.
> 
> Thank you for your patch.
> I have applied your patch and recompiled the snd-hda-intel kernel
> module. A reload of the newly compiled driver stiil gives me the "no
> codec found!" output in dmesg.
> 
> After inserting some snd_printk() into the hda_intel.c, it seems that
> this "azx_readw()" macro in azx_reset() function returns a "0" to
> chip->codec_mask on our not-working device. It is returns a "1" on the
> other working device though.
> 
> <hda_intel.c>
> -- snip --
>  751         /* detect codecs */
>  752         if (!chip->codec_mask) {
>  753                 chip->codec_mask = azx_readw(chip, STATESTS);
>  754                 snd_printk("codec_mask = 0x%x\n", chip->codec_mask);
> -- snip --
> 
> <dmesg>
> -- snip --
> PCI: Setting latency timer of device 0000:00:1b.0 to 64
> ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2069:
> chipset global capabilities = 0x2200
> ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:912:
> HDA snoop disabled, enabling ... OK
> ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:754:
> codec_mask = 0x0
> ALSA /root/alsa-driver-1.0.17rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:2142:
> hda-intel: no codecs found!
> ACPI: PCI interrupt for device 0000:00:1b.0 disabled
> 
> For I am not an expert in sound driver development, the above are
> provided for reference. But would this be some kind of hint?

The hardware sets the corresponding bits to this register when the
codec is found on the slot.  So, this seems really like a hardware
problem.

Or, if it's a timing issue, you can try to add some delays in
azx_reset()...


Takashi

  reply	other threads:[~2008-06-25 12:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25  1:40 [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux]] Kan-I Jyo
2008-06-25  1:50 ` Tobin Davis
2008-06-25  3:23   ` Kan-I Jyo
2008-06-25  9:37 ` Takashi Iwai
2008-06-25 12:00   ` Kan-I Jyo
2008-06-25 12:20     ` Takashi Iwai [this message]
2008-06-30 13:20       ` Kan-I Jyo
2008-06-30 13:22         ` Kan-I Jyo
2008-07-01 10:22         ` Takashi Iwai
2008-07-03  5:42           ` Kan-I Jyo
2008-07-04 12:47             ` Takashi Iwai
2008-08-01  3:30               ` Kan-I Jyo
  -- strict thread matches above, loose matches on Subject: below --
2008-06-23 13:20 [Fwd: [Alsa-user] Intel Poulsbo(SCH) chipset does not recognize Adi 1986 codec under linux] stan

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=s5hhcbhogef.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=cecilhsujp@gmail.com \
    /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.