From owner-freebsd-bugs@FreeBSD.ORG Wed Aug 11 08:23:08 2010 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED8D9106566B for ; Wed, 11 Aug 2010 08:23:07 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id 70AEE8FC15 for ; Wed, 11 Aug 2010 08:23:06 +0000 (UTC) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id o7B8N5FW082003; Wed, 11 Aug 2010 10:23:05 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost [127.0.0.1]) by gothic.blackend.org (8.14.4/8.14.3) with ESMTP id o7B8N5qL001612; Wed, 11 Aug 2010 10:23:05 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.4/8.14.3/Submit) id o7B8MoOc001611; Wed, 11 Aug 2010 10:22:50 +0200 (CEST) (envelope-from marc) Date: Wed, 11 Aug 2010 10:22:50 +0200 From: Marc Fonvieille To: freebsd-bugs@FreeBSD.ORG, yuri@rawbw.com Message-ID: <20100811082250.GB1561@gothic.blackend.org> References: <4C6111C3.1030109@rawbw.com> <201008101028.o7AASMsX064779@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008101028.o7AASMsX064779@lurza.secnetix.de> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 8.0-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) Cc: olli@lurza.secnetix.de Subject: Re: kern/115232: [ata] Audio CD tracks not displayed properly by atapi driver X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 08:23:08 -0000 On Tue, Aug 10, 2010 at 12:28:22PM +0200, Oliver Fromme wrote: > Yuri wrote: > > Could you check if: > > > # dd if=/dev/acd0 of=/dev/null count=1 > > > > > > does the trick as mentioned in the Handbook? > > > > > > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=115232 > > > > Yes, this trick works. > > But the problem with it is that this should be done without such 'dd' > > command. User should be relieved from issuing such meaningless command > > It's not meaningless. It causes the driver to actually > look at the drive, re-read the TOC of the CD (there is no > other way to find out if the CD was changed) and update > the device nodes in /dev. > > > since system can do this automatically, avoiding user actions and > > possible user confusion. > > > > Driver knows when disk is inserted > > No, the driver does *not* know when a disk is inserted, > unless it actually accesses the CD (caused by the "dd" > command above, for example). > > Automatic detection and notification is not supported by > the hardware (unlike USB devices, for example). > > > (for example in Windows autorun executes when disk is inserted). > > That only works because Windows actively polls the drives > periodically, which is a bad hack, in my opinion. > I assume that a box with a KDE/GNOME thing using HAL should behave the same as windows, am I right? -- Marc