From owner-freebsd-hackers Sat Sep 16 22:50:42 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA28636 for hackers-outgoing; Sat, 16 Sep 1995 22:50:42 -0700 Received: from gw.itfs.nsk.su (gw.itfs.nsk.su [193.124.36.33]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA28631 for ; Sat, 16 Sep 1995 22:50:32 -0700 Received: from itfs.UUCP (uucp@localhost) by gw.itfs.nsk.su (8.6.12/8.6.12) with UUCP id MAA27457 for hackers@freebsd.org; Sun, 17 Sep 1995 12:50:07 +0700 Received: by itfs.nsk.su; Sun, 17 Sep 95 12:43:16 +0700 (NST) Received: (from news@localhost) by news.itfs.nsk.su (8.6.8/8.6.6) id MAA20943; Sun, 17 Sep 1995 12:30:56 +0700 From: nnd@itfs.nsk.su (Nickolay N. Dudorov) To: hackers@freebsd.org Subject: Re: xcdplayer and SCSI CD-ROM Message-ID: References: <199509160005.UAA18716@snoopy.mv.com> Date: Sat, 16 Sep 1995 15:04:22 GMT Sender: owner-hackers@freebsd.org Precedence: bulk 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; }