On Wednesday 04 January 2006 07:57, Oliver Endriss wrote: > Oliver Endriss wrote: > > I need an interface to pass WSS data from userspace to the av7110 > > driver[1]. In videodev2.h there are some definitions but the > > comment > > > > does not sound very promising: > > | /* Sliced VBI > > | * > > | * This implements is a proposal V4L2 API to allow SLICED VBI > > | * required for some hardware encoders. It should change without > > | * notice in the definitive implementation. > > | */ > > > > And , according to the V4L2 API spec rev 0.8, > > 'This interface is not yet implemented in v4l2'. > > > > I wonder whether I should invent an av7110-specific ioctl or use > > this interface. Any comments? > > Hans Verkuil wrote: > > Use this interface. The next V4L2 API spec will contain the updated > > documentation. I'll mail you the specs off-list. See the saa7127.c > > module for an example on how this interface is used. > > Ok, here we go. Patch for the saa7146/av7110 driver: > http://www.escape-edv.de/endriss/dvb/v4l-dvb-wss-v2.diff > I hope that I implemented the API correctly. ;-) > > This is a small tool which I wrote for testing: > http://www.escape-edv.de/endriss/dvb/wsstest.c Speaking only of the sliced VBI changes: that looks good to me. Hans