Opened 2 years ago

Last modified 2 years ago

#13506 new enhancement

Write a driver for Mars USB cameras

Reported by: richienyhus Owned by: nobody
Priority: low Milestone:
Component: Add-Ons/Media Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

MarsCam should be a part of the modular webcam driver.

Chips include the: mr97311a and mr97310a.

Change History (3)

comment:1 Changed 2 years ago by pulkomandy

Are you sure it is useful to have each of these in a separate ticket? Do you own the hardware to test them? Are there programming specifications? Or are these standard UVC webcams, which is the standard way to do webcams for USB and what we should focus on? (a single driver to rule them all).

comment:2 in reply to:  1 Changed 2 years ago by richienyhus

Replying to pulkomandy:

Are you sure it is useful to have each of these in a separate ticket? Do you own the hardware to test them? Are there programming specifications? Or are these standard UVC webcams, which is the standard way to do webcams for USB and what we should focus on? (a single driver to rule them all).

As these tickets are for controller chipsets families and not individual camera devices, mixing them all into one ticket would be confusing, and that is before adding information about the different chips versions and the different sensors that they use.

While I have a few of them, we either don't yet have a driver for them or their sub-driver is currently broken and not building. Some of the chips have an easy to find datasheets, while others will require us to borrow some GPL code from the Linux driver to ever hope of getting it running.

None of these are UVC compliant chipsets (apart a few chips had compliant revisions made), all UVC compliant devices should be covered under the UVCCam sub-driver, which is missing a large number of device IDs.

comment:3 Changed 2 years ago by pulkomandy

The nice thing about UVC is we can detect it by other means than the device IDs, using the device class. Basically the device says itself "I'm a standard webcam". We need some adjustments to do this (handling per-interface classes in the driver, for example).

I think we should put our priority on the standard UVC driver, as implementing all custom chips will take a lot of time and I hope everyone will eventually switch to UVC.

Note: See TracTickets for help on using tickets.