On Mi, 2016-03-16 at 21:22 +0100, Stefan Weil wrote:
> This is a hack to support compilation with Mingw-w64 which provides
> a libusb-1.0 package, but no poll.h.
>
> Signed-off-by: Stefan Weil
> ---
>
> I did not test whether this USB host code works on Windows,
> but at least it compiles with t
This is a hack to support compilation with Mingw-w64 which provides
a libusb-1.0 package, but no poll.h.
Signed-off-by: Stefan Weil
---
I did not test whether this USB host code works on Windows,
but at least it compiles with this hack.
Suggestions for a better fix are welcome.
Regards,
Stefan
When I use usb_add, I get:
USBDEVFS_DISCONNECT: Inappropriate ioctl for device
This is with snapshot from 2005-11-11, on Debian testing, kernel 2.6.13
(with 1000Hz timer).
The patch below fixes this (plainly taken from
http://www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg35550.h
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fabrice Bellard schrieb:
> Lonnie Mendez wrote:
>
>> On Saturday 05 November 2005 11:10 am, Fabrice Bellard wrote:
>>
>>> 1) The host OS must not use the USB device. It means in particular
>>> that no host OS driver must be present for that device. Th