[Bug 1244] Failure to communicate with serial device

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Dec 8 10:11:58 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=1244





--- Comment #15 from ROASCIO Paolo <roa at libero.it>  2007-12-08 10:11:57 ---
Well, i installed right now the 0.9.50 release, this bug still occours, but
further tests leave me a bit confused...

The LG Phone manager, with this new release of wine is a bit more log verbose,
here is the interesting part obtained with a:

WINEDEBUG=+comm wine LGPhoneManager.exe


trace:comm:GetCommState handle 0x114, ptr 0x6195e7c8
trace:comm:io_control 0x114 IOCTL_SERIAL_GET_BAUD_RATE (nil) 0 0x6195e790 4
0x6195e71c
trace:comm:io_control 0x114 IOCTL_SERIAL_GET_LINE_CONTROL (nil) 0 0x6195e795 3
0x6195e71c
trace:comm:io_control 0x114 IOCTL_SERIAL_GET_HANDFLOW (nil) 0 0x6195e778 16
0x6195e71c
trace:comm:io_control 0x114 IOCTL_SERIAL_GET_CHARS (nil) 0 0x6195e78a 6
0x6195e71c
trace:comm:GetCommState OK
trace:comm:dump_dcb bytesize=8 baudrate=115200 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=115200 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 0x114 IOCTL_SERIAL_SET_BAUD_RATE 0x6195e790 4 (nil) 0
0x6195e71c
trace:comm:io_control 0x114 IOCTL_SERIAL_SET_LINE_CONTROL 0x6195e795 3 (nil) 0
0x6195e71c
trace:comm:io_control 0x114 IOCTL_SERIAL_SET_HANDFLOW 0x6195e778 16 (nil) 0
0x6195e71c
trace:comm:io_control 0x114 IOCTL_SERIAL_SET_CHARS 0x6195e78a 6 (nil) 0
0x6195e71c
trace:comm:io_control 0x114 IOCTL_SERIAL_SET_QUEUE_SIZE 0x6195e7a0 8 (nil) 0
0x6195e740
fixme:comm:set_queue_size insize 8192 outsize 8192 unimplemented stub
trace:comm:io_control 0x114 IOCTL_SERIAL_PURGE 0x6195e7b8 4 (nil) 0 0x6195e754
trace:comm:SetCommTimeouts (0x114, 0x6195e81c)
trace:comm:io_control 0x114 IOCTL_SERIAL_SET_TIMEOUTS 0x6195e7dc 20 (nil) 0
0x6195e780
trace:comm:SetCommTimeouts (0x114, 0x6195e870)
trace:comm:io_control 0x114 IOCTL_SERIAL_SET_TIMEOUTS 0x6195e830 20 (nil) 0
0x6195e7d4
trace:comm:io_control 0x114 IOCTL_SERIAL_GET_TIMEOUTS (nil) 0 0x6195e598 20
0x6195e614


after this, the connection window waits indefinely without connection (no
feedback from the phone display).

On the other hand, the program works well (if it were connected, it will be a
silver app)...

Surfing in internet, i encountered and bought this http://game-thing.com/ to
try the com issue.

This app compile and run wery well, connection is fine and the log, with a
command line such this:

WINEDEBUG=+comm wine gthing.exe

returns:


trace:comm:SetCommMask handle 0xb44, mask 5
trace:comm:io_control 0xb44 IOCTL_SERIAL_SET_WAIT_MASK 0x33c738 4 (nil) 0
0x33c6d4
trace:comm:io_control 0xb44 IOCTL_SERIAL_SET_QUEUE_SIZE 0x33c720 8 (nil) 0
0x33c6c0
fixme:comm:set_queue_size insize 4096 outsize 4096 unimplemented stub
trace:comm:io_control 0xb44 IOCTL_SERIAL_PURGE 0x33c738 4 (nil) 0 0x33c6d4
trace:comm:GetCommState handle 0xb44, ptr 0x33c754
trace:comm:io_control 0xb44 IOCTL_SERIAL_GET_BAUD_RATE (nil) 0 0x33c718 4
0x33c6a4
trace:comm:io_control 0xb44 IOCTL_SERIAL_GET_LINE_CONTROL (nil) 0 0x33c71d 3
0x33c6a4
trace:comm:io_control 0xb44 IOCTL_SERIAL_GET_HANDFLOW (nil) 0 0x33c700 16
0x33c6a4
trace:comm:io_control 0xb44 IOCTL_SERIAL_GET_CHARS (nil) 0 0x33c712 6 0x33c6a4
trace:comm:GetCommState OK
trace:comm:dump_dcb bytesize=8 baudrate=115200 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=115200 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:io_control 0xb44 IOCTL_SERIAL_SET_BAUD_RATE 0x33c718 4 (nil) 0
0x33c6a4
trace:comm:io_control 0xb44 IOCTL_SERIAL_SET_LINE_CONTROL 0x33c71d 3 (nil) 0
0x33c6a4
trace:comm:io_control 0xb44 IOCTL_SERIAL_SET_HANDFLOW 0x33c700 16 (nil) 0
0x33c6a4
trace:comm:io_control 0xb44 IOCTL_SERIAL_SET_CHARS 0x33c712 6 (nil) 0 0x33c6a4
trace:comm:GetCommTimeouts (0xb44, 0x33c740)
trace:comm:io_control 0xb44 IOCTL_SERIAL_GET_TIMEOUTS (nil) 0 0x33c710 20
0x33c6b4
trace:comm:SetCommTimeouts (0xb44, 0x33c740)
trace:comm:io_control 0xb44 IOCTL_SERIAL_SET_TIMEOUTS 0x33c710 20 (nil) 0
0x33c6b4
trace:comm:io_control 0xb44 IOCTL_SERIAL_GET_TIMEOUTS (nil) 0 0x33c5e4 20
0x33c5f8
trace:comm:io_control 0xb44 IOCTL_SERIAL_GET_TIMEOUTS (nil) 0 0x33a1b0 20
0x33a1c4
trace:comm:io_control 0xb44 IOCTL_SERIAL_GET_TIMEOUTS (nil) 0 0x33a17c 20
0x33a190
trace:comm:io_control 0xb44 IOCTL_SERIAL_GET_TIMEOUTS (nil) 0 0x33a17c 20
0x33a190
trace:comm:io_control 0xb44 IOCTL_SERIAL_GET_TIMEOUTS (nil) 0 0x33a17c 20
0x33a190
trace:comm:io_control 0xb44 IOCTL_SERIAL_GET_TIMEOUTS (nil) 0 0x33a17c 20
0x33a190
trace:comm:SetCommTimeouts (0xb44, 0x33a360)
trace:comm:io_control 0xb44 IOCTL_SERIAL_SET_TIMEOUTS 0x33a318 20 (nil) 0
0x33a2bc


after this i can navigate thru the phone which respond with feedback on its
display.

Now, i'm not a programmer, neither a windows user, then i'm not able to
interpretate wine logs, i hope this may help someone intereted in this same
bug. in the meanwhile i wait the wine 1.0 release (gthing works only via drag &
drop, so currently i can't upload/download nothing from the phone, but, at
least, there is a little ray of light in my trouble.....

thanks and sorry for my english 


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list