Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 1996 22:25:49 -0600 (CST)
From:      David Kelly <dkelly@hiwaay.net>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        hackers@freebsd.org
Subject:   Re: ATAPI (was: Who needs Perl? We do!)
Message-ID:  <XFMail.961122223634.dkelly@hiwaay.net>
In-Reply-To: <24216.848720393@time.cdrom.com>

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*!

Input like this? (the data part of this ATAPI drive works, the audio
stuff isn't fully functional).

FreeBSD 2.1.6-RELEASE #0: Wed Nov 20 08:05:46 CST 1996
    root@nexgen.HiWAAY.net:/usr1/src-216/sys/compile/NEXGEN

wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (atapi): <CD-ROM CDU77E/1.0e>, removable, accel, dma, iordy
wcd0: 689Kb/sec, 128Kb cache, audio play, 256 volume levels, ejectable tray
wcd0: no disc inside, unlocked

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

cd> play 1
Ambiguous command
cd> info
Audio status = 21<void>, current track = 1, current position = 0:02.00
Left volume = 128, right volume = 128
Starting track = 1, ending track = 8, TOC size = 74 bytes
track     start  duration   block  length   type
-------------------------------------------------
    1   0:02.00   3:34.07       0   15907  audio
    2   3:34.07   3:35.08   15907   15983  audio
    3   7:07.15   4:18.65   31890   19265  audio
    4  11:24.05   4:25.42   51155   19767  audio
    5  15:47.47   7:57.60   70922   35685  audio
    6  23:43.32   3:44.35  106607   16685  audio
    7  27:25.67   9:45.50  123292   43775  audio
    8  37:09.42   7:45.05  167067   34730  audio
  end  44:52.47         -  201797       -      -
cd> play
Ambiguous command
cd> play 1
Ambiguous command
cd> quit
nexgen: {1022} cdplay wcd0
CD>play
cdplay: Input/output error
CD>list
No such command, enter 'help' for commands list
CD>help
play <start_trk> <end_trk>, reset, pause, resume, stop, setdebug, clrdebug,
eject, setvol <l> <r>, getvol, tochdr, msfplay <m1> <s1> <f1> <m2> <s2> <f2>,
tocentry, status, quit, help
CD>play 1
cdplay: Input/output error
CD>play 1 8
cdplay: Input/output error
CD>play 1 7
CD>status
status track minute second frame
17 01 0 3 59
CD>status
status track minute second frame
17 01 0 13 13
CD>

Lookie there! Its playing! But acts like it won't play track 8,
is this because its a CDROM and not an 8-track? (groan).

The above CD is the first Kansas album.

Last week when I tried this with 2.1.5R I couldn't get it to play
anything, but could get the listing of tracks.

--
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.



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