I have the card, and have been working for the last month with Hans.
We have it working... as of 0.3.7g... but you must patch the code...

The latest 0.3.7k is what I'm using, and I posted a patch file.
Here it is again.

Get 0.3.7k from Hans web site if Chris hasn't put it on the official one...

Note:  My /etc/modprobe.conf, don't need to specify cardtype anymore.
Actually don't need any cx25840 options. But I'm running debug for testing still.

options cx25840 debug=1
options ivtv tuner=57

Robert

Brian Litzinger wrote:

On Mon, Aug 29, 2005 at 09:33:49PM -0400, Chris Cobb wrote:
has anyone had any luck getting this card running? i've been trying for a while now and still have no audio. i'm using the rom file from the included windows installation cd.

Well depending on exactly which version of the ivtv driver you are
using you may need to

modprobe cx25840 cardtype=1

That cardtype is different than the cardtype defined for other modules.

However, I heard rumors that with very recent version of the driver
that may no longer be necessary.


*** cx25840-driver.c    2005-08-26 16:46:40.000000000 -0500
--- cx25840-driver.c.orig       2005-08-21 09:51:45.000000000 -0500
***************
*** 507,522 ****
          case DECODER_SET_CARD_TYPE:
          {
                  cardtype = *(int *)arg;
-               CX25840_DEBUG("Setting cardtype to %d\n",
-                     cardtype);
-               switch (cardtype) {
-               case 0:
-                       cx25840_input_layout = pvr150_input_layout;
-                       break;
-               case 1:
-                       cx25840_input_layout = pg600_input_layout;
-                       break;
-               }
                  break;
          }
  
--- 507,512 ----
***************
*** 716,726 ****
                case CX25840_TUNER:
                        CX25840_DEBUG("now setting Tuner input\n");
                        CX25840_SET_CH_1__SOURCE(cardtype == 1 ? 0x01 : 0x06);
!                       CX25840_SET_PWR_DN_CH3(0x01);
!                       CX25840_SET_PWR_DN_CH2(0x00);
!                       CX25840_SET_CH_2__SOURCE(0x01);
                        CX25840_SET_PWR_DN_ADC2(0x00);
!                       CX25840_SET_CH_SEL_ADC2(0x00);
                        CX25840_SET_INPUT_MODE(0x00);
                        break;
  
--- 706,716 ----
                case CX25840_TUNER:
                        CX25840_DEBUG("now setting Tuner input\n");
                        CX25840_SET_CH_1__SOURCE(cardtype == 1 ? 0x01 : 0x06);
!                       CX25840_SET_PWR_DN_CH2(0x01);
!                       CX25840_SET_PWR_DN_CH3(0x00);
!                       CX25840_SET_CH_3__SOURCE(0x01);
                        CX25840_SET_PWR_DN_ADC2(0x00);
!                       CX25840_SET_CH_SEL_ADC2(0x01);
                        CX25840_SET_INPUT_MODE(0x00);
                        break;
  
***************
*** 1148,1155 ****
        state->audio = DECODER_AUDIO_48_KHZ;
        state->audio_input = -1;
  
-       CX25840_DEBUG("Setting input_layout while cardtype is set to %d\n",
-             cardtype);
        switch (cardtype) {
        case 0:
                cx25840_input_layout = pvr150_input_layout;
--- 1138,1143 ----

Reply via email to