From: Takashi Iwai <tiwai@suse.de>
To: Anton Worshevsky <gbdj@linux.spb.org>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Re: VIA8233/8235 testers wanted
Date: Thu, 16 Jan 2003 10:21:42 +0100 [thread overview]
Message-ID: <s5hsmvt30wp.wl@alsa2.suse.de> (raw)
In-Reply-To: <1333.030115@linux.spb.org>
[-- Attachment #1: Type: text/plain, Size: 2028 bytes --]
Hi,
At Wed, 15 Jan 2003 00:48:46 +0300,
Anton Worshevsky wrote:
>
> Hello ,
>
> > if someone has VIA8233, VIA8233A, VIA8233C or VIA8235 chipset, could
> > you help the testing of the new driver?
> > the new driver code is found at
> >
> > http://www.alsa-project.org/~iwai/via82xx.c
>
> i has VIA8235 and ALC650 codec. After installing new driver from cvs from
> 20030113, there is following problem:
>
> In 5.1-channel dvd playback with xine using surround51 device,
> i has swapped Rear and Center/lfe channels.
> RL <-> Center, RR <-> LFE
> i fixed this with following patch for via82xx.c
>
> 812,813c812,815
> < case 5: slots = (1<<0) | (2<<4) | (5<<8) | (3<<12) | (4<<16); break;
> < case 6: slots = (1<<0) | (2<<4) | (5<<8) | (6<<12) | (3<<16) | (4<<20); break;
> ---
> > // case 5: slots = (1<<0) | (2<<4) | (5<<8) | (3<<12) | (4<<16); break;
> > // case 6: slots = (1<<0) | (2<<4) | (5<<8) | (6<<12) | (3<<16) | (4<<20); break;
> > case 5: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12) | (5<<16); break;
> > case 6: slots = (1<<0) | (2<<4) | (3<<8) | (4<<12) | (5<<16) | (6<<20); break;
>
> please note that 5ch mode is untested.
> I'm not sure that it is alsa problem, xine' may be.
hmm, it could be due to the setting of ALC650. how is the status of
"Exchange Center/LFE" mixer switch?
> It will be nice to have a small prog for channel position testing in different
> playback modes, because now i know no 5.1ch source other then video player.
> In general multichannel playback has good quality now (with rc6 sound was
> cracking).
>
> > the new driver can (hopefully) play multiple streams simultaneously on
> > VIA8233, VIA8233C and VIA8235, but NOT on VIA8233A.
>
> It's worked, but second stream plays only left channel.
>
> Almost all OSS application such as games (UT, tux-racer and other) now producing
> cracking and skipping sound. Only XMMS OSS-plugin plays good. OSS-sound was good
> with rc6.
does the patch below change something?
ciao,
Takashi
[-- Attachment #2: via-frag-fix.dif --]
[-- Type: application/octet-stream, Size: 806 bytes --]
Index: alsa-kernel/pci/via82xx.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/via82xx.c,v
retrieving revision 1.17
diff -u -r1.17 via82xx.c
--- alsa-kernel/pci/via82xx.c 13 Jan 2003 09:07:53 -0000 1.17
+++ alsa-kernel/pci/via82xx.c 16 Jan 2003 09:19:57 -0000
@@ -773,7 +773,8 @@
outb(0 , VIAREG(chip, PLAYBACK_VOLUME_R));
outl((runtime->format == SNDRV_PCM_FORMAT_S16_LE ? VIA8233_REG_TYPE_16BIT : 0) | /* format */
(runtime->channels > 1 ? VIA8233_REG_TYPE_STEREO : 0) | /* stereo */
- (0xffff * runtime->rate)/(48000/16) | /* rate */
+ // (0xffff * runtime->rate)/(48000/16) | /* rate */
+ 0xfffff |
0xff000000, /* STOP index is never reached */
port + VIA_REG_OFFSET_STOP_IDX);
return 0;
prev parent reply other threads:[~2003-01-16 9:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-14 21:48 VIA8233/8235 testers wanted Anton Worshevsky
2003-01-16 9:21 ` Takashi Iwai [this message]
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=s5hsmvt30wp.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=gbdj@linux.spb.org \
/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