Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2006 20:52:32 +0300
From:      "Konstantin Dimitrov" <kosio.dimitrov@gmail.com>
To:        "Laurent Courty" <lrntct@gmail.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Status of VIA Envy24 audio controller
Message-ID:  <8103ad500607171052u5196fcf9se50a5a4cbfa0c9f9@mail.gmail.com>
In-Reply-To: <8103ad500607170201k259336a8te2f741f27fd8d3a4@mail.gmail.com>
References:  <200606072039.13422.shoesoft@gmx.net> <200607161437.12152.lrntct@gmail.com> <8103ad500607161011i66c1fd53rdf5397228ed7be3e@mail.gmail.com> <200607162024.43036.lrntct@gmail.com> <8103ad500607162325m25555b29pc452710ce94fc39b@mail.gmail.com> <8103ad500607170201k259336a8te2f741f27fd8d3a4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
ok, i write the necessary code and now also Chaintech AV710 is working unde=
r
FreeBSD, so in other words another Envy24 chip: Envy24HT-S (+ WM8728 codec)
has support and much more AV710 uses VIA reference design, so many similar
board like OOAOO SQ710II will run with that code, the code is based on my
experimental Envy24HT code for my Terratec Aureon Spase, so currently both
codes are mess and need to be refined.

the files are here: http://xkodi.svobodno.com/envy24/ in "envy24hts"
directory

@Laurent Courty:
now it should be very easy to add support for SE-90PCI, but you need to fin=
d
out the wiring between VT1720T and WM8716 on that board, if you think you
can do it using digital multimeter you will be able to use it under FreeBSD=
.

P.S. for Chaintech AV710 users WM8728 high-quality output is marked as
"ALT-Out", it is black and next to SPDIF optical out.

