From owner-freebsd-questions@freebsd.org Sun Feb 11 08:27:22 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 699F4F004FC for ; Sun, 11 Feb 2018 08:27:22 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns1.nethead.se", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 07DEF6BF38 for ; Sun, 11 Feb 2018 08:27:21 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1518337639; bh=b8rMUeWS1RfZML06dPRSihouYSpavsKNRpk6olzWn+o=; h=Subject:To:References:From:Date:In-Reply-To; b=v9rVmEF0mA/wYAWAoVyYqNJxtBRFDRmEA4S8bOCUshe4MBEF74z7nmPiYvJjbBKsF MNJRynRHhT7fOwUFFnmcCUvxlMS+TxRe7kmK9mWyo6VxkoCHgwNt3IZwVBVhYNgbIk Sl/0TuSIsuHdYsXhCKlczk94beaWZYpgDCyll6ew= Subject: Re: VSCom PCIe-200 serial card To: freebsd-questions@freebsd.org References: <00c63dc2-0f0e-1c8f-aad4-9437333f81f6@nethead.se> <5c30bc1027462cffcf9ab3a539bbcbe7@mky.waw.pl> From: Per olof Ljungmark Message-ID: Date: Sun, 11 Feb 2018 09:27:13 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <5c30bc1027462cffcf9ab3a539bbcbe7@mky.waw.pl> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2018 08:27:22 -0000 On 02/10/18 22:05, Marek Krawczyk wrote: > > > W dniu 2018-02-10 11:58, Per olof Ljungmark napisał(a): >> Hi all, >> >> I suppose I'm out of luck with this board? >> >> none0@pci0:7:0:0:       class=0x070002 card=0x00000000 chip=0x035213a8 >> rev=0x03 hdr=0x00 >>     vendor     = 'Exar Corp.' >>     class      = simple comms >>     subclass   = UART >> >> Is there a one or two port serial card that works in FreeBSD? > > Have you tried puc(4) driver? > https://www.freebsd.org/cgi/man.cgi?query=puc&sektion=4 > > There are definitions in sys/dev/puc/pucdata.c regarding VSCOM hardware: > > const struct puc_cfg puc_pci_devices[] = { > [...] >         {   0x10b5, 0x1076, 0x10b5, 0x1076, >             "VScom PCI-800", >             DEFAULT_RCLK * 8, >             PUC_PORT_8S, 0x18, 0, 8, >         }, > >         {   0x10b5, 0x1077, 0x10b5, 0x1077, >             "VScom PCI-400", >             DEFAULT_RCLK * 8, >             PUC_PORT_4S, 0x18, 0, 8, >         }, > >         {   0x10b5, 0x1103, 0x10b5, 0x1103, >             "VScom PCI-200", >             DEFAULT_RCLK * 8, >             PUC_PORT_2S, 0x18, 4, 0, >         }, Yes, but it only refers to older PCI cards, not PCIe. Thanks,