hello, I was watching the PD list, and saw your post about the midi controller box thingy. I went to the link that took me to your site that had all the info. I didn't look around too much, but I didn't see any windows versions of any of the files. I was wondering if you had any, or if there was a way to use the linux ones on a windows.
hi robert,
Am Dienstag 12 April 2005 00:43 schrieb robertgarvin@bellsouth.net:
hello, I was watching the PD list, and saw your post about the midi controller box thingy. I went to the link that took me to your site that had all the info. I didn't look around too much, but I didn't see any windows versions of any of the files. I was wondering if you had any, or if there was a way to use the linux ones on a windows.
if you talk about my stuff, yes, it should work in windows as well. in fact, there are no "linux files" concerning that project. to be true, im still using a windows under vmware to develop that firmware......
since it is using hid, it should work with any os..... the only thing may be, as in linux, that your system doesnt handle that much io by default ;-)
greets,
chris
On Apr 11, 2005, at 7:36 PM, Christian Klippel wrote:
hi robert,
Am Dienstag 12 April 2005 00:43 schrieb robertgarvin@bellsouth.net:
hello, I was watching the PD list, and saw your post about the midi
controller box thingy. I went to the link that took me to your site that had all the
info. I didn't look around too much, but I didn't see any windows versions
of any of the files. I was wondering if you had any, or if there was a way
to use the linux ones on a windows.if you talk about my stuff, yes, it should work in windows as well. in
fact, there are no "linux files" concerning that project. to be true, im
still using a windows under vmware to develop that firmware......since it is using hid, it should work with any os..... the only thing
may be, as in linux, that your system doesnt handle that much io by default ;-)
I was just starting to think about how to make [hid] work with
microcontrollers. This sounds like the perfect way. Do you have more
info on the HID stuff? I couldn't find it on your site.
.hc
There is no way to peace, peace is the way.
-A.J. Muste
hello,
Am Mittwoch 13 April 2005 06:24 schrieb Hans-Christoph Steiner: [...]
I was just starting to think about how to make [hid] work with microcontrollers. This sounds like the perfect way. Do you have more info on the HID stuff? I couldn't find it on your site.
first, the two sources of info i have used :
almost all i know about hid development i got from the official usb-hid pages at http://www.usb.org/developers/hidpage/
the only other piece of info i used is the stuff for the 16c765 microcontroller from the microchip-website http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1...
now to using hid in general :
altough hid makes it somewhat easier for the computer to talk to the device, it can certainly drive you nuts. for one, each thing you send wants its own report descriptor. now, if you are going to have a lots of i/o, it may happen that you hit the bounds of your os, regarding to the number of i/o possible. for example, to use my box _fully_ with hid on linux, one would need to tweak the event system modules to allow for that much. for example, in linux's input.h there is only max. 0x3f (=63) for absolute events. not enough for up to 88 as i offer. same for led's, for example.
another thing is the _sending_ of values to the microcontroller via hid. before you wonder, yes, hid should be able to send stuff to the device as well. just look at your keyboard led's, that are just hid-defined led's and that get toggled by the driver if you press caps-lock or the like ...
unfortunatly, linux-event doesnt allow for sending absolute values, for example. so, that has to be tweaked in the kernel driver as well. of course, this anly applies if you want to send such values to the device....
on the microcontroller side you may have fun as well. mainly, because the descrpitors eat a lot of space. in my box, i sodomized the original firmware so that it just iterates n times over the same descriptor, to save codespace. without that, i couldnt even fit the descriptors alone in the controller....
anyways, it is a good idea to not only offer hid. my firmware also supports a second, non-hid config. this is implemented in the firmware and selected with a usb "select config" command to the device.
and again, i want to ask all the other people that are working on such devices that we communicate about the stuff a little, to make them at least "message compatible" to each other. as it seem, there are serveral solutions comming up, and im afraid that they all would cook their own soup...... since we are designing these things ground-up, let us make them at least compatible in that way. think about patch sharing .... one makes a patch using such a device, and gives it away. the other person uses a different device, but can directly use it because it speaks "the same language".....
hope that helped a little bit, if you have more questions about the hid stuff, just ask....
.hc
greets,
chris