]> sigrok.org Git - libsigrok.git/commitdiff
hwdriver: introduce SR_CONF_FORCE_DETECT config key (scan option)
authorGerhard Sittig <redacted>
Sat, 1 Aug 2020 15:12:50 +0000 (17:12 +0200)
committerGerhard Sittig <redacted>
Sat, 22 Aug 2020 07:10:29 +0000 (09:10 +0200)
Often previously unsupported models might be covered by existing code,
but would not match against a builtin list of known devices.

Introduce a config key which provides a scan option for users to force
the use of a driver with an unsupported device. This increases the
probability of requests for support of an additional model which are
associated with a successful use of that very device, and eliminates
the necessity to build from source for the trivial cases.

It's up to individual drivers whether they support forced detection,
and how they interpret the value of the scan option.


No differences found