All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Prindeville <philipp_subx@redfish-solutions.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Fixes for identifying VT1617 codec and MSI-7142 mobo
Date: Fri, 12 Aug 2005 13:37:20 -0600	[thread overview]
Message-ID: <42FCFA70.90407@redfish-solutions.com> (raw)
In-Reply-To: <s5hd5oj3t6p.wl%tiwai@suse.de>

Takashi Iwai wrote:

>At Fri, 12 Aug 2005 12:12:28 -0600,
>Philip Prindeville wrote:
>  
>
>>>Well I see this message in your ealier mail.  What about the result of
>>>"aplay -Dhw0,0" regarding this?
>>>
>>>
>>>Takashi
>>> 
>>>
>>>      
>>>
>>Ditto:
>>
>>[root@media ~]# aplay -v  -Dhw:0,0 
>>/usr/share/system-config-soundcard/sound-sample.wav
>>Playing WAVE '/usr/share/system-config-soundcard/sound-sample.wav' : 
>>Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
>>Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
>>         please, try the plug plugin (-Dplug:hw:0,0)
>>Hardware PCM card 0 'VIA 8237' device 0 subdevice 0
>>    
>>
>
>This means that dxs_support is still set to DXS_48K, not DXS_SRC as
>expected.
>
>
>Takashi
>  
>

Zowie, you're right:

[root@media alsa]# lspci -v -n -s 0:11.5
00:11.5 Class 0401: 1106:3059 (rev 60)
        Subsystem: 1462:0430
        Flags: medium devsel, IRQ 185
        I/O ports at ec00 [size=256]
        Capabilities: [c0] Power Management version 2

[root@media alsa]#

So for whatever reason, the sound device has a different ID than the
motherboard...

via82xx: pci-id 0x1462:0x430
via82xx: Assuming DXS channels with 48k fixed sample rate.
         Please try dxs_support=1 or dxs_support=4 option
         and report if it works on your machine.

Ok, so I patched the PCI id, and now I'm not seeing the above warning
any more, but I *still* get:

[root@media alsa]# aplay -v  -D spdif 
/usr/share/system-config-soundcard/sound-sample.wav
Playing WAVE '/usr/share/system-config-soundcard/sound-sample.wav' : 
Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
         please, try the plug plugin (-Dplug:spdif)
Hooks PCM
...

But when I play hw:0,0 out an analogue port, it works:

[root@media alsa]# aplay -v  -Dhw:0,0 
/usr/share/system-config-soundcard/sound-sample.wav
Playing WAVE '/usr/share/system-config-soundcard/sound-sample.wav' : 
Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Hardware PCM card 0 'VIA 8237' device 0 subdevice 0

Its setup is:
stream       : PLAYBACK
access       : RW_INTERLEAVED
format       : S16_LE
subformat    : STD
channels     : 2
rate         : 44100
exact rate   : 44100 (44100/1)
msbits       : 16
buffer_size  : 16384
period_size  : 4096
period_time  : 92879
tick_time    : 1000
tstamp_mode  : NONE
period_step  : 1
sleep_min    : 0
avail_min    : 4096
xfer_align   : 4096
start_threshold  : 16384
stop_threshold   : 16384
silence_threshold: 0
silence_size : 0
boundary     : 4611686018427387904
[root@media alsa]#


I took out the setting of the speed from patch_vt1617a:

+ int patch_vt1617a(ac97_t * ac97)
+ {
+       ac97->ext_id |= AC97_EI_SPDIF;  /* force the detection of spdif */
+       return 0;
+ }
+
+ /*

so now it defaults to 32kHz, 44.1kHz, and 48kHz....  no idea why playing
via -D spdif should fail, unless the config files in /etc/alsa/ are wrong.

-Philip



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

  reply	other threads:[~2005-08-12 19:37 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-07 18:41 Fixes for identifying VT1617 codec and MSI-7142 mobo Philip Prindeville
2005-08-07 19:27 ` Sergey Vlasov
2005-08-08 16:16   ` Philip Prindeville
2005-08-08 16:42     ` Takashi Iwai
     [not found]       ` <42F8F69D.2050302@redfish-solutions.com>
2005-08-11 10:42         ` Takashi Iwai
2005-08-11 19:21           ` Philip Prindeville
2005-08-12 14:40             ` Takashi Iwai
2005-08-12 14:49               ` Takashi Iwai
2005-08-12 17:08                 ` Philip Prindeville
2005-08-12 17:27                   ` Takashi Iwai
2005-08-12 17:31                     ` Philip Prindeville
2005-08-12 17:32                       ` Takashi Iwai
2005-08-12 17:38                         ` Philip Prindeville
2005-08-12 17:41                           ` Takashi Iwai
2005-08-12 18:12                             ` Philip Prindeville
2005-08-12 18:29                               ` Takashi Iwai
2005-08-12 19:37                                 ` Philip Prindeville [this message]
2005-08-12 19:49                                   ` Philip Prindeville
2005-08-15 12:35                                     ` Takashi Iwai
2005-08-12 15:18               ` Philip Prindeville
2005-08-12 15:26                 ` Lee Revell
2005-08-12 15:28                   ` Philip Prindeville
2005-08-12 15:29                   ` Philip Prindeville
2005-08-12 15:33                   ` Takashi Iwai
     [not found]                     ` <42FCD233.5010907@redfish-solutions.com>
2005-08-12 16:52                       ` Takashi Iwai

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=42FCFA70.90407@redfish-solutions.com \
    --to=philipp_subx@redfish-solutions.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --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 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.