Karl Denninger
2008-Mar-28 21:05 UTC
Generic 2-port PCI Express Serial Card - how to get recognized?
Hi folks; I have a "generic" PCI Express "dumb" (16550 allegedly) serial card that goes in a PCI Express slot. FreeBSD doesn't see it, which I assume has to do with the card's "vendor ID" not being in the table that FreeBSD reocognizes. How do I get the ID from the probe (and/or probe the bus when the machine is running?) - I assume I could add the vendor ID to the sio_pci.c module and it MIGHT work, yes? It doesn't have a specific brand and documentation is basically "zilch"; I figured it might work right out of the box, but so far, no joy. Thanks in advance! -- -- Karl Denninger (karl@denninger.net) Internet Consultant & Kids Rights Activist http://www.denninger.net My home on the net - links to everything I do! http://scubaforum.org Your UNCENSORED place to talk about DIVING! http://genesis3.blogspot.com Musings Of A Sentient Mind
Daniel O'Connor
2008-Mar-28 21:32 UTC
Generic 2-port PCI Express Serial Card - how to get recognized?
On Sat, 29 Mar 2008, Karl Denninger wrote:> Hi folks; > > I have a "generic" PCI Express "dumb" (16550 allegedly) serial card > that goes in a PCI Express slot. > > FreeBSD doesn't see it, which I assume has to do with the card's > "vendor ID" not being in the table that FreeBSD reocognizes. > > How do I get the ID from the probe (and/or probe the bus when the > machine is running?) - I assume I could add the vendor ID to the > sio_pci.c module and it MIGHT work, yes? > > It doesn't have a specific brand and documentation is basically > "zilch"; I figured it might work right out of the box, but so far, no > joy.Have you tried loading puc? Unfortunately I think you will need to recompile your kernel because it is not in GENERIC and not available as a module. Look at /usr/src/sys/dev/puc/pucdata.c for a list of vendor/device IDs (and add yours if it isn't there). -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20080329/9e700941/attachment.pgp
Scot Hetzel
2008-Mar-29 04:04 UTC
Generic 2-port PCI Express Serial Card - how to get recognized?
To find the vendor/device IDs of your card use "pciconf -lv", and look for entries similar to the following: none0@pci0:0:20:0: class=0x0c0500 card=0x309b103c chip=0x43721002 rev=0x11 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'IXP SB400 SMBus' class = serial bus subclass = SMBus Scot
Scot Hetzel
2008-Mar-29 04:09 UTC
Generic 2-port PCI Express Serial Card - how to get recognized?
On 3/28/08, Karl Denninger <karl@denninger.net> wrote:> Hi folks; > > I have a "generic" PCI Express "dumb" (16550 allegedly) serial card that > goes in a PCI Express slot. > > FreeBSD doesn't see it, which I assume has to do with the card's "vendor ID" > not being in the table that FreeBSD reocognizes. > > How do I get the ID from the probe (and/or probe the bus when the machine is > running?) - I assume I could add the vendor ID to the sio_pci.c module > and it MIGHT work, yes? > > It doesn't have a specific brand and documentation is basically "zilch"; I > figured it might work right out of the box, but so far, no joy. > > Thanks in advance! > > -- > -- > Karl Denninger (karl@denninger.net) Internet Consultant & Kids Rights Activist > http://www.denninger.net My home on the net - links to everything I do! > http://scubaforum.org Your UNCENSORED place to talk about DIVING! > http://genesis3.blogspot.com Musings Of A Sentient Mind > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >