GORAN RADIVOJEVIC wrote: > > My previous experience with USB was PIC 18F4550 and HID device so > sorry if I ask something obvious. > I have a problem with AVR32 UC3A0512 device and Vendor class. Hardware > is EVK1100 clone (WaveShare EVK3A). > I manage to build firmware with AtmelStudio 6 and install driver > (libUSBwin32 or libUSBK). Device is visible by > Windows without any warning. When I try xusb.exe from example folder > my device is listed with two interfaces > (0 without endpoints and 1 with two endpoints: interuput and isochronous).
Is it really two interfaces? Or is it one interface with two alternate settings? There is a big difference. > In my host PC application when I try > to set active interface 1 I got error (from UC3A debug printout > message is USB_REQ_TYPE_STANDARD). What was the error? > From what I read my host app must activate Vendor device by sending > USB_REQ_TYPE_VENDOR request with > appropriate alt configuration number? No. Vendor requests have nothing to do with vendor-class devices. You can have vendor requests even on standard class devices. My blind guess is that you were trying to claim interface 1, when you should have been claiming interface 0 with alternate setting 1. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel