Hey, In the interest of making those protocol/logic analysers more easily accessible to Linux users, I've started working on adding user-access rules for those devices to the upstream systemd.
The first question is whether protocol analyser is a good name for the type of devices that Sigrok supports: https://github.com/systemd/systemd/pull/20527#issuecomment-908480725 Is a digital oscilloscope a protocol analyser? Is ID_ANALYSIS_INSTRUMENT a better name? Second question relates to the contents of 60-libsigrok.rules, which I've only just started looking at. The rules file only tags a limited number of USBTMC-capable devices, but the code in the plugin seems to be compatible with any device with the right interface. Should all the devices with a USBTMC interface be tagged, or just the ones listed? The condition is pretty straight forward: ENV{ID_USB_INTERFACES}=="*:fe0301:*" The question applies to all the other devices/drivers with similar checks in the rules file too. Given that the devices don't have kernel device driver with a specific device node for the interface we're interested in, we need to give access to the whole device. Is there a reason not to want to block whole device access on a device that has a protocol analyser functionality? Cheers PS: Resent after subscription. _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel