View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 51 posts ] 
Go to page Previous  1, 2, 3, 4  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Tue Jul 19, 2005 1:20 am 
Offline
Joined: Wed Apr 27, 2005 1:02 pm
Posts: 58
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.


Top
 Profile  
 
 Post subject: eject stuck
PostPosted: Sun Oct 23, 2005 8:07 am 
Offline
Joined: Sun Jul 24, 2005 4:15 pm
Posts: 170
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


Last edited by parkinpants on Sun Oct 23, 2005 12:05 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 23, 2005 11:51 am 
Offline
Joined: Wed Apr 27, 2005 1:02 pm
Posts: 58
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?


Top
 Profile  
 
 Post subject: hmmm
PostPosted: Sun Oct 23, 2005 12:17 pm 
Offline
Joined: Sun Jul 24, 2005 4:15 pm
Posts: 170
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 23, 2005 12:47 pm 
Offline
Joined: Wed Apr 27, 2005 1:02 pm
Posts: 58
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...


Top
 Profile  
 
 Post subject: hmm
PostPosted: Mon Oct 24, 2005 6:32 am 
Offline
Joined: Sun Jul 24, 2005 4:15 pm
Posts: 170
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 25, 2005 11:43 am 
Offline
Joined: Thu Oct 13, 2005 9:18 am
Posts: 91
Location: Washington
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).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 25, 2005 5:09 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 25, 2005 5:32 pm 
Offline
Joined: Thu Oct 13, 2005 9:18 am
Posts: 91
Location: Washington
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.


Top
 Profile  
 
 Post subject: eject probs
PostPosted: Sat Oct 29, 2005 3:30 am 
Offline
Joined: Sun Jul 24, 2005 4:15 pm
Posts: 170
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 06, 2005 10:05 am 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 10, 2005 12:33 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
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?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 18, 2005 10:25 pm 
Offline
Joined: Sat Sep 10, 2005 12:45 pm
Posts: 4
Location: Canada
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 20, 2005 1:26 am 
Offline
Joined: Sat Mar 26, 2005 3:49 pm
Posts: 290
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 20, 2005 7:01 am 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
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


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 51 posts ] 
Go to page Previous  1, 2, 3, 4  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 73 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu