Subject: pkg/4918: xcdplayer fails to play on i386
To: None <gnats-bugs@gnats.netbsd.org>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
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
>Last-Modified:
>Originator: Jaromir Dolecek
>Organization:
ICS MU, Brno, Czech republic
>Release: 1.3
>Environment:
System: NetBSD saruman.ics.muni.cz 1.3 NetBSD 1.3 (SARUMAN) #3: Wed Jan 21 13:29:49 MET 1998 dolecek@saruman.ics.muni.cz:/usr/home/dolecek/N13/usr/src/sys/arch/i386/compile/SARUMAN i386
>Description:
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.
>How-To-Repeat:
compile & install xcdplayer
try to use xcdplayer, watch error messages and find out playing CDs
is not possible
>Fix:
--- 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";
+#else
static char cdrom[] = "/dev/rcd0c";
+#endif
static char cdrom1[] = "/dev/rmcd0c";
cdrom_info cdi;
>Audit-Trail:
>Unformatted: