Serial port working with +relay but not normal

Aleš Rom ales.rom at kabelnet.net
Mon May 7 16:12:07 CDT 2007


Hello, again.

Two months ago I posted a message  
http://www.winehq.org/pipermail/wine-devel/2007-March/054710.html to 
this list.
Now I'm using wine-0.9.36, but the serial port problem is still the 
same. After port initialization (19200,8N1-it's OK I think) no data is 
received from serial device.

(snip)
trace:file:get_dos_device L"COM1" -> "/home/romcek/.wine/dosdevices/com1"
trace:file:CreateFileW returning 0x13c
trace:comm:GetCommState handle 0x13c, ptr 0x34f9b8
trace:comm:io_control 0x13c IOCTL_SERIAL_GET_BAUD_RATE (nil) 0 0x34f988 
4 0x34f914
trace:comm:io_control 0x13c IOCTL_SERIAL_GET_LINE_CONTROL (nil) 0 
0x34f98d 3 0x34f914
trace:comm:io_control 0x13c IOCTL_SERIAL_GET_HANDFLOW (nil) 0 0x34f970 
16 0x34f914
trace:comm:io_control 0x13c IOCTL_SERIAL_GET_CHARS (nil) 0 0x34f982 6 
0x34f914
trace:comm:GetCommState OK
trace:comm:dump_dcb bytesize=8 baudrate=19200 fParity=0 Parity=0 stopbits=1
trace:comm:dump_dcb ~IXON ~IXOFF
trace:comm:dump_dcb fOutxCtsFlow=0 fRtsControl=0
trace:comm:dump_dcb fOutxDsrFlow=0 fDtrControl=1
trace:comm:dump_dcb ~CRTSCTS
trace:comm:dump_dcb bytesize=8 baudrate=19200 fParity=0 Parity=0 stopbits=1
trace:comm:dump_dcb ~IXON ~IXOFF
trace:comm:dump_dcb fOutxCtsFlow=0 fRtsControl=1
trace:comm:dump_dcb fOutxDsrFlow=0 fDtrControl=1
trace:comm:dump_dcb ~CRTSCTS
trace:comm:io_control 0x13c IOCTL_SERIAL_SET_BAUD_RATE 0x34f988 4 (nil) 
0 0x34f914
trace:comm:io_control 0x13c IOCTL_SERIAL_SET_LINE_CONTROL 0x34f98d 3 
(nil) 0 0x34f914
trace:comm:io_control 0x13c IOCTL_SERIAL_SET_HANDFLOW 0x34f970 16 (nil) 
0 0x34f914
trace:comm:io_control 0x13c IOCTL_SERIAL_SET_CHARS 0x34f982 6 (nil) 0 
0x34f914
trace:comm:io_control 0x13c IOCTL_SERIAL_SET_QUEUE_SIZE 0x34f98c 8 (nil) 
0 0x34f930
fixme:comm:set_queue_size insize 1024 outsize 1024 unimplemented stub
trace:comm:io_control 0x13c IOCTL_SERIAL_GET_COMMSTATUS (nil) 0 
0x61a236b8 20 0x61a23650
trace:file:ReadFile 0x13c 0x61a2377c 0 0x61a23708 0xede5bc
trace:file:WriteFile 0x13c 0xede5d0 18 0x61b327e8 0x61b327d4
trace:file:WriteFile 0x13c 0xede5d0 19 0x61b327e8 0x61b327d4
trace:comm:io_control 0x13c IOCTL_SERIAL_GET_COMMSTATUS (nil) 0 
0x61a236b8 20 0x61a23650
trace:file:ReadFile 0x13c 0x61a2377c 0 0x61a23708 0xede5bc
trace:comm:io_control 0x13c IOCTL_SERIAL_GET_COMMSTATUS (nil) 0 
0x61a236b8 20 0x61a23650
trace:file:ReadFile 0x13c 0x61a2377c 0 0x61a23708 0xede5bc
trace:comm:io_control 0x13c IOCTL_SERIAL_GET_COMMSTATUS (nil) 0 
0x61a236b8 20 0x61a23650

Last two lines repeats... The interesting part is that if I run wine 
with +relay option, I can transfer data from serial device to PC. Has 
this set_queue_size message anything to do with this problem?
Can someone please help and put me to the right direction.

Aleš Rom



More information about the wine-devel mailing list