[Bug 4282] New: No serial ports
Wine Bugs
wine-bugs at winehq.org
Tue Jan 10 14:39:14 CST 2006
http://bugs.winehq.org/show_bug.cgi?id=4282
Summary: No serial ports
Product: Wine
Version: 0.9.5.
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-ports
AssignedTo: wine-bugs at winehq.org
ReportedBy: Royce.Souther at SiliconTao.com
Trying to get serial ports working in Wine but no ports show up.
I can run minicom and talk to the serial device. This tells me that the port is
working and I have permissions to use the device.
I added the port acording to the directions
ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1
I also tried /dev/ttyS0 and got the same results.
I could not get my custom serail program to find any com ports so I ran
hypertrm.exe and it to cannot see any com ports.
I turned on the debug like so
royce at ttyp6[~]$ WINEDEBUG=+comm,+serial wine c:/hypertrm.exe
fixme:font:WineEngCreateFontInstance Untranslated charset 255
fixme:tapi:lineInitialize (0x7f5169cc, 0x7d9f0000, 0x7da1ba77, "HyperTerminal",
0x7f5169dc): stub.
err:statusbar:StatusWindowProc unknown msg 0803 wp=0000 lp=00000000
fixme:tapi:lineInitialize (0x7f5169cc, 0x7d9f0000, 0x7da1ba77, "HyperTerminal",
0x7f5169dc): stub.
fixme:tapi:lineInitialize (0x7f5169cc, 0x7d9f0000, 0x7da1ba77, "HyperTerminal",
0x7f5169dc): stub.
and that is all the output I am able to get from it.
I also ran wine under strace to see if it found the com1 link file.
royce at ttyp6[~]$ export WINEDEBUG=+comm,+serial,+file,+all; strace wine
c:/hypertrm.exe 2>&1 | grep -i com1
write(2, "0009:Call kernel32.lstrcmpA(7da2"..., 700009:Call
kernel32.lstrcmpA(7da26180 "COM1",7f4e4728 "") ret=7d9f71bd
write(2, "0009:Call kernel32.lstrcpyA(7f4e"..., 670009:Call
kernel32.lstrcpyA(7f4e4728,7da26180 "COM1") ret=7d9f719b
write(2, "0009:Call kernel32.lstrcmpA(7da2"..., 700009:Call
kernel32.lstrcmpA(7da26180 "COM1",7f4e4728 "") ret=7d9f71bd
write(2, "0009:Call kernel32.lstrcpyA(7f4e"..., 670009:Call
kernel32.lstrcpyA(7f4e4728,7da26180 "COM1") ret=7d9f719b
If I do an strace and grep for dosdevices Wine only attempts to open the drive
devices.
I don't know if this is a bug but I don't think I am doing anything wrong.
Acording to everything I have read all I need to do is make the link file to be
able to use serial ports in Wine.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list