Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755197AbYJNGzy (ORCPT ); Tue, 14 Oct 2008 02:55:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751471AbYJNGzp (ORCPT ); Tue, 14 Oct 2008 02:55:45 -0400 Received: from hera.kernel.org ([140.211.167.34]:36064 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751074AbYJNGzo (ORCPT ); Tue, 14 Oct 2008 02:55:44 -0400 Message-ID: <48F441F0.90408@kernel.org> Date: Tue, 14 Oct 2008 15:53:36 +0900 From: Tejun Heo User-Agent: Thunderbird 2.0.0.12 (X11/20071114) MIME-Version: 1.0 To: Nick Warne CC: linux-kernel@vger.kernel.org, D Bray , IDE/ATA development list Subject: Re: New CD/DVD reports 'Can Play Audio NO' References: <20081004103355.407fc303@sauron.linicks.net> <48E82FDB.6020009@kernel.org> <20081005120809.38eb4826@sauron.linicks.net> In-Reply-To: <20081005120809.38eb4826@sauron.linicks.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (hera.kernel.org [127.0.0.1]); Tue, 14 Oct 2008 06:55:32 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2178 Lines: 59 Nick Warne wrote: > /messages > Oct 5 11:54:13 sauron kernel: ata5: PATA max UDMA/133 cmd 0x1f0 ctl > 0x3f6 bmdma 0xf400 irq 14 > Oct 5 11:54:13 sauron kernel: ata6: PATA max > UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xf408 irq 15 > Oct 5 11:54:13 sauron kernel: ata5.00: ATAPI: TSSTcorp CDDVDW > SH-S202J, SB00, max UDMA/66 > Oct 5 11:54:13 sauron kernel: ata5.01: ATAPI: Optiarc DVD RW AD-7200A, > 1.06, max UDMA/66 > Oct 5 11:54:13 sauron kernel: ata5.00: configured for UDMA/66 > Oct 5 11:54:13 sauron kernel: ata5.01: configured for > UDMA/66 > > /syslog > Oct 5 11:54:13 sauron kernel: sr0: scsi3-mmc drive: 48x/48x writer > dvd-ram cd/rw xa/form2 cdda tray > Oct 5 11:54:13 sauron kernel: sr1: > scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray > > /proc/sys/dev/cdrom/info > > drive name: sr1 sr0 > drive speed: 48 48 > drive # of slots: 1 1 > Can close tray: 1 1 > Can open tray: 1 1 > Can lock tray: 1 1 > Can change speed: 1 1 > Can select disk: 0 0 > Can read multisession: 1 1 > Can read MCN: 1 1 > Reports media changed: 1 1 > Can play audio: 1 1 > Can write CD-R: 1 1 > Can write CD-RW: 1 1 > Can read DVD: 1 1 > Can write DVD-R: 1 1 > Can write DVD-RAM: 1 1 > Can read MRW: 1 1 > Can write MRW: 1 1 > Can write RAM: 1 1 Thanks. sr.c just doesn't check whether the drive reports audio play capability or not. It just sets it while ide-cd actually checks for the capability. The drive is not reporting it while it can so ide-cd needs blacklist entry for it. Now that idecd has blacklist entry, all should be fine. Eh... I'm not sure whether we need to update sr to follow what ide-cd is doing or not. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/