52 lines
1.7 KiB
Plaintext
52 lines
1.7 KiB
Plaintext
*
|
|
* ECPPLP - speedracer/sn0 parallel port
|
|
*
|
|
*FLAG PREFIX SOFT #DEV DEPENDENCIES
|
|
cdR plp - -
|
|
|
|
+thread_class parallel
|
|
|
|
$$$
|
|
|
|
/*
|
|
* plpopmode defines the operation mode of /dev/plp
|
|
* The following values can be given:
|
|
*
|
|
* 0: Compatibility Mode (non-FIFO)
|
|
* 4: Compatibility Mode (FIFO) (This is the default mode)
|
|
* 6: ECP (Extended Capabilities Port) Mode (Output Only, Input not supported)
|
|
*/
|
|
int plpopmode = 4;
|
|
|
|
/*
|
|
* plpwardelay can be useful for some printers (e.g. HP DeskJet 1600C)
|
|
* to avoid data corruption in Compatibility FIFO Mode.
|
|
* Value given is specified in ms. If the value is negative,
|
|
* the driver will always (force) delay. If positive the
|
|
* driver will conditionally delay as detected by the driver.
|
|
*/
|
|
int plpwardelay = 0;
|
|
|
|
/*
|
|
* The following parameters apply to non-FIFO compatibility mode
|
|
* (mode 1) only. In general, this mode should only be used for
|
|
* slower devices which are not operating correctly with the default
|
|
* FIFO mode.
|
|
*
|
|
* plpStrobeDelay - Minimum delay in us between byte strobes.
|
|
* default = 5 us
|
|
* plpRetryDelay1 - Delay in 10 ms ticks if device is still busy after
|
|
* plpStrobeDelay.
|
|
* default = 1 tick (10 ms)
|
|
* plpNumRetries1 - Number of retries to attempt initially.
|
|
* default = 100
|
|
* plpRetryDelay2 - Delay in 10 ms ticks if device remains busy after
|
|
* plpNumRetries1 * plpRetryDelay1 ticks; in case,
|
|
* for example, the device is offline.
|
|
* default = 100 (1 s)
|
|
*/
|
|
int plpStrobeDelay = 5;
|
|
int plpRetryDelay1 = 1;
|
|
int plpNumRetries1 = 100;
|
|
int plpRetryDelay2 = 100;
|