I've been testing udev from systemd-196.  I have been able to build and 
install it with some changes to the LFS Makefile. One new capability is 
that it has it's own hw database instead of lspci and lsusb.

The raw db files go in /usr/lib/udev/hwdb.d/ and /etc/udev/hwdb.d/. 
These files are indexed by usevadm --update and the index is stored in 
/etc/udev/hwdb.bin.

I'm not sure I did it correctly because the hwdb.bin is only 105 bytes 
and the raw files (6 of them) total about 4 MB.

I'm also not sure about how to test the DB.  The new man page says

udevadm hwdb --test=string

     Query the database with a modalias string, and print the retrieved 
properties.

I'm not sure what modalias string it is talking about.

Note that I am still in chroot and the udevd is not yet tested/running.

Any help in figuring out how this is supposed to work would be 
appreciated.  In the meantime, I'll be browsing source...

Another question,  Should we change /usr/lib/udev/hwdb.d/ to 
/lib/udev/hwdb.d/ to be with the other udev files?

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to