Hi Patrick, I tested all you patches with my integrated uvideo(4) device.
... uvideo0 at uhub0 port 8 configuration 1 interface 0 "SunplusIT Inc Integrated Camera" rev 2.01/54.20 addr 9 video0 at uvideo0 ... addr 09: 5986:2115 SunplusIT Inc, Integrated Camera high speed, power 500 mA, config 1, rev 54.20 driver: uvideo0 My device don't need your patches to work, but at least they doesn't break it :) Your diffs looks ok for me, but I'm not a USB expert. Just a nitpick: There is a spacing mistake in the definition of the new macro UVIDEO_FORMAT_GUID_KSMEDIA_L8_IR and in the two above. We may fix them while here?! Bye, Jan Index: uvideo.h =================================================================== RCS file: /cvs/src/sys/dev/usb/uvideo.h,v retrieving revision 1.57 diff -u -p -r1.57 uvideo.h --- uvideo.h 9 Jul 2015 14:58:32 -0000 1.57 +++ uvideo.h 8 Jul 2019 20:08:07 -0000 @@ -302,11 +302,15 @@ struct usb_video_probe_commit { #define UVIDEO_FORMAT_GUID_NV12 { \ 0x4e, 0x56, 0x31, 0x32, 0x00, 0x00, 0x10, 0x00, \ - 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71 } + 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71 } #define UVIDEO_FORMAT_GUID_UYVY { \ 0x55, 0x59, 0x56, 0x59, 0x00, 0x00, 0x10, 0x00, \ - 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71 } + 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71 } + +#define UVIDEO_FORMAT_GUID_KSMEDIA_L8_IR { \ + 0x32, 0x00, 0x00, 0x00, 0x02, 0x00, 0x10, 0x00, \ + 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71 } /* * USB Video Payload MJPEG