It is great to see the interest in keeping sigrok alive! It fills an important function and I really hope it will be kept alive.
I recently implemented a device driver for an FPGA based LA board I developed. It was difficult because documentation is incomplete and in the end reverse engineering of existing drivers was the only way forward. If those with knowledge in this area have time to document the current device driver API it would be of tremendous help for those who want to add hardware support. I still don't understand how the API really works (I just made it work for me), had no time to reverse engineer libsigrok, so I can't really contribute unfortunately. Regards, Mike > On Oct 15, 2025, at 4:06 PM, Ladislav Laska <[email protected]> wrote: > > Hi! > > There is some basic documentation on the wiki: > > https://sigrok.org/wiki/Hardware_driver_API > > I personally don't find the API that bad, though I would prefer if this > could be C++, that is a matter of choice. > > The API seems pretty straightforward, however I have never implemented a > device, so I can't tell if there are hidden issues underneath (I expect > there are some nasty hacks/workarounds when people tried to implement > something "smart"). > > It'd be nice if we could get a pointer to the issues Soeren has with the > API (I don't know where that quote came from and don't want to look > through all of this messages, googling the quote gets me this > thread... I'd be to happy to read the relevant conversation if you can > link it). Perhaps this can be improved somehow, or we can at least be > aware of the problems. (many of API issues can be fixed by a little bit > of documentation and a discipline -- not saying this is or is not the > case). > > Cheers, > Ladislav > > On Wed, Oct 15, 2025 at 09:08:19AM +0200, Steve Schnepp wrote: >> On Mon, Oct 13, 2025 at 11:44 AM Soeren Apel <[email protected]> wrote: >>> The two core issues for me are that libsigrok's architecture is >>> fundamentally outdated and that it is *impossible* for me to review and >>> merge changes to libsigrok device drivers. >> >> Is there a documented API for device drivers to implement ? >> >> -- >> Steve Schnepp > > -- > S pozdravem Ladislav "Krakonoš" Láska http://www.krakonos.org/ > > > _______________________________________________ > sigrok-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sigrok-devel _______________________________________________ sigrok-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sigrok-devel

