{"action":"closed","issue":{"url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2333","labels_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2333/labels{/name}","comments_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2333/comments","events_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2333/events","html_url":"https://github.com/FreeRDP/FreeRDP/issues/2333","id":55455806,"number":2333,"title":"serial redirect not work","user":{"login":"fedsed","id":1212506,"avatar_url":"https://avatars.githubusercontent.com/u/1212506?v=3","gravatar_id":"","url":"https://api.github.com/users/fedsed","html_url":"https://github.com/fedsed","followers_url":"https://api.github.com/users/fedsed/followers","following_url":"https://api.github.com/users/fedsed/following{/other_user}","gists_url":"https://api.github.com/users/fedsed/gists{/gist_id}","starred_url":"https://api.github.com/users/fedsed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedsed/subscriptions","organizations_url":"https://api.github.com/users/fedsed/orgs","repos_url":"https://api.github.com/users/fedsed/repos","events_url":"https://api.github.com/users/fedsed/events{/privacy}","received_events_url":"https://api.github.com/users/fedsed/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-01-26T08:11:05Z","updated_at":"2015-02-12T06:11:07Z","closed_at":"2015-02-12T06:11:07Z","body":"Version freerdp of 26.01.2015.\r\nRun xfreerdp +clipboard /seria:COM2,/dev/ttyUSB0 /v:server\r\nThrough the command 'change port' serial port redirect.\r\nRun a program which does the following actions:\r\n<20150126105130.649 SYS>\r\nCOM port is opened\r\n<20150126105130.649 SYS>\r\nSet timeouts: ReadInterval=-1, ReadTotalTimeoutMultiplier=0, ReadTotalTimeoutConstant=0, WriteTotalTimeoutMultiplier=5, WriteTotalTimeoutConstant=50\r\n<20150126105130.649 SYS>\r\nBaud rate 38400\r\n<20150126105130.665 SYS>\r\nRTS on\r\n<20150126105130.665 SYS>\r\nDTR on\r\n<20150126105130.665 SYS>\r\nData bits=8, Stop bits=1, Parity=None\r\n<20150126105130.665 SYS>\r\nSet chars: Eof=0x00, Error=0x00, Break=0x00, Event=0x00, Xon=0x00, Xoff=0x00\r\n<20150126105130.665 SYS>\r\nHandflow: ControlHandShake=(DTR_CONTROL), FlowReplace=(TRANSMIT_TOGGLE, RTS_CONTROL), XonLimit=0, XoffLimit=0\r\n<20150126105130.665 SYS>\r\nBaud rate 9600\r\n<20150126105130.665 SYS>\r\nRTS off\r\n<20150126105130.665 SYS>\r\nDTR on\r\n<20150126105130.680 SYS>\r\nData bits=8, Stop bits=1, Parity=None\r\n<20150126105130.680 SYS>\r\nSet chars: Eof=0x00, Error=0x00, Break=0x00, Event=0x00, Xon=0x00, Xoff=0x00\r\n<20150126105130.680 SYS>\r\nHandflow: ControlHandShake=(DTR_CONTROL), FlowReplace=(), XonLimit=0, XoffLimit=0\r\n<20150126105130.883 SYS>\r\nPurge the serial port: TXCLEAR\r\n<20150126105130.883 TX>\r\n<SI>\r\n<20150126105131.087 SYS>\r\nBaud rate 115200\r\n<20150126105131.087 SYS>\r\nRTS off\r\n<20150126105131.087 SYS>\r\nDTR on\r\n<20150126105131.087 SYS>\r\nData bits=8, Stop bits=1, Parity=None\r\n<20150126105131.087 SYS>\r\nSet chars: Eof=0x00, Error=0x00, Break=0x00, Event=0x00, Xon=0x00, Xoff=0x00\r\n<20150126105131.087 SYS>\r\nHandflow: ControlHandShake=(DTR_CONTROL), FlowReplace=(), XonLimit=0, XoffLimit=0\r\n<20150126105131.196 SYS>\r\nPurge the serial port: TXCLEAR\r\n<20150126105131.196 TX>\r\n<SI>\r\n<20150126105131.305 RX>\r\n<SI>\r\n<20150126105131.305 SYS>\r\nBaud rate 115200\r\n<20150126105131.305 SYS>\r\nRTS on\r\n<20150126105131.305 SYS>\r\nDTR on\r\n<20150126105131.305 SYS>\r\nData bits=8, Stop bits=1, Parity=None\r\n<20150126105131.305 SYS>\r\nSet chars: Eof=0x00, Error=0x00, Break=0x00, Event=0x00, Xon=0x00, Xoff=0x00\r\n<20150126105131.305 SYS>\r\nHandflow: ControlHandShake=(DTR_CONTROL), FlowReplace=(TRANSMIT_TOGGLE, RTS_CONTROL), XonLimit=0, XoffLimit=0\r\n<20150126105131.415 SYS>\r\nBaud rate 115200\r\n<20150126105131.415 SYS>\r\nRTS off\r\n<20150126105131.415 SYS>\r\nDTR on\r\n<20150126105131.415 SYS>\r\nData bits=8, Stop bits=1, Parity=None\r\n<20150126105131.415 SYS>\r\nSet chars: Eof=0x00, Error=0x00, Break=0x00, Event=0x00, Xon=0x00, Xoff=0x00\r\n<20150126105131.415 SYS>\r\nHandflow: ControlHandShake=(DTR_CONTROL), FlowReplace=(), XonLimit=0, XoffLimit=0\r\n<20150126105131.415 SYS>\r\nPurge the serial port: TXCLEAR\r\n<20150126105131.415 TX>\r\n<BEL>\r\n<20150126105131.524 SYS>\r\nPurge the serial port: TXCLEAR\r\n<20150126105131.524 TX>\r\n6\r\n<20150126105131.633 SYS>\r\nPurge the serial port: TXCLEAR\r\n<20150126105131.633 TX>\r\nQ\r\n<20150126105131.743 SYS>\r\nBaud rate 115200\r\n<20150126105131.743 SYS>\r\nRTS on\r\n<20150126105131.743 SYS>\r\nDTR on\r\n<20150126105131.743 SYS>\r\nData bits=8, Stop bits=1, Parity=None\r\n<20150126105131.743 SYS>\r\nSet chars: Eof=0x00, Error=0x00, Break=0x00, Event=0x00, Xon=0x00, Xoff=0x00\r\n<20150126105131.743 SYS>\r\nHandflow: ControlHandShake=(DTR_CONTROL), FlowReplace=(TRANSMIT_TOGGLE, RTS_CONTROL), XonLimit=0, XoffLimit=0\r\n<20150126105131.743 SYS>\r\nIn/out queue size 6144/6144\r\n<20150126105131.743 SYS>\r\nPurge the serial port: RXCLEAR\r\n<20150126105132.071 SYS>\r\nPurge the serial port: TXCLEAR\r\n<20150126105132.071 TX>\r\nREAD [len=4]\r\n<20150126105132.087 RX>\r\nACK [len=3]\r\n<20150126105132.087 RX>\r\n<NUL>10000000170034000100|1.00<FF><ENQ> [len=28]\r\n<20150126105132.102 SYS>\r\nPurge the serial port: TXCLEAR\r\n<20150126105132.102 TX>\r\nACK [len=3]\r\n<20150126105132.149 RX>\r\n<SOH>4606446718149|1.00è<ETX> [len=21]\r\n<20150126105132.149 SYS>\r\nPurge the serial port: TXCLEAR\r\n<20150126105132.149 TX>\r\nACK [len=3]\r\n<20150126105132.196 RX>\r\nOVER [len=4]\r\n<20150126105132.196 RX>\r\nOVER [len=4]\r\n<20150126105132.196 SYS>\r\nCOM port is closed\r\n\r\nfreerdp when it writes: \r\nxfreerdp +clipboard /v:server /serial:COM2,/dev/ttyUSB0 /w:800 /h:600 \r\n[10:13:13:257] [4307:-1225610432] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr\r\n[10:13:13:257] [4307:-1225610432] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd\r\n[10:13:13:257] [4307:-1225610432] [INFO][com.freerdp.client.common.cmdline] - loading channel cliprdr\r\n[10:13:14:430] [4307:-1225610432] [ERROR][com.freerdp.locale] - Unable to get current timezone rule\r\n[10:13:14:911] [4307:-1235440832] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service serial (static)\r\n[10:13:18:832] [4307:-1235440832] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: COM2 (type=1 id=1)\r\n[10:13:38:532] [4307:-1270879424] [WARN][com.winpr.comm] - TIOCGICOUNT ioctl failed, errno=[22] Invalid argument.\r\n[10:13:38:533] [4307:-1270879424] [WARN][com.winpr.comm] - could not read counters.\r\n[10:13:50:237] [4307:-1270879424] [WARN][com.winpr.comm] - TIOCGICOUNT ioctl failed, errno=[22] Invalid argument.\r\n[10:13:50:237] [4307:-1270879424] [WARN][com.winpr.comm] - could not read counters.\r\n[10:13:51:317] [4307:-1270879424] [WARN][com.winpr.comm] - SERIAL_DTR_CONTROL:ON and SERIAL_RTS_CONTROL:OFF cannot be different, HUPCL will be set since it is claimed for one of the both lines.\r\n[10:13:51:514] [4307:-1270879424] [WARN][com.winpr.comm] - Expecting SERIAL_PURGE_TXABORT since SERIAL_PURGE_TXCLEAR is set\r\n\r\nand running my program hangs, not complying with their actions."}}