From owner-freebsd-questions@FreeBSD.ORG Fri May 21 21:32:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 996081065670 for ; Fri, 21 May 2010 21:32:14 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id 2DB6F8FC1A for ; Fri, 21 May 2010 21:32:13 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id o4LLWCYc027588; Fri, 21 May 2010 23:32:12 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 3DC3CBA93; Fri, 21 May 2010 23:32:12 +0200 (CEST) Date: Fri, 21 May 2010 23:32:12 +0200 From: Roland Smith To: Gary Kline Message-ID: <20100521213212.GB68796@slackbox.erewhon.net> References: <87y6ferm3p.fsf@cjlinux.localnet> <20100521050541.GA52188@slackbox.erewhon.net> <87tyq1rztj.fsf@cjlinux.localnet> <20100521204616.GB3764@thought.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: <20100521204616.GB3764@thought.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Playing Ogg Vorbis files with Audacious X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2010 21:32:14 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 21, 2010 at 01:46:16PM -0700, Gary Kline wrote: > i hope i'm not stealing this thread but here goes. >=20 > i can no longer get my freebsd to play my cd's. > audio-cd. k3b does regonize it in my second optical. i am > trying to transfer it from cd to ~/Music. [[and no, i didn't > steal this disc. i own tape and cd and just want to transfer > it in Ogg-Vorbis fmt and listen to it here where i live for > 17hrs/day. >=20 > i've tried to play it with kmplayer, with amaroK. zip. i've > tried sound-juice and get the fatal error that there are no=20 > CD-ROM drives. a few releases ago i used sound-juicer to > transfer [and play] tunes. no mo'. >=20 > roland, some weeks ago i remember you mentions that your > /etc/devfd.conf needed tweaking. i'm wondering if it might > be this. meanwhile, i'll play around with audacious* and see > if i get any further clues. For one thing, your user-id, or a group you belong to needs to have read/wr= ite access to the relevant CD device. My solution is to create a group called 'cdrom', and add my user-id to that group. Both is accomplished with pw(8).= I have the following in my /etc/devfs.conf: # Give members of group cdrom access to the CD/DVD-ROM and DVD+RW via t= he # SCSI interface own xpt0 root:cdrom perm xpt0 0660 own cd0 root:cdrom perm cd0 0660 own cd1 root:cdrom perm cd1 0660 link cd1 cdrom link cd1 dvd Since my user-id is a member of the cdrom group, I can use these devices freely.=20 If you are using the standard 'atapicd' driver instead of the SCSI emulation 'cd' driver your CD device might be acdX instead of cdX. I prefer to use the SCSI emulation, since cdrecord (which is required by k3b, I think) likes talking to SCSI devices, but not ATA. I've built a custom kernel that only = has the cd device and not atapicd, so there cannot be a conflict between the two. I don't know what happens on a GENERIC kernel that has both devices. Maybe there is a tunable that determines which device driver gets access? To produce sound you need to to load the appropriate sound driver. See sound(4). Additionally, I like to start a sound server like esd (audio/esou= nd port). Audacious can use that for output. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkv2+9wACgkQEnfvsMMhpyXM8wCfcYHd3RSD7eg1RXw7ymNdQieo Pt8AmwVvpgP0Cp5m6YdG4ABQSHUcP/3r =K9So -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M--