[PATCH] pnp.ids

Sjoerd Simons sjoerd at luon.net
Mon Feb 7 13:37:46 PST 2005


On Mon, Feb 07, 2005 at 11:50:16AM -0500, David Zeuthen wrote:
> 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 :-)

What's wrong with using files with fdi-like format for this.. Hal already has a
parser for those and it's so much more flexible..

But then again, i've got a dislike for data build into binaries :)

  Sjoerd
-- 
In theory, there is no difference between theory and practice.  In practice,
there is.
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list