Bad eeprom on Hauppage Bt878 card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

I've been trying to watch TV with my Hauppage card after not having
cable TV for a long time. Now, it's not working any more. It seems
like the eeprom is bad:

Linux video capture interface: v1.00
bttv: driver version 0.9.11 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Host bridge is 0000:00:00.0
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 2) at 0000:00:0b.0, irq: 10, latency: 32, mmio: 0xe3820000
bttv0: using: BT878( *** UNKNOWN/GENERIC **) [card=0,autodetected]
bttv: readee error
bttv0: using tuner=-1
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found

I was wondering if anyone has a comparable card (Hauppage NTSC bt878
circa about 2001, with no FM tuner but an IR receiver) so I could
steal the contents of the eeprom. I attached a program I found called
"readee" that should dump the contents of the eeprom but might be too
old to work properly.

If anyone knows better than I do what might be wrong or how to fix it,
I'd love to hear.
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include "bttv.h"

int fbttv;
char *bttvname="/dev/video";
unsigned char tvee[256];

int main(void)
{
  int i;
  
  if ((fbttv=open(bttvname,O_RDWR)) < 0) {
    fprintf(stderr, "Cannot open %s\n", bttvname);
    exit(1);
  }
  if( ioctl(fbttv, BTTV_READEE, tvee)) {
    perror("Cannot read EEPROM");
    exit(2);
  }

  /* On my card only the first 40 bytes are interesting */
  printf ("unsigned char tvee[256] = {");
  for (i=0; i<256; i++) {
    if (!(i&7))
      printf ("\n");
    printf ("0x%02x, ", tvee[i]);
  }
  printf ("\n};\n");

  close(fbttv);
  return 0;
}



[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux