USB multifunction

David Zeuthen david at fubar.dk
Fri Aug 13 11:32:25 PDT 2004


On Fri, 2004-08-13 at 19:30 +0200, Kay Sievers wrote:
> What attributes we want for these devices besides the sysfs path and the
> udev device node?
> 

Well, just like we do for other class devices in the kernel, we want
export properties about these on the hal device object representing the
USB interface. So, I guess you need to look at what Linux driver gets
bound to each USB interface, write code to merge the properties you want
(like e.g. serial_port.device), add the capability 'serial_port' and
document this in the spec.

I would guess, looking from the picture of the device (there's a printer
icon right next to the female DSUB25 connector) and your screenshot (it
says USB Printing Interface which means that it's USB device class
0x07), that the usblp driver gets bound if you hotplug the adapter with
a parallel port printer attached to the DSUB25 connector. Ideally, what
we want is this hal device object to look no different that another USB
printer.

Cheers,
David

_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list