If any of you are trying to use gutenprint with USB printers, it would
probably be useful to at least read this diff, and probably merge it
into FreeBSD.

When I started, I read diffs from FreeBSD's ulpt to NetBSD's, and
concluded that FreeBSD's was a lightly-modified (kernel infrastructure
issues) version of an older version of NetBSD's.  I think a remerge is
in order.  I'd be happy to answer questions if anyone works on this.

--- Begin Message ---
Module Name:    src
Committed By:   gdt
Date:           Tue Jan  8 00:58:10 UTC 2008

Modified Files:
        src/sys/dev/usb: ulpt.c

Log Message:
Support FIONBIO.

Support non-blocking reads from USB printers.  With this, escputil can
query the printer model, and I can print a test page with gutenprint
5.1 and cups.   Add many comments explaining why the support is not
quite right.  (This change is quite a bit less invasive than a
"correct" fix, and thus more reasonable to pull up to netbsd-4.)

Rototill debugging, so that all DPRINTFN have a level, and so that the
message is printed if the debug level is >= the number in the source
code.  Document debug level plan.

Fix bug where only one status change would be printed (by inspection,
not tested).

Document scheme for reading/discarding data when ulpt(4) is opened for
write only.

Delete dead code.

Plan and patch posted on tech-kern without objections.


To generate a diff of this commit:
cvs rdiff -r1.78 -r1.79 src/sys/dev/usb/ulpt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


--- End Message ---
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to