Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 00:30:26 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: Intel 845 and TV-out: how to switch to PAL mode?
Message-ID:  <20040226003026.0061367b.torfinn.ingolfsen@broadpark.no>
Resent-Message-ID: <20040229105140.67446c4c.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <20040220011657.5ff4b5c3.torfinn.ingolfsen@broadpark.no>
References:  <20040219005421.141380e0.torfinn.ingolfsen@broadpark.no> <20040220011657.5ff4b5c3.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Fri, 20 Feb 2004 01:16:57 +0100
Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> wrote:

> Ok, the i845 has a Chrontel CH7009 chip connected to it. This is a DVI
> and TV-out encoder. Apparently it is in this chip that you would
> change from NTSC to PAL mode.
> Now, if I just had a FreeBSD program to do that...

Ok, I found some more hints. The nv-tv-out project
(http://sourceforge.net/projects/nv-tv-out/) is primarily for nVidia
cards. But they have code to detect the i845 and lotrs of TV encoders.
Initially, I had some trouble getting the code from cvs to configure and
compile. After I did 'touch test/Makefile.in' and added the FreeBSD
patch
(http://sourceforge.net/tracker/index.php?func=detail&aid=833022&group
_id=33758&atid=409194) I was able to compile it (it still fails, but
that is after it has compiled the src directory), and it gave me a nvtv
binary. 
Running 'nvtv -P' on the machine produces output, it detects the i845,
complains about missing support for CH7009, and decides to list the I2C
device at 2:EC as a Chrontel 7011 (which probably is an error). See 
attached file. Still, this is progress. :-)

-- 
Regards,
Torfinn Ingolfsen,
Norway



[-- Attachment #2 --]
root@kg-htpc# /home/tingo/work/nvtv -P
/home/tingo/work/nvtv: not found
root@kg-htpc# /home/tingo/work/tv-projects/nvtv -P
NVTV 0.4.6 Probe
i845 (00:02.00) (2562) io=0xDFF80000
TVCh2Create: CH7009 family not yet supported.
TVCh2InitRegs: CH7009 family not yet supported.
  DCLK 0D=00021207 1D=00031406 0DS=0000888B DPLL A=D0844000 B=00000000
  ADPA=00008C00  DVO A=00000000 B=00000000 C=800000C4  LVDS=00043001
  DIM =00000000  DIM A=00000000 B=00000000 C=00000000       00000000
  FPA 00021004 00021207 00000000 00000000
  020cc=00000004 020d8=00000108 020dc=00000000
  71280=00000000 71400=0120008E
  Pipe A
    HTOTAL=0427031F HBLANK=0427031F HSYNC=04E303A3
    VTOTAL=02ED0257 VBLANK=02ED0257 VSYNC=02650262
    SOURCE=031F0257 CONFIG=80000000 7z030=0000005F 7z080=01000000
  Pipe B
    HTOTAL=00000000 HBLANK=00000000 HSYNC=00000000
    VTOTAL=00000000 VBLANK=00000000 VSYNC=00000000
    SOURCE=00000000 CONFIG=00000000 7z030=00000000 7z080=00000000
  Display plane A
    CTRL=18000000 BASE=00000000 STRIDE=00000A00
  Display plane B
    CTRL=00000000 BASE=00000000 STRIDE=00000000
Warning: TVCheckChain: Memory leak.
  I2C Devices: 2:EC

  Device 2:EC = Chrontel 7011A (2:EC)
    00: CF 27 7E 05 84 3A 0E 83   03 E8 59 2E 00 00 00 00
    10: 01 66 2C E9 00 00 25 38   0B 06 05 0D 08 C8 C2 81
    20: 02 00 16 00 00 AE AE D7   FF 47 06 15 81 08 06 06
    30: 00 00 23 04 26 30 60 00   56 00 FA FA 3F 3F FA FA
    40: 0F 0F 03 FC 00 00 00 00   18 20 84 17 00 20 00 00
    50: 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00
    60: 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00
    70: 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040226003026.0061367b.torfinn.ingolfsen>