From owner-freebsd-stable Sun May 30 15: 4:41 1999 Delivered-To: freebsd-stable@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id F225214C4E for ; Sun, 30 May 1999 15:04:39 -0700 (PDT) (envelope-from klui@cup.hp.com) Received: from cup44ux.cup.hp.com (klui@cup44ux.cup.hp.com [15.13.168.124]) by palrel3.hp.com (8.8.6 (PHNE_17135)/8.8.5tis) with ESMTP id PAA28298; Sun, 30 May 1999 15:04:35 -0700 (PDT) Received: (from klui@localhost) by cup44ux.cup.hp.com (8.8.6 (PHNE_14041)/8.7.3 TIS Messaging 5.0) id PAA07525; Sun, 30 May 1999 15:00:12 -0700 (PDT) From: Ken Lui Message-Id: <199905302200.PAA07525@cup44ux.cup.hp.com> Subject: Re: Cannot close ATAPI CD tray via wmcdplay To: vanderh@ecf.utoronto.ca (Tim Vanderhoek) Date: Sun, 30 May 1999 15:00:12 -0700 (PDT) Cc: stable@freebsd.org In-Reply-To: <19990530173108.C6701@mad> from "Tim Vanderhoek" at May 30, 99 05:31:08 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Sun, May 30, 1999 at 02:06:16PM -0700, Ken Lui wrote: > > I'm running FreeBSD 3.2 and wmcdplay will not close my ATAPI CD-ROM's > > CD tray. The tray will open via software control. Under Linux 2.2.7, > > wmcdplay opens and closes my CD tray without any problems. Anyone else > > run into this problem before? > > Does it close when you use the cdcontrol(1) "close" command? No. I tried patching atapi-cd.c under the obvious places but it does no good. There are a bunch of code that doesn't get executed via multiple returns() under acd_eject() and commenting them out doesn't do what's expected. Also there's code that looks for CDIOCCLOSE but bypassing the check for an already opened device doesn't allow the try to close either. Ken -- Ken Lui 19111 Pruneridge Avenue klui@cup.hp.com Cupertino, CA 95014-0795 USA Information Solutions & Services 1.408.447.3230 FAX 1.408.447.0218 Views within this message may not be those of the Hewlett-Packard Company To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message