From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 31 02:12:35 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC4FBE33 for ; Thu, 31 Jul 2014 02:12:35 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.200]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A693D249D for ; Thu, 31 Jul 2014 02:12:35 +0000 (UTC) Received: from [192.168.1.81] ([172.15.184.248]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0LmKKS-1Wdt4K0Tw2-00Zvgt for ; Thu, 31 Jul 2014 04:12:34 +0200 Message-ID: <53D9A676.6050303@gmx.us> Date: Wed, 30 Jul 2014 22:14:14 -0400 From: Dutch Ingraham User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: Audio CDs Not Playing References: <53D97A50.8090006@gmx.us> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:spWmcW1aUw0XIm3kIh3mBuJLeU+XQR16DemMfx632aNjA7VyW7d jirXxQYEz6ISPfnpWJcKsU+K2ZStYdB5Cseis7KWAnXthCt8dQ4PyfllbCR+PX6vEC+pfv/ 1Cpaa2AaHsskxY2NQE6iQf6lnD+aIAB4vJFvBJnXYfZG2phHNAt8icX8AQoGq5nyqXeIpQM bwGMHtT5z+1A8N6C+WVNA== X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2014 02:12:36 -0000 On 07/30/2014 09:27 PM, Benjamin Kaduk wrote: > I am not sure how helpful this will be, but > > On Wed, 30 Jul 2014, Dutch Ingraham wrote: > >> Greetings: >> >> I asked this question on freebsd-questions a couple of days ago and >> have received zero responses, so I'm posting here and asking the >> hackers for their help. Here's the problem: >> >> I'm having trouble with playing audio CDs; specifically, they won't >> play at all. Secondarily, it appears as though if they would play, I >> would need to be root to do so. >> >> I am issuing the command and the CD > > I believe that for this command to actually produce audio playback > requires a hardwired connection between the optical drive and the sound > card (or motherboard, if it's an integrated sound card as is the norm > these days); this is a dedicated 4-pin cable (or so; it's been a while) > that's distinct from the power and (P|S)ATA data cable for the drive. > That said, I would mostly expect this cdcontrol command to still spin > the drive up even if that connection is not in place... > >> simply will not play (it does not physically spin). However, if I issue >> , the CD will eject; if I issue >> , I will receive the tracks information, etc. >> So it appears as though communication is happening, but the CD will not >> play. If I issue these commands as a regular user, I receive a >> "permission denied" message; if run as root, simply nothing happens - >> no error, nothing. In fact, issuing returns 0. >> >> PS - This issue is not limited to CLI commands; VLC will issue the >> error "VLC is unable to open the MRL 'cdda:///dev/cd0'. Check the >> log for details." There is no log info that I can find. In addition, I >> can burn a cd with xfburn, but only as root. My fstab has the >> standard entry for CDs. Sound does work, as I can generate white noise. > > It does not seem very surprising to me that root privilege is required > to (e.g.) burn a CD. This is related to at least the permissions on on > the /dev/cd0 device node, which I don't think were in the context I > trimmed... > > -Ben > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > Thanks for the info, Ben. I had actually seen something on that issue in an old (May 2008) daemonforums post while researching this problem. There, the poster suggested using amarok or xmms - programs capable of "digital audio extraction" ( I don't know what that is ) and in which it was implied that cdcontrol was not capable of. xmms is deprecated and I don't want the hundreds of files that come with amarok. I suppose I could try something like audacious, but as noted, vlc doesn't work either, so I'd prefer to not get into the cycle of downloading a bunch of similar programs just to find out there was a simple setting I was missing. Also, the current man page for and the handbook don't adress such a restriction that I could find. Does "digital audio extraction" mean anything to you or is it helpful in ay way?