Subject: pkg/4918: xcdplayer fails to play on i386
To: None <>
From: Jaromir Dolecek <>
List: netbsd-bugs
Date: 01/30/1998 19:24:36
>Number:         4918
>Category:       pkg
>Synopsis:       xcdplayer fails to play on i386
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 30 10:20:00 1998
>Originator:     Jaromir Dolecek
	ICS MU, Brno, Czech republic
>Release:        1.3
System: NetBSD 1.3 NetBSD 1.3 (SARUMAN) #3: Wed Jan 21 13:29:49 MET 1998 i386

	I'm using ATAPI CD-ROM:
	atapibus0 at wdc1
	cd0 at atapibus0 drive 0: <, , 38C11S10> type 5 cdrom removable

	xcdplayer fails to open play audio CDs. It tries to use
	/dev/rcd0c as an cd device, which apparently doesn't work.
	If the device is changed to /dev/rcd0a, everything is okay.

	compile & install xcdplayer
	try to use xcdplayer, watch error messages and find out playing CDs
		is not possible
--- files/cdrom_freebsd.c.orig	Fri Jan 30 18:33:54 1998
+++ files/cdrom_freebsd.c	Fri Jan 30 18:34:31 1998
@@ -32,7 +32,11 @@
 # include "cdrom_freebsd.h"
 extern char	*device;
+#ifdef __NetBSD__
+static char     cdrom[] =       "/dev/rcd0a";
 static char     cdrom[] =       "/dev/rcd0c";
 static char     cdrom1[] =      "/dev/rmcd0c";
 cdrom_info	cdi;