From owner-freebsd-stable@FreeBSD.ORG Sat Aug 9 00:17:42 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9123B1065673 for ; Sat, 9 Aug 2008 00:17:42 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.186]) by mx1.freebsd.org (Postfix) with ESMTP id 175D28FC1C for ; Sat, 9 Aug 2008 00:17:41 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so996421mue.3 for ; Fri, 08 Aug 2008 17:17:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=1ddjMzSMTadkEsHtEMpbkwNA1Q/do2YuhybO3xD0+yY=; b=KsLmATQjhH2T6aAC1AE3IolVNwXk8gy5QhL/Q7WAtBqWQzwHNYE4YNdTe2LenBLAHJ oGBQe4mEbYyE/xfc5cs8OMzRmsI3M70QvTs1MOMgmtMbCzKsC8JlXf3j+EmwT+0lRh4H YMk5yubfXbqhoD8O5T3aZwddRyVbggXuGbbaU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=F86urRF8/Yyeje4kfAFezyby6Ba9IS4vre/fUjk8SeACyb5R0JBI7lk4FY09gVNBAo WufgPeXC2My+sx6+vRIZeP7IdfRMryprJJNYNcswh5St+Mr5mi4SrV9aGgglHhn+AoMW PYtU7+IHWWux1jBFDCOxdq7HpkaD29b0LTy14= Received: by 10.102.218.6 with SMTP id q6mr3620502mug.127.1218241060389; Fri, 08 Aug 2008 17:17:40 -0700 (PDT) Received: by 10.103.169.13 with HTTP; Fri, 8 Aug 2008 17:17:40 -0700 (PDT) Message-ID: Date: Fri, 8 Aug 2008 21:17:40 -0300 From: "Carlos A. M. dos Santos" To: freebsd-stable@freebsd.org In-Reply-To: <20080808081330.GA1203@sirius.local.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080808081330.GA1203@sirius.local.net> Subject: Re: Audio CD problem on laptop VGN-SZ61MN X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2008 00:17:42 -0000 On Fri, Aug 8, 2008 at 5:13 AM, Harald Weis wrote: > Is there anyone out there who has installed FreeBSD on the above Sony > laptop ? > > Both ''cat filename > /dev/dsp0.0'' or ''vlc cdda:///dev/acd0@1 are OK. > > If I run ''cdcontrol -f /dev/acd0 play'', there is no sound. > But the output of ''cdcontrol -f /dev/acd0 status audio'' is alright. > (same behaviour for cd0 instead of acd0) > > And the output of ''mplayer cdda://1//dev/acd0'' is: > Playing cdda://1//dev/acd0. > ++ WARN: open: Inappropriate ioctl for device > **ERROR: fread (): Invalid argument > > On the other hand, DVD's play fine, for example with > either ''vlc dvd:///dev/acd0@2'' or ''mplayer dvd://2'' > > I wonder whether the problem is related to the FAILURE line in dmesg: > acd0: DVDR at ata0-master UDMA33 > acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 > acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 > cd0 at ata0 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 33.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > > Adding ''device atapicam'' in the kernel doesn't make a difference. > > I found some messages concerning the FAILURE line in the mailing list > archives, but no solution. Same result on my notebook (HP nx6320) and this is not a surprise. The "mixer" command does not show a "cd" input, meaning that there is no input port for the analog audio output of the CD drive (if any). The "status audio" arguments instructs cdcontrol to inquire the drive, not the audio device. NetBSD's "cdplay" supports digital transfer mode since version 4.0. Perhaps this feature could be implemented on cdcontrol. -- If you think things can't get worse it's probably only because you lack sufficient imagination.