Playing Ogg Vorbis files with Audacious

Roland Smith rsmith at xs4all.nl
Fri May 21 21:32:14 UTC 2010


On Fri, May 21, 2010 at 01:46:16PM -0700, Gary Kline wrote:
> 	i hope i'm not stealing this thread but here goes.
> 
> 	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.
> 
> 	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 
> 	CD-ROM drives.  a few releases ago i used sound-juicer to
> 	transfer [and play] tunes.  no mo'.
> 
> 	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/write
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 the
    # 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. 

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/esound
port). Audacious can use that for output.

Roland
-- 
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100521/0f525fa9/attachment.pgp


More information about the freebsd-questions mailing list