Subject: pkg/22803: SDL games can't find CD.
To: None <gnats-bugs@gnats.netbsd.org>
From: Peter Seebach <seebs@plethora.net>
List: netbsd-bugs
Date: 09/15/2003 04:37:21
>Number: 22803
>Category: pkg
>Synopsis: SDL games can't find a CD.
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 15 09:40:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: seebs
>Release: NetBSD 1.6T
>Organization:
>Environment:
System: NetBSD vash.cel.plethora.net 1.6T NetBSD 1.6T (VASH) #0: Fri Jun 6 15:02:03 CDT 2003 seebs@vash.cel.plethora.net:/usr/src/sys/arch/i386/compile/VASH i386
Architecture: i386
Machine: i386
>Description:
SDL games trying to find a CD-ROM device on NetBSD fail, having tried
/dev/cd0c, /dev/acd0c, and /dev/cdrom. They do not try /dev/cd0d.
>How-To-Repeat:
scummvm. Monkey Island (CD version). Beer.
>Fix:
The culprit appears to be SDL-1.2.5/src/cdrom/openbsd/SDL_syscdrom.c,
lines 144-148 or so. Probably the right thing to do is change the
second half of the #if statement to refer to cd?d, rather than cd?d.
The acd?c and cdrom options are irrelevant, although my workaround
was to ln -s cd0d cdrom.
>Release-Note:
>Audit-Trail:
>Unformatted: