[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: audio cd



-- Nick Hastings <hastings@bmail.kek.jp> wrote
(on Thursday, 05 December 2002, 11:20 AM +0900):
> * Bruce Park <bpark79@hotmail.com> [021205 11:03]:
> > Nick,
> > 
> > It seems you are absolutely correct about using cdplay. It's better to 
> > concentrate on the initial source of the problem rather than use XMMS and 
> > see if that's the problem.
> 
> This is how you should approach most problems, not just computer ones.
> 
> > Anyhow, I installed the cdtool package as you said and tried cdplay.
> > Originally, I had more error than what I'm about to show you but I
> > took care of that error by adding myself to the group cdrom.
> > 
> > Here is the error now:
> > ========================================
> > bash$ cdplay
> > cdplay: can't open cdrom (/dev/cdrom)
> > cdplay: error opening /dev/cdrom
> > /dev/cdrom is owned by group "disk"
> > Try , as root: chgrp --dereference cdrom /dev/cdrom
> > cdplay: CD Status is no_disc
> > ========================================
> > 
> > Here is what my directories and files look like:
> > =======================================
> > bash$ ls -l / | grep cdrom$
> > drwxr-xr-x 1 root   root            4096  Dec   2   13:07  cdrom
> > 
> > bash$ ls -l /dev | grep hdc$
> > lrwxrwxrwx 1 root   root            3  Dec   2   13:07 cdrom -> hdc
> > brw--rw---- 1 root   disk      22, 0   Mar  14   2002 hdc
> > 
> > ============================================
> 
> OK, I think you are almost there. What you show above is almost what
> you need. The thing is that you are now out of the disk group so you don't
> have permission so read or write /dev/hdc. Use chmod to fix this the
> prblem for /dev/hdc.
> 
> chmod o+rw /dev/hdc
Since it's a cdrom and you /can't/ write to it (not without ide-scsi
emulation, which evidently isn't turned on currently as you're using
/dev/hdc), you only need to do:
    chmod o+r /dev/hdc
(as root) to achieve what you need to do.

-- 
Matthew Weier O'Phinney
matthew@weierophinney.net



Reply to: