From owner-freebsd-alpha Sat Apr 29 22:46:40 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 9FF4137B6AE for ; Sat, 29 Apr 2000 22:46:33 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id XAA62910; Sat, 29 Apr 2000 23:46:18 -0600 (MDT) (envelope-from ken) Date: Sat, 29 Apr 2000 23:46:18 -0600 From: "Kenneth D. Merry" To: Mark Abene Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: ioctl problem with IDE cdrom drive... Message-ID: <20000429234618.A62831@panzer.kdm.org> References: <20000429223459.R18160@radicalmedia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000429223459.R18160@radicalmedia.com>; from phiber@radicalmedia.com on Sat, Apr 29, 2000 at 10:34:59PM -0400 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Apr 29, 2000 at 22:34:59 -0400, Mark Abene wrote: > Is anyone aware of problems with doing ioctls on IDE CDROM drives? > I'm trying to use xmcd/cda to play CD's, and it fails when trying to do > a CDIOCREADSUBCHANNEL ioctl, returning errno 25 (inappropriate ioctl for > device). My cdrom drive works fine otherwise in all respects. > I've e-mailed the author of xmcd, and we're at a loss as to why this common > ioctl is failing. He's using the call to detect whether a disc has been > inserted. > > Anyone have any suggestions? Well, make sure you're using the correct device. I think it should be /dev/acd0a or /dev/acd0c. If you're still having trouble after that, I would suggest contacting the ATA driver author, Soren Schmidt . Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message