James Fidell
2015-01-27 12:26:06 UTC
This is a UVC camera that generates the following messages when plugged
in (on my Mint 17 machine running kernel 3.13.0)
[16334.963038] usb 4-1.4: new SuperSpeed USB device number 4 using xhci_hcd
[16334.979611] usb 4-1.4: New USB device found, idVendor=199e,
idProduct=8458
[16334.979616] usb 4-1.4: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[16334.979619] usb 4-1.4: Product: SKYRIS 132C
[16334.979621] usb 4-1.4: Manufacturer: Celestron
[16334.979623] usb 4-1.4: SerialNumber: 19414148
[16335.039354] uvcvideo: Unknown video format
47425247-0000-0010-8000-00aa00389b71
[16335.039360] uvcvideo: Found UVC 1.10 device SKYRIS 132C (199e:8458)
[16335.040330] usbcore: registered new interface driver uvcvideo
[16335.040332] USB Video Class driver (1.1.1)
I want to use that video format. It's GRBG 8-bit raw colour. Do I
just need to add a new entry in uvcvideo.h:
#define UVC_GUID_FORMAT_SGRBG8 \
{ 'G', 'R', 'B', 'G', 0x00, 0x00, 0x00, 0x10, \
0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
and something like:
{
.name = "GRBG 8-bit",
.guid = UVC_GUID_FORMAT_SGRBG8,
.fcc = V4L2_PIX_FMT_SGRBG8,
},
to the uvc_fmts array in uvc_video.c, or are changes also required
elsewhere?
Thanks,
James
in (on my Mint 17 machine running kernel 3.13.0)
[16334.963038] usb 4-1.4: new SuperSpeed USB device number 4 using xhci_hcd
[16334.979611] usb 4-1.4: New USB device found, idVendor=199e,
idProduct=8458
[16334.979616] usb 4-1.4: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[16334.979619] usb 4-1.4: Product: SKYRIS 132C
[16334.979621] usb 4-1.4: Manufacturer: Celestron
[16334.979623] usb 4-1.4: SerialNumber: 19414148
[16335.039354] uvcvideo: Unknown video format
47425247-0000-0010-8000-00aa00389b71
[16335.039360] uvcvideo: Found UVC 1.10 device SKYRIS 132C (199e:8458)
[16335.040330] usbcore: registered new interface driver uvcvideo
[16335.040332] USB Video Class driver (1.1.1)
I want to use that video format. It's GRBG 8-bit raw colour. Do I
just need to add a new entry in uvcvideo.h:
#define UVC_GUID_FORMAT_SGRBG8 \
{ 'G', 'R', 'B', 'G', 0x00, 0x00, 0x00, 0x10, \
0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
and something like:
{
.name = "GRBG 8-bit",
.guid = UVC_GUID_FORMAT_SGRBG8,
.fcc = V4L2_PIX_FMT_SGRBG8,
},
to the uvc_fmts array in uvc_video.c, or are changes also required
elsewhere?
Thanks,
James