Hello,

        I'm trying to build a little piece of code that comes from NetBSD.
Target is Windows 10 Enterprise (64 bits) and up to date Cygwin.

        My code is linked with readline, and statically linked with a
cryptographic library, sqlite and libcyusbserial (a Cypress library that
is provided by Cypress). I have build libcyusbserial on NetBSD and Linux
and both libraries run as expected. This last library uses libusb 1.0.

        Under cygwin, I have built my program without trouble, but it is not
usable.

$ lsusb
...
Bus 001 Device 003: ID 04b4:0004 Cypress Semiconductor Corp.
Bus 001 Device 003: ID 04b4:0004 Cypress Semiconductor Corp.
...

        Device appears twice as is contains two different end points. Now, I
try to run my code.

$ ./sonde 1
...
CY:Error in opening the device... Libusb error is -12
CyGetDeviceInfo failure (3)

        I have tried to execute this code as administrator with the same
result. I don't understand why lubusb returns an error.

        Help will be welcome,

        JKB

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to