Re: [Libusbx-devel] Question about libusb_get_pollfds?

2012-07-09 Thread Peter Stuge
Kevyn-Alexandre Paré wrote: > > Data never becomes available. > > The application asks the device to send data, when the application > > knows that data is supposed to be available in the device. > > Agree, in my case I send data to an FPGA and I'm always expecting to > receive data from it. The a

Re: [Libusbx-devel] Question about libusb_get_pollfds?

2012-07-09 Thread Kevyn-Alexandre Paré
Hi Peter, On 2012-07-07, at 5:31 AM, Peter Stuge wrote: > Kevyn-Alexandre Paré wrote: >> 3- In the callback I need to know what the FD is referring to and >> take action, ex: data is ready to be read for the FD of bulk >> transfer. > > This is a misunderstanding of USB. Maybe... > Data never b

Re: [Libusbx-devel] [PATCH 2/2] libusb-1.0.def: remove "LIBRARY" line

2012-07-09 Thread Uri Lublin
On 07/05/2012 10:17 PM, Pete Batard wrote: > On 2012.07.05 13:55, Uri Lublin wrote: >> .libs/libusbredirhost_la-usbredirhost.o: In function >> `usbredirhost_send_device_connect': >> ../src/usbredirhost/usbredirhost.c:356: undefined reference to >> `libusb_get_device_speed@4' > Wouldn't th

Re: [Libusbx-devel] libusb segfaults - causes pcscd to crash

2012-07-09 Thread sebastiank
Hi, I’ll give you a short summary, on what I did so far: - I installed the latest version of libusb-1.0-0 (libusbx 1.0.12 - debian package) - I set up rsyslog and logrotate like Pete suggested - I modified the /etc/init.d/pcscd script -> ‘export LIBUSB_DEBUG=3’ - I created the file /etc/default/p