Two methods:
1. create an interface for each device (see viewtopic.php?f=8&t=2911)
2. define two reports in a single HID report descriptor (there should be examples of that in the reference/public projects)
Search found 162 matches
- Thu Jun 25, 2009 1:15 am
- Forum: V-USB
- Topic: joystick with mouse? [ resolved ]
- Replies: 7
- Views: 6856
- Wed Jun 24, 2009 8:33 am
- Forum: V-USB
- Topic: How to implement two interface (composite device)?
- Replies: 10
- Views: 8877
Re: How to implement two interface (composite device)?
I am trying to implement two different interface in a single device, Not using ReportID, i.e. there should be two different interface descriptor each containing HID and endpoint descriptor, each HID descriptor has its Report descriptor(say one for keyboard with boot capabilities and the other is mo...
- Wed Jun 24, 2009 8:19 am
- Forum: V-USB
- Topic: Question about pin configuration of the USB for ATMEGA1281
- Replies: 3
- Views: 3907
Re: Question about pin configuration of the USB for ATMEGA1281
Looks good, make sure you setup usbconfig.h accordingly. BTW, you will need a 1.5K pullup resistor on D- to V+ or, alternatively, a port pin. From the usbconfig.h file: /* ---------------------------- Hardware Config ---------------------------- */ #define USB_CFG_IOPORTNAME D /* This is the port wh...
- Wed Jun 24, 2009 8:14 am
- Forum: V-USB
- Topic: avr309 help
- Replies: 4
- Views: 3693
Re: avr309 help
V-USB is very well documented actually. You may want to take a closer look at the v-usb distribution package..
- Mon Apr 13, 2009 6:37 pm
- Forum: V-USB
- Topic: Voltage Question
- Replies: 6
- Views: 4935
Re: Voltage Question
That were physically the same Z-diodes and the same USB port tho. Odd, I better recheck that.
- Mon Apr 13, 2009 4:37 am
- Forum: V-USB
- Topic: avrusb with external power source
- Replies: 2
- Views: 2801
Re: avrusb with external power source
Most self-powered devices seem to request 2mA (smallest value possible) via config descriptor for that reason it seems.
- Mon Apr 13, 2009 4:32 am
- Forum: V-USB
- Topic: Voltage Question
- Replies: 6
- Views: 4935
Re: Voltage Question
2k2 worked for me w/ mega8 & tinyX61 devices. I tested a bit, 6k8 still works w/ m8, 2k2 is pretty much max. for the tinys (trying to minimize power use.. )
- Tue Apr 07, 2009 7:32 pm
- Forum: V-USB
- Topic: bootloadHID atmega128
- Replies: 7
- Views: 7698
Re: bootloadHID atmega128
i think maybe i dont need a far pointer address Correct. You only need the far access w/ devices that have more than 64k of FLASH memory. In other words: If a device doesn't have the RAMPZ (extended Z-pointer) register you don't need far access. #if defined(RAMPZ) [use far routines] #else [use norm...
- Wed Apr 01, 2009 3:39 am
- Forum: V-USB
- Topic: swithcing from atmeg8 to atmega168
- Replies: 17
- Views: 14386
Re: swithcing from atmeg8 to atmega168
Check out Replacing ATmega8 by ATmega88 , Migrating between ATmega48, ATmega88 and ATmega168 , and Migrating from ATmega48/88 and ATmega48P/88P to ATmega48PA/88PA . Also, IIRC the electrical specs for the I/O pins are different betw. the 8 and 88. If you use Z-diodes on D+/D-, they HAVE to be 3V6/<=...
- Sat Mar 28, 2009 2:08 am
- Forum: V-USB
- Topic: about avrusb library
- Replies: 11
- Views: 8172
Re: about avrusb library
i have read usbdrv have to be LINKED to the base-project, but i cant do that since im working on codevisionAVR.. i tried to "include" it and correct it to fit codevision, but i still got many errors when i compile it... any comments? You could use AVR Studio/WinAVR to build the boot loade...
Grendel wrote:Check out the community HID projects for references as well (esp. the HIDKeys).
- Wed Mar 25, 2009 4:52 am
- Forum: V-USB
- Topic: look for protocol of USB keyboard PC
- Replies: 2
- Views: 2990
- Sun Mar 22, 2009 7:47 am
- Forum: V-USB
- Topic: 1k5 k pull-up on D-
- Replies: 9
- Views: 63188
- Wed Mar 18, 2009 3:15 am
- Forum: V-USB
- Topic: 1k5 k pull-up on D-
- Replies: 9
- Views: 63188
- Tue Mar 17, 2009 9:06 am
- Forum: V-USB
- Topic: 1k5 k pull-up on D-
- Replies: 9
- Views: 63188