Hello,
When using latest COG VM on XP Squeak 4.2 cannot use SerialPort. Same image
on Interpreter VM does fine. Is this is the same on other platforms?
thank you,
Vaidotas
Error: primWritePortByName:from:startingAt:count: failed
4 October 2011 3:17:37.742 pm
VM: Win32 - Smalltalk...
There were some threads about SerialPlugin quite recently:
http://forum.world.st/template/NamlServlet.jtp?macro=search_page&node=104410&query=SerialPort
good luck
2011/10/4 Vaidotas Didžbalis <vaidasd@...>
>
> Hello,
> When using latest COG VM on XP Squeak 4.2 cannot use...
2011/10/4 Vaidotas Didžbalis <vaidasd@...>
>
> Hello,
> When using latest COG VM on XP Squeak 4.2 cannot use SerialPort. Same image
> on Interpreter VM does fine. Is this is the same on other platforms?
>
Is the plugin external? If so, you'll almost certainly need to rebuild it...
...
Updates to the platforms code and VMMaker are needed to provide named
serial port access. This is a coordinated change affecting all platforms.
Following are the steps required:
Dave:
- Update SerialPlugin in VMMaker with new prims and 64-bit clean
declarations (done - this is in......
On Fri, Apr 5, 2013 at 2:37 PM, Javier Diaz-Reinoso
<javier_diaz_r@...>wrote:
> On 03/04/2013, at 10:53, Javier Diaz-Reinoso <javier_diaz_r@...>
> wrote:
>
> > After line: p openPort: '/dev/cu.usbmodem1a21'., p in Cog is:
> > SerialPort(closed, 115200 baud, 8 bits, 1...
...:
> > SerialPort(closed, 115200 baud, 8 bits, 1 stopbits, no parity)
> > is closed because port is nil, in Squeak 4.2.5beta1U is:
> > SerialPort(#'/dev/cu.usbmodem1a21', 115200 baud, 8 bits, 1 stopbits, no parity)
> > port is: '/dev/cu.usbmodem1a21'.
> >
> > I repeated my test with...
...> wrote:
> > On 03/04/2013, at 10:53, Javier Diaz-Reinoso <javier_diaz_r@...> wrote:
> >
> > > After line: p openPort: '/dev/cu.usbmodem1a21'., p in Cog is:
> > > SerialPort(closed, 115200 baud, 8 bits, 1 stopbits, no parity)
> > > is closed because port is nil, in Squeak 4.2.5beta1U...
...> wrote:
>>>
>>>> After line: p openPort: '/dev/cu.usbmodem1a21'., p in Cog is:
>>>> SerialPort(closed, 115200 baud, 8 bits, 1 stopbits, no parity)
>>>> is closed because port is nil, in Squeak 4.2.5beta1U is:
>>>> SerialPort(#'/dev/cu.usbmodem1a21', 115200 baud, 8 bits, 1 stopbits, no...
...-Reinoso <javier_diaz_r@...> wrote:
> >>> On 03/04/2013, at 10:53, Javier Diaz-Reinoso <javier_diaz_r@...> wrote:
> >>>
> >>>> After line: p openPort: '/dev/cu.usbmodem1a21'., p in Cog is:
> >>>> SerialPort(closed, 115200 baud, 8 bits, 1 stopbits, no parity)
> >>>> is closed because...
... 10:53, Javier Diaz-Reinoso <javier_diaz_r@...> wrote:
>>>>>
>>>>>> After line: p openPort: '/dev/cu.usbmodem1a21'., p in Cog is:
>>>>>> SerialPort(closed, 115200 baud, 8 bits, 1 stopbits, no parity)
>>>>>> is closed because port is nil, in Squeak 4.2.5beta1U is:
>>>>>> SerialPort...
...
Well Macs don't have serial ports, at least not the ones that were
built after 1998.
The macintosh serial port source just stubs out the logic when we
moved from Carbon to OS-X in 2002.
I do note where people use *serial* device like things is for MIDI,
but the MIDI plugin for OS-X......
...
On Aug 22, 2009, at 4:43 PM, John M McIntosh wrote:
> Well Macs don't have serial ports, at least not the ones that were
> built after 1998.
> The macintosh serial port source just stubs out the logic when we
> moved from Carbon to OS-X in 2002.
> I do note where people use *serial*......