Re: ni_usb with multiple devices
Frank Mori Hess <[email protected]>
| Newsgroups | gmane.linux.hardware.gpib.general |
|---|---|
| Message-ID | <CAJz5OpcvXPww_L_7PC3xcOwoHAArH3E+5_MGWL2Q-Wk8xZhNJQ@mail.gmail.com> |
On Thu, Dec 6, 2018 at 2:46 AM dave penkler <[email protected]> wrote: > > BTW there is support for multiple cards in the USB hotplug scripts. See cut and paste from INSTALL below: > > Using multiple-boards of the same type with hotplug requires > udev support: In the hotplug scripts you can use either the > serial number $SERIAL or the device path $DEVPATH to decide It doesn't seem robust though, for example during boot when two devices may appear nearly simultaneously. Really, the SERIAL/DEVPATH should be passed to gpib_config and the driver would use them to verify it has found the correct board.