Subject: Re: NetBSD-3, mplayer, cdda
To: David Howland <metalliqaz@fastmail.fm>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: netbsd-users
Date: 11/23/2005 21:32:12
On Mon, Nov 21, 2005 at 01:36:47PM -0500, David Howland wrote:
> I'm trying to play an audio CD using mplayer.  I'm using NetBSD-3.0_RC1.
> It doesn't work at all.  For instance:
> 
> $ mplayer cdda://
> Playing cdda://.
> Can't open cdda device
> Failed to open cdda://
> 
> I've tried all sorts of different commands, all with the same result
> 
> $ mplayer cdda://1
> $ mplayer -cdrom-device /dev/cd0a cdda://
> $ mplayer -cdrom-device /dev/rcd0a cdda://
> $ mplayer -cdda generic-dev=/dev/cd0a cdda://
> 
> you get the idea.  The permissions on /dev/cd0a are a+rw.  And I have no 
> problems playing a DVD when a movie is in that drive.
> I tried making a symlink /dev/cdrom -> /dev/cd0a, that didn't help.

I always used /dev/rcd?d for this kind of direct access.

You can also try ktruss -t cn to see what file is it actually trying to
open.

Pavel Cahyna