LinHES Forums http://forum.linhes.org/ |
|
DVD wont eject ? http://forum.linhes.org/viewtopic.php?f=2&t=2141 |
Page 2 of 4 |
Author: | leev [ Tue Jul 19, 2005 1:20 am ] |
Post subject: | |
They don't need it, when I rip a CD into Myth the CD is ejected when the rip has finished. It's only a problem with DVD rips... The rip finishes and everything is OK, i.e. the Xvid/vob is in the Video section and plays ok. It's just that the drive doesn't eject the DVD and won't until you issue an umount/eject command or reboot the box... I read elsewhere that it's a problem somewhere in the ripper not exiting correctly, but that's way beyond me. |
Author: | parkinpants [ Sun Oct 23, 2005 8:07 am ] |
Post subject: | eject stuck |
Hi, I seem to have this problem also but in a more general nature. I have monitor CD/DVD enabled --- which only works in so far as it automounts disks and sets up a link in MythVideo to CDROM. I cannot eject AT ALL without going to a console. I'd much prefer it if I could use the button on the drive rather than adding the Eject button to Optical disks... In any case, the EJECT button that I have added to Optical Disks does not always work and now when I do eject from a console I get an error message 'depracated something or other' --- still ejects though. This error caused a loop the first time and caused my entire system to crash. I initially tried this command: echo "0" > /proc/sys/dev/cdrom/lock Could this have caused problems? How can I reverse it? --R5A22 --Panasonic DVD-RW --VIA MII |
Author: | leev [ Sun Oct 23, 2005 11:51 am ] |
Post subject: | |
I'm sure there is a way to fix it, it's just that I don't know what it is! I don't have the automounts turned on, maybe that's what's causing your problems. The Eject menu has always worked for me... Though I did notice that whan I ripped 'Aliens' last week, the DVD was ejected after the rip... which is unusual... I wonder if it has to do with 'perfect' rips? |
Author: | parkinpants [ Sun Oct 23, 2005 12:17 pm ] |
Post subject: | hmmm |
I know that the mounted disc always goes to /cdrom but I think the system uses both /dev/dvd and /dev/cdrom depending what kind of disc you put in. The code in the button only refers to /dvd though. Sounds like that could be my problem.... not got my box at hand to check at the moment tho. Will do some experiments tomorrow. |
Author: | leev [ Sun Oct 23, 2005 12:47 pm ] |
Post subject: | |
Cool, let us know how you get on... I'm installing/tweaking R5A22 at the moment, it'll be interesting to see if anything has changed from A15... |
Author: | parkinpants [ Mon Oct 24, 2005 6:32 am ] |
Post subject: | hmm |
no sucess in changing the xml script from /dvd to /cdrom. It seems to work once but not again until reboot. I get this message... Quote: Program eject is using a depracated SCSI ioctl, please convert it to SG_IO
eject: unable to eject, last error: Invalid argument VFS: busy inodes on changed media Is Monitoring CD/DVD the same as automount, or is automount different? If different maybe I could disable monitoring, enable automount and symlink /cdrom to mythvideo instead. |
Author: | jakep_82 [ Tue Oct 25, 2005 11:43 am ] |
Post subject: | |
I'm having problems with DVD's ejecting as well. I've even disabled CD/DVD monitoring, but it's still automounting DVD's. Anyone know what type of automount system KM uses? I know it's not submount, so is it HAL/DBUS? I'd like to disable it entirely (I've never liked any automount setups, they never seem to work right). |
Author: | mjl [ Tue Oct 25, 2005 5:09 pm ] |
Post subject: | |
Hi, A friend had a simular issue with ejecting optical media. I put this into his optical_menu.xml file and he has been a happy camper ever since. You may have to change hdc to be hdd to suit your location. Code: <button>
<type>DVD</type> <text>Eject Optical</text> <action>EXEC umount /dev/cdrom;eject hdc</action> </button> Mike |
Author: | jakep_82 [ Tue Oct 25, 2005 5:32 pm ] |
Post subject: | |
I'm sure that would work. I can just type eject at the CLI and the disk pops out. I would rather disable automounting though. |
Author: | parkinpants [ Sat Oct 29, 2005 3:30 am ] |
Post subject: | eject probs |
I'm still annoyed by all of this, Sometimes the eject button I created in the Menu works, sometimes it doesn't (and gives that error a few posts up). It seems to make no difference whether I specify dev/cdrom or /dev/dvd |
Author: | Russ [ Sun Nov 06, 2005 10:05 am ] |
Post subject: | |
skamp wrote: i tried adding the menu entry but i still cannot eject the drive manually or with the button
I had to suid the eject command for the menu entry to work on my box: Code: # ls -la /usr/bin/eject
-rwxr-xr-x 1 root root 18356 Feb 26 2005 /usr/bin/eject # chmod +s /usr/bin/eject # ls -la /usr/bin/eject -rwsr-sr-x 1 root root 18356 Feb 26 2005 /usr/bin/eject |
Author: | zetoune [ Thu Nov 10, 2005 12:33 pm ] |
Post subject: | |
For my part, I had to use dev/cdrom. It didn't work with dev/dvd . My DVD is Pioneer DVR-110D. I'd like to change the icon of the button. How I can do? |
Author: | hobbit [ Fri Nov 18, 2005 10:25 pm ] |
Post subject: | |
Yep same here, had to use "cdrom" instead of "dvd" Code: <button>
<type>DVD</type> <text>Eject Disc</text> <action>EXEC umount /dev/cdrom;eject hdc</action> </button> and this seems to be working. Not having an eject menu option seems to be a real oversight ... oh well I'm sure they'll fix it with the next rev. |
Author: | afrosheen [ Sun Nov 20, 2005 1:26 am ] |
Post subject: | |
The weird thing with my box, running R22, is that if I use the eject menu item (after doing the hackery mentioned a few posts up) it ejects every time. Now, if I actually walk up to the box and press eject, not only does it not eject the disc, but it gets pissed off. I can't use the menu option afterwards to get it to eject, nothing short of ssh'ing in and issuing the eject command as root will get it to pop out. I did notice when I'm forced to do the ssh trick, it coughs up an error for a second about a previous eject command failing then ejects the disc. Weird wild stuff. |
Author: | mjl [ Sun Nov 20, 2005 7:01 am ] |
Post subject: | |
Hi, I had a drive that did that a couple of times too, then I realized the tray was sticking... If you do a ps ax there will probably be an eject command hanging, when I gave it the paper clip trick, all was happy. Just a thought. Mike |
Page 2 of 4 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |