From owner-freebsd-questions@freebsd.org Sat Feb 10 21:05:10 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 00CC2F1E4C8; Sat, 10 Feb 2018 21:05:10 +0000 (UTC) (envelope-from marek@mky.waw.pl) Received: from poczta.mky.waw.pl (poczta.mky.waw.pl [IPv6:2001:41d0:604:159::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92ED572689; Sat, 10 Feb 2018 21:05:09 +0000 (UTC) (envelope-from marek@mky.waw.pl) Received: from poczta.mky.waw.pl (localhost [193.70.126.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by poczta.mky.waw.pl (Postfix) with ESMTPSA id 1962F7A4819; Sat, 10 Feb 2018 22:05:07 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sat, 10 Feb 2018 22:05:07 +0100 From: Marek Krawczyk To: Per olof Ljungmark Cc: freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org Subject: Re: VSCom PCIe-200 serial card In-Reply-To: <00c63dc2-0f0e-1c8f-aad4-9437333f81f6@nethead.se> References: <00c63dc2-0f0e-1c8f-aad4-9437333f81f6@nethead.se> Message-ID: <5c30bc1027462cffcf9ab3a539bbcbe7@mky.waw.pl> X-Sender: marek@mky.waw.pl User-Agent: Roundcube Webmail/1.3.3 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: Sat, 10 Feb 2018 21:05:10 -0000 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, }, Regards, Marek Krawczyk