Search found 5 matches

by miroslav.talasek
Tue May 20, 2008 8:00 pm
Forum: V-USB
Topic: Adding Interrupt OUT to powerSwitch.
Replies: 11
Views: 9756

my host code is usb_init(); if(usbOpenDevice(&handle, USBDEV_SHARED_VENDOR, USBDEV_SHARED_PRODUCT) != 0){ fprintf(stderr, "Could not find USB device \"PowerSwitch\" with vid=0x%x pid=0x%x\n", USBDEV_SHARED_VENDOR, USBDEV_SHARED_PRODUCT); e...
by miroslav.talasek
Tue May 20, 2008 8:05 am
Forum: V-USB
Topic: Adding Interrupt OUT to powerSwitch.
Replies: 11
Views: 9756

I buils my own descriptor with 2 endpoints in lsusb now i can see Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 0 (Defined at Interface level) bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor...
by miroslav.talasek
Mon May 19, 2008 1:52 pm
Forum: V-USB
Topic: Bulk OUT endpoint (usbFunctionWriteOut)
Replies: 1
Views: 3831

Bulk OUT endpoint (usbFunctionWriteOut)

i want use endpoint 2 to writeOut bulk but id doesnt work i have void usbFunctionWriteOut(uchar *data, uchar len){ .... } and #define USB_CFG_IMPLEMENT_FN_WRITEOUT 1 but lsusb -v return Bus 004 Device 100: ID 16c0:3e08 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDe...
by miroslav.talasek
Mon May 19, 2008 10:58 am
Forum: V-USB
Topic: Adding Interrupt OUT to powerSwitch.
Replies: 11
Views: 9756

it is not a solution , it must work !
by miroslav.talasek
Mon May 19, 2008 8:28 am
Forum: V-USB
Topic: Adding Interrupt OUT to powerSwitch.
Replies: 11
Views: 9756

I have similar problem but i want use endpoint 2 to writeOut i have void usbFunctionWriteOut(uchar *data, uchar len){ .... } and #define USB_CFG_IMPLEMENT_FN_WRITEOUT 1 but lsusb -v return Bus 004 Device 100: ID 16c0:3e08 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 ...