Author |
Message |
shifter
|
Posted: Fri Aug 06, 2004 12:44 pm |
|
Joined: Thu Jul 15, 2004 11:36 am
Posts: 17
|
After i play or rip a DVD im unable to eject the tray, iv had alook through the forums and think its got somethin to do with me needing to 'unmount' the drive before i can eject the disk. Can someone please explain the procedure to do this within myth, im hoping theres a way to do it without a keyboard.
thanks
|
|
Top |
|
|
Xsecrets
|
Posted: Fri Aug 06, 2004 12:46 pm |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
well in linux a cd/dvd won't eject until it's unmounted, but if you have to unmount it then something is wrong. it is supposed to be automatic once the rip or play is done. I've never had to manually unmount in knoppmyth. you may have to leave the module say dvd or music, but you should not have to unmount.
_________________ Have a question search the forum and have a look at the KnoppMythWiki.
Xsecrets
|
|
Top |
|
|
shifter
|
Posted: Fri Aug 06, 2004 12:50 pm |
|
Joined: Thu Jul 15, 2004 11:36 am
Posts: 17
|
thanks for the reply, once iv started a rip i normally go back to watching tv, perodically checking on the progress. when its done i add the info from imdb and go back to the main mythtv menu, try to eject the drive but no luck, the only way i can get it to eject is to reboot.
anything i can check ?
|
|
Top |
|
|
Xsecrets
|
Posted: Fri Aug 06, 2004 1:03 pm |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
you can manually unmount it from the command line with the command
umount /dev/dvd
of course this is not the way it's supposed to work. I really wouldn't know what to have you check. As I said I've never had it mess up. and I'm not terribly familiar with the interworkings of all the modules.
_________________ Have a question search the forum and have a look at the KnoppMythWiki.
Xsecrets
|
|
Top |
|
|
shifter
|
Posted: Fri Aug 06, 2004 1:09 pm |
|
Joined: Thu Jul 15, 2004 11:36 am
Posts: 17
|
the problem with that is i dont have a keyboard plugged in to that box, altho i could probbably do it remotly with my laptop. Any one else have any ideas ?
thanks
|
|
Top |
|
|
Planman
|
Posted: Sat Aug 07, 2004 1:01 pm |
|
Joined: Mon Aug 02, 2004 2:04 am
Posts: 7
Location:
Victoria, BC
|
I've got the same problem too. I've got a Benq DVD writer and it won't let me eject after it's been in the machine (even if I haven't played or ripped anything). CDs eject fine.
I have to go to a command line and type:
#umount /dev/dvd;eject
and that does it, although it tells me that /dev/dvd wasn't mounted anyways. If I just type "eject" it will eject, but sometimes then it goes into a (seemingly, I've never waited too long) endless loop of an error message saying something about how it was using that DVD for something. It's like a child when you take something away from them without first entertaining them with something else.
I'd like to be able to eject without having to go to a command line, but I'm stumped. Need to hone my Google skills some more I guess.
On a possibly related note (although I doubt it), DVDs don't get recognized as DVDs when I put them in. CDs do (Myth goes to the MythMusic menu automatically). It just stays on the main menu when I put a DVD in.
_________________ planman.net
|
|
Top |
|
|
Charles
|
Posted: Sun Aug 29, 2004 4:10 am |
|
Joined: Mon Mar 01, 2004 12:51 pm
Posts: 61
Location:
NYC
|
Has anyone discovered what is causing this? I have the same problem. I just ripped a DVD and it did not eject until I unmounted and ejected from the command line.
This is using R4V4.1 release. I will try a CD and see if it makes a difference and post back.
*edit*- CD ripped and ejected OK.
Any thoughts?
TIA
|
|
Top |
|
|
Bad-Taste
|
Posted: Mon Aug 30, 2004 9:07 am |
|
Joined: Wed Jun 30, 2004 4:08 pm
Posts: 31
|
hmmm, i have the same problem.
But it must be possible to add a button on myth that gives xterm the command "eject", because when i type eject my dvd-rom opens
Now its the question how to add a button on the frontend which gives xterm the command eject?
|
|
Top |
|
|
Planman
|
Posted: Wed Sep 08, 2004 1:57 pm |
|
Joined: Mon Aug 02, 2004 2:04 am
Posts: 7
Location:
Victoria, BC
|
I figured that out and it's been working for me. It's quite easy actually.
Go to usr/share/mythtv
edit dvdmenu.xml
add this at the bottom:
<button>
<type>DVD</type>
<text>Eject DVD</text>
<action>EXEC umount /dev/dvd;eject</action>
</button>
you shouldn't need to reboot...next time you go into your DVD menu the button should be there, and it should work.
I guess this will only work if your drive is mounted as dev/dvd...you may need to change that depending on the device.
_________________ planman.net
|
|
Top |
|
|
badrelish
|
Posted: Fri Nov 26, 2004 11:55 am |
|
Joined: Sat Nov 20, 2004 2:10 pm
Posts: 10
|
This has worked for me so far:
echo "0" > /proc/sys/dev/cdrom/lock
I still had to eject manually the first time, but since then it's all worked fine.
Edit:
Scratch all that. It only works until you reboot. But the problem went away after I disabled monitoring cd/dvd and trying to play dvds automatically which never worked anyway.
|
|
Top |
|
|
skamp
|
Posted: Mon Jan 24, 2005 12:44 am |
|
Joined: Thu Jan 13, 2005 10:54 pm
Posts: 11
|
i tried adding the menu entry but i still cannot eject the drive manually or with the button
i can eject the drive by typeing
Code: eject /dev/dvd
in the shell
the button just wont work..
any suggestions?
--edit--
i figured that i should say that i have double checked the code from above and still no dice
its not too big of a deal i can always just type in the command.. just would be nice to do with the remote..
|
|
Top |
|
|
OuttaTouch
|
Posted: Wed Mar 02, 2005 10:14 pm |
|
Joined: Mon Feb 28, 2005 6:26 am
Posts: 20
|
Hmm same issue here. R5V10
$ eject
Seems to work for me also from any shell. Anyone wanna show me how to set a button to just pass the eject command? I am a real newbie with Linux.
btw I only have one optical drive on the system so it may be different if you have 2.
|
|
Top |
|
|
nigelpearson
|
Posted: Thu Mar 03, 2005 4:38 am |
|
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location:
Sydney, Australia
|
OuttaTouch wrote: Anyone wanna show me how to set a button to just pass the eject command?
Do what it says 3 posts before you asked (4 posts ago - planman, Sept 8th)
_________________ | Nigel Pearson, nigel.pearson.au@gmail.com| "Things you own end up owning you" - Tyler, Fight Club
|
|
Top |
|
|
leev
|
Posted: Mon Jul 18, 2005 4:31 pm |
|
Joined: Wed Apr 27, 2005 1:02 pm
Posts: 58
|
Well, I've just had this exact problem on a brand new build of R5A16.
CDs eject after ripping, DVDs don't and are locked in the drive until a reboot.
There is obviously a problem there somewhere, but it's beyond my linux skill level...
I implemented the above extra menu item fix, but the file that you have to add to has changed...
pico /usr/share/mythtv/optical_menu.xml
Add this just before the last line --
<button>
<type>DVD</type>
<text>Eject Disk</text>
<action>EXEC umount /dev/dvd;eject</action>
</button>
|
|
Top |
|
|
nigelpearson
|
Posted: Mon Jul 18, 2005 9:42 pm |
|
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location:
Sydney, Australia
|
If you are using "classic" menus, the file to edit it dvdmenu.xml
P.S. I don't understand why the DVD/Music modules don't already have an EJECT button/function. Is it possible that other Linuxes don't have this problem?
_________________ | Nigel Pearson, nigel.pearson.au@gmail.com| "Things you own end up owning you" - Tyler, Fight Club
|
|
Top |
|
|