How to use unrecognized COM port card?

Yuri yuri at rawbw.com
Tue Aug 16 20:57:30 UTC 2011


On 08/16/2011 13:37, Xin LI wrote:
> And I think John's patch is right, I've added a new PCI ID for it
> though, found from the datasheet.  Did you have uart(4) in your kernel
> (remove my old patch)?

Yes, uart(4) is in kernel and puc(4) is the loaded module. I think this 
might be a problem that puc(4) is a module loaded later and that's why 
serial device isn't registered. I found the reference to the similar 
situation with some other card that got cured when puc(4) was compiled 
into kernel. 
(http://www.adras.com/Quadtech-DSC-100-PCI-dual-serial-port-on-8-0R-i386.t6999-79.html)

I have yet to try building puc(4) into kernel, but the way how I have it 
now is the default in GENERIC. Should uart(4) instead be removed from 
kernel and made loadable too to prevent such initialization order issue? 
Or what would be the right fix? Have too much stuff in kernel isn't 
right too. uart probably isn't used by 99% of users.


Yuri


More information about the freebsd-stable mailing list