alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Wu Fengguang <fengguang.wu@intel.com>
To: Wei Ni <wni@nvidia.com>
Cc: alsa-devel <alsa-devel@alsa-project.org>,
	Takashi Iwai <tiwai@suse.de>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Jaroslav Kysela <jkysela@redhat.com>,
	'VDR User' <user.vdr@gmail.com>, akpm <akpm@linux-foundation.org>,
	Pavel Hofman <pavel.hofman@insite.cz>
Subject: Re: [PATCH]Support MCP89 and GT21x hdmi audio
Date: Mon, 8 Mar 2010 12:46:14 +0800	[thread overview]
Message-ID: <20100308044614.GA29026@localhost> (raw)
In-Reply-To: <6B4D417B830BC44B8026029FD256F7F1C16B1AD562@HKMAIL01.nvidia.com>

CC Jaroslav, maybe he has some idea on

        pcm_hw.c: snd_pcm_hw_delay() SNDRV_PCM_IOCTL_DELAY failed.

On Mon, Mar 08, 2010 at 12:35:37PM +0800, Wei Ni wrote:
> Hi,
> Because I don't have GT220 card on hand, I didn't test it yet.
> So I didn't add this card to the patch file. I think you could add it after
> you test it.
> 
> About the warning messages, I don't know why.
> May be some others can answer.
> 
> Thanks
> Wei.
> nvpublic
> 
> -----Original Message-----
> From: VDR User [mailto:user.vdr@gmail.com] 
> Sent: Monday, March 08, 2010 3:22 AM
> To: Wei Ni
> Cc: Takashi Iwai; akpm; alsa-devel; Wu Fengguang; linux-kernel; Pavel Hofman
> Subject: Re: [alsa-devel] [PATCH]Support MCP89 and GT21x hdmi audio
> 
> I think this may be relevant to this subject, if not then my apologies.
> 
> I've just installed a GT220 card and was able to get audio-over-hdmi
> working by compiling the snapshot drivers from 20100307 which contain
> Wei's new code.  I further had to patch the driver to recognize my
> card with:
> 
> --- alsa-driver-orig/alsa-kernel/pci/hda/patch_nvhdmi.c 2010-03-06
> 18:00:12.000000000 -0800
> +++ alsa-driver/alsa-kernel/pci/hda/patch_nvhdmi.c      2010-03-06
> 18:02:00.000000000 -0800
> @@ -1335,6 +1335,8 @@ static struct hda_codec_preset snd_hda_p
>           .patch = patch_nvhdmi_8ch_89 },
>         { .id = 0x10de000b, .name = "GT21x HDMI",
>           .patch = patch_nvhdmi_8ch_89 },
> +       { .id = 0x10de000a, .name = "GT220 HDMI",
> +         .patch = patch_nvhdmi_8ch_89 },
>         { .id = 0x10de000d, .name = "GT240 HDMI",
>           .patch = patch_nvhdmi_8ch_89 },
>         {} /* terminator */
> @@ -1347,6 +1349,7 @@ MODULE_ALIAS("snd-hda-codec-id:10de0006"
>  MODULE_ALIAS("snd-hda-codec-id:10de0007");
>  MODULE_ALIAS("snd-hda-codec-id:10de0067");
>  MODULE_ALIAS("snd-hda-codec-id:10de8001");
> +MODULE_ALIAS("snd-hda-codec-id:10de000a");
>  MODULE_ALIAS("snd-hda-codec-id:10de000c");
>  MODULE_ALIAS("snd-hda-codec-id:10de000b");
>  MODULE_ALIAS("snd-hda-codec-id:10de000d");
> 
> This seems to work fine when running VDR but if I do anything else
> like upgrade packages, compile something, or maybe create a bz2, then
> I start to see _a lot_ of the following in my xine log:
> 
> pcm_hw.c: snd_pcm_hw_delay() SNDRV_PCM_IOCTL_DELAY failed.
> 
> With the old code this didn't happen.  However, my setup was an 8400gs
> using SPDIF OUT from my mainboard to SPDIF IN on the card.  Then using
> a dvi->hdmi cable into the tv.
> 
> Again, I apologize if I'm posting this in the wrong place.
> 
> Best regards.

  reply	other threads:[~2010-03-08  4:46 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-01 11:27 [PATCH]Support MCP89 and GT21x hdmi audio Wei Ni
2010-03-02  5:43 ` [alsa-devel] " Wu Fengguang
2010-03-03  3:33   ` Wei Ni
2010-03-03  6:46   ` Takashi Iwai
2010-03-04  1:17     ` Wu Fengguang
2010-03-04  2:18     ` [alsa-devel] " Wu Fengguang
2010-03-04  5:44       ` Wu Fengguang
2010-03-04  5:52         ` Wei Ni
2010-03-04  6:09           ` Wu Fengguang
2010-03-02  7:59 ` Takashi Iwai
2010-03-02  9:43   ` Wei Ni
2010-03-02  9:55     ` Takashi Iwai
2010-03-02 10:03       ` [alsa-devel] " Wei Ni
2010-03-02 10:42         ` Takashi Iwai
2010-03-02 10:44           ` [alsa-devel] " Wei Ni
2010-03-03  3:28       ` Wei Ni
2010-03-03  4:06         ` Wei Ni
2010-03-03  6:44           ` Takashi Iwai
2010-03-03  7:21             ` Wei Ni
2010-03-03 21:49               ` Takashi Iwai
2010-03-04  2:21                 ` [alsa-devel] " Wei Ni
2010-03-04  9:46                   ` Takashi Iwai
2010-03-04 10:46                     ` Wei Ni
2010-03-04 10:56                       ` Takashi Iwai
2010-03-04 11:09                         ` [alsa-devel] " Wei Ni
2010-03-04 11:31                           ` Takashi Iwai
2010-03-04 11:37                             ` [alsa-devel] " Wei Ni
2010-03-04 11:43                               ` Takashi Iwai
2010-03-04 11:46                                 ` [alsa-devel] " Wei Ni
2010-03-04 15:34                                   ` Takashi Iwai
2010-03-05  2:41                                     ` Wei Ni
2010-03-07 19:21                                       ` VDR User
2010-03-08  4:35                                         ` Wei Ni
2010-03-08  4:46                                           ` Wu Fengguang [this message]
2010-03-10  5:42                                             ` VDR User
2010-03-10  6:01                                               ` Wu Fengguang
2010-03-10  7:58                                               ` Jaroslav Kysela
2010-03-10  8:05                                                 ` [alsa-devel] " VDR User
2010-03-10  8:17                                                   ` Jaroslav Kysela
2010-03-10  9:44                                                     ` Takashi Iwai
2010-03-10 12:54                                                   ` Wu Fengguang
2010-03-10 17:38                                                     ` VDR User
2010-03-11  7:30                                                       ` [alsa-devel] " Jaroslav Kysela
2010-03-11 18:15                                                         ` VDR User
2010-03-11 18:32                                                           ` Jaroslav Kysela
2010-03-11 19:24                                                             ` [alsa-devel] " VDR User
2010-03-12  4:32                                                             ` VDR User
2010-03-12  4:37                                                               ` Wu Fengguang
2010-03-12  8:08                                                               ` Jaroslav Kysela
     [not found]                                                                 ` <a3ef07921003121120h7b2b3289q7863de625f50e5d@mail.gmail.com>
     [not found]                                                                   ` <alpine.LNX.2.00.1003131410550.4672@eeebox2.perex-int.cz>
     [not found]                                                                     ` <a3ef07921003131037q21ad995fwd046dba0e9fa1ef7@mail.gmail.com>
     [not found]                                                                       ` <alpine.LNX.2.00.1003131955590.4672@eeebox2.perex-int.cz>
     [not found]                                                                         ` <a3ef07921003131222i121a8d54nba5dd3fbcdae3ac0@mail.gmail.com>
2010-03-14  8:29                                                                           ` Jaroslav Kysela
2010-04-07  0:39                                       ` globalillo
2010-04-07  1:23                                         ` globalillo

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=20100308044614.GA29026@localhost \
    --to=fengguang.wu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=jkysela@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel.hofman@insite.cz \
    --cc=tiwai@suse.de \
    --cc=user.vdr@gmail.com \
    --cc=wni@nvidia.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 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).