Communication with USB HID devices?
davis.phil at comcast.net
Sat Jul 10 12:41:26 CDT 2004
Noble effort! Too bad success isn't measured solely by effort...
Turns out I have a new contact at OSU Open Source Lab <http://osuosl.org/>
who has already been using the very device I'm working with. I'm told he's
developing a cross-platform wrapper (API) for the HID driver on each
platform. I'll see what I can gain through him and tell the list if there's
any good news.
Thanks again for the help -
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Dar Scott
> Sent: Friday, July 09, 2004 3:51 PM
> To: How to use Revolution
> Subject: Re: Communication with USB HID devices?
> On Jul 9, 2004, at 4:32 PM, Phil Davis wrote:
> > I haven't succeeded in opening or even copying "/dev/cu.modem" (my
> > only 'cu'
> > file) yet - it hangs things up when I try. (I tried copying it to
> > Desktop
> > via Terminal and via Rev 'shell' command. I also tried Rev 'put url'
> > into
> > fld, but it hung.)
> This should open the modem:
> open driver "/dev/cu.modem" for binary update
> The driver seems to insert a 3 second delay for me in the open.
> > I ran the script and it returned empty.
> If your device has a serial view in addition to the HID view, then you
> should see it in either driverNames() or deviceNames(). I have seen
> some problems with serial if you can get a serial driver set up for the
> device, but there is a chance you can avoid them. (By serial, I mean
> something that looks like an RS-232 driver, I don't mean the USB
> I just tried deviceNames() on Panther. It returns the built-in modem
> entry 3 times. Weird. (I'll check it out.) The Revolution
> driverNames() does not return anything for the built-in modem.
> > Other thoughts?
> There's nothing in the control panel or someplace to make the device
> look like a mouse?
> I'm running out of ideas. If it was me, I'd be thinking of making an
> Dar Scott
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the use-livecode