[Bug 1075] New: - Hyperterminal cannot access serial port

wine-bugs at winehq.com wine-bugs at winehq.com
Tue Oct 15 22:30:29 CDT 2002


http://bugs.winehq.com/show_bug.cgi?id=1075

           Summary: Hyperterminal cannot access serial port
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-kernel
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: rvg at unibell.co.za


Loading the standard W2K Hyperterminal under wine build 20021010, the application starts up 
properly.

However, selecting a COM Port (In my case COM1, baudrate = ALL), HyperTerminal 
displays a box stating that it cannot open the port. Here is a 
dump:

trace:file:FILE_DoOpenFile reg.dat OF_READ 
OF_SHARE_COMPAT
trace:file:FILE_DoOpenFile reg.dat 0000
warn:file:FILE_DoOpenFile 
'reg.dat' not found or sharing violation
warn:file:FILE_DoOpenFile (reg.dat): return = 
HFILE_ERROR error= 2
trace:file:CreateFileW L"Y:\\tmp\\tt\\hypertrm.exe" GENERIC_READ 
FILE_SHARE_READ OPEN_EXISTING  attributes 0x0
trace:file:CreateFileW returning 
00000018
trace:file:SetFilePointer handle 24 offset 0 high 0 origin 
0
trace:file:ReadFile 24 0xbfffe7c0 64 0xbfffe768 (nil)
trace:file:SetFilePointer 
handle 24 offset 216 high 0 origin 0
trace:file:ReadFile 24 0xbfffe764 4 0xbfffe768 
(nil)
trace:file:ReadFile 24 0xbfffe7ac 20 0xbfffe768 (nil)
trace:file:CreateFileW 
L"Y:\\tmp\\tt\\hypertrm.dll" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING  attributes 
0x0
trace:file:CreateFileW returning 00000028
trace:file:CreateFileW L"CONOUT$" 
GENERIC_WRITE FILE_SHARE_WRITE OPEN_EXISTING  attributes 0x0
trace:file:CreateFileW 
returning ffffffff
trace:comm:COMM_Init COM1 = /dev/ttyS0
trace:comm:COMM_Init LPT1 = 
/dev/lp0
trace:comm:COMM_Init COM2 = /dev/ttyS1
trace:comm:COMM_Init COM3 = 
/dev/ttyS2
trace:comm:COMM_Init COM4 = /dev/modem
trace:file:CreateFileW 
L"C:\\WINDOWS\\SYSTEM\\hticons.dll" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING  
attributes 0x0
warn:file:CreateFileW Unable to get full filename from 
L"C:\\WINDOWS\\SYSTEM\\hticons.dll" (GLE 2)
trace:file:CreateFileW 
L"C:\\WINDOWS\\SYSTEM\\hticons.dll" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING  
attributes 0x0
warn:file:CreateFileW Unable to get full filename from 
L"C:\\WINDOWS\\SYSTEM\\hticons.dll" (GLE 2)
trace:file:CreateFileW 
L"C:\\WINDOWS\\SYSTEM\\hticons.dll" GENERIC_READ FILE_SHARE_READ OPEN_EXISTING  
attributes 0x0
warn:file:CreateFileW Unable to get full filename from 
L"C:\\WINDOWS\\SYSTEM\\hticons.dll" (GLE 2)
trace:file:GetFileInformationByHandle 
ffffffff
fixme:tapi:lineInitialize (0x403f6ad4, 6ede0000, 0x6ee34d80, 
"HyperTerminal", 0x403f6ae4): stub.
fixme:tapi:lineGetTranslateCaps (0000, 00010004, 
0x403f6ed0): stub.
trace:file:CreateFileW L"Y:\\tmp\\tt\\HTRN_JIS.DLL" GENERIC_READ 
FILE_SHARE_READ OPEN_EXISTING  attributes 0x0
trace:file:CreateFileW returning 
00000064
trace:file:CreateFileW L"C:\\WINDOWS\\SYSTEM\\hticons.dll" GENERIC_READ 
FILE_SHARE_READ OPEN_EXISTING  attributes 0x0
warn:file:CreateFileW Unable to get full 
filename from L"C:\\WINDOWS\\SYSTEM\\hticons.dll" (GLE 
2)
err:statusbar:StatusWindowProc unknown msg 0803 wp=0000 
lp=00000000
trace:file:CreateFileW L"C:\\WINDOWS\\SYSTEM\\hticons.dll" GENERIC_READ 
FILE_SHARE_READ OPEN_EXISTING  attributes 0x0
warn:file:CreateFileW Unable to get full 
filename from L"C:\\WINDOWS\\SYSTEM\\hticons.dll" (GLE 2)
fixme:tapi:lineInitialize 
(0x403f6ad4, 6ede0000, 0x6ee34d80, "HyperTerminal", 0x403f6ae4): 
stub.
trace:comm:CommConfigDialogA (0x406c1dfc 20038 
0x406c1dc8)
trace:comm:SERIALUI_LibMain 
41450000,1,(nil)
trace:comm:SERIALUI_DialogInfoToDCB baud=2400 stop=0 parity=0 data=8 
flow=1
fixme:msvcrt:MSVCRT__sopen : pmode 0x408c233c ignored
trace:file:CreateFileW 
L"comreads.dbg" GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_ALWAYS  attributes 
0x80
trace:file:CreateFileW returning 00000078
trace:file:WriteFile 120 0x406c1d90 60 
0x406c1d44 (nil)
fixme:msvcrt:MSVCRT__sopen : pmode 0x408c233c 
ignored
trace:file:CreateFileW L"comused.dbg" GENERIC_WRITE FILE_SHARE_READ 
FILE_SHARE_WRITE CREATE_ALWAYS  attributes 0x80
trace:file:CreateFileW returning 
00000080
trace:file:WriteFile 128 0x406c1d90 60 0x406c1d44 
(nil)
trace:file:CreateFileW L"\\\\.\\COM1" GENERIC_READ GENERIC_WRITE OPEN_EXISTING  
attributes 0x40000000
trace:file:CreateFileW opening device 
L"COM1"
trace:file:DOSFS_CreateCommPort L"COM1" c0000000 
40000000
trace:file:CreateFileW returning 00000084
trace:comm:GetCommConfig (84 
0x406c2564)

<The error shows up here>

trace:comm:SERIALUI_LibMain 
41450000,3,(nil)
trace:file:CreateFileW L"Y:\\tmp\\tt\\HTRN_JIS.DLL" GENERIC_READ 
FILE_SHARE_READ OPEN_EXISTING  attributes 0x0
trace:file:CreateFileW returning 
00000058
trace:comm:SERIALUI_LibMain 41450000,0,0x1

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1075>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list