Re: Compro T750F...Huh? unknown DVB card?, frontend initialization failed

2009-04-13 Thread Andrew Reay
Hi again Hermann,

Your instructions were clear and easy to follow...but still no joy.
This time ending with;
[   12.291399] saa7133[0]/dvb: Huh? unknown DVB card?
[   12.291402] saa7133[0]/dvb: frontend initialization failed

I installed mercurial by;
sudo apt-get install mercurial linux-headers-$(uname -r) build-essential

I deleted the existing v4l-dvb folder and got the latest one;
hg clone http://linuxtv.org/hg/v4l-dvb

I changed to the newly created v4l-dvb folder;
cd v4l-dvb

I edited the saa7134-cards.c file in the v4l-dvb folder tree, obscuring
the card from the gpio remotes, as I am not worried about the remote
functionality at this stage;
case SAA7134_BOARD_VIDEOMATE_DVBT_300:
case SAA7134_BOARD_VIDEOMATE_DVBT_200:
case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
/*  case SAA7134_BOARD_VIDEOMATE_T750:*/

I compiled the new modules from source;
sudo make

I unloaded the old modules;
sudo make rmmod

I deleted the media folder from 
/lib/modules/2.6.28-11-generic/kernel/drivers

I installed the new kernel driver modules;
sudo make install

and rebooted.

The attached text file are dmesg logs with xc3028-v27.fw not
in /lib/firmware and present in /lib/firmware.

Thanks again, for your help.
Andrew


-Original Message-
From: hermann pitton hermann-pit...@arcor.de
To: Andrew Reay cert...@tpg.com.au, John Newbigin j...@it.swin.edu.au
Cc: linux-media@vger.kernel.org
Subject: Re: Compro T750F not working yet...BUG: unable to handle kernel
paging request at fff4
Date: Sat, 11 Apr 2009 13:08:44 +0200
Mailer: Evolution 2.12.3 (2.12.3-5.fc8) 

Hi Andrew,

the card has in saa7134-dvb.c still a FIXME: does anyone know the
demodulator on it or something like that.

The oops is because the card is set in saa7134-cards.c as gpio remote.

int saa7134_board_init1(struct saa7134_dev *dev)
{
/* Always print gpio, often manufacturers encode tuner type and other 
info. */
saa_writel(SAA7134_GPIO_GPMODE0  2, 0);
dev-gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0  2);
printk(KERN_INFO %s: board init: gpio is %x\n, dev-name, 
dev-gpio_value);

