Re: Parallel Port and USB Device Drivers

From: Brad Hards (bhards@bigpond.net.au)
Date: Wed Jun 12 2002 - 00:39:57 EST


On Wed, 12 Jun 2002 15:28, Adam Luchjenbroers wrote:
> Could someone tell me where I can find some documentation regarding
> implementing LPT and USB device drivers.
USB Printer Class spec + USS720 data sheet + a quick search of drivers/usb for
files called printer.c and uss720.c might help.

> Also, is it possible to have a function called timed to the LPT output
> (since LPT data rates are very slow it would be more efficient for the
> driver to be called when the port is ready to output the next byte instead
> of having it perform a few delay loops).
You normally get buffering with the device.

> Any information regarding how I'd go about building these drivers as kernel
> modules would be nice.
CONFIG_USB_PRINTER=m
CONFIG_USB_USS720=m
is probably enough :)

Brad

-- 
http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:24 EST