From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 30 01:23:53 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21969A6E for ; Mon, 30 Mar 2015 01:23:53 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 E3563805 for ; Mon, 30 Mar 2015 01:23:52 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2U1Nqw1013355 for ; Mon, 30 Mar 2015 01:23:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 199013] Add ID for StarTech.com PCIe RS232 Serial Adapter Card Date: Mon, 30 Mar 2015 01:23:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mlsemon35@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 01:23:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199013 Bug ID: 199013 Summary: Add ID for StarTech.com PCIe RS232 Serial Adapter Card Product: Base System Version: 10.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: mlsemon35@gmail.com Created attachment 154983 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154983&action=edit Add ID for Moschip chipset on StarTech.com serial adaper card PEX2S553 Hi! I bought a StarTech.com PCIe 2-port serial adapter card, Part # PEX2S553. I couldn't get it to work with the scc(4) driver. Thinking it was a matter of not knowing what serial driver to use--scc? puc? uart?--I grepped around the latest svn pull of 10.1-RELEASE until I found sys/dev/uart/uart_bus_pci.c. I adapted one of the MosChip entries and provide it as a patch. This card indeed uses the scc(4) driver. Serial sessions work fine, and the PPS is supported by this card. I can have one port at 4800 baud and the other port at 115200 baud. Looks good and my Garmin GPS18-LVC performs over it continuously, performing much like it did on x86 with standard motherboard serial ports. IOW, it works for every way I would normally use the serial port, no traps or other issues noted by the kernel. I did have issue trying to interrupt a process of doing a `cat /dev/ttyu3` while piping /dev/urandom from the other end of the serial cable, but that's been the only trouble spot (solved by clean reboot). The instructions claim that this card is a Moschip MCS9922CV-AA chipset. No other alterations have been required, and I wouldn't know how to make such modifications. dmesg shows this on boot: uart2: port 0xdcf0-0xdcf7 mem 0xdfdfc000-0xdfdfcfff,0xdfdfd000-0xdfdfdfff irq 17 at device 0.0 on pci2 uart3: port 0xdcf8-0xdcff mem 0xdfdfe000-0xdfdfefff,0xdfdff000-0xdfdfffff irq 18 at device 0.1 on pci2 Thanks! Michael -- You are receiving this mail because: You are the assignee for the bug.