From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 25 22:20:09 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FD8C16A420 for ; Fri, 25 Nov 2005 22:20:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5703143D49 for ; Fri, 25 Nov 2005 22:20:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAPMK12b048390 for ; Fri, 25 Nov 2005 22:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAPMK1ek048389; Fri, 25 Nov 2005 22:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 25 Nov 2005 22:20:01 GMT Resent-Message-Id: <200511252220.jAPMK1ek048389@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Danny Pansters Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23F4916A41F for ; Fri, 25 Nov 2005 22:11:13 +0000 (GMT) (envelope-from danny@ricin.com) Received: from smtpq1.groni1.gr.home.nl (smtpq1.groni1.gr.home.nl [213.51.130.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82CB443D5D for ; Fri, 25 Nov 2005 22:11:12 +0000 (GMT) (envelope-from danny@ricin.com) Received: from [213.51.130.190] (port=48869 helo=smtp1.groni1.gr.home.nl) by smtpq1.groni1.gr.home.nl with esmtp (Exim 4.30) id 1Eflmg-0002Ak-Ra for FreeBSD-gnats-submit@freebsd.org; Fri, 25 Nov 2005 23:11:10 +0100 Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.215.228]:52619) by smtp1.groni1.gr.home.nl with smtp (Exim 4.30) id 1Eflmd-0007nb-QH for FreeBSD-gnats-submit@freebsd.org; Fri, 25 Nov 2005 23:11:07 +0100 Received: by cp464173-a.dbsch1.nb.home.nl (sSMTP sendmail emulation); Fri, 25 Nov 2005 23:09:00 +0000 Message-Id: <20051125221112.82CB443D5D@mx1.FreeBSD.org> Date: Fri, 25 Nov 2005 23:09:00 +0000 From: "Danny Pansters" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/89553: bktr: going from 5.3 -> 6.0 winTV card not properly recognised X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Danny Pansters List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2005 22:20:09 -0000 >Number: 89553 >Category: kern >Synopsis: bktr: going from 5.3 -> 6.0 winTV card not properly recognised >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 25 22:20:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Danny Pansters >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD desktop.homenet 6.0-STABLE FreeBSD 6.0-STABLE #6: Sat Nov 5 19:10:14 UTC 2005 danny@desktop.homenet:/usr/obj/usr/src/sys/DESKTOP i386 Hardware: Hauppauge WinTV, year 2000 Tuner: WinTV PAL-B/G-I 44354 Rev A242 Capture: Conexant Bt878KHF >Description: On 6.0: bktr0: Warning - card vendor 0x0272 (model 0x13eb) unknown. On 5.3: bktr0: Hauppauge Model 44354 A242 Obviously the vendor must be 0x0070, Hauppauge. On 6.0 when compiled into the kernel with the correct overrides, the driver shows the right model but TV apps still fail. >How-To-Repeat: Test with said hardware on said FreeBSD versions. >Fix: Workaround: --- bktr_card.c.diff begins here --- --- bktr_card.c.orig Sat Nov 5 18:51:41 2005 +++ bktr_card.c Sat Nov 5 18:56:46 2005 @@ -593,6 +593,7 @@ #define PCI_VENDOR_IODATA 0x10fc #define PCI_VENDOR_PINNACLE_ALT 0xBD11 /* They got their own ID backwards? */ #define PCI_VENDOR_PINNACLE_NEW 0x11BD +#define PCI_VENDOR_HAUPPAUGE_ALT 0x0272 #define MODEL_IODATA_GV_BCTV3_PCI 0x4020 @@ -685,7 +686,8 @@ goto checkTuner; } - if (subsystem_vendor_id == PCI_VENDOR_HAUPPAUGE) { + if ((subsystem_vendor_id == PCI_VENDOR_HAUPPAUGE) + || (subsystem_vendor_id == PCI_VENDOR_HAUPPAUGE_ALT)) { bktr->card = cards[ (card = CARD_HAUPPAUGE) ]; bktr->card.eepromAddr = eeprom_i2c_address; bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE); --- bktr_card.c.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: