Mailing List archive

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

[linux-dvb] Re: Frontend-specific ioctl's



Patrick Boettcher wrote:
> What would be the best way to implement a frontend-specific ioctl (or 
> another access possibility) for accessing special and specific demod-data 
> from user level? Maybe a dedicated /dev-node?

What would that ioctl do?

You could add an ioctl func ptr to struct dvb_frontend_ops, and
call it (when !NULL) from dvb_frontend_ioctl().

If you need it only for debugging frontends connected via i2c
you could maybe just use i2c-dev. "cat /sys/class/i2c-dev/i2c-?/name"
will tell you which is the right adapter.

Johannes




Home | Main Index | Thread Index