Hi Niki,
Tim is wrong there, it's not true that only 9600 is possible. What you are seeing though is the safe mode of utseriald which is 9600, 8, N, 1.

However in order to use a different setting the program controlling the serial device much properly set the port speed. What program is controlling the device? I'm guessing it's a windows program?

Typically in the windows world, developers rely on the end user to set the port speeds via control panel vs properly setting the IOCTL's in the code (noted exceptions are things like Palm software that you choose the baud, parity, etc through the program). This is a problem for remote serial connections as there really isn't mechanism for specifying the speeds and feeds over RDP.

The work-around in this case is to set the device to the known safe speed of utserial.

There's one other workaround which I haven't tried but was suggested by one of our developers. Basically you hold the port open with stty.

stty 50 < $DTDEVROOT/unit/dev/term/a

A couple of things to remember:

When you hotdesk, the port is automatically reset to 9600, 8, N, 1
When you hotdesk, the ownership of the port changes
When you hotdesk, windows expects the speed, stop bits, parity, to be the same as when the session was opened. You're probably going to have to mess around with utaction to do a pkill on stty on session disconnect and then another stty command upon session connection to get the port right again.

Give it a shot and let me know how it goes.



Niki W. Waibel wrote:
hi,

i am trying to run a DCF77 serial clock device (www.gudeads.de) on a sunray 2fs 
(without success so far). it seems that device needs a baudrate setting of 50.

http://ebberstwork.blogspot.com/2008/08/sun-ray-and-peripherals-page-2.html
states that only 9600 is possible.

can someone confirm / give more info?

thanks in advance,
niki
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to