Hi, 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 ? Thanks, Claude Buisson
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? It may be trying old style ATA ioctls based on the device name. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
On Tue, Oct 25, 2011 at 3:15 AM, Claude Buisson <clbuisson@orange.fr> wrote:> Hi, > > 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.Hi, Would vlc have worked if, while ATA_CAM was enabled, there was a symlink so that /dev/acd0 -> cd0 ? -- Craig Rodrigues rodrigc@crodrigues.org
On 10/26/2011 03:28, Craig Rodrigues wrote:> On Tue, Oct 25, 2011 at 3:15 AM, Claude Buisson<clbuisson@orange.fr> wrote: >> Hi, >> >> 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. > > Hi, > > Would vlc have worked if, while ATA_CAM was enabled, > there was a symlink so that /dev/acd0 -> cd0 ?Just to be sure, I just made the test, and the answer is: NO I have already written that vlc writes a susccession of messages [0x2caf2a3c] cdda access error: Could not set block size [0x2caf2a3c] cdda access error: cannot read sector nnnnn incrementing each time the sector number. So I infer that vlc cannot set the correct (audio specific) sector size for the cam device. Thanks for your attention. Claude Buisson 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..