libUSB + Gadget Zero?

  • Thread starter Thread starter gudenau
  • Start date Start date
  • Views Views 1,252
  • Replies Replies 2

gudenau

Largely ignored
Member
Joined
Jul 7, 2010
Messages
4,111
Reaction score
4,482
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
7,863
Country
United States
I have a Raspberry Pi Zero that has the Gadget Zero module installed, it shows up just fine on my Windows 10 computer and I was able to install libUSB drivers for it just fine. My problem is that every time I try to use libUSB to send the eight bytes "0001020304050607" and read it back the IN endpoint always returns saying it's not found. I'm using endpoints 0x01 and 0x81. When I try to use the setConfiguration method it's always an illegal parameter as well.

Does anyone have a good simple example for using Gadget Zero with libUSB?
 

Site & Scene News

Popular threads in this forum