Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 1999 15:30:12 -0500
From:      Randall Hopper <aa8vb@pagesz.net>
To:        Duane Gustavus <duane@denton.com>
Cc:        Roger Hardiman <roger@cs.strath.ac.uk>, multimedia@FreeBSD.ORG
Subject:   Re: fxtv
Message-ID:  <19990116153012.A22556@pagesz.net>
In-Reply-To: <199901161831.MAA12521@adsl194.directlink.net>; from Duane Gustavus on Sat, Jan 16, 1999 at 12:31:10PM -0600
References:  <19990116123615.B11467@pagesz.net> <199901161831.MAA12521@adsl194.directlink.net>

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

--BXVAT5kNtrzKuDFl
Content-Type: text/plain; charset=us-ascii

Duane Gustavus:
 |When I uncover the fxtv window, it is black.
 |
 |> Try using Ctrl-Alt-+ and cycling through all your video modes.  Make sure
 |> everything seems to work OK (you shouldn't see any blank screens).  And
 |> check the "Screen" section in your /etc/XF86Config to make sure you have
 |> 640x480 configured.
 |> 
 |I did NOT have anything but a 1024x768 screen configured.  I just
 |reconfigured to a 640x480 screen at 16 bpp, but the results were the same

Digging into it, the issue is that fxtv is still trying to set the viewport
(the upper left of the video mode "window" into the virtual
desktop/display) even when virtual desktop is not being used
(i.e. vmode_size == display_size).  Also, I notice that X switches the
desktop off into space even if you give it 0,0 for the viewport origin in
this case.

At any rate, it's fixed.  A patch to tvscreen.c is attached.  If you fetch
the fxtv port, untar, do a "make patch", then apply this patch, and finally
"make install".

 |>    > fxtv -xrm "Fxtv.cableStationList: 3 4" -xrm "Fxtv.tunerMode: cable"
 |> 
 |> Now try to KP_ADD.
 |> 
 |Still reads only zero.  I'm not sure if Num Lock is supposed to be on or not,
 |so I tried it both ways.

Ok, sounds like the driver doesn't know or isn't configured up right for
your tuner (I'm assuming your card has one).  Maybe Roger has some ideas on
this one.

 |>         > fxtv -debug startup
 |
 |---output-of-fxtv--debug-startp---
...
 |open("/dev/mixer") failed
 |Fxtv v0.47
 |
 |DETECTED CAPTURE CARD(S) [DRIVER PROBES]:
 |

Hmmm.  Don't you have something in your dmesg output that looks like this:

    bktr0: <BrookTree 848> rev 0x11 int a irq 9 on pci0.11.0
    Hauppauge WinCast/TV, Philips NTSC tuner, dbx stereo.

Please try a fresh boot and then do a dmesg to look for the driver output.
This will be useful in determining whether the driver is configured up
right for your card.

Everything else looks pretty reasonable.

What capture card do you have?

Happen to have MSW95 or 98 on there?  What does device manager say about
  the card? (tuner part number, etc.)

Randall


 |SYSCTL MIB VALUES:
 |    kern.version: FreeBSD 3.0-RELEASE #3: Sun Jan 10 13:40:05 CST 1999
 |        duane@adsl194.directlink.net:/usr/src/sys/compile/JONVON
 |    
 |    hw.bt848.card: -1
 |    hw.bt848.tuner: -1
 |    hw.bt848.reverse_mute: -1
 |    hw.bt848.format: -1
 |
 |TUNER SIGNATURE (0x01 - 0xff):
 |    00 00 00 00 00 00 00 00 00 00 01 00 02 00 00 00
 |
 |TUNER I2C DEVICES FOUND AT:
 |    0xa0, 0xc2
 |
 |CAPTURE CARD EEPROM CONTENTS:
 |   Read 256 EEPROM bytes (0x00 - 0xff)
 |    84 12 00 00 05 50 0e 7f 08 1a 23 11 ef 65 2b 85
 |    00 00 00 00 00 84 0a 00 01 01 20 77 00 40 45 99
 |    12 00 74 02 01 00 02 79 e5 00 00 00 00 00 00 00
 |    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 |    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 |    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 |    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 |    00 00 00 00 00 00 00 00 00 00 00 00 13 eb 00 70
 |    84 12 00 00 05 50 0e 7f 08 1a 23 11 ef 65 2b 85
 |    00 00 00 00 00 84 0a 00 01 01 20 77 00 40 45 99
 |    12 00 74 02 01 00 02 79 e5 00 00 00 00 00 00 00
 |    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 |    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 |    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 |    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 |    00 00 00 00 00 00 00 00 00 00 00 00 13 eb 00 70
 |
 |Supported RGB Capture Pixel Formats:
 |   bpp  Bpp  RGB Masks                     Swap
 |   ---  ---  ----------------------------  ----
 |    15   2   00007c00, 000003e0, 0000001f  NB  
 |    16   2   0000f800, 000007e0, 0000001f  NB  
 |    24   3   00ff0000, 0000ff00, 000000ff   B  
 |    24   4   00ff0000, 0000ff00, 000000ff  NBWb
 |
 |Supported YUV Capture Pixel Formats:
 |   YUVSize  HSamp  VSamp  Pack    CompOrder  T->B  L->R  YTrans
 |   -------  -----  -----  ------  ---------  ----  ----  ------
 |    8,8,8   1,2,2  1,1,1  PLANAR  YUV         Y     Y      N
 |    8,8,8   1,2,2  1,1,1  PACKED  YUYV        Y     Y      N
 |    8,8,8   1,2,2  1,2,2  PLANAR  YUV         Y     Y      N
 |
 |
 |XSERVER: 'The XFree86 Project, Inc' v3320,  Protocol Verson 11.0
 |         Screen Res = 640x480, DefDepth = 16; NumScreens = 1
 |         Bitmap Unit/BitOrder/Pad = 32/LSBFirst/32, Image ByteOrder = LSBFirst
 |
 |XF86DGAQueryVersion() succeeded - vers = 1.00
 |   BaseAddr = 0xa0000000, Pitch = 640, BankSize/RamSize = 2097152/2097152
 |
 |Rating Available Visuals:
 |   Rating  Class        bpp  Bpp  R,G,B Masks                   Swap  DirectVid
 |   ------  -----------  ---  ---  ----------------------------  ----  ---------
 |     5     TrueColor     16  2,2  0000f800, 000007e0, 0000001f   --      Yes
 |Default Visual is 16-bpp TrueColor
 |
 |XF86VidModeQueryVersion() succeeded - version = 0.08

--BXVAT5kNtrzKuDFl
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="fxtv-0.47-viewport.patch.gz"
Content-Transfer-Encoding: base64

H4sICPHzoDYAA2Z4dHYtMC40Ny12aWV3cG9ydC5wYXRjaACtWGtT20gW/bz+FTeZqo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VSreVbqP3UnUAJ3OWujtlCYoXMBkJDMkY
M0MdqtDqkY3st6vU1V7QZITWzLVsAgY85dydLMcdxkjIU39jR+lBq9AZ6kdy+uvakSjW/Y3j
MaJYfhOyCoV7rr/EUKnLRzTlrdytMr+EPz9SZIbiNYMgQz5FfoMUBvAjRIoimIdPxfyfqLdo
t3fdNCSVFvAT6tIQV1yBoXCnTjkQ5mvJ/cVB/+zy5MwLyVg1h4JvklKywLz9SZWfpD1mX25a
sGZrtRaVNWWmUJDU+fUiq+faOyYM056JJTGe3dIUkdJipTqO1pxYpkBrDhRe04bLNk2iz1QU
hTEYOMMsnB6moSLWaqHJ1KMlnmNFrI4abbP4JrbWqHji5Yjab3yr98R6ld6B5aOaj/U4VCuX
9rfT6zOUKBB293ogTeWxdna1LlOcyhDIL+167fV1byhqSHg97TYq+rHOE5X8w/GpvaPLxcDX
krVRQm4eWIFCZaepsiWAYRyMC+ddOHPdTKpu0C/XxFuDfSRFu7t9/V7RtNLOU57ONVA2qRAD
tkrR1zSHihPNQcTvTLmThtTszY3CaVRRtwxg6l+CPVNDLFz5P9jFLcWiHAAA

--BXVAT5kNtrzKuDFl--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



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