From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 4 13:46:54 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66A8916A41C for ; Sat, 4 Jun 2005 13:46:54 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8EF543D48 for ; Sat, 4 Jun 2005 13:46:53 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: Y1QAsIk9O44SO+J/q9KNyQ== Received: from mp-217-199-63.daxnet.no ([193.217.199.63] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 4.3.2) with ESMTP id 386300461 for freebsd-hackers@freebsd.org; Sat, 04 Jun 2005 15:46:51 +0200 From: Hans Petter Selasky Date: Sat, 4 Jun 2005 15:47:42 +0200 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Disposition: inline To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200506041547.43456.hselasky@c2i.net> Subject: playing audio CD's on modern laptops X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hselasky@c2i.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2005 13:46:54 -0000 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