General question on using USB Host

Using:

//Subscribe to USBH events.

USBHostController.DeviceConnectedEvent += DeviceConnectedEvent;
USBHostController.DeviceDisconnectedEvent += DeviceDisconnectedEvent;

Received in Visual Visual Studio 2010 Debug output window:

" Using mainboard GHIElectronics-FEZSpider version 1.0
Program Started
UsbHost ERROR : USB device not supported. "

I assume this is because of GHIElectronics.NETMF.USBHost.USBHostController.NO_INTERFACE_ASSOCIATED when creating the events.

Is this error normal or should I be doing something different?

Thanks!

What device do you have connected?

Gus

Thanks for the reply.

I am using a Logitech 3D PRO joystick. I have just started making my Spider application and at this point I can receive all 12 buttons and Y/Y data. Have not tried Z yet.

All is working OK up to this point. I was just wondering if it was a normal error or something else.

Joysticks are supported but not sure if the “gadgeteer” drivers expose it.

I suggest you do not add USB Host to the gasdgeteer designer and then code USB Host directly GHI Electronics – Where Hardware Meets Software