Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2011 18:57:25 +0200
From:      Claude Buisson <clbuisson@orange.fr>
To:        Daniel O'Connor <doconnor@gsoft.com.au>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, freebsd-stable@freebsd.org
Subject:   Re: can audio CDs be played with ATA_CAM ?
Message-ID:  <4EA83BF5.4090201@orange.fr>
In-Reply-To: <7334F735-D217-471E-B5AA-151DD9204B65@gsoft.com.au>
References:  <4EA68C47.2070908@orange.fr>	<CAG=rPVcUAMbqQ3T-JMVj9TNCKjQOzMw3Jc2ekTbULb9YpM5umA@mail.gmail.com>	<4EA7C5C9.8010903@orange.fr>	<C1560A8D-4BFD-4B33-8915-DA2A1565D26D@gsoft.com.au>	<4EA7DEF3.7030807@orange.fr> <7334F735-D217-471E-B5AA-151DD9204B65@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EA83BF5.4090201>