Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2011 00:48:14 -0700
From:      Xin LI <delphij@delphij.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: How to use unrecognized COM port card?
Message-ID:  <4E4A20BE.3060603@delphij.net>
In-Reply-To: <4E4A0C81.7020501@rawbw.com>
References:  <4E4A0C81.7020501@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070402070505040801070209
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 08/15/11 23:21, Yuri wrote:
> I have dual COM port pci card: none7@pci0:8:1:0:       class=0x070002
> card=0x32534348 chip=0x32534348 rev=0x10 hdr=0x00 class      = simple
> comms subclass   = UART bar   [10] = type I/O Port, range 32, base
> 0xe880, size  8, enabled bar   [14] = type I/O Port, range 32, base
> 0xe800, size  8, enabled
> 
> Manufacturer 0x4348 isn't recognized by http://www.pcidatabase.com.
> It was purchased from China through ebay.
> 
> How to make it to work in 8.2-STABLE?

A wild guess...  (You gotta to provide more details rather than just PCI
IDs).

My guess is that it's using these chips:

http://www.winchiphead.com/product/ch365detail.htm
http://www.winchiphead.com/product/ch353detail.htm

It didn't talked about possible cards' configuration so I used BAR0,
which could be 0x14, 0x18, etc.

Cheers,
- -- 
Xin LI <delphij@delphij.net>	https://www.delphij.net/
FreeBSD - The Power to Serve!		Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQEcBAEBCAAGBQJOSiC9AAoJEATO+BI/yjfB5oAH/R0yt8Zx3HDVOXA5jUOXzlWl
A+XCmbaau4MNhOtiyVJ8sWERE1CukgQeIE7DWze1rJ6YU7bTXKAgoRbqVJsfiAbH
CEhLx+Y2T7HLow9ZojCGrqk6ydrGxheWIyf2AM7nTORZQdEUceEWGLE4GMXJghTp
Y4udsGfSRqa+1O7tTOpechDi5jtG/cW+dDFeyZqVo0AjfS78D10wEqoiudloIkBd
IAEyy7JGCU/R6AM+DhHHm0dIT68MkHxULOpTLy0GxxzJecWruknqd+h+V36Q3X+h
brg2isOawCGLhWgzCDXVZXwJWIXA28RaRmDPeZRNv5TKUESmZEenR8lEpH7ji+s=
=KUoE
-----END PGP SIGNATURE-----

--------------070402070505040801070209
Content-Type: text/plain;
 name="uart.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="uart.diff"

Index: sys/dev/uart/uart_bus_pci.c
===================================================================
--- sys/dev/uart/uart_bus_pci.c	(revision 224900)
+++ sys/dev/uart/uart_bus_pci.c	(working copy)
@@ -111,6 +111,7 @@
 { 0x1415, 0x950b, 0xffff, 0, "Oxford Semiconductor OXCB950 Cardbus 16950 UART",
 	0x10, 16384000 },
 { 0x151f, 0x0000, 0xffff, 0, "TOPIC Semiconductor TP560 56k modem", 0x10 },
+{ 0x4348, 0x3253, 0xffff, 0, "WinChipHead Dual Port RS-232", 0x10 },
 { 0x9710, 0x9820, 0x1000, 1, "NetMos NM9820 Serial Port", 0x10 },
 { 0x9710, 0x9835, 0x1000, 1, "NetMos NM9835 Serial Port", 0x10 },
 { 0x9710, 0x9865, 0xa000, 0x1000, "NetMos NM9865 Serial Port", 0x10 },

--------------070402070505040801070209--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E4A20BE.3060603>