[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Getting data out of 'CurrentCosts' with on a Mac.
Hiya Quinten,
not a jot - cursor drops to next line and as I type something it gets
echoed back to the console but no other data.
Am I missing something with setting the speed of the serial port or
does that not apply to usb?
Cheers
Wayne.
On 19 Feb 2009, at 20:49, Quinten Uijldert wrote:
> Wayne,
>
> If "screen" is anything like the "GNU screen",
then the command below
> is not correct. Forget about screen for a minute, and can you try:
>
> $ cat /dev/tty.usbserial
>
> That should give some output...
>
> 2009/2/19 Wayne <Wayne@xxxxxxx>:
>> Hi Stuart,
>> I must admit, no, but the reason behind that was that I can see
from
>> the mac 'system profiler' that there is a prolific usb device
being
>> plugged into one of the usb ports. Also from a terminal prompt if
I
>> do
>> a 'ls /dev/tty.*' I can see that /dev/tty.usbserial appears and
>> disappears as I plug and unplug the serial cable - I assumed from
>> that
>> that the mac is using its own drivers for it.
>>
>> I'll grab the mac one and have a look.
>>
>> Cheers
>> Wayne.
>>
>>
>> On 19 Feb 2009, at 20:30, Stuart Poulton wrote:
>>
>>> Wayne,
>>>
>>> Have you installed any drivers for the USB -> serial
convertor.
>>> Try
>>>
>>> http://www.prolific.com.tw/eng/downloads.asp?ID=31
>>>
>>> Regards
>>>
>>> Stuart
>>>
>>> On 19 Feb 2009, at 20:27, Wayne wrote:
>>>
>>>> Hi all,
>>>> I'm jumping in at the deep end here and having a pop at
trying to
>>>> get
>>>> data out of my brand new 'current costs' unit and to make
things a
>>>> little more of a challenge, I'm doing on me (borrowed)
mac!
>>>>
>>>> So far, from what I've read on google, a 'quick' method
seems to be
>>>> to
>>>> use the 'screen' command at a terminal screen, 'screen
/dev/
>>>> tty.usbserial 9600' but thats erroring out and not
displaying
>>>> anything.
>>>>
>>>> I've guessed at a few baud rates but each come back with
the same
>>>> error 'could not find a pty' ;-o -
>>>>
>>>>
>>>> ok maybe a bit too tech for the general list - but the
short
>>>> version,
>>>> has anyone got any code snippets they dont mind sharing
(if its mac
>>>> based all the better :))
>>>>
>>>> I'll shut up now :)
>>>>
>>>> Cheers
>>>> Wayne.
>>>> (Currently on 2.89 kwatt!! - (no pun intended!))
>>>>
>>>>
>>>>
>>>> ------------------------------------
>>>>
>>>> Yahoo! Groups Links
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> ------------------------------------
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>
>>
>>
>>
>> ------------------------------------
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
------------------------------------
UKHA_D Main Index |
UKHA_D Thread Index |
UKHA_D Home |
Archives Home
|