Gerd Knorr (kraxel@xxxxxxxxxxx): > On Wed, Sep 24, 2003 at 10:50:21AM -0500, Billy Biggs wrote: > > Isaac Richards pointed out to me that it seems like the latest V4L2 > > patches break binary compatibility. In > > http://bytesex.org/patches/2.6.0-test5-2/20_v4l2-2.6.0-test5.diff > > > > -#define VIDIOC_S_PARM _IOW ('V', 22, struct v4l2_streamparm) > > +#define VIDIOC_S_PARM _IOWR ('V', 22, struct v4l2_streamparm) > > > > -#define VIDIOC_S_CTRL _IOW ('V', 28, struct v4l2_control) > > +#define VIDIOC_S_CTRL _IOWR ('V', 28, struct v4l2_control) > > > > What happened? I fear this will break many apps. > > It doesn't. Check the complete diff. There also is ... > > +#define VIDIOC_S_PARM_OLD _IOW ('V', 22, struct v4l2_streamparm) > +#define VIDIOC_S_CTRL_OLD _IOW ('V', 28, struct v4l2_control) > > ... and the new video_fix_command() function which maps > VIDIOC_FOOBAR_OLD to VIDIOC_FOOBAR. > > The patched kernel accepts both old and new ioctls. Great !! Thanks for clearing this up. -Billy