Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Nov 1998 09:52:38 -0500
From:      Greg Pavelcak <gpavelcak@philos.umass.edu>
To:        multimedia@FreeBSD.ORG
Subject:   Recent kernel and broken WinTV
Message-ID:  <19981104095238.A228@oit.umass.edu>

next in thread | raw e-mail | index | archive | help
I rebuilt elf world and kernel with sources from about Mon. Nov.
2, 8pm eastern time. Since then, fxtv doesn't work, I just get
snow and noise.

Here's dmesg

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Wed Nov  4 09:26:10 EST 1998
    gp@tarski.oit.umass.edu:/usr/src/sys/compile/TARSKI
Timecounter "i8254"  frequency 1193182 Hz
CPU: Cyrix 6x86 (486-class CPU)
  Origin = "CyrixInstead"  DIR=0x2231  Stepping=2  Revision=2
real memory  = 67108864 (65536K bytes)

FreeBSD Kernel Configuration Utility - Version 1.1
 Type "help" for help.
config> intro
avail memory = 62423040 (60960K bytes)
Preloaded elf kernel "kernel" at 0xf02ac000.
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=1039 device=5571)> rev 0x01 on pci0.0.0
chip1: <SiS 85c503> rev 0x01 on pci0.1.0
ide_pci0: <PCI IDE controller (busmaster capable)> rev 0xc1 int a irq 14 on pci0.1.1
vga0: <Cirrus Logic GD5446 SVGA controller> rev 0x00 on pci0.11.0
bktr0: <BrookTree 878> rev 0x02 int a irq 11 on pci0.13.0
bti2c0: <bt848 Hard/Soft I2C controller>
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 addr 0xf0
Probing for devices on iicbus0: <a0> <a1> <c2> <c3>
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
smbus1: <System Management Bus> on bti2c0
Intel Smart Video III/VideoLogic Captivator PCI, <none> tuner.
Probing for PnP devices:
CSN 1 Vendor ID: CTL00c3 [0xc3008c0e] Serial 0x1816328a Comp ID: PNPb02f [0x2fb0d041]
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
ppc: parallel port found at 0x378
ppc0 at 0x378 irq 7 on isa
ppc0: W83877F chipset (EPP/PS2/NIBBLE) in COMPATIBLE mode
nlpt0: <generic printer> on ppbus 0
nlpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
lppps0: <Pulse per second Timing Interface> on ppbus 0
vpo0: <Iomega VPI0 Parallel to SCSI interface> on ppbus 0
vpo0: EPP 1.9 mode
plip0: <PLIP network interface> on ppbus 0
wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff on isa
wdc0: unit 0 (wd0): <Maxtor 83240D3>, 32-bit, multi-block-16
wd0: 3090MB (6328665 sectors), 6697 cyls, 15 heads, 63 S/T, 512 B/S
wdc0: unit 1 (atapi): <CD-916E/ATK/11A>, removable, intr, dma, iordy
wcd0: 2062KB/sec, 120KB cache, audio play, 255 volume levels, ejectable tray
wcd0: no disc inside, unlocked
wdc1 at 0x170-0x177 irq 15 flags 0x80ff on isa
wdc1: unit 0 (wd1): <Maxtor 82100A4>, 32-bit, multi-block-16
wd1: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
sb0 at 0x220 irq 5 drq 1 on isa
snd0: <SoundBlaster 16 4.16> 
sbxvi0 at ? drq 5 on isa
snd0: <SoundBlaster 16 4.16> 
sbmidi0 at 0x330 on isa
snd0: <SoundBlaster MPU-401> 
awe0 at 0x620 on isa
AWE32: not detected

opl0 at 0x388 on isa
snd0: <Yamaha OPL3 FM> 
npx0 flags 0x7 on motherboard
npx0: INT 16 interface
Waiting 2 seconds for SCSI devices to settle
da0 at vpo0 bus 0 target 6 lun 0
da0: <IOMEGA ZIP 100 D.13> Removable Direct Access SCSI2 device 
da0: 96MB (196608 512 byte sectors: 64H 32S/T 96C)
changing root device to wd0s1a
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates

My card is a Hauppauge WinTV with an 878 chip, but dmesg reports the
"Intel" line even when I use "options OVERRIDE_CARD=??" and
"options OVERRIDE_TUNER=??" (I'm using the question marks because
I don't remember the numbers now, but I used the numbers from
brooktree848.c. for CARD_HAUPPAUGE and PHILIPS_FR...something.)
The Intel information also stuck when I tried #define
OVERRIDE_CARD CARD_HAUPPAUGE in brooktree848.c. I assume it's
because (though no C-programmer I) the function
locate_tuner_address( bktr ) after "checkTuner" at line 4581
doesn't find anything so the values for the card get set back to
Intel--no tuner. Got no relief from messing with sysctl -w hw.bt848.*
either.

Anyway, here's the output of fxtv -debug startup


Fxtv v0.47

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

SYSCTL MIB VALUES:
    kern.version: FreeBSD 3.0-CURRENT #0: Wed Nov  4 09:26:10 EST 1998
        gp@tarski.oit.umass.edu:/usr/src/sys/compile/TARSKI
    
    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 00 00 00 00 00 00

TUNER I2C DEVICES FOUND AT:
   

CAPTURE CARD EEPROM CONTENTS:
   Read 0 EEPROM bytes 

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 = 1024x768, DefDepth = 16; NumScreens = 1
         Bitmap Unit/BitOrder/Pad = 32/LSBFirst/32, Image ByteOrder = LSBFirst

XF86DGAQueryVersion() succeeded - vers = 1.00
   BaseAddr = 0xe0000000, Pitch = 1024, BankSize/RamSize = 4194304/4194304

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


I also see this when I start fxtv from an xterm:

ioctl(BT848_SAUDIO, 129) failed: Input/output error

Any help would be greatly appreciated.

Greg

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?19981104095238.A228>