[PATCH] pnp.ids

David Zeuthen david at fubar.dk
Mon Feb 7 08:50:16 PST 2005


Hi,

No, I still don't think it make sense to distribute this file with hal; 
the only thing it does, in my view, is to increase complexity since we 
would need code to open/read/close yet another file. We can already do 
the same with device information files; we really don't need another 
format. Do you disagree?

Actually, I've been considering giving the pci.ids and usb.ids the same 
treatment; write a script that converts the files to a table (.h file) 
and use that for look-up in hald. While doing that we should change the 
look-up to use a binary search also or whatever to do better than O(n). 
If someone got a patch for this, I'd be happy to take it :-)

Cheers,
David
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list