From owner-freebsd-multimedia Mon Mar 17 19:45:10 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E300C37B404 for ; Mon, 17 Mar 2003 19:45:08 -0800 (PST) Received: from agena.meridian-enviro.com (thunder.meridian-enviro.com [207.109.234.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85C5D43FB1 for ; Mon, 17 Mar 2003 19:45:07 -0800 (PST) (envelope-from rand@meridian-enviro.com) Received: from bemidji.meridian-enviro.com (bemidji.meridian-enviro.com [192.168.0.10]) by agena.meridian-enviro.com (8.11.6/8.11.6) with ESMTP id h2I3j2c29228; Mon, 17 Mar 2003 21:45:03 -0600 (CST) (envelope-from rand@meridian-enviro.com) Date: Mon, 17 Mar 2003 21:45:01 -0600 Message-ID: <87n0jt72yq.wl@bemidji.meridian-enviro.com> From: "Douglas K. Rand" To: grip-users@lists.sourceforge.net, freebsd-multimedia@freebsd.org Subject: Ejecting an empty drive User-Agent: Wanderlust/2.10.0 (Venus) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.4 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) X-Face: $L%T~#'9fAQ])o]A][d7EH`V;"_;2K;TEPQB=v]rDf_2s% List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm having a mild problem with Grip 3.0.5 on FreeBSD 4.7: It won't open the CD-ROM try if the drive is empty. I just start grip without having a disk in the CD-ROM drive, and the eject button doesn't work. If I start grip with a disk in the CD-ROM drive, the eject button works. I've tried this with faulty_eject set to both 0 and 1, with no change. I've traced the source, and the only difference seems to be that if grip thinks there is a disk in the drive, it runs CDStop before CDEject. So, I added a CDStop call at line 1211 and 1215 of cdplay.c, and that didn't change anything. Working with gdb shows that in both cases (empty and non-empty drives) CDEject executes: if(ioctl(disc->cd_desc,CDIOCALLOW)<0) printf(_("Unlock failed: %d"),errno); if(ioctl(disc->cd_desc,CDIOCEJECT)<0) { printf(_("CDIOCEJECT")); return FALSE; } I'm kinda stumped right now. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message