Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 1996 14:45:17 -0500
From:      Benjamin Lewis <blewis@vet.purdue.edu>
To:        freebsd-questions@freebsd.org
Subject:   Playing audio CDs on EIDE CD drive
Message-ID:  <199605231945.OAA00415@ylana.vet.purdue.edu>

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

I recently purchased a new computer, and although I have an Adaptec 2940UW 
controlling the hard drive, the CD-ROM drive is hanging off the primary
EIDE controller.  Everything works great except for some problems with 
playing audio CDs, no matter which cd playing program I use (I've tried
xmcd2.0, xcdplayer, cdcontrol, workman and xcd):
	- The track list has bogus times that look like uninitiated values
	   for all tracks
	- Pressing the "next track" button or trying to select a track by
	   track number fails
	- I can select and play any part of the disc if I specify it in 
	   total elapsed time in cdcontrol - this would be great except 
	   that the track list is mangled and I can't find which times
	   to select :)

I _can_ play audio CD's, but it's an all-or-nothing deal since I can't
select which tracks to play.

Is there a patch floating around for this? I have dim memories of this coming
up in -questions before, but wasn't really able to find anything useful in
the archives.

Relevant dmesg stuff:
	FreeBSD 2.2-CURRENT #0: Tue Jan  1 13:22:25 EST 1980
 	   root@ylana.home.net:/usr/src/sys/compile/YLANA  
	*	The date should have been 5/21/96 above - it got reset
	*	while I was wrestling with the BIOS and I didn't notice
	*	Sources were from CTM up to src-cur.1800A -> 1809
	*	2.2-SNAP-960501 displayed the same symptoms
	wdc0 at 0x1f0-0x1f7 irq 14 on isa
	wdc0: unit 0 (atapi): <ACER CD-767E/O/V1.5>, removable, intr, iordy
	atapi0.0: unknown phase 
	*	The CD-ROM drive is the only E/IDE device in the system

cdcontrol -f /dev/wcd0c stuff:
	cdcontrol> info
	Starting track = 1, ending track = 10, TOC size = 90 bytes
	track     start  duration   block  length   type
	-------------------------------------------------
	    1   0:09.20  60:02.60     545  270060  audio
	    2  60:10.05  71:09.22  270605  320047  audio
	    3  131:17.27  59:17.70  590652  266695  audio
	    4  190:33.22  28:18.42  857347  127242  audio
	    5  218:49.64  189:29.00  984589  -948691  audio
	    6   8:00.48  57:59.34   35898  260809  audio
	    7  65:58.07  71:53.03  296707  323328  audio
	    8  137:49.10  59:15.28  620035  266503  audio
	    9  197:02.38  204:02.06  886538  -883210  audio
	   10   0:46.28  36:40.31    3328  164881  audio
	  170  37:24.59         -  168209       -      -   
	cdcontrol> play 1			<- works
	cdcontrol> play 2
	cdcontrol: Input/output error
	cdcontrol> play 1 2
	cdcontrol: Input/output error
	cdcontrol> play 3:04 3:16		<- works
	cdcontrol> play 30:12 30:22		<- works

xmcd errors from pressing ">>|" button while disc is playing:
	CD audio: ioctl error on /dev/rwcd0c: cmd=CDIOCPLAYMSF errno=5

xcdplayer -c /dev/wcd0c errors from pressing ">>|" while disc playing:
	ioctl(cdromplaymsftrk): Input/output error
    A "total time remaining" display on track 3:
	-4294967175:25


xmcd & xcdplayer were both compiled from the ports-current collection which
I grabbed a couple days before rebuilding the kernel (about 5/19).

Anybody have any suggestions?

Thank you,

-Ben

-- 
Benjamin Lewis - blewis@vet.purdue.edu





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