[linux-dvb] help with HD5000 (noobe)

Mike Krufky mkrufky at linuxtv.org
Tue Sep 27 23:50:56 CEST 2005


Todd wrote:

> I am trying to sort out what is important to worry about and what is 
> not.  I am running:
> hd5000-cleanup.patch
> Kernel source linux-2.6.13.2
> Debian unstable
>  
> In my dmesg I am seeing:
> w83627hf 2-0290: Invalid sensor type 3; must be 1, 2, or 3435
> b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded 
> successfully
> flexcop-pci: will use the HW PID filter.
> flexcop-pci: card revision 2
> ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 20 (level, low) -> IRQ 23
> DVB: registering new adapter (FlexCop Digital TV device).
> b2c2-flexcop: MAC address = 00:d0:d7:0e:6c:c0
> b2c2-flexcop: i2c master_xfer failed
> b2c2-flexcop: i2c master_xfer failed
> b2c2-flexcop: i2c master_xfer failed
> mt352_read_register: readreg error (reg=127, ret==-121)
> b2c2-flexcop: i2c master_xfer failed
> i2c_readbytes: i2c read error (addr 0a, err == -121)
> b2c2-flexcop: found the lgdt3303 at i2c address: 0x59
> DVB: registering frontend 0 (LG Electronics LGDT3303 VSB/QAM Frontend)...
> b2c2-flexcop: initialization of 'Air2PC/AirStar 2 ATSC 3rd generation 
> (HD5000)' at the 'PCI' bus controlled by a 'FlexCopIIb' complete
> *Are the "i2c master_xfer failed" messages a problem?  If so, what 
> might be causing this?  In mythTV setup when I setup the card as DVB I 
> get "Card Name:  Could not get card info"...and channel scanning is a 
> broken mess.  I am trying to figure out how far back in the error 
> messages to start trying to debug.*
>  

Todd-

The HD5000 patch WILL NOT work against a vanilla 2.6.13.y kernel.  The 
reason for this is because Patrick's check-callback patch on lgdt330x 
hasnt been merged into the mainline kernel yet at that point.  It is, 
however, included in 2.6.14-rc1.

Instead, I recommend that you should download dvb-kernel cvs, and apply 
the HD5000 patch against dvb-kernel cvs, then compile THAT against 
2.6.13.y ... THAT should work for you.

If you are unable to get that done, then you can try to apply the 
following patch against your tree... Here is the check-callback patch 
that I was talking about:


===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/frontends/lgdt330x.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- dvb-kernel/linux/drivers/media/dvb/frontends/lgdt330x.c	2005/08/14 15:28:01	1.8
+++ dvb-kernel/linux/drivers/media/dvb/frontends/lgdt330x.c	2005/08/14 15:31:24	1.9
@@ -378,12 +378,14 @@
 		/* Select the requested mode */
 		i2c_write_demod_bytes(state, top_ctrl_cfg,
 				      sizeof(top_ctrl_cfg));
-		state->config->set_ts_params(fe, 0);
+		if (state->config->set_ts_params)
+			state->config->set_ts_params(fe, 0);
 		state->current_modulation = param->u.vsb.modulation;
 	}
 
 	/* Tune to the specified frequency */
-	state->config->pll_set(fe, param);
+	if (state->config->pll_set)
+		state->config->pll_set(fe, param);
 
 	/* Keep track of the new frequency */
 	/* FIXME this is the wrong way to do this...           */




Good Luck.

-- 
Michael Krufky





More information about the linux-dvb mailing list