Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 1996 20:10:40 +0100 (MET)
From:      Robert Eckardt <roberte@mep.ruhr-uni-bochum.de>
To:        dkelly@hiwaay.net (David Kelly)
Cc:        jkh@time.cdrom.com, hackers@FreeBSD.org
Subject:   cdcontrol (was: Re: ATAPI (was: Who needs Perl? We do!))
Message-ID:  <199611231910.UAA03363@ghost.mep.ruhr-uni-bochum.de>
In-Reply-To: <XFMail.961122223634.dkelly@hiwaay.net> from David Kelly at "22. Nov. 96 22:23:09"

next in thread | previous in thread | raw e-mail | index | archive | help


> On 01:39:53 "Jordan K. Hubbard" wrote:
> >
> >1. More bug reports from people who are failing to get IDE CDROMs
> >   to work.  Exact make and model *please*!

Am I right that a great deal of problems is caused by
the master/slave position and first/second controller problem ?

I remember that the one time I had to deal with an ATAPI drive
under 2.1.0-R IT WORKED as soon as I got it on the first controller
in slave position. (I saw that it worked with the same model on a PC
with only one IDE bus.)

wdc0: unit 1 (atapi): <FX001DE/0G 6>, removable, intr, iordis
wcd0: 689Kb/sec, 128Kb cache, audio play, 255 volume levels, ejectable tray
wcd0: 120mm data disc loaded, unlocked

This is the most verbose information I can get about this drive.
It is/seems to be a Mitsumi compatible ATAPI drive.
The drive itself gives no clue. It was delivered completely assembled
and does not show any sign of manufacturer.


And now to something completely different:

> nexgen: {1021}  cdcontrol -f /dev/wcd0
> Compact Disc Control Utility, Version 1.0
> Type `?' for command list

On on my 2.1.5-R

19:11 ghost:p6: /root 1#% cdcontrol -f /dev/rcd0
Compact Disc Control Utility, Version 1.0
Type `?' for command list

Note, this is a NEC 4x speed SCSI CDROM.

> cd> play 1
> Ambiguous command

cd> info
Audio status = 21<void>, current track = 0, current position = 0:00.00
Left volume = 255, right volume = 255
Starting track = 1, ending track = 8, TOC size = 74 bytes
track     start  duration   block  length   type
-------------------------------------------------
    1   0:02.00  11:34.62       0   51962  audio
    2  11:34.62   5:48.00   51962   25950  audio
    3  17:20.62   6:58.70   77912   31270  audio
    4  24:17.57   6:04.30  109182   27180  audio
    5  30:20.12  11:07.45  136362   49920  audio
    6  41:25.57   5:38.68  186282   25268  audio
    7  47:02.50   3:17.07  211550   14632  audio
    8  50:17.57   8:37.15  226182   38640  audio
  end  58:52.72         -  264822       -      -
cd> help
[..]
        PAuse
        Play min1:sec1.fr1 [ min2:sec2.fr2 ]
        Play track1.index1 [ track2.index2 ]
        Play #block [ len ]
[..]
cd> play 1               <- should this work ? it doesn't (no driver problem)
Ambiguous command          (obviously, only the u/c letters are valid comands)
cd> p 1                  <- wrong syntax according to help
cdplay: Invalid argument
cd> p 1 2                <- wrong syntax according to help
cdplay: Invalid argument
cd> p 1.1 2.0            <- correct syntax, it plays
cd> p 8.1 9.0            <- correct syntax, it plays
cd> p 11:34.62 17:20.62  <- correct syntax, it plays
cd> p 50:17.57 58:52.72  <- correct syntax, it plays

> David Kelly N4HHE, dkelly@hiwaay.net

Can you try the syntax used above ?

Robert

-- 
Robert Eckardt                \\ FreeBSD -- solutions for a large universe.(tm)
RobertE@MEP.Ruhr-Uni-Bochum.de \\       What do you want to boot tomorrow ?(tm)
http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte
For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de



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