Search found 30 matches

by xiangrui
Mon Mar 09, 2015 4:16 pm
Forum: V-USB
Topic: v-usb with usb 3.0?
Replies: 9
Views: 11455

Re: v-usb with usb 3.0?

I just tested USB ASP device on my add-on USB 3.0 ports under Windows 7, and it works flawlessly.
-Xiangrui
by xiangrui
Wed Nov 19, 2014 4:03 pm
Forum: V-USB
Topic: HID keyboard with backchannel
Replies: 10
Views: 12544

Re: HID keyboard with backchannel

Works perfectly well in Windows. Do you mean for single device? That is good to know either way. I tried it under Windows with PsychHID from PsychToolbox (m) under Matlab. I can't access the keyboard due to access privilege. It seems it is due to the limitation of driver or toolkit. What driver do ...
by xiangrui
Tue Nov 18, 2014 9:52 pm
Forum: V-USB
Topic: HID keyboard with backchannel
Replies: 10
Views: 12544

Re: HID keyboard with backchannel

Is a report ID mandatory when using features? I took the earlier post implying that one could use features with a single device. No, it is optional. But when you want to have different features for different purpose, reportID can be used to distinguish them. I believe, although I haven't tried, it ...
by xiangrui
Fri Nov 14, 2014 7:20 pm
Forum: V-USB
Topic: HID keyboard with backchannel
Replies: 10
Views: 12544

Re: HID keyboard with backchannel

There is an easy way for this: to define a second device in the HID descriptor. You simply keep what you have for the HIDkeys, and define another regular HID device. Then the system will see the device as two. I learned this in this forum, but don't remember which post though. This is exactly what ...
by xiangrui
Tue Nov 11, 2014 12:41 am
Forum: V-USB
Topic: HID keyboard with backchannel
Replies: 10
Views: 12544

Re: HID keyboard with backchannel

There is an easy way for this: to define a second device in the HID descriptor. You simply keep what you have for the HIDkeys, and define another regular HID device. Then the system will see the device as two. I learned this in this forum, but don't remember which post though. -Xiangrui Hi, I'm tryi...
by xiangrui
Thu Aug 14, 2014 4:42 am
Forum: V-USB
Topic: USB bootloaderhid with Atmega128
Replies: 14
Views: 18539

Re: USB bootloaderhid with Atmega128

You are using bootloaderHID, right? In that case you don't need other hardware, but only the USB connection with the microcontroller. The command should be avrdude -c usbasp -p atmega128 -U flash:w:myfilename.hex Good luck. -Xiangrui I am able to burn the bootloader into the atmega128. (I read the f...
by xiangrui
Sat Mar 22, 2014 6:47 pm
Forum: V-USB
Topic: VID PID Licensing from V-USB
Replies: 1
Views: 5496

Re: VID PID Licensing from V-USB

I think this is due to historical reason. They enforce the policy you quoted after they found the problem. I think they can't apply those policy to previous users, since that was not part of the agreement when they sold it. Please correct me if I am wrong.
by xiangrui
Tue Dec 24, 2013 10:04 pm
Forum: V-USB
Topic: hidtool works on Linux, does not work on Windows 7
Replies: 3
Views: 6213

Re: hidtool works on Linux, does not work on Windows 7

I also started with this tool. It seems to me that Windows system is more strict on following the descriptor. The data sent and received must have the length defined in the descriptor, otherwise it will report error. Under unix, you can read and write less data than defined. You may get a warning at...
by xiangrui
Mon Jun 10, 2013 2:15 am
Forum: V-USB
Topic: ATMEGA32 minimum system board MCU AVR Development Board core
Replies: 17
Views: 20408

Re: ATMEGA32 minimum system board MCU AVR Development Board

Is there even some bootloader installed? Maybe you first backup the contents of the MCUs flash and then try to install some different bootloader. For example USBaspLoader (m) works with avrdude (therefore Arduino, too). So with USBaspLoader you can eliminate the need for some extra software. The dr...
by xiangrui
Sun Mar 24, 2013 9:29 pm
Forum: V-USB
Topic: Is it possible to do extra comm with usb-hid keyboard?
Replies: 8
Views: 10192

Re: Is it possible to do extra comm with usb-hid keyboard?

I have found a better solution. In short, the way to achieve my goal is to decalre two devices in hid descriptor: one for keyboard/mouse, one for a hid-data device. LibUsb can claim the device(s) even so. It works fine under Linux or Windows platform. If you want more detail, the website below is w...
by xiangrui
Thu Feb 28, 2013 11:36 pm
Forum: V-USB
Topic: change hid-data transfer size
Replies: 3
Views: 4414

Re: change hid-data transfer size

barney's reply about the hard-coded 128 in hidtool is right. You will need to change it 8 for the host side code, and re-compile it . However, the fixed 64-byte is not true. It can be any number below a certain limit, as long as it is defined in the descriptor and treated correctly at both host and ...
by xiangrui
Thu Dec 27, 2012 6:07 pm
Forum: V-USB
Topic: Understanding vid/pid pairs
Replies: 2
Views: 7403

Re: Understanding vid/pid pairs

I read from the file usbconfig.h for HIDkeys examply that "We cannot use Obdev's free shared VID/PID pair because this is a HID." Does this imply that the pair 0x27db and 0x16c0 is "For USB Keyboards" which are not HID? It seems to me all USB keyboards I ever used are HID. Anyone...
by xiangrui
Thu Dec 27, 2012 12:14 am
Forum: V-USB
Topic: HIDBootFlash error, cannot reflash bootflash, help!
Replies: 5
Views: 6807

Re: HIDBootFlash error, cannot reflash bootflash, help!

I thought it can't write itself, but I may be wrong.

From the error message, it seems it is writing to the application section, since it says "6144 bytes remaining", which is the size after reserving 2K boot section.

-Xiangrui
by xiangrui
Wed Dec 26, 2012 8:54 pm
Forum: V-USB
Topic: Understanding vid/pid pairs
Replies: 2
Views: 7403

Re: Understanding vid/pid pairs

The VID/PID pair won't affect the device, unless they conflict with the existing device. This means, if you set some random numbers for the pair, it normally works fine. For more information about the pair, check the file USB-ID-FAQ.txt in the V-USB package. I do have a question about the VID/PID pa...
by xiangrui
Wed Dec 12, 2012 6:07 pm
Forum: V-USB
Topic: Is it possible to do extra comm with usb-hid keyboard?
Replies: 8
Views: 10192

Re: Is it possible to do extra comm with usb-hid keyboard?

For Windows, it is unlikely. The system will claim full control of the USB HID keyboard. For Linux, I am not sure, but probably you can do it.

-Xiangrui