From owner-freebsd-stable@FreeBSD.ORG Tue Oct 25 12:54:25 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 76265106566B for ; Tue, 25 Oct 2011 12:54:25 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta01.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by mx1.freebsd.org (Postfix) with ESMTP id 221CE8FC0A for ; Tue, 25 Oct 2011 12:54:24 +0000 (UTC) Received: from omta19.westchester.pa.mail.comcast.net ([76.96.62.98]) by qmta01.westchester.pa.mail.comcast.net with comcast id ozok1h00327AodY510uRDu; Tue, 25 Oct 2011 12:54:25 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta19.westchester.pa.mail.comcast.net with comcast id p0uQ1h01Z1t3BNj3f0uQfJ; Tue, 25 Oct 2011 12:54:25 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 0C6B3102C31; Tue, 25 Oct 2011 05:54:23 -0700 (PDT) Date: Tue, 25 Oct 2011 05:54:23 -0700 From: Jeremy Chadwick To: Claude Buisson Message-ID: <20111025125423.GA88097@icarus.home.lan> References: <4EA68C47.2070908@orange.fr> <4EA69B17.6020607@orange.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EA69B17.6020607@orange.fr> User-Agent: Mutt/1.5.21 (2010-09-15) 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: Tue, 25 Oct 2011 12:54:25 -0000 On Tue, Oct 25, 2011 at 01:18:47PM +0200, Claude Buisson wrote: > On 10/25/2011 12:52, Daniel O'Connor wrote: > > > >On 25/10/2011, at 20:45, Claude Buisson wrote: > >>When upgrading a system to 8.2-STABLE, I switched my kernel from atapicam to > >>ATA_CAM, and found that vlc could not play audio CDs anymore. Reverting to > >>atapicam (and reverting from cdN to acdN of course), vlc was OK again. > >> > >>It seems that I am not the only one having this kind of problem, as I found (for > >>example) this message on questions@ (for releng9): > >> > >>http://lists.freebsd.org/pipermail/freebsd-questions/2011-October/234737.html > >> > >>Is this a known problem ? Is somebody working on it ? > > > >Have you tried pointing VLC at /dev/cd0 when using ATA_CAM? > > > > Of course yes ! (I even configured WITH_CDROM_DEVICE=/dev/cd1 when building VLC) > > > >It may be trying old style ATA ioctls based on the device name. > > > > VLC recognize the tracks and jump quickly from one to the following, without > playing it, and with a flow of messages: > > [0x2caf2a3c] cdda access error: Could not set block size > [0x2caf2a3c] cdda access error: cannot read sector nnnnn > > where the sector number is incremented, and then emit (2 times if I remenber): > > [0x2af28bc] es demux error: cannot peek > > Sorry for having ommited these messages in the previous mail. > > I found a PR 161760 about cdparanoia needing to be patched for 9.0 with CAM, a > proposal by avg@ related to libxine: > > http://lists.freebsd.org/pipermail/freebsd-multimedia/2010-December/011414.html > > These may not be the same problem, but I think they are related (a not so well > documented change in the kerm interface). You want atapicam(4). This is not the same thing as "options ATA_CAM". See /sys/conf/NOTES. Whether or not it works with audio CDs is unknown to me. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |