Another little problem seems to occur in the updated 'usb-utils.tcz' extension:tc@box:~$ lsusb
lsusb: cannot open "/usr/local/share/usb.ids", No such file or directory
Bus 001 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 0627:0001
tc@box:~$
After a quick glance of the source code (i.e. 'lsusb.c') I could only assume that the compilation went without 'HAVE_LIBZ' enabled. Unfortunately when I did attempt to recreate this (via a "quick&dirty" build attempt using 'usbutils-0.91.tar.bz2') I "failed" insofar as I had "#define HAVE_LIBZ 1" in 'config.h' (after execution of ./configure --prefix=/usr/local). For my test I also had downloaded (and extracted) the latest 'usb.ids' (replacing the older file of the same name in the source directory). In my test the '/usr/local/share/usb.ids.gz' file was found and used, so the issue reported above could not be re-created.
Only then did I realize (after a lsusb -V) that the new extension was using '002' (instead of '0.91' which I had compiled). I had obviously not picked up on the progression of the version from 0.87, 0.90, 0.91 to 001, 002.
So another quick build test (this time with 'usbutils-002.tar.bz2') showed that the issue reported above is reproducible. Unfortunately I could not figure out from looking into the 'configure' script how to call it to prevent this from happening. The source code in 'lsusb.c' (and 'names.c') clearly expects the use of a 'HAVE_LIBZ' flag, and the 'configure' script of v0.91 seems to generate it provided the respective library is present. But the 'configure' script for v002 does not do the same (with the same library still present). And I could not quite work out between the use of 'HAVE_ZLIB' and 'USE_ZLIB' (and the absence of 'HAVE_LIBZ') in the script what the hell is going on here.
What I did instead is a bit of a fudge for building v002, but the result is at least as it should be. After ./configure --prefix=/usr/local I did
echo '#define HAVE_LIBZ 1' >> config.h && sed -i '/LIBS = $/s#$#-lz #' Makefile
followed by the same steps as done for the test build of v0.91 (i.e. make && sudo make install && sudo rm -f /usr/local/share/usb.ids).
Afterwards the "new" 'lsusb' worked as expected:tc@box:~$ hash -r
tc@box:~$ lsusb -V
lsusb (usbutils) 002
tc@box:~$ lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
tc@box:~$