On Mon, Mar 13, 2000 at 12:45:57PM +1100, Richard Gooch wrote:
> Michael H. Warfield writes:
> > On Sat, Mar 11, 2000 at 02:38:11PM +0000, Alan Cox wrote:
> > > > did you enable devfs and forget to edit /etc/inittab to use 'vc/n'
> > > > instead
> > > > of 'ttyn' ?
> > > If that is the case then devfs needs some tweaking
> > No... That's the way it's designed to work and how it's been
> > documented... Sigh...
> > He's got a user space daemon, devfsd, that manages some symlinks
> > from old names to devfs names, but most of the name space is orthogonal
> > to the "conventional names". So you either switch to what Richard decided
> > were more rational names, or you create the symlinks by hand, or you run
> > his user space daemon. It's in the devfs/README file in the doco directory.
> > Unfortunately, the devfsd doesn't cover everything (it does cover this,
> > though). He's got a set of fixed links that it knows about (vc's are in
> > the list). I haven't looked into it deeply enough to see if it can be
> > configured for other devices (like the Computone devices) that he didn't
> > code into it. The Computone devices are not in there, in spite of being
> > in the devices.txt file:
> If there's problems with devfsd not putting in all the right
> compatibility symlinks, that's a bug that should be fixed. Send
> patches. I promise to intend to provide all compatibility links. I
> don't promise to be infallible (that incurs a surcharge).
You need the following mappings to support the Computone device
driver names as described in devices.txt.
/dev/ip2ipl[n] -> /dev/ip2/ipl[n] n = 0 - 3
/dev/ip2stat[n] -> /dev/ip2/stat[n] n = 0 - 3
/dev/ttyF[n] -> /dev/ttf/[n] n = 0 - 255
/dev/cuf[n] -> /dev/cuf/[n] n = 0 - 255
(I followed the convention set by ttyS[n] -> tts/[n] and
cua[n] -> cua/[n]).
===== From devices.txt =====
] 71 char Computone IntelliPort II serial card
] 0 = /dev/ttyF0 IntelliPort II board 0, port 0
] 1 = /dev/ttyF1 IntelliPort II board 0, port 1
] ...
] 63 = /dev/ttyF63 IntelliPort II board 0, port 63
] 64 = /dev/ttyF64 IntelliPort II board 1, port 0
] 65 = /dev/ttyF65 IntelliPort II board 1, port 1
] ...
] 127 = /dev/ttyF127 IntelliPort II board 1, port 63
] 128 = /dev/ttyF128 IntelliPort II board 2, port 0
] 129 = /dev/ttyF129 IntelliPort II board 2, port 1
] ...
] 191 = /dev/ttyF191 IntelliPort II board 2, port 63
] 192 = /dev/ttyF192 IntelliPort II board 3, port 0
] 193 = /dev/ttyF193 IntelliPort II board 3, port 1
] ...
] 255 = /dev/ttyF255 IntelliPort II board 3, port 63
]
] 72 char Computone IntelliPort II serial card - alternate devices
] 0 = /dev/cuf0 Callout device for ttyF0
] 1 = /dev/cuf1 Callout device for ttyF1
] ...
] 63 = /dev/cuf63 Callout device for ttyF63
] 64 = /dev/cuf64 Callout device for ttyF64
] 65 = /dev/cuf65 Callout device for ttyF65
] ...
] 127 = /dev/cuf127 Callout device for ttyF127
] 128 = /dev/cuf128 Callout device for ttyF128
] 129 = /dev/cuf129 Callout device for ttyF129
] ...
] 191 = /dev/cuf191 Callout device for ttyF191
] 192 = /dev/cuf192 Callout device for ttyF192
] 193 = /dev/cuf193 Callout device for ttyF193
] ...
] 255 = /dev/cuf255 Callout device for ttyF255
]
] 73 char Computone IntelliPort II serial card - control devices
] 0 = /dev/ip2ipl0 Loadware device for board 0
] 1 = /dev/ip2stat0 Status device for board 0
] 4 = /dev/ip2ipl1 Loadware device for board 1
] 5 = /dev/ip2stat1 Status device for board 1
] 8 = /dev/ip2ipl2 Loadware device for board 2
] 9 = /dev/ip2stat2 Status device for board 2
] 12 = /dev/ip2ipl3 Loadware device for board 3
] 13 = /dev/ip2stat3 Status device for board 3
> P.S. please send devfs-related messages to devfs@xxxxxxxxxxx instead
> of the kernel list. Just send "subscribe devfs" in the body to
> majordomo@xxxxxxxxxxx
Added to Cc list.
> Regards,
> Richard....
> Permanent: rgooch@xxxxxxxxxxxxx
> Current: rgooch@xxxxxxxxxxxxxxx
Mike
--
Michael H. Warfield | (770) 985-6132 | mhw@xxxxxxxxxxxx
(The Mad Wizard) | (770) 331-2437 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
|