LinHES Forums
http://forum.linhes.org/

Import DVD fails (Home movies)
http://forum.linhes.org/viewtopic.php?f=6&t=10137
Page 1 of 1

Author:  Zephrant [ Sun May 21, 2006 12:25 pm ]
Post subject:  Import DVD fails (Home movies)

I'm using a new install of R5C7.

I'm trying to rip home movies that I burned to DVD some time ago.

I can get to the screen that says:
No Jobs. Checking and/or waiting for DVD.

Pressing 0, or any other key has no effect.

I can play the DVD fine from the play menu, but it seams to completely ignore the disk when I get to the Rip menu. These same disks run fine on another computer, or in a standard DVD player.

Also, I can't eject the disk well- Every time I hit the button (or type eject in a shell) some app causes the door to close again. If I'm fast (and lucky) I can get the disk out in time, but it is annoying. I've turned off the option under setup to monitor the CD/DVD, and made sure it was not listed in etc/fstab.

mtd is running. I started it by hand to watch the log, and it shows sockets being opened and closed when I try to rip, but no other messages.

I've spent hours searching, and can't find the answer.

Any chance that it just does not like this DVD drive?

Thanks for your help-

Author:  Zephrant [ Sun May 21, 2006 12:44 pm ]
Post subject: 

When I rip a CD, it seams to work (is running slowly, have not checked the files yet), but I get this in the /var/log/messages:
May 21 11:57:41 mythtv kernel: hdc: command error: status=0x51 { DriveReady SeekComplete Error }
May 21 11:57:41 mythtv kernel: hdc: command error: error=0x51 { IllegalLengthIndication LastFailedSense=0x05 }
May 21 11:57:41 mythtv kernel: ide: failed opcode was: unknown
May 21 11:57:41 mythtv kernel: end_request: I/O error, dev hdc, sector 0

In the daemon.log I get:
May 21 11:57:59 mythtv automount[7142]: >> /dev/cdrom: Input/output error
May 21 11:57:59 mythtv automount[7142]: >> mount: /dev/cdrom: can't read superblock
May 21 11:57:59 mythtv automount[7142]: mount(generic): failed to mount /dev/cdrom (type auto) on /mnt/auto/cdrom
May 21 11:57:59 mythtv automount[7142]: failed to mount /mnt/auto/cdrom

The messages all repeat every second.

Author:  Zephrant [ Sun May 21, 2006 1:21 pm ]
Post subject: 

Well I found the auto-mount for the CD in /etc/auto.mnt and removed it. Getting rid of that now lets me eject CD's normally.

Zeph

Author:  mjl [ Sun May 21, 2006 9:44 pm ]
Post subject: 

Hi,

I've had good luck ejecting cd/dvd by changing my optical_menu.xml

<button>
<type>DVD</type>
<text>Eject Optical</text>
<action>EXEC sudo umount cdrom;umount dvd;eject -r</action>
</button>

Mike

Author:  Zephrant [ Tue May 23, 2006 1:03 am ]
Post subject: 

Eject seams to be fine now, but I still can't get the Import DVD setting to do a thing.

Also, when playing a DVD, what are the keys that can navigate the DVD menus? Managed to get it to play (numeric enter key) but the arrow keys just set the play speed, and won't scroll though the DVD menu options. Tried most every key on the keyboard, and could not find the right ones.

Zeph

Author:  bgog [ Sun May 28, 2006 3:43 am ]
Post subject:  Found the problem.

I found a fix for the problem....

If you to to into setup>media>dvd>general you'll see field for the "dvd device" and another for the vcd device.

These fields are set to "/mnt/cdrom" by default. This is wrong. I looked at the code for mtd and it actually need the dvd player device not the mount point.

I changes this field to be "/dev/hdc" (that's my dvd player) and it worked great!. You can probably also just set it to be "/dev/cdrom" or "/dev/dvd" as they are symlinks to your dvd player.

Now after you change the settings and hit finnish, make sure you kill mtd and restart it or just reboot so mtd picks up the change.

Hope that helps.

Author:  Zephrant [ Sun May 28, 2006 11:12 am ]
Post subject: 

Big yea! Thank you- Of course last night I did a re-install with a new video card, and am fighting lockup and reboot issues now.

But I went though the changes, and it appears to have actually started a rip.

Thank you- Now I can transfer the DVDs of my 2 year old playing on to the HD and annoy all the family members that much easier!

:)

Have you reported it in the bug log?

Zeph

Author:  iscraigh [ Sun May 28, 2006 3:36 pm ]
Post subject: 

That did it for me

Thanks

Craig

Author:  finger51 [ Sun May 28, 2006 3:52 pm ]
Post subject:  Re: Found the problem.

bgog wrote:

Hope that helps.



It did! thanks!

Author:  Zephrant [ Sun May 28, 2006 7:14 pm ]
Post subject: 

For the Eject, I had to change the default to
<button>
<type>DVD</type>
<text>Eject Disk</text>
<action>EXEC sudo umount /dev/cdrom;sudo eject -m</action>
</button>

to get it to work.

No sure if it was due to the changed path, the 2nd sudo, or the -m on the eject. :)

Author:  ihatetivo [ Fri Oct 20, 2006 4:33 pm ]
Post subject: 

Zephrant wrote:
For the Eject, I had to change the default to
<button>
<type>DVD</type>
<text>Eject Disk</text>
<action>EXEC sudo umount /dev/cdrom;sudo eject -m</action>
</button>

to get it to work.

No sure if it was due to the changed path, the 2nd sudo, or the -m on the eject. :)


Solved! This is the only code (out of the many on the boards) that worked for me. Thank you so much. I'm using R5D1.

Author:  Kamy [ Mon Oct 30, 2006 10:56 pm ]
Post subject: 

I'm having an issue with ripping dvd's also. Running R5D1 with Myth 0.20.

I followed along with the solution here
Quote:
I changes this field to be "/dev/hdc" (that's my dvd player) and it worked great!. You can probably also just set it to be "/dev/cdrom" or "/dev/dvd" as they are symlinks to your dvd player.


although the field was already set to /dev/dvd I changed it to /dev/hdc as that is my dvdrom
Code:
root@mythtv:/# ls -l /dev/dvd
lrwxrwxrwx  1 root cdrom 8 Sep 29 13:08 /dev/dvd -> /dev/hdc
root@mythtv:/#



But it didn't seem to help anyway. The process starts, but then dies less than 2 minutes into the rip and kicks back to the "No jobs and nothing else to do. You could hit 0 to rip a DVD" screen.

Anything else I should look for to fix this? I just wish I had more time to tinker with it (sigh)

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/