Hello all, I'm setting up a device driver for a GPIB (IEEE-488) interface. GPIB is a General-Purpose Interface Bus (hence the name) which enables connection of arbitrary peripherals to a PC. It's used primarily to support automated test facilities in manufacturing environments.
Each interface can support up to 30 peripheral devices (hard limit per the GPIB spec), which can include hard drives, keyboards, printers, etc. My design will support up to eight interfaces (arbitrary limit). I need to map peripherals to user-visible nodes like /dev/prn0 or /dev/usb/prn0. I don't know how to register the driver for these nodes since the configuration is defined by user software. The only access to the driver from user space appears to be through the open() or ioctl() functions, but the driver must already be registered for a node before being called. Seems to be a chicken-and-egg problem ??? Also, these mappings must persist through unplugging and replugging of interfaces, regardless of the order in which this is done, since the external bus is hard-wired. Any help would be much appreciated. Leigh Bassett ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
