You are not logged in.

#1 2006-01-21 11:15:42

napoleon
Member
Registered: 2005-04-03
Posts: 176

Yet another can't play CD or DVD problem

Guys i really need your help with this. I just can't play any disk on my system. I have added myself to the groups optical, disk, audio and i have created the needed directories in /media. I tried to use /mnt before but it didn't work. I have installed all the codecs found in the repos. Below is my fstab:

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/hdc               /media/hdc    auto      ro,users,noauto,unhide   0      0
/dev/hdd               /media/hdd    auto      ro,users,noauto,unhide   0      0
#/dev/cdrw              /mnt/cdrw     auto      rw,users,noauto,unhide   0      0
/dev/fd0               /media/floppy   auto      rw,users,noauto          0      0

/dev/hdb2 	       swap          swap      defaults            0    0
/dev/hdb1              /             ext3      defaults            0    1
/dev/hdb3              /home         ext3      defaults            0    1
/dev/hdb4              /windows      vfat      rw,users,umask=111,dmask=000 0    1

The error is :

The source can't be read

Maybe you don't have enough rights for this or source doesn't contain data
(eg no disc in drive) (system:/media/hdd)

After i click on OK, I get

No plugin to handle this resource (dvd:/)

Oh and i use kaffeine as i use kde and i'll prefer not to ude any gnome application please.[/code]


A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"

Offline

#2 2006-01-21 11:43:17

alancooney
Member
Registered: 2006-01-08
Posts: 20

Re: Yet another can't play CD or DVD problem

I have a few questions.

Firstly, is this just audio cds and video dvds?  Can you mount normal cd-roms?

Also, have you symlinked /dev/hdX to wherever the apps are looking for the cd?  (such as /dev/dvd)

And can you play CDs as root?

Oh, and you don't mount audio cds or dvd's.  You just load them from the cd player aplication. 

And finally, for watching dvds, you need libdvdcss.

Offline

#3 2006-01-21 12:26:33

napoleon
Member
Registered: 2005-04-03
Posts: 176

Re: Yet another can't play CD or DVD problem

alancooney wrote:

I have a few questions.

Firstly, is this just audio cds and video dvds?  Can you mount normal cd-roms?

Also, have you symlinked /dev/hdX to wherever the apps are looking for the cd?  (such as /dev/dvd)

And can you play CDs as root?

Oh, and you don't mount audio cds or dvd's.  You just load them from the cd player aplication. 

And finally, for watching dvds, you need libdvdcss.

First It affects all cd's and dvd's
No i havn't symlinked. Do i have to. I thought just creating the directories say /media/hdc is enough. I have never needed a sysmlink before and i have libdvdcss installed.

Thnx


A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"

Offline

#4 2006-01-21 12:36:53

alancooney
Member
Registered: 2006-01-08
Posts: 20

Re: Yet another can't play CD or DVD problem

napoleon wrote:

First It affects all cd's and dvd's
No i havn't symlinked. Do i have to. I thought just creating the directories say /media/hdc is enough. I have never needed a sysmlink before and i have libdvdcss installed.

Can you put the arch cd, or any other data cd, in the cdrom drive, and enter this in the console:

mkdir /mnt/cdrom && mount /dev/hdX /mnt/cdrom

Replace /dev/hdX with wherever your drive is.  The X will be a,b,c, or d, unless you have an scsi drive (which is unlikely unless you are using a server).  If you don't know which one your cdrom drive is, then watch the screen as the computer boots up.  Right at the begining, when the bios is doing stuff (before grub), it will list your drives.  Here is what each one means:

Primary, master = /dev/hda
Primary, slave = /dev/hdb
Secondary, master = /dev/hdc
Secondary, slave = /dev/hdd

After you have typed in the command, copy the output and post it here.  You will have to do this as root I think.

Offline

#5 2006-01-21 12:44:30

napoleon
Member
Registered: 2005-04-03
Posts: 176

Re: Yet another can't play CD or DVD problem

The result of the mount command is:

mount: block device /dev/hdc/ is write protected, mounting read-only 

A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"

Offline

#6 2006-01-21 13:58:07

alancooney
Member
Registered: 2006-01-08
Posts: 20

Re: Yet another can't play CD or DVD problem

Thats good - it means that you can mount and read data cds (the data is in /mnt/cdrom)

Do this to unmount the cdrom, so you can eject it:

umount /dev/hdX

Now, lets get kaffine to play audio cd's.  Unfortunately, I don't have kaffine, so I don't know what device it looks for, but its normally /dev/dvd or /dev/cdrom, so lets add both those.

If you have just one optical (cd/dvd) drive, then do this:

ln -s /dev/dvd /dev/hdX && ln -s /dev/dvd /dev/hdX

[replace the two hdx's, with the location of the drive]

Or, if you have more than one drive, choose one for dvd's and do this:

ln -s /dev/dvd /dev/hdX

and then choose one for audio cd's and do this:

ln -s /dev/cdrom /dev/hdY

[again, replace hdX and hdY with chosen drives]

Now, test this by putting in an audio cd, and opening caffine.  (don't mount the cd)  Click on CD, and then it should start playing.  Tell me if it still doesn't work.

Offline

#7 2006-01-21 16:48:17

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: Yet another can't play CD or DVD problem

Do you have these problems if you insert a dvd, have kde ignore it/do nothing and then open kaffeine and choose "open dvd"?


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#8 2006-01-21 18:27:50

napoleon
Member
Registered: 2005-04-03
Posts: 176

Re: Yet another can't play CD or DVD problem

The problem still persists. The links are already present in /dev and
Snarkout: When i insert a cd or dvd Kaffeine automatically starts. How do i disable this feature.


A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"

Offline

#9 2006-01-21 19:35:02

alancooney
Member
Registered: 2006-01-08
Posts: 20

Re: Yet another can't play CD or DVD problem

napoleon wrote:

The problem still persists. The links are already present in /dev and
Snarkout: When i insert a cd or dvd Kaffeine automatically starts. How do i disable this feature.

Can you try loading the CD with KSCD then, to see if it is a Kaffeine problem?  And there should be an option to turn autorun of in Kaffine's settings.

Offline

#10 2006-01-22 03:09:15

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: Yet another can't play CD or DVD problem

napoleon wrote:

/dev/hdc               /media/hdc    auto      ro,users,noauto,unhide   0      0
/dev/hdd               /media/hdd    auto      ro,users,noauto,unhide   0      0
#/dev/cdrw              /mnt/cdrw     auto      rw,users,noauto,unhide   0      0
/dev/fd0               /media/floppy   auto      rw,users,noauto          0      0

Im alittle confused about the /media lines. I fought my fstab for some
time trying to get it right so everything worked. I tried using Ivman but
even though it worked it was just too much of an overkill to set up for
just a dvdrom and cdrw drive, so I switched to submount. What I'm
confused about is why, say a music cd or dvd is always mounted at
system:/media, and in my /mnt dir theres nothing in my dvdrom folder
even though this is the path specified in my fstab? I don't have any
folders under /media. I can play dvd's, music cd's, and burn cd's with no
problems. So as root i search the system dir finding that there mounting
in system:/media. is this normal? Uggg I'm really confused... can somone
explain whats going on with mount points?

here is my fstab. I think I'm not understanding udev or I just have my
fstab set up wrong even though everything works in a weird way?

none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/hdc /mnt/cdrw subfs fs=cdfss,ro,iocharset=iso8859-1,umask=0 0 0
/dev/hdd /mnt/dvdrom subfs fs=cdfss,ro,iocharset=iso8859-1,umask=0 0 0
/dev/fd0 /mnt/floppy subfs fs=floppyfss,iocharset=iso8859-1,sync,umask=0 0 0

/dev/hda2 swap swap defaults 0 0
/dev/hda3 / ext3 defaults 0 1
/dev/hda1 /boot ext2 defaults 0 1
/dev/hdb3 /mnt/archroot ext3 defaults 0 0
/dev/hdb1 /mnt/archboot ext2 defaults 0 0


-- archlinux 是一个极好的 linux

Offline

#11 2006-01-22 08:39:04

alancooney
Member
Registered: 2006-01-08
Posts: 20

Re: Yet another can't play CD or DVD problem

Leigh wrote:

Im alittle confused about the /media lines. I fought my fstab for some
time trying to get it right so everything worked. I tried using Ivman but
even though it worked it was just too much of an overkill to set up for
just a dvdrom and cdrw drive, so I switched to submount. What I'm
confused about is why, say a music cd or dvd is always mounted at
system:/media, and in my /mnt dir theres nothing in my dvdrom folder
even though this is the path specified in my fstab? I don't have any
folders under /media. I can play dvd's, music cd's, and burn cd's with no
problems. So as root i search the system dir finding that there mounting
in system:/media. is this normal? Uggg I'm really confused... can somone
explain whats going on with mount points?

Yeh sure - a audio cd / video dvd is not mounted like a traditional data disk.  Windows just pertends to mount audio CD's (which is why all files are said to be 0kb in size).  Linux doesn't pretend like this, so you don't mount the disks at all.

The //media thing is therefore just a kde way of telling you that it is and audio disc/video dvd.


Napoleon has just chosen to make a physical /media folder.  I would actually say this is a bad idea, so Napoleon - it would be a good idea to change them back to /mnt/cdrom and /mnt/dvd or whatever you want but in that folder.  Then do this for the two new points to mount to:

mkdir /mnt/cdrom && mkdir /mnt/dvd

If you already have those folders, it will just leave them be.  Then afterwards, do this to mount:

mount /dev/hdc

  and it will mount /dev/hdc to /mnt/cdrom

Offline

#12 2006-01-23 21:04:43

napoleon
Member
Registered: 2005-04-03
Posts: 176

Re: Yet another can't play CD or DVD problem

Well i removed kde and installed gnome yesterday (the beauty of linux big_smile) without reading this reply and totem-xine works out of the box. Any way i have taken your advice and changed /media to /mnt. Will reboot and see how it goes.


A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"

Offline

#13 2006-01-23 23:31:34

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: Yet another can't play CD or DVD problem

FWIW, the issue was probably with the kde media manager.  9 times out of 10 it does the wrong thing IME, so I heve it set to "do nothing" for everything.    I still get an icon on the desktop, it just doesn't do anything with the media until I tell it what to do.  I can watch dvds and listen to cds no problem - if I have the media manager automatically open programs, it barfs in the same fashion you were seeing.  I believe the options to change these settings lie in kcontrol --> peripherals.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

Board footer

Powered by FluxBB