I've hit an issue where I think libusb.tcz (1.0.8) with tinycore_3.7.1 isn't working for libusb-0.1. I have a small tool that is working under Ubuntu (10.10), it also works under Puppy 4.2.1:
$ ldd simpleloader
linux-gate.so.1 => (0x00ec0000)
libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0x008e4000)
libc.so.6 => /lib/libc.so.6 (0x0069f000)
/lib/ld-linux.so.2 (0x00625000)
where simpleloader is my libusb-0.1 based tool.
I tried using TC with libusb-0.1.so.4 copied from Ubunto into /lib, this works!
linux-gate.so.1 => (0xb76f2000)
libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0xb76e6000)
libc.so.6 => /lib/libc.so.6 (0xb75a3000)
/lib/ld-linux.so.2 (0xb76f3000)
When using libusb.tcz 1.0.8 from repo (tested 2011-07-24), on a fresh boot (i.e. no junk from copying shared libs around).
$ ldd ./simpleloader
linux-gate.so.1 => (0xb77d1000)
libusb-0.1.so.4 => /usr/local/lib/libusb-0.1.so.4 (0xb77ca000)
libc.so.6 => /lib/libc.so.6 (0xb7687000)
libusb-1.0.so.0 => /usr/local/lib/libusb-1.0.so.0 (0xb767d000)
librt.so.1 => /lib/librt.so.1 (0xb7674000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb765b000)
/lib/ld-linux.so.2 (0xb77d2000)
I get hangs after searching through the usb devices (searching works), opening appears to hang.
The tcz description mentions 0.1 compatability. I'm not 100% sure but I think Ubuntu (and Puppy Linux) may use a real 0.1 release.
Ubunto 10.10, according to apt, appears to use libusb-0.1-4 (I'm using Ubuntu version 2:0.1.12-15ubuntu2).
Is it possible to provide a real 0.1 release? I may have misunderstood the situation, I'm not that familar with libusb :-(
Is there any more information I can provided about this? The hardware I'm using is rather bespoke so I doubt anyone is going to have it just lying around to test with under TC (if you are interested it is idVendor=0x1043 idProduct=0x82B2 I'm experimenting with
http://code.google.com/p/dava33display ).
I'm working around my problem by using a pre-built libusb from Ubuntu but it maybe that others may hit this too.
Thanks!
Chris