Search found 39 matches

by mojo
Mon Mar 31, 2008 5:56 pm
Forum: V-USB
Topic: USB Device Not Recognised with AVR Studio and D1/2 for D-/+
Replies: 9
Views: 9296

Okay, well I was just copying the settings from the HIDKeys project, but anyway I fixed it now. I removed the oddebug.h include and calls too, just in case they were messing things up. Still getting the same message though. Could compiler optimisations have anything to do with it? Currently I have t...
by mojo
Sat Mar 29, 2008 11:50 pm
Forum: V-USB
Topic: USB Device Not Recognised with AVR Studio and D1/2 for D-/+
Replies: 9
Views: 9296

USB Device Not Recognised with AVR Studio and D1/2 for D-/+

I am trying to get AVR-USB to work with a project based on the HIDKeys code. So far the only thing I have changed is the hardware and a little bit of the code. On my hardware, D- is PD1 and D+ is PD2, so D+ is directly connected to INT0. I am using 3.6V zener diodes with a 2k2 pull-up (works fine wi...
by mojo
Sat Mar 29, 2008 10:50 pm
Forum: V-USB
Topic: HID Power Device for power strip
Replies: 2
Views: 4150

Looks like that's what I'll have to do then...
by mojo
Wed Mar 26, 2008 4:26 am
Forum: V-USB
Topic: HID Power Device for power strip
Replies: 2
Views: 4150

HID Power Device for power strip

I am attempting to make a USB controlled power strip, and wanted to make it a USB HID device (so no driver is required). I have read the docs from USB.org but they are not all that clear as to exactly how the HID descriptor should look. There are examples for UPSs, but not for simple power strips. T...
by mojo
Sat Mar 15, 2008 2:30 am
Forum: V-USB
Topic: AVR Studio with assembler example?
Replies: 2
Views: 4738

Thanks, it looks interesting, hopefully it will put me on the right path.
by mojo
Fri Mar 14, 2008 5:14 pm
Forum: V-USB
Topic: AVR Studio with assembler example?
Replies: 2
Views: 4738

AVR Studio with assembler example?

I am looking at doing a USB VFD interface, but for performance reasons I want to use assembly code for the VFD interface. Basically, I just want to send bytes to the AVR via USB, where an assembler routine will decode them. Data would enter a FIFO as it is transmitted, ready for processing with the ...
by mojo
Wed Mar 05, 2008 1:20 am
Forum: V-USB
Topic: Report descriptor for joystick gives weird results in MAME
Replies: 4
Views: 6836

Thanks Grendel, you put me on to a solution. On further inspection there is an error in my descriptor. The buttons are in the same collection as the pointer. I moved them to their own collection and that sorted out the naming issues: ReportDescriptor: .db 0x05,0x01 ;Usage_Page (Generic Desktop&#...
by mojo
Wed Mar 05, 2008 12:50 am
Forum: V-USB
Topic: Report descriptor for joystick gives weird results in MAME
Replies: 4
Views: 6836

Thanks, but it does not seem to be logging the report descriptor as far as I can see. I did find this descriptor from an XBOX controller: 0501 Usage Page (Generic Desktop) 0905 Usage (Game Pad) A101 Collection (Application) 0501 Usage Page (Generic Desktop) 093A Usage...
by mojo
Tue Mar 04, 2008 4:05 pm
Forum: V-USB
Topic: Report descriptor for joystick gives weird results in MAME
Replies: 4
Views: 6836

Report descriptor for joystick gives weird results in MAME

I have made a USB joystick controller that works perfectly. All buttons are detected properly in Windows. See http://joystick.world3.net for more info. I have found a slight issue with the HID descriptor though. Although it works, MAME sees the buttons not as "Joy 1 Button X" but as "...