[linux-dvb] Mantis VP-1027/VP-1033/VP-1034/VP-2033/VP-3033

Pauli Borodulin Pauli at Borodulin.fi
Sat Oct 7 15:00:16 CEST 2006


Heya!

Manu Abraham wrote:
> [...]
>> --------------------------- 8< 8< 8< -------------------------------
>> boro at vdr:/var/lib/video$ czap "YLE TV1"
>> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
>>   1 YLE TV1:418000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_128:512:650:17
>>   1 YLE TV1: f 418000000, s 6900000, i 2, fec 0, qam 4, v 0x200, a 0x28a

> QAM4 when you have asked it to use QAM128, that 's one bug in there.

That "qam 4" should be okay, I get the same output even for my second DVB
card. I think that "qam 4" refers to the qam setting's index, not the actual
QAM number. For example, from cu1216.c (had to modify the snippet a bit to
prevent wrapping...):

--------------------------- 8< 8< 8< -------------------------------
static void cu1216_set_QAM(struct dvb_frontend *fe, u8  bQAM)
{
        struct cu1216_state *state = fe->demodulator_priv;

        AC_TypeQAM_T sTypeQAM[] = {
                { 0x14, 120, 0x78, 114, 0x96 },  /* 4 QAM    <=> qam=0   */
                { 0x00, 140, 0x6e, 162, 0x91 },  /* 16 QAM   <=> qam=1   */
                { 0x04, 140, 0x4b, 116, 0x96 },  /* 32 QAM   <=> qam=2   */
                { 0x08, 106, 0x37, 67, 0x6a  },  /* 64 QAM   <=> qam=3   */
                { 0x0c, 120, 0x2d, 52, 0x7e  },  /* 128 QAM  <=> qam=4   */
                { 0x10, 92, 0x23, 35, 0x6b   },  /* 256 QAM  <=> qam=5   */
        };
--------------------------- 8< 8< 8< -------------------------------


Br,
-- 
Pauli Borodulin <pauli at borodulin.fi>
gsm. +358 (0) 44 5555 381
http://pauli.borodulin.fi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20061007/dbfbd5dd/signature.pgp


More information about the linux-dvb mailing list