Greg, On Feb 25, 2014, at 8:47 PM, Greg KH <greg@kroah.com> wrote:
... So you want to do this as a userspace library talking directly to the USB device through usbfs/libusb? Or should the kernel provide a basic "pipe-like" functionality to the hardware to make it easier for things to be queued up to the device?
libusb is enough.
Is there a pointer to the spec somewhere so that I can see what is needed here?
http://www.usb.org/developers/devclass_docs
Second, I want to suggest this as a Google Summer of Code project, asking for mentors on the kernel side. Mentoring Organization will be the Linux Foundation, hosting projects for both OpenPrinting and the kernel.
This will make an excellent SoC project, but you'll need someone familiar with Avahi, libusb, HTTP, systemd, and general networking for this. This isn't a kernel project.
That's a non-trivial set of experience to try to find, good luck :)
Agreed.
And why systemd? What is needed from it for this?
Just for the launch-on-demand functionality. Not absolutely required, but it helps to minimize the overall "weight" of the OS when you aren't printing constantly... _________________________________________________________ Michael Sweet, Senior Printing System Engineer, PWG Chair