Martin Ling wrote:
> It seems like it would be good to have some sort of shared "pre-scan"
> for usable hardware (serial ports, USB devices, and whatever else).

Yes.

libsigrok supports only very few types of enumerations (because there
aren't very many types of enumerations) and I agree that it's much
better to look for all devices only once, build a list of potentially
known ones and finally let each driver pick their potential device(s)
from that list.

Also consider how libsigrok will deal with devices being hotplugged.
(Hot unplug is easy, hotplug requires libsigrok to be able to notify
the frontend that a new device is now available.)


//Peter

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to