Mailing List archive

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

[linux-dvb] 0.9.4 driver with NEWSTRUCT firmware anyone?




Hi all,

i've tried to use the 0.9.4 driver together with the NEWSTRUCT firmware, 
i.e. i took the 0.9.4 archive, checked out the NEWSTRUCT branch and copied 
Dpram and Root. I then changed "buf[3] = mode;" to "buf[3] = 0xb96a;". 
However, this does not work. I'm not getting anything from the DVR device.

My test program (which is the program from the API documentation) 
essentially consists of:

pesFilterParams.pid = vpid;
pesFilterParams.input = DMX_IN_FRONTEND;
pesFilterParams.output = DMX_OUT_TS_TAP;
pesFilterParams.pesType = DMX_PES_VIDEO;
pesFilterParams.flags = DMX_IMMEDIATE_START;
(if...) ioctl(demux1, DMX_SET_PES_FILTER, &pesFilterParams);

pesFilterParams.pid = apid;
pesFilterParams.input = DMX_IN_FRONTEND;
pesFilterParams.output = DMX_OUT_TS_TAP;
pesFilterParams.pesType = DMX_PES_AUDIO;
pesFilterParams.flags = DMX_IMMEDIATE_START;
(if...) ioctl(demux2, DMX_SET_PES_FILTER, &pesFilterParams);

dvr = open(DVR, O_RDONLY|O_NONBLOCK);
read(dvr, buf, BUFFY);

I'm using a Siemens DVB-C card (the very first revision I think). Using 
the 0.9.4 firmware works fine. Using the NEWSTRUCT firmware without the 
buf[] change also works fine. I want to get the COMPLETE TS though.

Any ideas?

Cheers, Jonny <jonny@1409.org>




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



Home | Main Index | Thread Index