From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 30 15:06:48 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43801106568F for ; Wed, 30 Sep 2009 15:06:48 +0000 (UTC) (envelope-from dog@virtual.org.ua) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8E88FC20 for ; Wed, 30 Sep 2009 15:06:47 +0000 (UTC) Received: by yxe1 with SMTP id 1so7082233yxe.3 for ; Wed, 30 Sep 2009 08:06:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.50.30 with SMTP id x30mr6438013anx.169.1254321232247; Wed, 30 Sep 2009 07:33:52 -0700 (PDT) Date: Wed, 30 Sep 2009 17:33:52 +0300 Message-ID: From: Pavel Greenberg To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: wine && serial port. X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 15:06:48 -0000 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?