From owner-freebsd-alpha Sat Apr 29 22:55: 2 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from radicalmedia.com (eel.radicalmedia.com [204.254.246.9]) by hub.freebsd.org (Postfix) with ESMTP id 8036C37B6C9 for ; Sat, 29 Apr 2000 22:54:58 -0700 (PDT) (envelope-from phiber@radicalmedia.com) Received: (from phiber@localhost) by radicalmedia.com (8.8.6/8.8.6) id BAA05264; Sun, 30 Apr 2000 01:54:58 -0400 (EDT) Message-ID: <20000430015457.S18160@radicalmedia.com> Date: Sun, 30 Apr 2000 01:54:57 -0400 From: Mark Abene To: "Kenneth D. Merry" Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: ioctl problem with IDE cdrom drive... References: <20000429223459.R18160@radicalmedia.com> <20000429234618.A62831@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <20000429234618.A62831@panzer.kdm.org>; from Kenneth D. Merry on Sat, Apr 29, 2000 at 11:46:18PM -0600 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Apr 29, 2000 at 11:46:18PM -0600, Kenneth D. Merry wrote: > 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. Most assuredly, I'm using the correct device node. > > If you're still having trouble after that, I would suggest contacting the > ATA driver author, Soren Schmidt . > > Ken Before I do that, can anyone else verify that xmcd (or cda) from the ports collection doesn't work with an IDE CDROM drive? I've done some poking, and wmcdplay works fine. It too makes use of CDIOCREADSUBCHANNEL, so it may not be a driver issue. -Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message