Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 1995 09:54:05 -0700 (PDT)
From:      ti@bazooka.amb.org (Ti Kan)
To:        mmead@goof.com (matthew c. mead)
Cc:        hackers@FreeBSD.org
Subject:   Re: xmcd 1.4 [ LONG DEBUG INFO ]
Message-ID:  <9504101654.AA00030@bazooka.amb.org>
In-Reply-To: <199504101506.LAA01098@goof.com> from "matthew c. mead" at Apr 10, 95 11:06:44 am

next in thread | previous in thread | raw e-mail | index | archive | help
matthew c. mead writes:
> 	Yes.  I've used xcdplayer just fine to change the volume while
> playing a cd.

Can you set modeSenseSetDBD to both True and False and run xmcd with
the -debug option in both scenarios?  I would like to see the results
of that too.

Also, from the debug output you sent, it is apparent that the driver is
returning failure status to the "Test Unit Ready" command that xmcd
sends.  This would indicate that the drive is not ready (such as
when no CD is loaded).  But I wonder if this is really the case.
Is /dev/rcd0 really the correct device node for your drive?  Check
its major and minor device numbers.  Also, did you use xcdplayer
on this very system using the very same device node, and have confirmed
that it worked?

A key difference between xcdplayer and xmcd is that for SCSI drives,
xmcd uses the SCSI pass-through interface to control the CD-ROM
drive instead of the CD-ROM driver ioctl interface that xcdplayer
uses.  Perhaps the SCSI pass-through interface is not properly
handled with the Buslogic driver?  I dunno...

Another thing you can try is to increase the command timeout value.
In libdi.d/os_frbsd.c there is a line in the pthru_send() function
that looks like this:

	ucmd.timeout = 2000;	/* 2 secs timeout */

Change it to:

	ucmd.timeout = 10000;	/* 10 secs timeout */

Recompile and re-try.  Does it work any better?

-Ti
-- 
    ///  Ti Kan                Vorsprung durch Technik
   ///   AMB Research Laboratories, Sunnyvale, CA. USA
  ///    Internet: ti@amb.org
 //////  UUCP:     ...!uunet!bazooka!ti
///      URL:      ftp://ftp.netcom.com/pub/tk/tkan/www/tikan/tikan.html




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