Yes I know this has probably been asked, and answered, but I have not been able to find it, and as I am still working my way thru system, would like any help you can give.
Apart from KsCD and CD Player, (both of which are pretty good, but very basic), I have found it impossible to eject any music CD or DVD on any of the following:
Amarok
JuK
Media Kaffeine
MPlayer and
SMPlayer,
there does not seem to be any button, command or whatever to get the CD or DVD out of the drive, so now find that only way, is to stop player and then to open CD Player and use the eject button there.
Your list of applications sound as if you use KDE - you should have a device manager, which offers you to eject a CD/DVD (on the very left of each device). I’m not sure whether this still works (I hardly work with “silver” media), if not, you could write some script with the command “eject”.
Jim Henderson wrote:
> So:
>
> eject /dev/cdrom
>
> Should work just fine.
>
> Jim
>
Not if the device is still in use by one of the applications the OP listed.
The umount and eject and any combination will fail.
–
PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram
You can of course kill the locking process with fuser, but that is nasty as
hell and not really a viable way. I looked at it with smplayer and an audio
cd to see what happens, it gives an error message but smplayer still works
if you click it away and also works if you insert the audio cd again.
I tested
fuser -km /dev/sr0
eject /dev/sr0
–
PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram
Um… sorry to interrupt here, but an audio-CD is not mounted anyway. One can eject them any time, even when it is still playing (just tested with Kaffeine).
>
> Um… sorry to interrupt here, but an audio-CD is not mounted anyway. One
> can eject them any time, even when it is still playing (just tested with
> Kaffeine).
>
> Edit: …and the KDE-device manager does this fine.
>
Thanks, you are right it is not mounted, its audio, I feel stupid, shame.
–
PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram
I had the same problem, but I was pretty sure it was a permissions issue, and I was right. I went into YasT, and then clicked Security and Users, then User and Group Management. On the user tab, click edit, then the details tab. Here you will see the groups your user profile belongs to under Additional Groups on the right. I just made sure that users, audio, cdrom, disk, and video were ticked. Now I can eject discs properly from my drive. Hope this works for you.