Date: Fri, 11 Jun 1999 12:30:02 -0700 (PDT) From: Inagaki Kentaro (=?iso-2022-jp?B?GyRCMHAzQDdyQkBPOhsoQg==?=) <inagaki@tg.rim.or.jp> To: freebsd-ports@FreeBSD.org Subject: Re: ports/11003: wmcdplay is not capable of playing an AUDIO CD Message-ID: <199906111930.MAA01409@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/11003; it has been noted by GNATS. From: Inagaki Kentaro (=?iso-2022-jp?B?GyRCMHAzQDdyQkBPOhsoQg==?=) <inagaki@tg.rim.or.jp> 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. <NEC CD-ROM DRIVE:462 1.13> at scbus0 target 5 lun 0 (pass1,cd0) <TOSHIBA CD-ROM XM-3501TA 3054> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906111930.MAA01409>