*BSD News Article 61645


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!uwm.edu!math.ohio-state.edu!news.physics.uiowa.edu!ljg
From: ljg@space.physics.uiowa.edu (Larry Granroth)
Subject: CDROM changers, etc
X-Nntp-Posting-Host: ljgpc.physics.uiowa.edu
Message-ID: <DMHsAG.IyE@sysadm.physics.uiowa.edu>
Sender: news@sysadm.physics.uiowa.edu (News Administrator)
Organization: The University of Iowa, Department of Physics and Astronomy
X-Newsreader: TIN [version 1.2 PL2]
Date: Fri, 9 Feb 1996 04:54:15 GMT
Lines: 22

Greetings-

First off, I'm looking for information on using the /dev/ch0 device
for controlling a Pioneer DRM-1804X CDROM changer.  I've found ioctl
structures in <sys/chio.h>, but was hoping that someone had already
put together some convenient utilities.

I also have some changers with few enough slots to access them each
as a SCSI lun.  I'd like to hang a bunch of these on a system, but
/dev/MAKEDEV is hardcoded to only allow cd0 through cd6.  (The same
thing is true for the ch devices.)  Is it safe to extend these, or
do the arguments to mknod go out-of-bounds?  (I'm ignorant of these
things.)  If so, can I add additional SCSI controllers and keep adding
devices?  (I'm trying to implement an economical and modular alternative
to a large CDROM jukebox.)

Thanks in advance for any pointers.  I'll submit a summary if appropriate.

-Larry

larry-granroth@uiowa.edu