|
2020-04-22
| ||
| 14:37 | • Ticket [e67618079f] Win rdp forwarded serial port: setting -sysbuffer gives &quo... artifact: 5e05a9da82 user: oehhar | |
| 14:27 | • Ticket [e67618079f]: 4 changes artifact: 3ce3cf76ec user: oehhar | |
| 14:14 | • Ticket [e67618079f]: 4 changes artifact: 29206a03a7 user: jan.nijtmans | |
| 14:11 | Possible fix for [e67618079]: Win rdp forwarded serial port: setting -sysbuffer gives "can't setup c... leaf check-in: 8b444e9115 user: jan.nijtmans tags: bug-e67618079 | |
| 13:39 | • New ticket [e67618079f] Win rdp forwarded serial port: setting -sysbuffer gives ... artifact: 3302bb26ec user: oehhar | |
Win rdp forwarded serial port: setting -sysbuffer gives "can't setup comm buffers: invalid argument"
Opene67618079ff8e8c6b3b4c92fd9b59fb0cf117595Created 7 years agoUpdated 7 years ago
Descriptionwiki2020-04-22 13:39:55
A Windows 10 computer screen is forewarded to a ThinClient (Linux) via rdp protocoll.
A physical serial port on the Thin Client is forewarded to the WIndows 10 computer by the same rdp connection.
Wish8.6.10 is started on the Windows computer:
% set h [open COM2 RDWR]
file3903678
% fconfigure $h -mode 19200,n,8,1 -buffering full -blocking 0 -translation binary
% fconfigure $h -sysbuffer 32768
can't setup comm buffers: invalid argument
% fconfigure $h
-blocking 0 -buffering full -buffersize 32768 -encoding binary -eofchar {{} {}}\
-translation {lf lf} -mode 19200,n,8,1 -pollinterval 10 -sysbuffer {4096 4096} -xchar { }
% fconfigure $h -sysbuffer 4096
can't set comm state: no such device
Setting the option "-sysbuffer" for the forewarded serial port causes different error messages:
- 32768: "can't setup comm buffers: invalid argument".
- 4096 (the default value): "can't set comm state: no such device"
Thank you all, Harald
jan.nijtmanswiki2020-04-22 14:14:17
Please try: [8b444e9115ef688c]
According to Microsoft's documentation, SetCommState() has some restrictions. This might help, but I cannot test it.
oehharwiki2020-04-22 14:27:38
Light speed, will test.
To add, the option "-handshake" also fails in this situation. All other options are ok.
Thank you, Harald
oehharwiki2020-04-22 14:37:36
Sorry, but it is still the same error.
Thank you, Harald
Log in (anonymous is fine) to add a comment.