From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 9 20:23:24 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org 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 290A916A407 for ; Sat, 9 Sep 2006 20:23:24 +0000 (UTC) (envelope-from jos@catnook.com) Received: from 209-204-181-78.dsl.static.sonic.net (209-204-181-78.dsl.static.sonic.net [209.204.181.78]) by mx1.FreeBSD.org (Postfix) with SMTP id 9C20843D46 for ; Sat, 9 Sep 2006 20:23:23 +0000 (GMT) (envelope-from jos@catnook.com) Received: (qmail 60942 invoked by uid 1000); 9 Sep 2006 20:23:45 -0000 Date: Sat, 9 Sep 2006 13:23:23 -0700 From: Jos Backus To: Alexander Leidinger Message-ID: <20060909202345.GA60749@lizzy.catnook.local> References: <20060909073454.GA49597@lizzy.catnook.local> <20060909163751.35cbe4ec@Magellan.Leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060909163751.35cbe4ec@Magellan.Leidinger.net> User-Agent: Mutt/1.5.13 (2006-08-11) X-Mailman-Approved-At: Sat, 09 Sep 2006 23:22:04 +0000 Cc: freebsd-multimedia@freebsd.org Subject: Re: cdcontrol gives I/O errors while trying to play audio CD's X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jos@catnook.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 20:23:24 -0000 On Sat, Sep 09, 2006 at 04:37:51PM +0200, Alexander Leidinger wrote: > Quoting Jos Backus (Sat, 9 Sep 2006 00:34:32 -0700): > > > lizzy:~% uname -a > > FreeBSD lizzy.catnook.local 7.0-CURRENT FreeBSD 7.0-CURRENT #35: Mon Aug 28 04:08:30 PDT 2006 root@lizzy.catnook.local:/usr/obj/usr/src/sys/LIZZY i386 > > lizzy:~% sudo atacontrol list > > ATA channel 0: > > Master: ad0 ATA/ATAPI revision 6 > > Slave: ad1 ATA/ATAPI revision 5 > > ATA channel 1: > > Master: acd0 ATA/ATAPI revision 0 > > Slave: no device present > > # Put audio CD in drive > > lizzy:~% cdcontrol -f /dev/acd0 info > > cdcontrol: getting toc header: Input/output error > > lizzy:~% > > > > Also, the `cdcontrol play' command (and kscd, for that matter) does not work. > > Any idea as to what the problem could be? > > Load atapicam and try to use cdcontrol on /dev/cd0 instead. Thanks for the reply, Alexander. But the same result ensues: lizzy:~% sudo zsh lizzy:~# kldload atapicam.ko lizzy:~# exit lizzy:~% ls -l /dev/cd0* crw-r----- 1 root operator 0, 159 Aug 29 10:31 /dev/cd0 lizzy:~% lizzy:~% cdcontrol -f /dev/cd0 info cdcontrol: getting toc header: Device not configured lizzy:~% kldstat -v|grep atapi 10 1 0xcad5e000 4000 atapicam.ko 149 ata/atapicam lizzy:~% truss cdcontrol -f /dev/cd0 info ... open("/dev/cd0",O_RDONLY,01001134122) = 3 (0x3) ioctl(3,CHIOGPICKER,0xbfbfe388) ERR#6 'Device not configured' cdcontrol: write(2,"cdcontrol: ",11) = 11 (0xb) getting toc headerwrite(2,"getting toc header",18) = 18 (0x12) : write(2,": ",2) = 2 (0x2) Device not configured write(2,"Device not configured\n",22) = 22 (0x16) exit(0xffffffff) process exit, rval = 65280 lizzy:~% -- Jos Backus jos at catnook.com