Search found 481 matches
- Fri Jan 04, 2013 2:36 pm
- Forum: V-USB
- Topic: FIXED - mega8 only enumerates after manual reset (PRIZE)
- Replies: 7
- Views: 7347
Re: mega8 only enumerates after manual reset (PRIZE)
Show us your schematic, or at lease the usb side of it.
- Mon Dec 31, 2012 4:18 am
- Forum: V-USB
- Topic: fixed hid descriptor in RAM
- Replies: 5
- Views: 5966
Re: fixed hid descriptor in RAM
Do you mean PROGMEM ? const char analog_usbHidReportDescriptor[] PROGMEM = { ///// gampad 0x05,0x01, // Usage Page Generic Desktop 0x09,0x05, // Usage Joystick 0xA1,0x01, // Collection Application //axis 0x85,0x01, // Report ID 1 //0x05, 0x02, //USAGE_PAGE (Simulation Controls) //0x09, 0xBB, //USAGE...
- Fri Dec 28, 2012 6:27 pm
- Forum: V-USB
- Topic: PS3 problem - only d-pad works
- Replies: 1
- Views: 2882
Re: PS3 problem - only d-pad works
why not just contact mojo? He is still around and still active. I'm sure he can help you. Mojo knows his stuff and should have an answer. I know the ps3 has a different packet style, so maybe its simple as putting the button on another byte. Also he uses Igor Cesko's USB implementation here not usb-...
- Fri Dec 14, 2012 8:27 pm
- Forum: V-USB
- Topic: INT0 on D- instead of D+
- Replies: 10
- Views: 14262
Re: INT0 on D- instead of D+
Ah right you are, I forgot about that caveat. I can't offer much more help on that. Wait around and see if another can.
- Fri Dec 14, 2012 6:40 pm
- Forum: V-USB
- Topic: INT0 on D- instead of D+
- Replies: 10
- Views: 14262
Re: INT0 on D- instead of D+
You define your D pins in the usbconfig.h file (Hardware Config). You can set them up on any pins that are int pins.
- Tue Dec 11, 2012 7:45 pm
- Forum: V-USB
- Topic: HID & Force Feedback
- Replies: 19
- Views: 24880
Re: HID & Force Feedback
for an example of the descriptor see Post #: 35 at this link http://www.microchip.com/forums/tm.aspx ... 25&mpage=2
Yes its big, yes I tried to chop it down, no it does no budge. You will need the latest version of v-usb as a patch had to be made to allow > 254 descriptor lengths.
Yes its big, yes I tried to chop it down, no it does no budge. You will need the latest version of v-usb as a patch had to be made to allow > 254 descriptor lengths.
- Sat Dec 08, 2012 4:41 am
- Forum: V-USB
- Topic: Joystick-axis
- Replies: 1
- Views: 2825
Re: Joystick-axis
Its a bit to get used to but not too hard. This is using the ADC's on an atmega 168/328 //voltage reader. #define ADC_VREF_TYPE 0x40 static int read_adc(unsigned char adc_input) { ADMUX=adc_input|ADC_VREF_TYPE; _delay_us(150); ADCSRA|=0x40; // Start the AD conversion while ((ADCSRA & 0x10)==0);/...
- Sat Nov 10, 2012 6:16 am
- Forum: V-USB
- Topic: Ethernet over Usb?
- Replies: 2
- Views: 6013
Re: Ethernet over Usb?
I wonder if HID over I2C may do it?
Also I know VMware has a VMBus HID mini port virtual nic. Not sure about making a descriptor to communicate with it though. Did you look at the HID Descriptor Tool? Maybe there is a HID network virtual driver.
Also I know VMware has a VMBus HID mini port virtual nic. Not sure about making a descriptor to communicate with it though. Did you look at the HID Descriptor Tool? Maybe there is a HID network virtual driver.
- Thu Nov 08, 2012 3:14 pm
- Forum: V-USB
- Topic: HID DESCRIPTOR more than 255 bytes
- Replies: 10
- Views: 9289
Re: HID DESCRIPTOR more than 255 bytes
I think straight answer is better than wasting bandwidth told me to look for the "good example" which I didn't know which is "good" exactly because I'm new to this V-USB, and told me to try to use >255 then (which make me asking here in the first post), OK first off if you're go...
- Tue Nov 06, 2012 6:30 pm
- Forum: V-USB
- Topic: HID DESCRIPTOR more than 255 bytes
- Replies: 10
- Views: 9289
Re: HID DESCRIPTOR more than 255 bytes
Like what? Any link to it? So I guess you never even downloaded the package? The examples come with the download. Possible if less than 255 bytes (as I knew so far) no, possible if > 255. See this descriptor at post #35 m that is the one I use. mouse or joystick examples only needs under 255 bytes,...
- Tue Nov 06, 2012 2:12 pm
- Forum: V-USB
- Topic: HID DESCRIPTOR more than 255 bytes
- Replies: 10
- Views: 9289
Re: HID DESCRIPTOR more than 255 bytes
So my question is simple, how I can get more than 255 bytes in descriptor? There is no trick, just do it. Like I said find a better example. Or more simple is how can I cast the descriptor into "int" or is it possible to cast it into "int" as the usbHidReportDescriptor[] was &qu...
- Mon Nov 05, 2012 2:35 pm
- Forum: V-USB
- Topic: HID DESCRIPTOR more than 255 bytes
- Replies: 10
- Views: 9289
Re: HID DESCRIPTOR more than 255 bytes
First you're going to have to learn a little patience. "Anybody home", really? Second please use the "code" button so its not painful to read this. Make things easy for people to help you. Third you code is a mess, things like if (rq->wValue.bytes[0] == 5) is really bad practices...
- Fri Nov 02, 2012 8:25 pm
- Forum: V-USB
- Topic: HID DESCRIPTOR more than 255 bytes
- Replies: 10
- Views: 9289
Re: HID DESCRIPTOR more than 255 bytes
Yes it was fixed, I committed the bug. Can you show a bit more code? I think the issue is in the typing of the descriptor functions. Just add your main to the thread and I'll spot the error.
- Sun Oct 21, 2012 4:36 am
- Forum: V-USB
- Topic: Is USB_CFG_MAX_BUS_POWER critical?
- Replies: 4
- Views: 4991
Re: Is USB_CFG_MAX_BUS_POWER critical?
All it does is throttles the power for your device and reports the usage to the host. For example if you make a device that uses 50ma then why leave the max power at 100. In doing so you just told the host to waste 50ma. So you set 50 for USB_CFG_MAX_BUS_POWER. The second case would be like I mentio...
- Fri Oct 19, 2012 2:05 pm
- Forum: V-USB
- Topic: Is USB_CFG_MAX_BUS_POWER critical?
- Replies: 4
- Views: 4991
Re: Is USB_CFG_MAX_BUS_POWER critical?
level it bee unless you need to borrow more power. There is no "correct entry" it just depends on what you need. For example if you get power exceeded, then up it.