alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: "Guillem Solà" <garanda@flumotion.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: Issue with creative Xfi PCIe ca0110-IBG
Date: Tue, 13 Oct 2009 14:10:44 +0200	[thread overview]
Message-ID: <4AD46E44.5050000@flumotion.com> (raw)
In-Reply-To: <s5hzl7vzg1h.wl%tiwai@suse.de>

Takashi Iwai wrote:
> It shows the address 1.  So, my patch doesn't work, as it assumes
> address 0.  Replace it with 1, and pass probe_mask=0x02.
>
>
> Takashi
>
>   
Yeah great, it's working again!

I did modprobe snd-hda-intel probe_mask=0x03 instead of mask=0x02 to 
make it work

and the patch let this way ( I changed both return 1 and addr=1)

---
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index d0effa3..81663a7 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.cazx_single_get_response(bus, addr);
     else
@@ -566,6 +566,7 @@ static void azx_free_cmd_io(struct azx *chip)
 
 static unsigned int azx_command_addr(u32 cmd)
 {
+#if 0 /* XXX */
     unsigned int addr = cmd >> 28;
 
     if (addr >= AZX_MAX_CODECS) {
@@ -574,6 +575,9 @@ static unsigned int azx_command_addr(u32 cmd)
     }
 
     return addr;
+#else
+    return 1;
+#endif
 }
 
 static unsigned int azx_response_addr(u32 res)
@@ -818,6 +822,7 @@ static unsigned int azx_get_response(struct hda_bus 
*bus,
                      unsigned int addr)
 {
     struct azx *chip = bus->private_data;
+    addr = 1; /* XXX */
     if (chip->single_cmd)
         return azx_single_get_response(bus, addr);
     else

Thanks

Guillem Solà
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2009-10-13 12:10 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-09  9:19 Issue with creative Xfi PCIe ca0110-IBG Guillem Solà
2009-10-09  9:38 ` Takashi Iwai
2009-10-09 14:15   ` Guillem Solà
2009-10-09 14:36     ` Takashi Iwai
2009-10-09 15:17       ` Guillem Solà
2009-10-09 16:05       ` Guillem Solà
2009-10-09 16:13         ` Takashi Iwai
2009-10-13  8:48           ` Guillem Solà
2009-10-13  9:14             ` Takashi Iwai
2009-10-13  9:59               ` Guillem Solà
2009-10-13 10:06                 ` Takashi Iwai
2009-10-13 10:26                   ` Guillem Solà
2009-10-13 10:39                     ` Takashi Iwai
2009-10-13 11:28                       ` Guillem Solà
2009-10-13 11:31                         ` Takashi Iwai
2009-10-13 12:10                           ` Guillem Solà [this message]
2009-10-13 12:34                             ` Takashi Iwai
2009-10-13 14:12                               ` Guillem Solà
2009-10-13 14:20                                 ` Takashi Iwai
2009-10-13 15:01                                   ` Guillem Solà
2009-10-13 15:21                                     ` Takashi Iwai
2009-10-13 16:59                                       ` Guillem Solà
2009-10-14 15:48                                         ` Takashi Iwai
2009-10-14 16:03                                           ` Guillem Solà
2009-10-14 16:09                                             ` Takashi Iwai
2009-10-15  9:52                                               ` Guillem Solà
  -- strict thread matches above, loose matches on Subject: below --
2009-10-17 10:30 Philippe

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=4AD46E44.5050000@flumotion.com \
    --to=garanda@flumotion.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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;
as well as URLs for NNTP newsgroup(s).