Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 1998 17:35:33 +0200 (CEST)
From:      Søren Schmidt <sos@FreeBSD.ORG>
To:        rhh@ct.picker.com (Randall Hopper)
Cc:        gmarco@giovannelli.it, multimedia@FreeBSD.ORG, hasty@rah.star-gate.com
Subject:   Re: fxtv and audio ... (Avermedia)
Message-ID:  <199806141535.RAA07078@sos.freebsd.dk>
In-Reply-To: <19980614103837.A7510@ct.picker.com> from Randall Hopper at "Jun 14, 98 10:38:37 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806141535.RAA07078>