From owner-freebsd-multimedia Sun Dec 6 15:33:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA17820 for freebsd-multimedia-outgoing; Sun, 6 Dec 1998 15:33:26 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA17806 for ; Sun, 6 Dec 1998 15:33:22 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id QAA00362; Sun, 6 Dec 1998 16:33:15 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199812062333.QAA00362@panzer.plutotech.com> Subject: Re: Hauppauge Wincast probe/detection problem In-Reply-To: <19981206125038.05063@breizh.prism.uvsq.fr> from Nicolas Souchu at "Dec 6, 98 12:50:38 pm" To: nsouch@teaser.fr (Nicolas Souchu) Date: Sun, 6 Dec 1998 16:33:15 -0700 (MST) Cc: multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nicolas Souchu wrote... > > On Sun, Dec 06, 1998 at 01:29:58AM -0700, Kenneth D. Merry wrote: > > > > > >I've been kinda lazy, and just upgraded my home system from -current as of > >October 26th to -current as of about December 3rd. > > > >My Hauppauge WinCast TV board probed fine with the old kernel, but now it > >doesn't probe correctly by default. I was able to get things to work by > >hard-coding things in my config file: > > > >options OVERRIDE_CARD=2 > >options OVERRIDE_TUNER=4 > > > >But I wonder why the autodetection broke. I dug through the bktr > >driver a bit, but figured I'd send some mail out and see if someone more > >familiar with the driver had some ideas. :) > > I pretty sure this is due to the boot probe of the I2C bus. Some chips do > not accept such random accesses. Please try the patch attached to this mail, > it removes boot probe and some unecessary boot logs. I tried things out with your patches, and without the overrides in my config file. Unfortunately, it didn't probe correctly: bktr0: rev 0x11 int a irq 17 on pci0.11.0 bti2c0: iicbb0 on bti2c0 iicbus0 on iicbb0 master-only smbus0 on bti2c0 smb0: on smbus0 addr 0x92 Miro TV, Temic NTSC tuner, dbx stereo. It should have said Hauppauge WinCast TV, Philips NTSC tuner. > > > >{panzer:/usr/home/ken/src/bt848:56:1} ./eeprom 0 48 > > > >EEProm contents, 0x00 thru 0x2f: > > > > 84 12 00 00 05 40 09 01 08 05 01 2f db 00 00 8c > > 09 00 00 00 00 84 0a 00 01 01 20 77 00 40 fb 17 > > 03 00 77 02 01 03 03 43 16 14 79 8c 00 00 00 00 > > > >The driver wouldn't let me read past 48. (just returned EIO) > > It should? Well, it did with the old (October 26th) kernel. Although the values after that point were all 0xff. Anyway, let me know if you want me to try anything else. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message