Re: Pioneer 6-CD changer (DRM-6324X)



John-Paul Stewart wrote:

CptDondo wrote:
Jim Weisenbach wrote:
I recently found one of these at a computer recycle store (very
dangerous place for my retirement account <grin>) and hooked it up to a
Fedora Core 1 system.

The self-test indicates no problems, and as soon as the OS is up and
running the first tray will load automatically. If it's an audio disk
then a window displays and the first track plays - I don't have a sound
card on this system - that's another project... :(

What I'm trying to find out is how to control the dang thing! Anyone
know
what the commands are for changing from one tray to another? Or, better
yet, an application that will give me all the options in one window?


ISTR that you had to scan all of them every time, and that they showed
up as 6 separate drives??? I used to have one, and it always worked
with a lot of clanking.

There was something about "scan all LUNs" or something like that which
would make the system scan all the CDs. I may be getting confused with
SCSI stuff but it was something similar.

According to the specs, the Pioneer unit in question *is* a SCSI CD-ROM
changer and uses multiple LUNs, so the above suggestion sounds right.

AFAIK, most distro-supplied kernels do *not* probe all SCSI LUNs, so the
OP will likely need to build (or find) a kernel with the option
CONFIG_SCSI_MULTI_LUN turned on.

I remember a unit like that - under DOS. Accessing the appropriate drive
letter caused the jukebox to load the CD. And it did present multiple LUNs.

In which case, under linux, as root:

cat /proc/scsi/scsi

You will get lots of stuff, including a line like:

Host: scsi0 Channel: 00 Id: 00 Lun: 00

immediately before your CDROM is mentioned.

Taking the first 3 numbers, calling them X, Y and Z (OP puts his numbers in
of course), do this:

echo "scsi add-single-device X Y Z 1" > /proc/scsi/scsi
echo "scsi add-single-device X Y Z 2" > /proc/scsi/scsi
echo "scsi add-single-device X Y Z 3" > /proc/scsi/scsi
etc

That will cause each of the LUNs to be probed. As John-Paul mentioned, there
is a kernel option to do this automatically and his information is exactly
right. Many distros disable this because it slows the boot process
noticeably.

There is also a "remove-single-device" command, but don;t do that to your
SATA disk :)

HTH

Tim

.



Relevant Pages

  • Re: Compiling a new RHEL-4 kernel
    ... this configures the scsi ... module for 128 luns. ... I would guess that this should work for Enterprise 4. ... > - Is there a resource where 'how to compile a kernel' is well- ...
    (RedHat)
  • Re: Scanning for SCSI Luns > 0
    ... >> drivers with support for multiple units per device. ... If you really are talking about multiple luns, yes, those are like cd ... > are you referring to the kernel SCSI driver? ...
    (comp.os.linux.misc)
  • Re: lpfc RAID1 device panics when one device goes away
    ... attached SCSI disks which are mirrored via software RAID1. ... As far as the OS is concerned the two LUNs are just two ... separate SCSI drives. ... Without that you have two independent connections to two LUNs ...
    (RedHat)
  • Re: Linux 2.6.4 - Card Reader not working
    ... > it could see all LUNs on the device. ... But when I plug in a card, no "part1" appears on the appropriate LUN. ... I now needed to make usb-storage as well as the scsi stuff as modules in ... I attached the dmesg output from the modprobing of the usb ...
    (Linux-Kernel)
  • Very Weird SCSI Id Problem
    ... We need to add another A1000 as it was saturating the SCSI BUS ... The new card appeared as ... c1t5d0 1T00844921 LUNS: 0 ...
    (SunManagers)