HID-Data without libusb?

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
chris1

HID-Data without libusb?

Post by chris1 » Tue Jun 09, 2009 11:30 pm

Hi there,

I'm trying to write data to a HID-Data device (like this in the download-package of v-usb) with C#, Enumerating and Opening the Device works fine but when I try to do a HidD_SetOutputReport or HidD_SetFeature I always get false as a return code and my device doesn't seem react on the commands.
There is a some kind of debug in my AVR-side code which toggles a LED when usbFunctionSetup is called - but the LED does never toggle.

Is there any trick for the Reports?

The demo program uses usb_control_msg of libUSB for the data-transfer but I want to avoid that lib because I've experienced trouble on some machines with it. Is there a native way (only windows) to send data to the USB-device?

Post Reply