[linux-dvb] Sending diseqc commands on DST frontend

Philip Prindeville philipp_subx at redfish-solutions.com
Sat Oct 22 21:29:31 CEST 2005


I'm looking at:

static int dst_set_diseqc (struct dst_data *dst, u8 *cmd, u8 len)
{
        u8 paket[8] =  {0x00, 0x08, 0x04, 0xe0, 0x10, 0x38, 0xf0, 0xec };

        if (dst->dst_type == DST_TYPE_IS_TERR)
                return 0;

        if (len == 0 || len > 4)
                return -EINVAL;
        memcpy(&paket[3], cmd, len);
        paket[7] = dst_check_sum (&paket[0], 7);
        dst_command(dst, paket, 8);
        return 0;
}

in linuxtv-dvb-1.1.1/linux/drivers/media/dvb/frontends/dst.c
and I'm not sure why the limitation of 4 bytes length...  Isn't
the spec for up to 4 bytes of command plus framing and address,
i.e. 6 bytes total?

What am I missing?

-Philip





More information about the linux-dvb mailing list