Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2005 15:47:42 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-hackers@freebsd.org
Subject:   playing audio CD's on modern laptops
Message-ID:  <200506041547.43456.hselasky@c2i.net>

next in thread | raw e-mail | index | archive | help
Hi,

On my laptop, which is not very old, they have dropped support for playing 
CD's through "cdcontrol". To play CD's one has to read the samples off the 
CD-ROM and send it to the soundcard in software. The problem is that the 
ATAPI driver complains when trying to read audio data:

acd0: WARNING - READ_CD UDMA ICRC error (retrying request)

So I tried:

sysctl hw.ata.atapi_dma=0

Which says I should put "hw.ata.atapi_dma=0" into a non-existent file. Then I 
tried:

echo hw.ata.atapi_dma="0" >> /boot/device.hints

And rebooted. Now things work.

Why is PIO mode not selected automatically by the ATAPI driver? Hence 
obviously some manufacturers try to save money here, not supporting all modes 
for all mediums? UDMA works for data CD-ROM's though.

--HPS



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