From owner-freebsd-multimedia Sun Jun 14 08:36:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA15875 for freebsd-multimedia-outgoing; Sun, 14 Jun 1998 08:36:05 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [212.242.40.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA15806 for ; Sun, 14 Jun 1998 08:36:00 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id RAA07078; Sun, 14 Jun 1998 17:35:33 +0200 (CEST) (envelope-from sos) Message-Id: <199806141535.RAA07078@sos.freebsd.dk> Subject: Re: fxtv and audio ... (Avermedia) In-Reply-To: <19980614103837.A7510@ct.picker.com> from Randall Hopper at "Jun 14, 98 10:38:37 am" To: rhh@ct.picker.com (Randall Hopper) Date: Sun, 14 Jun 1998 17:35:33 +0200 (CEST) Cc: gmarco@giovannelli.it, multimedia@FreeBSD.ORG, hasty@rah.star-gate.com From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In reply to Randall Hopper who wrote: > > Hmm. This looks dangerously like something Soren found out with his > Avermedia back in April. Try changing this line in brooktree848.c: > > { "IMS TV Turbo", /* the 'name' */ > NULL, /* the tuner */ > 0, /* dbx is optional */ > 0, > PFC8582_WADDR, /* EEProm type */ > (u_char)(256 / EEPROMBLOCKSIZE), /* 256 bytes */ > - { 0x01, 0x02, 0x01, 0x00, 1 } } /* audio MUX values */ > + { 0x0c, 0x00, 0x0b, 0x0b, 1 } }, /* audio MUX values */ > What about committing those values?? Amancio ?? Patch included below... Index: brooktree848.c =================================================================== RCS file: /home/ncvs/src/sys/pci/brooktree848.c,v retrieving revision 1.41 diff -u -r1.41 brooktree848.c --- brooktree848.c 1998/06/07 17:12:36 1.41 +++ brooktree848.c 1998/06/07 18:34:22 @@ -944,7 +949,16 @@ 0, PFC8582_WADDR, /* EEProm type */ (u_char)(256 / EEPROMBLOCKSIZE), /* 256 bytes */ - { 0x01, 0x02, 0x01, 0x00, 1 } } /* audio MUX values */ + { 0x00, 0x02, 0x01, 0x01, 1 } }, /* audio MUX values */ + + /* CARD_AVER_MEDIA */ + { "AVer Media TV/FM", /* the 'name' */ + NULL, /* the tuner */ + 0, /* dbx is optional */ + 0, + 0, /* EEProm type */ + 0, /* EEProm size */ + { 0x0c, 0x00, 0x0b, 0x0b, 1 } }, /* audio MUX values */ }; struct bt848_card_sig bt848_card_signature[1]= { @@ -3478,7 +3492,6 @@ bt848->adc = SYNC_LEVEL; bt848->oform = 0x0; - /* Construct Write */ inst = OP_WRITE123 | OP_SOL | OP_EOL | (cols); @@ -4118,9 +4131,6 @@ return( 0 ); } - - - /* * get a signature of the card -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end? .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message