|
From: Bertrik S. <be...@si...> - 2007-06-06 16:53:28
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stephan Meyer wrote: > Try to replace: > > uci = usb_claim_interface (udev, 0); > > with > > usb_set_configuation(udev, 1); > uci = usb_claim_interface (udev, 0); > > It should work then. I think I recently saw a recommendation on the libusb list to NOT do an explicit usb_set_configuration. If I remember correctly Linux already picks a configuration for you (usually devices only have one configuration anyway). What is the proper thing to do when writing something for both Linux and Windows? Bertrik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGZuZ5ETD6mlrWxPURAtnYAKC7W8MBiP9BX7T0hAO+FmkkYWwiTwCffRzX 8sYXDF1I8zqjbrFgAzgi3nA= =YZxP -----END PGP SIGNATURE----- |