I see that this was discussed some back in September but I couldn't find
a resolution.

David Paschal has written user-space drivers for HP OfficeJets. When you
connect the OJ via USB, the current hotplug scripts will load the
printer.o module, but, it would also be helpful if it would start the
user-space daemons (and configure the print queues, etc.). I see that
you can put a script in /etc/hotplug/usb/printer which will be executed
after printer.o is loaded, however, there doesn't seem to be enough
information passed in from the hotplug invocation to extract the minor
device number of the newly plugged in device. (The user-space daemons
want to access /dev/usb/lp0, for example.)

Would it be possible (or reasonable) to add an ioctl to usbdevfs which
can ask for this information via the /proc/bus/usb/###/### interface? Or
should the printer.o module execute a user-space helper app to do this
configuration itself?

Thanks,
Allen

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to