Re: Generic 2-port PCI Express Serial Card - how to get recognized?

2008-03-29 Thread Karl Denninger
On Sat, Mar 29, 2008 at 03:02:32PM +1030, Daniel O'Connor wrote:
> 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).

That did it - thanks!  Works fine...

--
-- 
Karl Denninger ([EMAIL PROTECTED]) Internet Consultant & Kids Rights Activist
http://www.denninger.netMy home on the net - links to everything I do!
http://scubaforum.org   Your UNCENSORED place to talk about DIVING!
http://genesis3.blogspot.comMusings Of A Sentient Mind


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Generic 2-port PCI Express Serial Card - how to get recognized?

2008-03-29 Thread Scot Hetzel
On 3/28/08, Karl Denninger <[EMAIL PROTECTED]> 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 ([EMAIL PROTECTED]) Internet Consultant & Kids Rights Activist
>  http://www.denninger.netMy home on the net - links to everything I 
> do!
>  http://scubaforum.org   Your UNCENSORED place to talk about DIVING!
>  http://genesis3.blogspot.comMusings Of A Sentient Mind
>
>
>  ___
>  freebsd-stable@freebsd.org mailing list
>  http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>  To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Generic 2-port PCI Express Serial Card - how to get recognized?

2008-03-29 Thread Scot Hetzel
To find the vendor/device IDs of your card use "pciconf -lv", and look
for entries similar to the following:

[EMAIL PROTECTED]: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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Generic 2-port PCI Express Serial Card - how to get recognized?

2008-03-28 Thread Daniel O'Connor
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


signature.asc
Description: This is a digitally signed message part.