From owner-freebsd-questions@freebsd.org Fri Mar 17 20:25:07 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7BD27D10025 for ; Fri, 17 Mar 2017 20:25:07 +0000 (UTC) (envelope-from holindho@saunalahti.fi) Received: from vs23.mail.saunalahti.fi (vs23.mail.saunalahti.fi [193.64.193.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vs23.mail.saunalahti.fi", Issuer "vs23.mail.saunalahti.fi" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D4EF1EDC; Fri, 17 Mar 2017 20:25:06 +0000 (UTC) (envelope-from holindho@saunalahti.fi) Received: from vs23.mail.saunalahti.fi (localhost [127.0.0.1]) by vs23.mail.saunalahti.fi (Postfix) with ESMTP id F3D29200D0; Fri, 17 Mar 2017 22:15:00 +0200 (EET) Received: from gw01.mail.saunalahti.fi (gw01.mail.saunalahti.fi [195.197.172.115]) by vs23.mail.saunalahti.fi (Postfix) with ESMTP id E8FB2200CA; Fri, 17 Mar 2017 22:15:00 +0200 (EET) Received: from [10.0.0.7] (62-78-248-13.bb.dnainternet.fi [62.78.248.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by gw01.mail.saunalahti.fi (Postfix) with ESMTPSA id CE69A40041; Fri, 17 Mar 2017 22:14:57 +0200 (EET) Subject: Re: eject not working To: Polytropon , Tijl Coosemans References: <876a39d9-b968-54af-519c-60d0f507ab64@saunalahti.fi> <20170317203955.7ab8a02f@kalimero.tijl.coosemans.org> <20170317210756.d91aae53.freebsd@edvax.de> Cc: freebsd-questions@freebsd.org From: Heikki Lindholm Message-ID: Date: Fri, 17 Mar 2017 22:14:57 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170317210756.d91aae53.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2017 20:25:07 -0000 On 17.03.2017 22:07, Polytropon wrote: > On Fri, 17 Mar 2017 20:39:55 +0100, Tijl Coosemans wrote: >> On Fri, 17 Mar 2017 20:24:13 +0200 Heikki Lindholm wrote: >>> Hi, >>> >>> eject says: >>> $ eject /dev/cd0 >>> eject: Device not configured >>> >>> Kind of irksome because there's no eject button that could be reached on >>> the DVD drive without taking something apart. Is there an alternative? I >>> think this happens only when the drive is empty. Eject works on Linux as >>> expected. >>> >>> (FreeBSD 11 / eject-1.5_4) >> >> Try "cdcontrol eject". > > Has cdcontrol been rewritten to use CAM/SCSI instead of ATAPI? > > If not, try "camcontrol eject 0:0:0" (where 0:0:0 refers to the > optical drive; check "camcontrol devlist" to verify). Thanks, this one works, too. Using "devlist" appears to need root, though. Logical follow-up: # pkg delete eject Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: eject-1.5_4 Number of packages to be removed: 1 Proceed with deinstalling packages? [y/N]: y