Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2004 14:33:31 -0500 (EST)
From:      John Wehle <john@feith.com>
To:        andreas@dahlen.ws
Cc:        multimedia@freebsd.org
Subject:   Re: Hauppauge WinTV PVR 250 for FreeBSD 5.2
Message-ID:  <200403271933.i2RJXVU06337@jwlab.FEITH.COM>

next in thread | raw e-mail | index | archive | help
> I got sound on some channels but not all, the one that I don't get sound
> from are using Nicam stereo. Do I need to do any special configuration
> to get Nicam to work?

Nope, no special configuration required.  However you do need to apply
the enclosed patch.  Let me know if that doesn't do it for you.

-- John
-----------------8<-----------------------8<------------------------------
*** sys/dev/cxm/cxm.h.ORIGINAL	Sat Mar 27 14:16:57 2004
--- sys/dev/cxm/cxm.h	Sat Mar 27 14:13:39 2004
*************** struct cxm_msp_setting {
*** 470,476 ****
  
  struct cxm_msp_command {
  	unsigned int nsettings;
! 	struct cxm_msp_setting settings[4];
  };
  
  int cxm_msp_init( struct cxm_softc *sc );
--- 470,476 ----
  
  struct cxm_msp_command {
  	unsigned int nsettings;
! 	struct cxm_msp_setting settings[5];
  };
  
  int cxm_msp_init( struct cxm_softc *sc );
*** sys/dev/cxm/cxm_audio.c.ORIGINAL	Thu Mar 18 01:57:25 2004
--- sys/dev/cxm/cxm_audio.c	Sat Mar 27 14:12:06 2004
***************
*** 69,75 ****
  
  static const struct cxm_msp_command
  msp343xG_init = {
! 	4,
  	{
  		/* Enable Automatic Sound Select */
  		{ CXM_MSP3400C_DEM, 0x0030, { 0x20, 0x03 } },
--- 69,75 ----
  
  static const struct cxm_msp_command
  msp343xG_init = {
! 	5,
  	{
  		/* Enable Automatic Sound Select */
  		{ CXM_MSP3400C_DEM, 0x0030, { 0x20, 0x03 } },
*************** msp343xG_init = {
*** 77,82 ****
--- 77,84 ----
  		{ CXM_MSP3400C_DFP, 0x000d, { 0x19, 0x00 } },
  		/* FM / AM Prescale = 100 Khz and FM Matrix = Sound A Mono  */
  		{ CXM_MSP3400C_DFP, 0x000e, { 0x24, 0x03 } },
+ 		/* NICAM Prescale = 9 dB  */
+ 		{ CXM_MSP3400C_DFP, 0x0010, { 0x5a, 0x00 } },
  		/* Enable Automatic Standard Select */
  		{ CXM_MSP3400C_DEM, 0x0020, { 0x00, 0x01 } },
  	}
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------



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