On 7/17/06, Konstantin Dimitrov <kosio.dimitrov@gmail.com> wrote:
>
> i think that i manage to reverse the AV710 board design, using digital
> multimeter i found out that:
>
> WM8728 pin 19 (SCK) is wired to Envy24HT-S pin 71 (SCLK)
> WM8728 pin 18 (SDIDEM) is wired to Envy24HT-S pin 70 (SDA)
>
> Envy24 pin 70 & pin 71 are "I2C port", so looks like WM8728 2-wire contro=
l
> mode is used and it is actually I2C compatible, but i don't know why Wolf=
son
> doesn't mention in WM8728 datasheet, that 2-wire control mode is I2C
> compatible and provide more info, maybe because I2C is registered tradema=
rk
> of Philips.
>
> so i will write code to control the WM8728 via I2C and see if it will wor=
k
> ...
>
>
> On 7/17/06, Konstantin Dimitrov < kosio.dimitrov@gmail.com> wrote:
> >
> > not only developers are important, for example, the first step of addin=
g
> > support for specific Envy24-based card is to know how I2S codec control
> > interface pins are wired to Envy24 GPIO pins and it is not typical
> > developer's job - reversing the wiring between I2S codec and Envy24 chi=
p
> > using only digital multimeter.
> > with AV710 i'm stuck on this stage, but AV710 like SE-90PCI uses VIA
> > reference design, so VIA can help and provide, not only datasheets for =
all
> > Envy24 chips, but also some information about their reference design, b=
ut if
> > they are willing to do that, they probably will provide open-source dri=
vers
> > for the cards with reference design, so the only option left is using
> > digital multimeter on our Envy24-based cards and try to reverse the wir=
ing
> > (same apply for boards, that don't use VIA reference design).
> >
> >
> > On 7/16/06, Laurent Courty < lrntct@gmail.com > wrote:
> > >
> > > Le dimanche 16 juillet 2006 19:11, vous avez =E9crit:
> > > > On 7/16/06, Laurent Courty < lrntct@gmail.com> wrote:
> > > > > Hello,
> > > > >
> > > > > It's great to see people working on envy24 support. Thanks a lot
> > > hackers
> > > > > ! I'm thinking about buying an Onkyo SE-90PCI board.
> > > > > Do you think if it's possible to make it work on FreeBSD ? It see=
m
> > > to use
> > > > > the
> > > > > VT1720T (Envy24MT). As I see on Nikolas' web site, no datasheet i=
s
> > >
> > > > > currently
> > > > > available for this chip. How can I help ? Should I ask VIA for
> > > datasheet
> > > > > ?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Laurent
> > > > > _______________________________________________
> > > > > freebsd-multimedia@freebsd.org mailing list
> > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> > > > > To unsubscribe, send any mail to "
> > > > > freebsd-multimedia-unsubscribe@freebsd.org"
> > > >
> > > > nothing is impossible, but ...
> > > > looks like it is time to discuss VIA reference design, because both
> > > > Chaintech AV710 (there are many similar versions of that board from
> > > other
> > > > manufacturer like OOAOO SQ710II) and Onkyo SE-90PCI seems to use
> > > reference
> > > > design.
> > > > according to that picture:
> > > >
> > > > http://xkodi.svobodno.com/xkodi/se90pci_3.jpg
> > > >
> > > > SE-90PCI uses VT1720T + WM8716 + 49.152 MHz crystal on VT1720T XIN2
> > > pin.
> > > > i made list of VIA reference design with their corresponding EEPROM
> > > > content:
> > > >
> > > >
> > > http://xkodi.svobodno.com/envy24/envy24_ref_e2proms/envy24_ref_e2prom=
s.html
> > > >
> > > > first revision of Chaintech AV710 uses Envy24PT (VT1720PT) and late=
r
> > > > revision uses Envy24HT-S (VT1721) and that is possible, because all
> > > > Envy24GT/PT/MT/HT-S are subset of Envy24HT in term of features (and
> > > pins),
> > > > so SE-90PCI is number 5 in the list, Chaintech AV710 is number 7.
> > > >
> > > > datasheet are available only for Envy24PT and Envy24HT (and Envy24
> > > but it
> > > > is very different chip) and comparing them it is possible to guess
> > > (but we
> > > > can't be sure) for example how Envy24HT-S works, but Envy24MT has
> > > different
> > > > package, so maybe very different pin assignment and it is very
> > > unlikely VIA
> > > > to provide datasheets, because i have already asked them, when i bu=
y
> > > my
> > > > first Envy24-based card.
> > > >
> > > > two days ago accidentally i found Chaintech AV710 and bought it,
> > > because it
> > > > is very cheap - 10 times cheaper than my Terratec DMX 6fire, as i
> > > said it
> > > > is number 7 in the list of VIA reference design, so it uses VT1721 =
+
> > > VT1616
> > > > + WM8728 + 24.576 MHz crystal on XIN2 pin.
> > > > VT1616 is AC97 codec, but WM8728 is I2S codec very similar to WM871=
6
> > > used
> > > > in SE-90PCI.
> > > >
> > > > i'm trying to find out how the board works with WM8728, because
> > > WM8728 has
> > > > 3 control modes:
> > > > 1. hardware
> > > > 2. software:
> > > > 2.1. 3-wire SPI-compatible
> > > > 2.2 . 2-wire
> > > >
> > > > also i'm assuming that pin assignment of Envy24HT-S is same as
> > > Envy24PT
> > > > (there is no datasheet available for Envy24HT-S) and i'm very
> > > puzzled,
> > > > because till now i can't find the LATI2S pin of WM8728 to be wired
> > > to any
> > > > of VT1721 GPIO pins, so it can't be in SPI mode and i'm starting to
> > > think
> > > > it is in hardware or 2-wire mode, but i'm not sure. also i can't
> > > understand
> > > > from WM8728 datasheet how 2-wire mode works. all other Envy24-based
> > > boards,
> > > > that have support till now under FreeBSD use SPI mode.
> > > >
> > > > WM8716 has 2 control modes:
> > > > 1. hardware
> > > > 2. 3-wire SPI-compatible
> > > >
> > > > both cards uses same VIA (very buggy) driver under Windows, both
> > > codecs
> > > > have hardware mode, so maybe it makes sense that hardware mode is
> > > used and
> > > > that the codec is initialized in hardware, because then no specific
> > > driver
> > > > code is required.
> > > >
> > > > on AV710 board DIN pin of WM8728 is wired to Envy24HT-S PSDOUT[1]
> > > pin, so
> > > > according to Envy24PT datasheet, "biDirectional PCI Stereo Pairs DM=
A
> > > > Playback" is used instead of "Multi-Channel Interleaved DMA
> > > Playback".
> > > > currently we have code only for "Multi-Channel Interleaved DMA
> > > Playback"
> > > > and at the moment i'm not sure how hard or how easy is
> > > "biDirectional PCI
> > > > Stereo Pairs DMA Playback" support to be added.
> > > >
> > > > i'm expecting SE-90PCI to have same design - DIN pin of WM8716 to b=
e
> > > wired
> > > > to Envy24MT PSDOUT[1] pin.
> > > >
> > > > so for Chaintech AV710 and SE-90PCI a lot of new code is reqiured
> > > and also
> > > > to find out how WM8728/WM8716 are controlled, not to mention
> > > Envy24MT pin
> > > > assignment.
> > > >
> > > > i'm not aware of someone except me currently trying to do something
> > > about
> > > > Envy24 support under FreeBSD and my main interest is to add support
> > > for my
> > > > two Terratec cards - "DMX 6fire" and "Aureon Space". i have already
> > > add
> > > > support for "DMX 6fire" and it is running using the patched version
> > > of
> > > > Katsurajima Naoto's code for Envy24+AK452x.
> > > >
> > > > i also have added support for Envy24HT+WM8770:
> > > >
> > > >
> > > http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-June/00434=
7.html
> > > >
> > > > so my "Aureon Space" is also running, but the code is very messy, s=
o
> > > i need
> > > > to refine it and also i'm planning to add support for Audiotrak
> > > Prodigy
> > > > 7.1, because it is very similar to "Aureon Space".
> > > >
> > > > it would be great if someone want to help with something, because
> > > current
> > > > code has some problems, there are very huge numbers of different
> > > > Envy24-based boards and making full Envy24 support under FreeBSD is
> > > very
> > > > huge task, so any help is appreciated.
> > >
> > > Thanks for your answer.
> > > I was thinking VIA was more "FLOSS friendly". But if I understand
> > > well,
> > > developers are more importants than datasheet here. Unfortunately I
> > > haven't
> > > any programming skills. So I can help in a very limited manner.
> > >
> > > Laurent
> > >
> >
> >
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8103ad500607171052u5196fcf9se50a5a4cbfa0c9f9>