Hello All,
This email is just to document my in-vane efforts to add support for my
ION Slider Forever film scanner.
Its USB Id: 0c45:6353
The weirdness of the UVC device is that is publishes 2 modes. Both in
YUYV, however closer inspection of the data shows that the
high-resolution frame is a Bayer BGGR patern, and the low-resolution is
YUVY. At the USB level (inspected with wireshark) this is what the
device tells the driver so its a bug in the device itself. The low-res
is actually working fine.
I made a QUIRK setting that would hopefully reverse the high-res and
low-res behaviour making the high-res work and the low-res broken.
Its published on:
https://github.com/Schramp/linux-writeblock/commit/34f8efd8db41aa90baf944b0371c9c015bc4d34f
Unfortunately it works only a bit: the decoding and formatting is fine,
but the white balance in the camera is moving away from the correct
colours in a matter of a few seconds. I haven't found a way to correct
that behaviour.
For all your reference:
The dmesg on a standard kernel:
[ 416.066239] usb 3-2: new high-speed USB device number 7 using
xhci_hcd
[ 416.433911] usb 3-2: New USB device found, idVendor=0c45,
idProduct=6353, bcdDevice= 1.50
[ 416.433913] usb 3-2: New USB device strings: Mfr=2, Product=1,
SerialNumber=0
[ 416.433914] usb 3-2: Product: USB Microscope
[ 416.433914] usb 3-2: Manufacturer: Winmax Corp.
[ 416.439710] uvcvideo: Probing generic UVC device 2
[ 416.441702] uvcvideo: Found format YUV 4:2:2 (YUYV).
[ 416.441703] uvcvideo: - 592x392 (30.0 fps)
[ 416.441703] uvcvideo: - 1184x1576 (5.0 fps)
After the patch:
[ 7608.448727] usb 3-2: new high-speed USB device number 15 using
xhci_hcd
[ 7608.815179] usb 3-2: New USB device found, idVendor=0c45,
idProduct=6353, bcdDevice= 1.50
[ 7608.815184] usb 3-2: New USB device strings: Mfr=2, Product=1,
SerialNumber=0
[ 7608.815185] usb 3-2: Product: USB Microscope
[ 7608.815186] usb 3-2: Manufacturer: Winmax Corp.
[ 7608.823248] uvcvideo: Probing known UVC device 2 (0c45:6353)
[ 7608.825550] uvcvideo: Forcing UVC_QUIRK_FORCE_BA81
[ 7608.825552] uvcvideo: Found format BGGR Bayer (BA81).
[ 7608.825552] uvcvideo: - 1184x392 (30.0 fps)
[ 7608.825554] uvcvideo: - 2368x1576 (5.0 fps)
I hope the information helps the community (or at least saves them from
re-inventing this broken wheel).
Best regards,
Ruud Schramp