Date: Wed, 30 Sep 2009 17:33:52 +0300 From: Pavel Greenberg <dog@virtual.org.ua> To: freebsd-emulation@freebsd.org Subject: wine && serial port. Message-ID: <bb9ff19d0909300733s28c63d4eub419cf97cbfaa9bd@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello all! On my system: dog@dog:~> uname -a FreeBSD dog.ic.kharkov.ua 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Sep 22 15:59:09 EEST 2009 root@dog.ic.kharkov.ua:/usr/obj/usr/src/sys/DOG_KERNEL i386 I have installed wine-1.1.30,1 from ports. I have some window$ software, which is required com-port. My user is in dialer group, in /dev/ I have cuad0 device, which is work fine natively (with cu(1)) and have "666" permissions, in ~/.wine/dosdevices I have symlinks com1 -> /dev/cuad0 and COM1 -> /dev/cuad0 - but it's not work, software don't see com-port. I tried to install some other software (for example, hyperterminal), bat have the same picture. When I tried to set WINEDEBUG=+comm,+ntdll,+file and run this, in log I've seen: ... trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\Program Files\\TMA\\config\\Cms2Serv.ini" -> "/usr/home/dog/.wine/dosdevices/c:/Program Files/ TMA/config/Cms2Serv.ini" trace:file:CreateFileW returning 0x6c trace:ntdll:NtQueryInformationFile (0x6c,0x34f5d8,0x34f5b0,0x00000028,0x00000004) trace:file:CreateFileW L"COM1" GENERIC_READ GENERIC_WRITE creation 3 attributes 0x40000000 trace:file:RtlDosPathNameToNtPathName_U (L"COM1",0x34fc00,0x0,0x0) trace:file:RtlGetFullPathName_U (L"COM1" 520 0x34f944 0x0) trace:ntdll:NtCreateFile handle=0x34fc08 access=c0000000 name=L"\\??\\COM1" objattr=00000040 root=0x0 sec=0x0 io=0x34fbf8 alloc_size=0x0 attr=00000000 sharing=00000000 disp=1 options=00000040 ea=0x0.0x00000000 trace:file:get_dos_device L"COM1" -> "/usr/home/dog/.wine/dosdevices/com1" trace:file:CreateFileW returning 0x6c trace:ntdll:NtDeviceIoControlFile (0x6c,0x0,0x0,0x0,0x34fc00,0x001b0008,0x34fc48,0x00000008,0x0,0x00000000) trace:comm:io_control 0x6c IOCTL_SERIAL_SET_QUEUE_SIZE 0x34fc48 8 0x0 0 0x34fc00 fixme:comm:set_queue_size insize 2000 outsize 1000 unimplemented stub trace:comm:BuildCommDCBAndTimeoutsA (COM1:9600,N,8,1,0x543a84,0x0) trace:comm:BuildCommDCBAndTimeoutsW (L"COM1:9600,N,8,1",0x543a84,0x0) trace:file:RtlGetFullPathName_U (L"C:\\Program Files\\TMA\\config\\Cms2Serv.ini" 520 0x34f634 0x34fa54) trace:file:CreateFileW L"C:\\Program Files\\TMA\\config\\Cms2Serv.ini" GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE FILE_SHARE_DELETE creatio n 3 attributes 0x80 ... I tried to do the same on my Acer Aspire One netbook with usb-com device on uplcom (4) chipset and the same OS version - it doesn't work too. Is there any way to make the program have see com-port under the wine?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb9ff19d0909300733s28c63d4eub419cf97cbfaa9bd>