View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Mar 20, 2005 8:52 am 
Offline
Joined: Fri Feb 11, 2005 2:47 pm
Posts: 14
I can't seem to get my DVD drive working with R5A12 - It was working with past versions.

Xine keeps giving me this error message:
sh-3.00$ xine
This is xine (X11 gui) - a free video player v0.99.2.
(c) 2000-2004 The xine Team.
libdvdnav: Using dvdnav version 1-rc5 from http://xine.sf.net
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
libdvdnav: vm: faild to open/read the DVD
sh-3.00$

I also did an apt-get install libdvdcss. Is there something I'm missing?

It also has an error message though Xine about not having any thing
in the drive or the wrong permissions, so here are my permissions:

root@mythtv:~# ls -al /dev/dvd /dev/scd0
lrwxrwxrwx 1 root root 10 Mar 20 00:39 /dev/dvd -> /dev/cdrom
brwxrwxrwx 1 root cdrom 11, 0 May 7 2004 /dev/scd0

root@mythtv:~$ grep cdrom /etc/group
cdrom:*:24:mythtv

Any Ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 20, 2005 12:09 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Did you think to look at what /dev/cdrom was set to? If it isn't pointing to /dev/scd0 that could be your problem.

BTW - This is what mine looks like. Note the correct permssions.
Code:
root@black:/myth/mythburn# ls -al /dev/dvd /dev/cdrom /dev/scd0
lrwxrwxrwx  1 root root      9 Feb 27 20:59 /dev/cdrom -> /dev/scd0
lrwxrwxrwx  1 root root      9 Feb 27 20:59 /dev/dvd -> /dev/scd0
brw-rw----  1 root cdrom 11, 0 May  7  2004 /dev/scd0


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 20, 2005 8:18 pm 
Offline
Joined: Sat Feb 28, 2004 10:04 am
Posts: 173
Location: Canton, MI USA
FOOBAR


Last edited by SnapperDragon on Mon Mar 21, 2005 6:29 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 20, 2005 8:28 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
It's obvious from the original post that he'd already set the permissions on /dev/scd0 wide open. Actually, even more open that he should have.

However what he didn't show us was any linkage between /dev/dvd and /dev/scd0. It might make sense to have him do this:
Code:
rm -f /dev/dvd
ln -s /dev/scd0 /dev/dvd

But I was looking for more diagnostic information before going off half cocked.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 20, 2005 8:42 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I thought that in r5a12, ide-scsi emulation had been removed meaning that you actually need to link /dev/dvd directly to /dev/hdc (or whichever hd? you have thecd connected to). Also check that the link and the /dev/hd? are owned by the group cdrom.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 20, 2005 10:04 pm 
Offline
Joined: Fri Feb 11, 2005 2:47 pm
Posts: 14
Is this what it should look like now?

Code:
root@mythtv:/# ls -al /dev/dvd /dev/cdrom /dev/scd0 /dev/hdc
lrwxrwxrwx  1 root cdrom 8 Mar 20 10:08 /dev/cdrom -> /dev/hdc
lrwxrwxrwx  1 root cdrom 8 Mar 20 22:56 /dev/dvd -> /dev/hdc
lrwxrwxrwx  1 root cdrom 8 Mar 20 22:56 /dev/hdc -> /dev/dvd
lrwxrwxrwx  1 root cdrom 8 Mar 20 10:13 /dev/scd0 -> /dev/dvd


I tried it and it still didn't work, . . .

Here is my /etc/fstab:
Code:
root@mythtv:/etc# more fstab
# /etc/fstab: filesystem table.
#
# filesystem  mountpoint  type  options  dump  pass
/dev/hda1  /  ext3 defaults,errors=remount-ro  0  1
/dev/hda3  /cache  auto  defaults,auto  0  2
/dev/hda4  /myth  auto  defaults,auto  0  2

proc  /proc  proc  defaults  0  0
sysfs /sys   sysfs defaults  0  0
/dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0
/dev/cdrom /cdrom  iso9660  defaults,ro,user,noexec,noauto  0  0
# Added by KNOPPIX
/dev/hda2 none swap defaults 0 0


Is there anything else you need?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 20, 2005 11:50 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
/dev/hdc and /dev/scd should be special device files. You seem to have hosed the device files and replaced them with sym links. You can recreate the device nodes if you know the major and minor device numbers that go with them using mknod I think. There may also be a makedev script somewhere that does it automatically for you. Perhaps someone who knows what to do in more detail can tell you. You can probably copy the major and minor device numbers for /dev/hdc and /dev/sda0 from someone else.

The only sym links should be /dev/dvd and /dev/cdrom.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 21, 2005 5:20 pm 
Offline
Joined: Sat Feb 28, 2004 10:04 am
Posts: 173
Location: Canton, MI USA
I guess mine isn't working now either. This is frustrating. R4V5 is what I'm using. I'm not asking for help, just saying that I now experience no DVD playback either, on unenc dvd's (made them with my previous KnoppMyth build and mythburndvd.sh. I can mount it just fine, though.

WHo knows...I guess another 2 hours or more is needed with fiddling until I can get this to work again.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 21, 2005 9:33 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Sigh... :oops:

Greg - You're right it is now /dev/hdc, guess I haven't tried a DVD since my upgrade to R5A12.

jockeyboy6 - Wow! Did you make a mess! Blew away real devices, made circular links, ... I'm in awe... :shock:

Recovery... My working configuration now looks like this:
Code:
root@black:/dev# ls -al /dev/cdrom /dev/dvd /dev/hdc
lrwxrwxrwx  1 root root      8 Mar 21 20:30 /dev/cdrom -> /dev/hdc
lrwxrwxrwx  1 root root      8 Mar 21 20:20 /dev/dvd -> /dev/hdc
brw-rw----  1 root cdrom 22, 0 May  7  2004 /dev/hdc


To get you back in good shape we're going to have to do some serious work. First, kill all the bad symlinks you made, second recreate the devices you lost, third fix the ownership, and finally symlink cdrom and dvd to /dev/hdc... Assuming that /dev/hdc is really your DVD drive (Please, PLEASE, PLEASE, verify this before going off half cocked!) this should do the trick:

Code:
rm  /dev/scd0 /dev/hdc /dev/cdrom /dev/dvd
mknod --mode=660 /dev/hdc b 22 0
mknod --mode=660 /dev/scd0 b 11 0
chgrp cdrom /dev/hdc /dev/scd0
ln -s /dev/hdc /dev/cdrom
ln -s /dev/hdc /dev/dvd


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 21, 2005 10:53 pm 
Offline
Joined: Fri Feb 11, 2005 2:47 pm
Posts: 14
Thanks TJC!!! That was the fix, I don't know how I messed it up origionally, but I know I really hosed it while attempting to fix it.

Your Code was right on and it works perfectly, . . . Thanks again!!!


Top
 Profile  
 
 Post subject: DVD drive works in R5a12
PostPosted: Mon Mar 28, 2005 2:56 am 
Offline
Joined: Wed Apr 28, 2004 12:36 am
Posts: 34
All of my pointers for the DVD were to HDC.
So, I just moved the jumper to master on the DVD. Now it is HDC.

Many more things works now.
VCDs, DVD,s

Not CD ripping or DVD ripping.
The DVD ripping menu appeared, and I configured it, but I never could figure out how to tell it to GO! ahead and transcode.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 93 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