From owner-freebsd-multimedia Wed Nov 4 06:52:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA06149 for freebsd-multimedia-outgoing; Wed, 4 Nov 1998 06:52:53 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from oitunix.oit.umass.edu (nscs46p13.remote.umass.edu [128.119.180.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA06143 for ; Wed, 4 Nov 1998 06:52:49 -0800 (PST) (envelope-from gp@oitunix.oit.umass.edu) Received: (from gp@localhost) by oitunix.oit.umass.edu (8.9.1/8.9.1) id JAA00462 for multimedia@freebsd.org; Wed, 4 Nov 1998 09:52:38 -0500 (EST) (envelope-from gp) Message-ID: <19981104095238.A228@oit.umass.edu> Date: Wed, 4 Nov 1998 09:52:38 -0500 From: Greg Pavelcak To: multimedia@FreeBSD.ORG Subject: Recent kernel and broken WinTV Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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: rev 0x01 on pci0.0.0 chip1: rev 0x01 on pci0.1.0 ide_pci0: rev 0xc1 int a irq 14 on pci0.1.1 vga0: rev 0x00 on pci0.11.0 bktr0: rev 0x02 int a irq 11 on pci0.13.0 bti2c0: iicbb0: on bti2c0 iicbus0: on iicbb0 addr 0xf0 Probing for devices on iicbus0: iicsmb0: on iicbus0 smbus0: on iicsmb0 smbus1: on bti2c0 Intel Smart Video III/VideoLogic Captivator PCI, 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: on ppbus 0 nlpt0: Interrupt-driven port ppi0: on ppbus 0 lppps0: on ppbus 0 vpo0: on ppbus 0 vpo0: EPP 1.9 mode plip0: on ppbus 0 wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff on isa wdc0: unit 0 (wd0): , 32-bit, multi-block-16 wd0: 3090MB (6328665 sectors), 6697 cyls, 15 heads, 63 S/T, 512 B/S wdc0: unit 1 (atapi): , 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): , 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: sbxvi0 at ? drq 5 on isa snd0: sbmidi0 at 0x330 on isa snd0: awe0 at 0x620 on isa AWE32: not detected opl0 at 0x388 on isa snd0: 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: 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: rev 0x02 int a irq 11 on pci0.13.0 bti2c0: 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