Hi,
I`m hitting a wall ..and not sure why
Does following still applicable for using vtuner accesing SYS_DVBS2 with current kernel 3.2 and dm800se?
ZitatAlles anzeigendrivers dreambox-dvb-modules:
add possibilty for faster mode change via
FE_SET_PROPERTY DTV_DELIVERY_SYSTEM ioctl
Is following correct interpretation of the above ?
Code
#include <linux/dvb/frontend.h>
struct dtv_property prop [] = {
{ .cmd = DTV_DELIVERY_SYSTEM, .u.data = SYS_DVBS2 }, /* Select DVB-S2 */
{ .cmd = DTV_FREQUENCY, .u.data = frequency }, /* Set frequency */
{ .cmd = DTV_SYMBOL_RATE, .u.data = srate }, /* Set symbol rate */
{ .cmd = DTV_TUNE }, /* now actually tune to that frequency (no parameters needed) */
};
struct dtv_properties props = {
.num = 4, /* The number of commands in the array */
.props = prop /* Pointer to the array */
};
if ((ioctl(myfd, FE_SET_PROPERTY, &props)) == -1) {
perror("FE_SET_PROPERTY failed");
}
Alles anzeigen
Used it countless times but user-space app FE_SET_PROPERTY failing with invalid argument when trying to tune.
Please help - so I can move on with it.
cu