switch (dev-board) {
case SAA7134_BOARD_FLYVIDEO2000:
case SAA7134_BOARD_FLYVIDEO3000:
case SAA7134_BOARD_FLYVIDEO3000_NTSC:
dev-has_remote = SAA7134_REMOTE_GPIO;
board_flyvideo(dev);
break;
case SAA7134_BOARD_FLYTVPLATINUM_MINI2:

case SAA7134_BOARD_VIDEOMATE_TV_PVR:
case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
case SAA7134_BOARD_VIDEOMATE_DVBT_300:
case SAA7134_BOARD_VIDEOMATE_DVBT_200:
case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
case SAA7134_BOARD_VIDEOMATE_T750:
case SAA7134_BOARD_MANLI_MTV001:

But in saa7134-input.c in the function below is nothing for it.

int saa7134_input_init1(struct saa7134_dev *dev)
{
struct card_ir *ir;
struct input_dev *input_dev;
IR_KEYTAB_TYPE *ir_codes = NULL;
u32 mask_keycode = 0;
u32 mask_keydown = 0;
u32 mask_keyup   = 0;
int polling  = 0;
int rc5_gpio = 0;
int nec_gpio = 0;
int ir_type  = IR_TYPE_OTHER;
int err;

if (dev-has_remote != SAA7134_REMOTE_GPIO)
return -ENODEV;
if (disable_ir)
return -ENODEV;

/* detect  configure */
switch (dev-board) {
case SAA7134_BOARD_FLYVIDEO2000:
case SAA7134_BOARD_FLYVIDEO3000:
case SAA7134_BOARD_FLYTVPLATINUM_FM:
case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
ir_codes = ir_codes_flyvideo;
mask_keycode = 0xEC0;
mask_keydown = 0x004;
break;
.
.
.
case SAA7134_BOARD_VIDEOMATE_TV_PVR:
case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
ir_codes = ir_codes_videomate_tv_pvr;
mask_keycode = 0x3F;
mask_keyup   = 0x40;
polling  = 50; // ms
break;
case SAA7134_BOARD_PROTEUS_2309:
ir_codes = ir_codes_proteus_2309;
mask_keycode = 0x7F;
mask_keyup   = 0x80;
polling  = 50; // ms
break;
case SAA7134_BOARD_VIDEOMATE_DVBT_300:
case SAA7134_BOARD_VIDEOMATE_DVBT_200:
ir_codes = ir_codes_videomate_tv_pvr;
mask_keycode = 0x003F00;
mask_keyup   = 0x04;
break;
case SAA7134_BOARD_FLYDVBS_LR300:
case SAA7134_BOARD_FLYDVBT_LR301:
.
.
.
break;
case SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG:
ir_codes = ir_codes_kworld_plus_tv_analog;
mask_keycode = 0x7f;
polling = 40; /* ms */
break;
 

Re: Compro T750F...Huh? unknown DVB card?, frontend initialization failed

2009-04-13 Thread hermann pitton
Hi Andrew,

just a short reply for now.

Am Montag, den 13.04.2009, 20:46 +1000 schrieb Andrew Reay:
 Hi again Hermann,
 
 Your instructions were clear and easy to follow...but still no joy.
 This time ending with;
 [   12.291399] saa7133[0]/dvb: Huh? unknown DVB card?
 [   12.291402] saa7133[0]/dvb: frontend initialization failed
 
 I installed mercurial by;
 sudo apt-get install mercurial linux-headers-$(uname -r)
 build-essential
 
 I deleted the existing v4l-dvb folder and got the latest one;
 hg clone http://linuxtv.org/hg/v4l-dvb
 
 I changed to the newly created v4l-dvb folder;
 cd v4l-dvb
 
 I edited the saa7134-cards.c file in the v4l-dvb folder tree,
 obscuring
 the card from the gpio remotes, as I am not worried about the remote
 functionality at this stage;
 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
 /*  case SAA7134_BOARD_VIDEOMATE_T750:*/
 
 I compiled the new modules from source;
 sudo make
 
 I unloaded the old modules;
 sudo make rmmod
 
 I deleted the media folder from 
 /lib/modules/2.6.28-11-generic/kernel/drivers
 
 I installed the new kernel driver modules;
 sudo make install
 
 and rebooted.
 
 The attached text file are dmesg logs with xc3028-v27.fw not
 in /lib/firmware and present in /lib/firmware.
 
 Thanks again, for your help.
 Andrew
 
 
 -Original Message-
 From: hermann pitton hermann-pit...@arcor.de
 To: Andrew Reay cert...@tpg.com.au, John Newbigin
 j...@it.swin.edu.au
 Cc: linux-media@vger.kernel.org
 Subject: Re: Compro T750F not working yet...BUG: unable to handle
 kernel
 paging request at fff4
 Date: Sat, 11 Apr 2009 13:08:44 +0200
 Mailer: Evolution 2.12.3 (2.12.3-5.fc8) 
 
 Hi Andrew,
 
 the card has in saa7134-dvb.c still a FIXME: does anyone know the
 demodulator on it or something like that.
 
 The oops is because the card is set in saa7134-cards.c as gpio remote.

[snip]

OK, that one is gone.

 
 
 
 
 
 
 einfaches
 Textdokument-Anlage (dmesg_dumps.txt)
 
 [   11.458398] Linux video capture interface: v2.00
 [   11.548414] saa7130/34: v4l2 driver version 0.2.15 loaded
 [   11.548913] ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
 [   11.548926] saa7134 :04:08.0: PCI INT A - Link[APC1] - GSI 16
 (level, low) - IRQ 16
 [   11.548932] saa7133[0]: found at :04:08.0, rev: 209, irq: 16,
 latency: 32, mmio: 0xfdbfe000
 [   11.548938] saa7133[0]: subsystem: 185b:c900, board: Compro
 VideoMate T750 [card=139,autodetected]
 [   11.549120] saa7133[0]: board init: gpio is 84bf00
 [   11.685878] ACPI: PCI Interrupt Link [APC7] enabled at IRQ 16
 [   11.685885] nvidia :00:05.0: PCI INT A - Link[APC7] - GSI 16
 (level, low) - IRQ 16
 [   11.685891] nvidia :00:05.0: setting latency timer to 64
 [   11.686255] NVRM: loading NVIDIA UNIX x86 Kernel Module  180.44
 Mon Mar 23 14:59:10 PST 2009
 [   11.712025] saa7133[0]: i2c eeprom 00: 5b 18 00 c9 54 20 1c 00 43
 43 a9 1c 55 d2 b2 92
 [   11.712036] saa7133[0]: i2c eeprom 10: 00 ff 86 0f ff 20 ff ff ff
 ff ff ff ff ff ff ff
 [   11.712044] saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 03 01 08
 ff 00 87 ff ff ff ff
 [   11.712053] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [   11.712061] saa7133[0]: i2c eeprom 40: ff d7 00 c4 86 1e 05 ff 02
 c2 ff 01 c6 ff 05 ff
 [   11.712069] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff cb
 [   11.712077] saa7133[0]: i2c eeprom 60: 35 ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [   11.712085] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [   11.712092] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [   11.712100] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [   11.712108] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [   11.712116] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [   11.712124] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [   11.712132] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [   11.712140] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [   11.712148] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff
 ff ff ff ff ff ff ff
 [   11.754105] ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 23
 [   11.754112] HDA Intel :00:10.1: PCI INT B - Link[AAZA] - GSI
 23 (level, low) - IRQ 23
 [   11.754168] HDA Intel :00:10.1: setting latency timer to 64
 [   11.780091] tuner 2-0062: chip found @ 0xc4 (saa7133[0])
 [   11.819521] xc2028 2-0062: creating new instance
 [   11.819525] xc2028 2-0062: type set to XCeive xc2028/xc3028 tuner
 [   11.819535] i2c-adapter i2c-2: firmware: requesting xc3028-v27.fw
 [   11.850254] xc2028 2-0062: Error: firmware xc3028-v27.fw not found.
 [   11.850262] i2c-adapter i2c-2: firmware: requesting