View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0035811||FPC||RTL||public||2019-07-07 16:38||2019-08-07 22:07|
|Reporter||Karl-Michael Schindler||Assigned To||Jonas Maebe|
|Platform||darwin||OS||Mac OS X|
|Summary||0035811: enable the unit serial on darwin|
|Description||The unit serial (packages/rtl-extra/src/unix/serial.pp) is disabled on darwin. Although there are no macs with serial ports, it makes sense to enable the unit for USB to serial adapters, which are available as external devices and used in USB interfaces of external electronics.|
In order to enable it, darwin needs to be added to the list of OSes in line 23 of the file packages/rtl-extra/fpmake.pp
SerialOSes = [android,linux,netbsd,openbsd,win32,win64];
SerialOSes = [android,darwin,linux,netbsd,openbsd,win32,win64];
|Tags||No tags attached.|
|Fixed in Revision|
Have you tested the unit on Darwin?
||A first call of the serial line with a kext for a USB to serial adapter worked, but the second created a process, which made one CPU run at 100% and could not be stopped/killed by any means. The only way was a restart. I am not sure, whether I can resolve this and give up for the time being. So, please close this issue.|
> the second created a process, which made one CPU run at 100% and could not be stopped/killed by any means. The only way was a restart.
That sounds more like a bug in the kext rather than in the unit (unkillable processes are generally stuck in the kernel).
> That sounds more like a bug in the kext rather than in the unit (unkillable processes are generally stuck in the kernel).
I had the same idea. The way out might be to check with direct system IO calls, how to drive that kext properly, but I am again skeptical, whether i can manage that.
Another issue was, that on short circuiting line 2 and 3 of the serial connector, the return had bit 4 and 5 missing.
|2019-07-07 16:38||Karl-Michael Schindler||New Issue|
|2019-07-07 16:52||Jonas Maebe||Note Added: 0117105|
|2019-07-07 17:23||Jonas Maebe||Note Edited: 0117105||View Revisions|
|2019-08-03 21:00||Karl-Michael Schindler||Note Added: 0117559|
|2019-08-03 21:15||Jonas Maebe||Note Added: 0117560|
|2019-08-03 21:40||Karl-Michael Schindler||Note Added: 0117561|
|2019-08-07 22:07||Jonas Maebe||Assigned To||=> Jonas Maebe|
|2019-08-07 22:07||Jonas Maebe||Status||new => resolved|
|2019-08-07 22:07||Jonas Maebe||Resolution||open => suspended|
|2019-08-07 22:07||Jonas Maebe||FPCTarget||=> -|