Mailing List archive

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

[linux-dvb] Re: DVB-Dec Hauppauge! DEC 3000-S (Technotrend)



On Sunday 02 May 2004 16:55, Ernst Peinlich wrote:
> Alex Woods wrote:
> >>patch for get diseqc working.
> >
> >Thanks again for your help.
> >
> >>i get unknown IOCTL (0xC0307653) ??
> >
> >At what point and under what conditions?
> >
> >>scan and szap is working, but vdr ends with "usb_control/bulk timeout"
> >
> >With scan running you can use the dvr device successfully?
> >
> >Is it definitely this:
> >>+               u8 *b1 = (u8 *)arg;
> >>+               memcpy(&b[4],&b1[0],4);
> >
> >The arg is actually this structure:
> >
> >struct dvb_diseqc_master_cmd {
> >        __u8 msg [6];        /*  { framing, address, command, data [3] }
> > */ __u8 msg_len;        /*  valid values are 3...6  */
> >};
> >
> >This looks more correct to me, but I have no way to check:
> >
> >+                struct dvb_diseqc_master_cmd *cmd = arg;
> >+                memcpy(&b[2], cmd->msg, cmd->msg_len);
> >
> >Cheers,
> >Alex
>
> I agree, but
>
> +                memcpy(&b[4], cmd->msg, cmd->msg_len);
>
> so its the same as under windows (usb-sniff).

What happens when msg_len > 4?  Does it just tag the extra data to the end of 
the command?

Cheers,
Alex


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index