Search found 481 matches

by ulao
Thu May 20, 2010 10:08 pm
Forum: V-USB
Topic: HID & Force Feedback
Replies: 19
Views: 24880

Re: HID & Force Feedback

1.) A driver is something I would rather like to avoid, ... would be better if it would work out of the box completely agree Well maybe you can help me with the out put from host functions.. But if you want the HID FFB to work you better get typing because you have a long way to go. I'd first off g...
by ulao
Thu May 20, 2010 12:26 am
Forum: V-USB
Topic: HID & Force Feedback
Replies: 19
Views: 24880

Re: HID & Force Feedback

Yes, I have just about got it working, but there are a few unanswered questions. Two ways to do it.. 1) a driver: If your up for that let me know how it goes... 2) the Hid defined physical layer: Been working on this for a year on and off and finally got the descriptor finished. There are a few issu...
by ulao
Wed May 12, 2010 3:40 pm
Forum: V-USB
Topic: How to use a control-out interupt to write data from a PC?
Replies: 6
Views: 4451

Re: How to use a control-out interupt to write data from a PC?

Nope, thing.. Its like I'm missing something? Hopping for someone to school me on this.
by ulao
Tue May 11, 2010 2:43 pm
Forum: V-USB
Topic: How to use a control-out interupt to write data from a PC?
Replies: 6
Views: 4451

Re: How to use a control-out interupt to write data from a PC?

Well yes you do need the control added in the descriptor. I dont know what it should look like in your case, is depends on how you want to interface the device. For example if your device is going to receive data like the data example set it up like that. Also yes, the usbFunctionSetup does need to ...
by ulao
Sun May 09, 2010 4:18 am
Forum: V-USB
Topic: How to use a control-out interupt to write data from a PC?
Replies: 6
Views: 4451

Re: How to use a control-out interupt to write data from a PC?

I think your after the same thing I am
viewtopic.php?f=8&t=4231

The function you want is usbFunctionWrite. Let me know if you have any luck, see the hid-data example provided with the driver it shows how its done.
by ulao
Wed May 05, 2010 1:02 am
Forum: V-USB
Topic: So how do you get data from ENDPOINT ?
Replies: 0
Views: 4830

So how do you get data from ENDPOINT ?

If usbSetInterrupt is to send data to the host, how to you capture data? I added USBRQ_HID_SET_REPOR to my function set up. unsigned usbFunctionSetup(uchar data[8]) { usbRequest_t *rq = (void *)data; if((rq->bmRequestType & USBRQ_TYPE_MASK) == USBRQ_TYPE_CLASS){ /* class request type */ if(rq->b...
by ulao
Tue May 04, 2010 7:47 pm
Forum: V-USB
Topic: A simple example
Replies: 7
Views: 6097

Re: A simple example

The latest version of v-usb supports 16mhz, all you should have to do is set the freq in your make.
by ulao
Mon May 03, 2010 11:08 pm
Forum: V-USB
Topic: A simple example
Replies: 7
Views: 6097

Re: A simple example

Well I know its not on the 168 chip but this should work on it.

http://forums.obdev.at/viewtopic.php?f=8&t=3931
by ulao
Fri Apr 30, 2010 6:20 pm
Forum: V-USB
Topic: Can't get rid of old device name for joystick [FIXED]
Replies: 2
Views: 2901

Re: Can't get rid of old device name for joystick

Guessing both projects are using the same pid? You need to clear the registry entry for that pid. For example in xp you woudl go here [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet007\Control\MediaProperties\PrivateProperties\Joystick\OEM\ [[ find your pid ]] I dont know about w7, but you can make it any nam...
by ulao
Wed Apr 21, 2010 12:37 am
Forum: V-USB
Topic: Two HID joysticks from one device
Replies: 21
Views: 19485

Re: Two HID joysticks from one device

Oh, and I looked on Ralph's site but couldn't see where he did it that way.
Yeah, Grendel fixed his post to clear up the confusion. I'd like to see how you make out.
by ulao
Tue Apr 20, 2010 2:44 am
Forum: V-USB
Topic: Two HID joysticks from one device
Replies: 21
Views: 19485

Re: Two HID joysticks from one device

I noticed one thing which may be of interest. V-USB reports USB version 0x10, 0x01. Most USB 1.1 devices seem to go with 0x01, 0x01. I will send a test firmware to my Linux tester to see if it makes any difference. If you look a few posts down you will see that was already answered. http://forums.o...
by ulao
Mon Apr 19, 2010 11:58 pm
Forum: V-USB
Topic: [ bug ] descriptor of size 255 limit?
Replies: 4
Views: 5477

Re: descriptor of size 255 limit?

Ok I did a lot of tracing and found the break down in here static inline void usbProcessRx(uchar *data, uchar len) when it calls for usbDriverSetup it returns a 8 bit car value. notice the end.. return len; } and the beginning static inline usbMsgLen_t usbDriverSetup(usbRequest_t *rq) { uchar len = ...
by ulao
Mon Apr 19, 2010 3:51 pm
Forum: V-USB
Topic: Device works with hub but not without
Replies: 2
Views: 2817

Re: Device works with hub but not without

I had a similar problem.

viewtopic.php?f=8&t=4149

Turns out my zeners ( surface mounts ) where the problem. I put my through hole zeners in place and it now works direct to the PC. My readings were 4.0 volt though.
by ulao
Sun Apr 18, 2010 11:04 pm
Forum: V-USB
Topic: Two HID joysticks from one device
Replies: 21
Views: 19485

Re: Two HID joysticks from one device

I'd like to also make that comment, v-usb is simple an amazing development. If I ever had gripe it would be lack of definitive answers. I'd like to see some sticky posts, or attempts to answer some of the question that dead end. I do understand its free ware and certainly appreciate that. However so...
by ulao
Sun Apr 18, 2010 4:20 pm
Forum: V-USB
Topic: Two HID joysticks from one device
Replies: 21
Views: 19485

Re: Two HID joysticks from one device

I do realize moving a full avr usb based device woudl achieve my goal. But where is the fun in that? Really though, ditching the 88 style chip woudl through out my entire design. I'd rather ditch the xbox idea yet I seem to have this knack to make things work that should not. Definitely let us know ...