.fdi files and HAL
Joe Shaw
joeshaw at novell.com
Mon Jun 7 16:59:54 PDT 2004
On Tue, 2004-06-08 at 01:55 +0200, David Zeuthen wrote:
> On Tue, 2004-06-08 at 01:40, Joe Shaw wrote:
> > On Tue, 2004-06-08 at 00:41 +0200, Colin Marquardt wrote:
> > > > Also, is *every* device uniquely identifiable by its PCI/USB product_id?
> > >
> > > At least not for USB IDs, unfortunately. There are many digicams out
> > > there that share the same USB Product ID, and I hear it's the same
> > > for scanners.
> >
> > Printers too. :( All Epson Stylus printers have the same USB IDs... you
> > have to use a special printer protocol to get a stringified
> > representation of the exact model.
> >
>
> But we do this today, yeah? So we can actually match on this in the .fdi
> file, right?
Oh yeah. We're cool, baby, we're cool.
I meant it mainly as an example that the USB/PCI IDs aren't always 100%
unique.
You can match on it, but you have to match on it as a string as opposed
to a numeric ID, which is always a little nastier.
Joe
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list