Network Device Drivers
Jump to navigation
Jump to search
Driver Selection for Device
Driver selected for the device in two steps. On first step, server pass device information to each driver’s isPotentialDevice method. This method should return 0 if driver cannot support this device or priority in range 1 - 255 if device can be potentially supported. On second step, server calls method isDeviceSupported for each driver which responds positively on first step, going from highest priority drivers to lowest priority drivers. First driver responding with true is selected as driver for the device. If no drivers was selected, built-in generic driver will be used.