Skip site navigation (1)Skip section navigation (2)
Date:      31 Jul 2003 10:34:14 -0400
From:      "J. Seth Henry" <jshamlet@comcast.net>
To:        stanb@panix.com
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Help PLEASE! on proper kernel config file to use serial ports with puc driver
Message-ID:  <1059662053.28758.8.camel@alexandria>

next in thread | raw e-mail | index | archive | help
All you need in your kernel config is 'device puc'. You already appear
to have this in your config, as your system detected the adapter.

You will have to "sh MAKEDEV cuaa<n>" (where 0 < n < NUM_PORTS) to get
the device nodes in your /dev directory.

Alternately, since they have sequential minor numbers, you can make them
yourself.

'mknod cuaa0 c 28,128 root:wheel'
'mknod cuaa1 c 28,129 root:wheel'
'mknod cuaa2 c 28,130 root:wheel'
'mknod cuaa3 c 28,131 root:wheel'
'mknod cuaa4 c 28,131 root:wheel'
'mknod cuaa5 c 28,131 root:wheel'

You can also do this for the tty<d/ld/id> nodes as well.

I prefer making the nodes myself, but the MAKEDEV script will do the
same thing.

Good luck,
Seth Henry


>OK, I've spent all night complaining kernels with no luck. I've read
>the man page for puc, I've read the man page for sio, I've looked at
>the code for puc, I've searched d Googlee, and STILL I can't get sio
>devices assigned to my PCI serial port card.
>
> It's detected as:
>
>puc0: <Dolphin Peripherals 4036> port 0xfce0-0xfcff irq 11 at device
>6.0 on pci0
>sio4: type 16550A
>sio5: type 16550A
>
>
>But I feel certain I don't have the correct syntax in my kernel conf
>file for the sio ports I want to assign to this.



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