From owner-freebsd-ports Fri Jun 11 12:30: 5 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A69EE151CB for ; Fri, 11 Jun 1999 12:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA01409; Fri, 11 Jun 1999 12:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 11 Jun 1999 12:30:02 -0700 (PDT) Message-Id: <199906111930.MAA01409@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Inagaki Kentaro (=?iso-2022-jp?B?GyRCMHAzQDdyQkBPOhsoQg==?=) Subject: Re: ports/11003: wmcdplay is not capable of playing an AUDIO CD Reply-To: Inagaki Kentaro (=?iso-2022-jp?B?GyRCMHAzQDdyQkBPOhsoQg==?=) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/11003; it has been noted by GNATS. From: Inagaki Kentaro (=?iso-2022-jp?B?GyRCMHAzQDdyQkBPOhsoQg==?=) To: freebsd-gnats-submit@freebsd.org Cc: inagaki@tg.rim.or.jp, insane@oneinsane.net Subject: Re: ports/11003: wmcdplay is not capable of playing an AUDIO CD Date: Sat, 12 Jun 1999 04:20:10 +0900 bug fix. at scbus0 target 5 lun 0 (pass1,cd0) at scbus0 target 6 lun 0 (pass2,cd1) When wmcdplay reads out CD_MEDIA_CATALOG of CDIOCREADSUBCHANNEL with ioctl a problem breaks out. A problem does not occur if it does it as wmcdplay uses CD_CURRENT_POSITION instead of CD_MEDIA_CATALOG. Because the purpose of code of this part is the confirmation of CDROM this change has no problem. patches/patch-ac is added. ----cut here---- --- ../wmcdplay.orig/cdctl.h Sat Jun 12 04:16:44 1999 +++ cdctl.h Sat Jun 12 04:18:30 1999 @@ -179,7 +179,7 @@ sc.track = 0; sc.data=&csci; sc.data_len=sizeof(csci); - sc.data_format=CD_MEDIA_CATALOG; + sc.data_format=CD_CURRENT_POSITION; if(ioctl(cdfd, CDIOCREADSUBCHANNEL, &sc)){ if(status_state!=ssNoCD) status_state=ssTrayOpen; ----cut here---- ---- Kentaro Inagaki inagaki@tg.rim.or.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message