Skip to contentSkip to conversation

HDA patch_via.c update

PATCH In review Li Bo 3 participants 4 messages Oct 5, 2009 – Oct 6, 2009

lore
Share & tools
lore

Li Bo

author
#0 lore raw

cover HDA patch_via.c update

Hi!

Following are a series of patches for patch_via.c, started from git clone of
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 recently.

Please have a review and give comments, thank you!

Outlook Access Web cannot send plain-text mail, so my gmail is used instead.
You can also contact with me with [email protected], or mail to [email protected] and [email protected].

#1 lore raw

At Mon, 5 Oct 2009 21:15:06 +0800,

Quoted 7 lines · Li Bo

Hi!

Following are a series of patches for patch_via.c, started from git clone of
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 recently.

Please have a review and give comments, thank you!

Thanks for the patches. I'll review them from now.

BTW, it'd be better if you put the below setup in ~/.quiltrc.

	QUILT_DIFF_ARGS="-p ab --no-index --no-timestamps"
	QUILT_REFRESH_ARGS="-p ab --no-index --no-timestamps --diffstat"

These will give slightly better patches for kernel codes.

Takashi

#2 lore raw
In reply to Li Bo
Quoted 11 lines · Li Bo

Hi!

Following are a series of patches for patch_via.c, started from git clone of
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 recently.

Please have a review and give comments, thank you!

Outlook Access Web cannot send plain-text mail, so my gmail is used instead.
You can also contact with me with [email protected], or mail to [email protected] and [email protected].

OK, I just tried this patchset on my Asus P7P55D PRO (VIA VT1828S). Good news is that the analog 5.1 output and microphone input appear to work fine. However I am getting no output on SPDIF optical output at all, the jack doesn't even light up which suggests that the codec isn't powering on the SPDIF port, or something like that.

I've seen a few of these messages in dmesg while poking around with things, they may or may not be related:

ALSA sound/pci/hda/hda_intel.c:683: No response from codec, disabling
MSI: last cmd=0x01ef0100
ALSA sound/pci/hda/hda_intel.c:698: azx_get_response timeout, switching to polling mode: last cmd=0x01ef0100

ALSA sound/pci/hda/hda_intel.c:683: No response from codec, disabling
MSI: last cmd=0x024f0900
ALSA sound/pci/hda/hda_intel.c:698: azx_get_response timeout, switching to polling mode: last cmd=0x024f0900

ALSA sound/pci/hda/hda_intel.c:683: No response from codec, disabling
MSI: last cmd=0x021f0200
ALSA sound/pci/hda/hda_intel.c:698: azx_get_response timeout, switching to polling mode: last cmd=0x021f0200

I also tested in Windows and SPDIF output works (obviously) with rates up to 192KHz, so I'm not sure why this patch set limits it to 48KHz only..

author
#3 lore raw

Hi, Robert
Thank you for reply. We will test VT18128S S/PDIF function later. About 48 kHz sample rate limit, it is set for HW's stable work. Other sample rate can also work, if you need them just ignore this patch.

Quoted 41 lines · Robert Hancock
Quoted 11 lines · Li Bo

Hi!

Following are a series of patches for patch_via.c, started from git clone of
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 recently.

Please have a review and give comments, thank you!

Outlook Access Web cannot send plain-text mail, so my gmail is used instead.
You can also contact with me with [email protected], or mail to [email protected] and [email protected].

OK, I just tried this patchset on my Asus P7P55D PRO (VIA VT1828S). Good news is that the analog 5.1 output and microphone input appear to work fine. However I am getting no output on SPDIF optical output at all, the jack doesn't even light up which suggests that the codec isn't powering on the SPDIF port, or something like that.

I've seen a few of these messages in dmesg while poking around with things, they may or may not be related:

ALSA sound/pci/hda/hda_intel.c:683: No response from codec, disabling
MSI: last cmd=0x01ef0100
ALSA sound/pci/hda/hda_intel.c:698: azx_get_response timeout, switching to polling mode: last cmd=0x01ef0100

ALSA sound/pci/hda/hda_intel.c:683: No response from codec, disabling
MSI: last cmd=0x024f0900
ALSA sound/pci/hda/hda_intel.c:698: azx_get_response timeout, switching to polling mode: last cmd=0x024f0900

ALSA sound/pci/hda/hda_intel.c:683: No response from codec, disabling
MSI: last cmd=0x021f0200
ALSA sound/pci/hda/hda_intel.c:698: azx_get_response timeout, switching to polling mode: last cmd=0x021f0200

I also tested in Windows and SPDIF output works (obviously) with rates up to 192KHz, so I'm not sure why this patch set limits it to 48KHz only..