I want to use the Cypress PSoC microcontroller to communicate over USB with the UDOO imx6. Prefer to use a Generic HID interface in UDOObuntu. Can someone point me to some example code where I can get started on the linux side of things? I am trying to create an interface GUI using UDOO that will control a number of different things in the PSoC. UDOO will be host and PSoC the device.
http://www.libusb.org/ would be a good way to do it. I don't know specifics of Generic HID interface, but basically you will have to specify functions that will communicate with USB endpoints. There are many tutorials over the internet for that. However, I don't know, if libusb is included in UDOO's Linux or at the repository, so probably you will have to build it by yourself.