lkml.org 
[lkml]   [2002]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Parallel Port and USB Device Drivers
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.061 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site