> that one could query the device (via ioctl) to find out what output > format the data would be. Agreed. Alternatively (or in addition), calling ioctl() to set a parameter to a value that doesn't work with the camera in question should return a failure instead of asking the device to do emulation. --Patrick