From owner-freebsd-stable@FreeBSD.ORG Wed Oct 26 16:57:32 2011 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 3321F106566B for ; Wed, 26 Oct 2011 16:57:32 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp.smtpout.orange.fr (smtp06.smtpout.orange.fr [80.12.242.128]) by mx1.freebsd.org (Postfix) with ESMTP id C679D8FC16 for ; Wed, 26 Oct 2011 16:57:31 +0000 (UTC) Received: from localhost ([92.162.5.199]) by mwinf5d12 with ME id pUxS1h0034HeVn803UxSyf; Wed, 26 Oct 2011 18:57:30 +0200 X-ME-engine: default Message-ID: <4EA83BF5.4090201@orange.fr> Date: Wed, 26 Oct 2011 18:57:25 +0200 From: Claude Buisson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.23) Gecko/20110928 Thunderbird/3.1.15 MIME-Version: 1.0 To: Daniel O'Connor References: <4EA68C47.2070908@orange.fr> <4EA7C5C9.8010903@orange.fr> <4EA7DEF3.7030807@orange.fr> <7334F735-D217-471E-B5AA-151DD9204B65@gsoft.com.au> In-Reply-To: <7334F735-D217-471E-B5AA-151DD9204B65@gsoft.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current , freebsd-stable@freebsd.org Subject: Re: can audio CDs be played with ATA_CAM ? 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: Wed, 26 Oct 2011 16:57:32 -0000 On 10/26/2011 13:50, Daniel O'Connor wrote: > > On 26/10/2011, at 20:50, Claude Buisson wrote: >>>> P.S. As I can see reading GENERIC, ATA_CAM will be the default for 9.X so there >>>> is a risk of complaints from FreeBSD workstation users (who cares ?) after the >>>> release.. >>> >>> >>> Does cdparanoia work for you? >>> >> >> With cdparanoia-3.9.8_9: YES >> >> tested on 8.2 (from Sep 18) and 9.0 (from Sep 25) both with ATA_CAM > > > Strange, I would have thought VLC would use the same sort of access method as VLC.. > > I don't know what it's trying so it's hard to know why it doesn't work :( Doing my home work step by step: I found only 1 place in VLC where the first message: [0x2caf2a3c] cdda access error: Could not set block size is emitted, after an: ioctl( p_vcddev->i_device_handle, CDRIOCSETBLOCKSIZE, &i_size ) CDRIOCSETBLOCKSIZE is defined in sys/cdrio.h, and in the kernel used in: sys/dev/ata/atapi-cd.c which is a brought into the kernel by: device atapicd So the natural question is: Is this ioctl supported with ATA_CAM (and atapicam) ? If not, what is to be used instead ? Claude Buisson