Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 1999 17:24:34 +1200
From:      "Craig Harding" <crh@outpost.co.nz>
To:        Roger Hardiman <roger@cs.strath.ac.uk>
Cc:        multimedia@freebsd.org
Subject:   Re: Picture problems with Dynalink BT878 card with FreeBSD 3.2
Message-ID:  <19990921052447.5DD0A157B6@hub.freebsd.org>
In-Reply-To: <37E63054.446B@cs.strath.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Roger Hardiman wrote:

> Ok, first of all, you can fix your video by adding this
> to your kernel config file
> 
>   options BKTR_USE_PLL
> 
> Let me know if it works.

Lovely, thank you. That works nicely, we're now getting stable PAL 
images with FXTV or grab. BTW I have already upgraded to the 1.74 
driver, I should have mentioned that yesterday.

Even though I'm now getting a stable colour image, things are still
(unsurprisingly given the unknown card) quite fragile. Any attempt to
resize the display from FXTV's startup default will cause the machine
to crash - it locks hard without any warning. Similarly, when I'm
using grab.c it will succeed for about the first 6 or so grabs and
then lock the machine. I'm trying to use grab in a shell script to
repeatedly grab a frame and save it as a jpeg (via cjpeg) to an
appropriate directory for our web server. You can look at 
www.outpost.co.nz/webcam.html for an (uncompleted) idea of what I'm
trying to do (and a successful sample image).

I don't have a sound card in this machine at the moment, so I can't
tell you much about audio right now, but I will chuck one in over
the next few days to work through the audio side of things. I'll also
get an aerial hooked up and give the tuner a look.

> Then run fxtv -debug startup again and email me the output.
> I would also like you to email me the output of dmesg

----cut here----8<----cut here----8<----
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California. All rights reserved.
FreeBSD 3.2-RELEASE #3: Tue Sep 21 09:44:11 NZST 1999
    root@evil-smelling-bugger.outpost.co.nz:/usr/src/sys/compile/EVIL-SMELLING-B
    UGGER
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 75019772 Hz
CPU: Pentium/P54C (75.02-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x524  Stepping=4
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 30113792 (29408K bytes)
Preloaded elf kernel "kernel" at 0xc02a9000.
Probing for devices on PCI bus 0:
chip0: <SiS 85c501> rev 0x00 on pci0.0.0
chip1: <SiS 85c503> rev 0x00 on pci0.1.0
wdc0: <CMD 640B IDE> rev 0x02 int a irq 14 on pci0.12.0
bktr0: <BrookTree 878> rev 0x02 int a irq 9 on pci0.17.0
bti2c0: <bt848 Hard/Soft I2C controller>
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
smbus0: <System Management Bus> on bti2c0
Warning - card vendor 0x144f (model 0x3002) unknown. This may cause poor
performance
Miro TV, Temic NTSC tuner.
vga0: <S3 ViRGE DX/GX graphics accelerator> rev 0x01 int a irq 10 on pci0.19.0 
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x280-0x29f irq 5 on isa 
ed0: address 00:00:b4:33:99:b5, type NE2000 (16 bit)
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 not found
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: CMD640B workaround enabled
wdc0: unit 0 (wd0): <Maxtor 7131 AT>
wd0: 125MB (256512 sectors), 1002 cyls, 8 heads, 32 S/T, 512 B/S
wdc0: unit 1 (wd1): <Seagate Technology 1275MB - ST31276A>
wd1: 1221MB (2501856 sectors), 2482 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
Intel Pentium detected, installing workaround for F00F bug
changing root device to wd0s1a
WARNING: / was not properly dismounted 
ffs_mountfs: superblock updated for soft updates

----cut here----8<----cut here----8<----

Fxtv v0.48

DETECTED CAPTURE CARD(S) [DRIVER PROBES]:
    bktr0: <BrookTree 878> rev 0x02 int a irq 9 on pci0.17.0
    bti2c0: <bt848 Hard/Soft I2C controller>

SYSCTL MIB VALUES:
    kern.version: FreeBSD 3.2-RELEASE #3: Tue Sep 21 09:44:11 NZST 1999
        root@evil-smelling-bugger.outpost.co.nz:/usr/src/sys/compile/EVIL-SMELLI
        NG-BUGGER

    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 01 00 00 00
    60 d6 bf bf fe 9a 07 28 5c 48 11 28 ea 00 00 00
    00 00 00 00 01 00 00 00 70 6c 08 28 24 d7 bf bf
    bc c7 14 30 1f 33 07 08 0a 00 00 00 3b d6 bf bf
    01 00 00 00 00 00 00 00 00 a4 08 28 9d a8 07 28
    4f 97 04 08 03 85 07 28 70 6c 08 28 00 00 00 00
    4c 0a 23 28 01 d6 bf bf b8 d6 bf bf e5 9d 07 28
    70 6c 08 28 b8 d6 bf bf 55 9b 07 28 6c 79 07 28

TUNER I2C DEVICES FOUND AT:
    0xa0, 0xc0

CAPTURE CARD EEPROM CONTENTS:
   Read 256 EEPROM bytes (0x00 - 0xff)
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    ff ff ff ff ff ff ff ff ff ff ff ff 30 02 14 4f

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' v3330,  Protocol Verson 11.0
         Screen Res = 1152x864, DefDepth = 16; NumScreens = 1
         Bitmap Unit/BitOrder/Pad = 32/LSBFirst/32, Image ByteOrder = LSBFirst

XF86DGAQueryVersion() succeeded - vers = 1.00
   BaseAddr = 0xf0000000, Pitch = 1152, 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

----cut here----8<----cut here----8<----
-- 
Craig Harding                crh@outpost.co.nz    "I don't know about God, I
Outpost Digital Media Ltd    crh@inspire.net.nz    just think we're handmade"
http://www.outpost.co.nz     ICQ# 26701833                 - Polly


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?19990921052447.5DD0A157B6>