Page 1 of 1

USB Device

Posted: Thu Jul 03, 2014 3:40 pm
by Neurox66
Hi,
I need to connect to a device via USB on iMac with OSX Maverick.
I've used the command

Code: Select all

put shell ("system_profiler SPUSBDataType-xml") into tUsbList
for a list of USB devices.

I know the Vendor ID and Product ID and so I can get all the information.
But now?

I've tried using "Open driver" but with no results :(

Any tips?
Someone has already did something like?
Some samples? :)

Thanks,
Paolo

Re: USB Device

Posted: Fri Jul 04, 2014 8:52 am
by [-hh]
..........

Re: USB Device

Posted: Fri Jul 04, 2014 11:10 am
by Neurox66
Hi,
thank's for sample but I don't want connect to my keyboard or mouse or webcam or data storage device.

Paolo

Re: USB Device

Posted: Fri Jul 04, 2014 11:42 am
by [-hh]
..........

Re: USB Device

Posted: Fri Jul 04, 2014 1:06 pm
by Neurox66
[-hh] wrote:What is your post? A guessing game for us?
Sorry? Are you joke with me? :shock:
I'm serious!

My problem is a communicate with a device connected to iMac via USB.
The device is similar to Blink(1) of ThingM
With "system_profiler" I can get all the data of USB device but I don't know how to send data to device.

Paolo

Re: USB Device

Posted: Fri Jul 04, 2014 1:34 pm
by [-hh]
..........

Re: USB Device

Posted: Fri Jul 04, 2014 1:52 pm
by Neurox66
Hi Hermann,
thanks for the informations.
was 50% joking, because your answer seemed joking of this amount to me.
yes you're right :)
Did you already try this command-line tool ?
Yes I've already used blink1-tool via shell and blink1control with command "put url("http://localhost:8934/blink1/fadeToRGB?rgb=%2300FF00")".
I've made two app for use Blink(1) with LiveCode
but the question is comunicate with USB device directly without using shell or url commands.

Paolo