Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 1995 15:04:22 GMT
From:      nnd@itfs.nsk.su (Nickolay N. Dudorov)
To:        hackers@freebsd.org
Subject:   Re: xcdplayer and SCSI CD-ROM
Message-ID:  <DF077B.F15@itfs.nsk.su>
References:  <199509160005.UAA18716@snoopy.mv.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul F. Werkowski (pw@snoopy.mv.com) wrote:
	............

> 	Hmm, well maybe, however I have just recently tried getting
> 	xmcd running on this 2.0.5 system. What worked fine on 2.0
> 	now can't seem to find any disk in the player. This with
> 	1542cf/NEC 4xi. I hope to have some time this weekend to
> 	figure out what is going on.
> 
> 	Can anyone report that any scsi based audio cd works these days?


	I discower some code in xmcd-1.4/libdi.d/os_frbsd.c that
prevent xmcd ('cda' in my case, cause I use it in CLI-environment)
from playing audio-CDs on my NEC-CDROM CDR-84 on 2.0.5 (and it works
on 2.0R ;-().
 The next patch brings back lovely Arensky, Rimsky-Korsakov etc. sounds :-)

	N.Dudorov
======================================================
--- os_frbsd.c.ORIG	Sat Sep 16 21:54:26 1995
+++ os_frbsd.c	Sat Sep 16 21:54:46 1995
@@ -214,7 +214,7 @@
 		return FALSE;
 	}
 
-	if ((pthru_fd = open(path, O_RDONLY)) < 0) {
+	if ((pthru_fd = open(path, O_RDWR)) < 0) {
 		DBGPRN(errfp, "Cannot open %s: errno=%d\n", path, errno);
 		return FALSE;
 	}




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