hoyt@polyslo.CalPoly.EDU (Sir Hoyt) (01/11/90)
man plp(4) states that the magor device number for IOP based printers in 48, /etc/makedev uses 43. Does anyone know which is right? The reason I ask is becuase we are tring to get an IOP based printer to work. We used /etc/makedev to create /dev/iop/plp0, and everything lpd sends to the printer fanishes. And so far this is the only thing I can find 'wrong'.... but I can't find much info about IOP printers.... -- John H. Pochmara A career is great, UUCP: {sdsu,voder,trwind}!polyslo!hoyt But you can't run your Internet: hoyt@polyslo.CalPoly.EDU fingers through its hair -Graffiti 4/13/83
karl@cheops.cis.ohio-state.edu (Karl Kleinpaste) (01/12/90)
OSx4.4 believes in major dev 48 in /etc/makedev and for /dev/iop/plp*. [93] [2:10pm] tut:/n/dinosaur/0/karl# list /dev/iop/pl* 4365 c-w--w---- 1 lp 12 48, 0 May 4 1988 /dev/iop/plp0 4366 c-w--w---- 1 lp 12 48, 16 May 4 1988 /dev/iop/plp0c 4367 c-w--w---- 1 lp 12 48, 32 May 4 1988 /dev/iop/plp0r 4368 c-w--w---- 1 lp 12 48, 1 May 4 1988 /dev/iop/plp1 4369 c-w--w---- 1 lp 12 48, 17 May 4 1988 /dev/iop/plp1c 4370 c-w--w---- 1 lp 12 48, 33 May 4 1988 /dev/iop/plp1r [94] [2:10pm] tut:/n/dinosaur/0/karl# egrep plp /etc/makedev ioplp 20 ioplp=2 ioplp=*|\ if test "$iocdisk" -o "$ioctape" -o "$ioplp"; then # /dev/iop/plp{cont}{r,c} if test "$ioplp"; then parsearg $ioplp domknod $dev/iop/plp$nlprnum c 48 $nlprnum 220 lp daemon domknod $dev/iop/plp$nlprnum$C c 48 `expr $nlprnum + 16` 220 lp daemon domknod $dev/iop/plp$nlprnum$R c 48 `expr $nlprnum + 32` 220 lp daemon --Karl
hoyt@polyslo.CalPoly.EDU (Sir Hoyt) (01/12/90)
In article <KARL.90Jan11141236@cheops.cis.ohio-state.edu> karl@cheops.cis.ohio-state.edu (Karl Kleinpaste) writes: >OSx4.4 believes in major dev 48 in /etc/makedev and for /dev/iop/plp*. Ok, I forgot to say we are running OSx5.0. Maybe they changed?? >--Karl -- John H. Pochmara A career is great, UUCP: {sdsu,voder,trwind}!polyslo!hoyt But you can't run your Internet: hoyt@polyslo.CalPoly.EDU fingers through its hair -Graffiti 4/13/83
cal@pyrtech (Craig Alan Levin) (01/12/90)
The deciding factor of the device major number is the [bc]devsw tables in /usr/sys/conf/conf.c. My system version has it set to 48 also.
moliver@pyrshadow (Mike Oliver) (01/12/90)
In article <25acde0a.4600@polyslo.CalPoly.EDU> hoyt@polyslo.CalPoly.EDU (Sir Hoyt) writes: > > Ok, I forgot to say we are running OSx5.0. Maybe they changed?? Apparently they have. On an OSx4.4 system ... [sugar] ls -l /dev/iop/plp0 c-w--w---- 1 lp 48, 0 May 4 1988 /dev/iop/plp0 while on OSx5.0 ... [pyrps5] ls -l /dev/iop/plp0 c-w--w---- 1 lp 43, 0 Jan 11 11:55 /dev/iop/plp0 And as cal@pyrtech (Craig Alan Levin) noted in <98007@pyramid.pyramid.com>, the major number can be verified by looking at the cdevsw[] table in /usr/sys/conf/conf.c, which on OSx5.0 contains the entry /* 43 */ { /* IOP printer */ glpopen, glpclose, nodev, glpwrite, nodev, nodev, nodev, 0, seltrue, nodev, SLAVEOK, 0, sio_nodev, }, So your /etc/makedev is correct and it looks like the man page for plp(4) didn't get updated in the 5.0 release. I'll pass this on to the appropriate people. Thanks for pointing it out. Mike. moliver@pyramid.com {allegra,decwrl,hplabs,munnari,sun,utai,uunet}!pyramid!moliver