Re: [Libusbx-devel] Crashes

2012-11-12 Thread Stefano Di Martino
Original-Nachricht > Datum: Mon, 12 Nov 2012 20:09:27 + > Von: Pete Batard > An: libusbx-devel@lists.sourceforge.net > Betreff: Re: [Libusbx-devel] Crashes > 1. What is the exact version of libusbx you are using (should be > something like 1.0.14.10586)? 1.0.14.10586 > 2

Re: [Libusbx-devel] Which removable drive matches which USB device?

2012-11-12 Thread therau2000
Thank you for your input... In my case, it is always a one-to-one match; all USB devices have only one partition formatted as FAT32. What is the API solution you were referring to? I might have to use ioctls for another purpose... On Mon, 2012-11-12 at 10:21 -0800, Tim Roberts wrote: > therau200

Re: [Libusbx-devel] Crashes

2012-11-12 Thread Pete Batard
Hi Stefano, On 2012.11.12 12:06, Stefano Di Martino wrote: > is this supposed to crash, when you don't free a list? > > for(i = 0; i < 100; i++) { > cnt = libusb_get_device_list(NULL, &devs); > if (cnt < 0) > return (int) cnt; > //if (i < 99) > //libusb_free_device

Re: [Libusbx-devel] Which removable drive matches which USB device?

2012-11-12 Thread Tim Roberts
therau2000 wrote: > > Several USB devices [all with different vendor/product-id, all > removable drives with different Volume names, all formatted FAT32] are > already connected when program starts. Windows does NOT display Volume > names; it displays only "removable drive" and the Drive letter for

[Libusbx-devel] Crashes

2012-11-12 Thread Stefano Di Martino
Hi, is this supposed to crash, when you don't free a list? for(i = 0; i < 100; i++) { cnt = libusb_get_device_list(NULL, &devs); if (cnt < 0) return (int) cnt; //if (i < 99) //libusb_free_device_list(devs, 1); } It crashes btw only, if I have a Cherry keyboard attached