Search found 2 matches
- Tue Jun 07, 2016 1:20 am
- Forum: V-USB
- Topic: usbFunctionRead() not getting called
- Replies: 1
- Views: 3984
Re: usbFunctionRead() not getting called
Argh. Finally I figured out that bRequestType is not just i.e. USB_TYPE_VENDOR but three fields. From linux/usb/ch9.h: /* * USB directions * * This bit flag is used in endpoint descriptors' bEndpointAddress field. * It's also one of three fields in control requests bRequestType. */ #define USB_DIR_O...
- Mon Jun 06, 2016 2:09 pm
- Forum: V-USB
- Topic: usbFunctionRead() not getting called
- Replies: 1
- Views: 3984
usbFunctionRead() not getting called
Hello! I've build a simple USB device with an ATmega328p running at 12 MHz with a crystal, following the "typical circuit" on the V-USB homepage, but running at 5V with the two zener diodes at D+ and D-. It is running fine; it is detected very reliably on a Linux PC and my kernel USB drive...