View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 18 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Oct 19, 2006 4:51 pm 
Offline
Joined: Thu Oct 19, 2006 4:38 pm
Posts: 20
Location: CT
Hi,

I am builiding KM for a school project and am having some difficulty understanding a couple of things.

When I put a home burned DVD into the DVD player I keep getting a message that (flashes very quickly) I need the right permissions or something. I have tired everything and cant figure out what to do. I have looked at the plug in to play store bought DVD but have not installed. I am just trying to play VOB files that are on my win xp hardrive that i burned to dvd.

My CD player works fine and rips to mp3 and gets songs titles from the net no prob but how do I copy mp3 or VOB or other files from DVD/CD to the hardrive and include it in the media folders?

I have installed a 320G ATA 100 hd but the systm does not seem to recognize it. I tried to mount the HD but it did not seem to work.

I was able to get the software installed, wireless connected and xterm to the tv...so far its been easy. Hope the rest is too


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 19, 2006 6:19 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Have you got multiple optical drives in the box? This is known to confuse the cd_links.sh script that sets up you CD/DVD drive. It also expects that your optical drive is an IDE PATA (not SATA or SCSI) device. Do this and report the results:
Code:
dmesg | grep -i 'ata.*cd.*drive'
ls -al /dev/cdrom /dev/dvd /dev/hd?

You should see something like this:
Code:
root@black2:~# dmesg | grep -i 'ata.*cd.*drive'
hdc: _NEC DVD_RW ND-3520A, ATAPI CD/DVD-ROM drive
hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
root@black2:~# ls -al /dev/cdrom /dev/dvd /dev/hd?
lrwxrwxrwx  1 root cdrom      8 Oct 16 01:03 /dev/cdrom -> /dev/hdc
lrwxrwxrwx  1 root cdrom      8 Oct 16 01:03 /dev/dvd -> /dev/hdc
brw-rw----  1 root disk   3,  0 Oct 16 01:04 /dev/hda
brw-rw----  1 root disk   3, 64 May  7  2004 /dev/hdb
brw-rw----  1 root cdrom 22,  0 May  7  2004 /dev/hdc
brw-rw----  1 root disk  22, 64 May  7  2004 /dev/hdd
brw-rw----  1 root disk  33,  0 May  7  2004 /dev/hde
brw-rw----  1 root disk  33, 64 May  7  2004 /dev/hdf
brw-rw----  1 root disk  34,  0 May  7  2004 /dev/hdg
brw-rw----  1 root disk  34, 64 May  7  2004 /dev/hdh

Note that your CD/DVD drive may be a different device (hdb, hdd, ...)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 19, 2006 10:07 pm 
Offline
Joined: Thu Oct 19, 2006 4:38 pm
Posts: 20
Location: CT
OK, I tried to make sure that I copied everything exact since I think unix is case sensitive

hdc: Compaq dvd-rom DV-5700B, ATAPI CD/DVD-ROM drive
hdd: TDK CDRW2500B, ATAPI CD/DVD-ROM drive
hdd: ATAPI 48X cd-rom cd-r/rw drive, 2048kb Cache, UDMA (33)


lrwxrwxrwx 1 root cdrom 8 Sept 29 22:57 /dev/cdrom -> /dev/hdd
lrwxrwxrwx 1 root cdrom 8 Sept 29 22:57 /dev/dvd -> /dev/hdd
brw-rw---- 1 root disk 3, 0 8 Sept 29 23:02 /dev/hda
brw-rw---- 1 root disk 3, 64 May 7 2004 /dev/hdb
brw-rw---- 1 root disk 22, 0 May 7 2004 /dev/hdc
brw-rw---- 1 root cdrom 22, 64 May 7 2004 /dev/hdd
brw-rw---- 1 root disk 33, 0 May 7 2004 /dev/hde
brw-rw---- 1 root disk 33, 64 May 7 2004 /dev/hdf
brw-rw---- 1 root disk 34, 0 May 7 2004 /dev/hdg
brw-rw---- 1 root disk 34, 64 May 7 2004 /dev/hdh

By the way, is there a way to cut and paste from xterm?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 19, 2006 10:33 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
For xterm cut and paste, position at the start or end, click & hold the left button, sweep the desired text, and release. You can also double click for a word or triple click for a whole line Paste is middle button under Unix/Linux and X, usually right button under MS-Windows (putty or the like).

And yes, Unix is case sensitive, and the punctuation characters really matter. Pay close attention to the differences between single quote, double quote, backquote (the one over by ~), square brackets vs. curly brackets vs. parenthesis, slash '/' (the Unix directory path seperator) versus backslash '\' (usually used as and escape character), colon ';' vs. semicolon';'.

See the http://www.knoppmythwiki.org/index.php?page=LinuxTips page on the wiki for more hints.

Looks like you've got the two optical drives like I suspected. As root do this:
Code:
chgrp cdrom /dev/hdc

and see if that cures your permissions problem.. If the Compaq drive is your primary DVD drive you may also want to change at least one of the symbolic links to point to it.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 20, 2006 7:46 pm 
Offline
Joined: Thu Oct 19, 2006 4:38 pm
Posts: 20
Location: CT
Thanks but that did not seem to work. in fact it just went back to the command line...did not say anything. even did it twice.

I did not notice it the first time but I m getting an error screen that says Xine engine error or something to that effect (it is only up for a split second)

I tried get update for Xine but after it dl it said i had the latest version. I checked player to make sure it was set to xine and it is.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 20, 2006 8:10 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Fizzy wrote:
Thanks but that did not seem to work. in fact it just went back to the command line...did not say anything. even did it twice.

What went back to the command line, the chgrp? It's supposed to. That command is just fixing the group ownership on the other optical drive.

Did you try the other thing? Fixing the symlinks from /dev/cdrom and /dev/dvd to point to the other device? This is explained in the LinuxTips wiki page I pointed you to.

Also, try running xine from a shell command prompt (use the full command given in the setup screens). You may be able to see more error output this way.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 20, 2006 9:16 pm 
Offline
Joined: Thu Oct 19, 2006 4:38 pm
Posts: 20
Location: CT
I did the symlink

ln -s /dev/hdc /dev/dvd

it said that the file exists already


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 20, 2006 9:38 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
Probably not much for help, but I get confused following along. :)
Quote:
lrwxrwxrwx 1 root cdrom 8 Sept 29 22:57 /dev/cdrom -> /dev/hdd
lrwxrwxrwx 1 root cdrom 8 Sept 29 22:57 /dev/dvd -> /dev/hdd

Then
Quote:
ln -s /dev/hdc /dev/dvd
which makes me think /dev/hdc /dev/dvd /dev/dvd -> /dev/hdd are now drives are dvd. How is KM suppose to figure out who is on first?

How would one remove the /dev/hdd link as if you use rm /dev/hdd then would not that device be lost?

If it is confusing to me a casual viewer, how is it setup in the menu setups? Maybe it doesn't quite know which to use?

Mike


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 21, 2006 8:50 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I've updated the LinuxTips page. I'd have sworn that it already covered symlinks...

The short answer is: "You've got to remove the exisiting directory entry first or use the '-f' option to ln."


Top
 Profile  
 
 Post subject: Ugh OH
PostPosted: Sat Oct 21, 2006 11:05 am 
Offline
Joined: Thu Oct 19, 2006 4:38 pm
Posts: 20
Location: CT
I am not sure exacty what I did...

I tried ln -sf /dev/hdd /dev/cdrom
and then -sf /dev/hdc /dev/dvd

but it still would not play...then I got stuip and tried

rm /dev/hdc
rm /dev/hdd

and then

-sf /dev/hdd /dev/cdrom
-sf /dev/hdc /dev/dvd

now when I run

dmesg | grep -i 'ata.*cd.*drive'

I get

hdc: Compaq dvd-rom DV-5700B, ATAPI CD/DVD-ROM drive
hdd: TDK CDRW2500B, ATAPI CD/DVD-ROM drive
hdd: ATAPI 48X cd-rom cd-r/rw drive, 2048kb Cache, UDMA (33)

but now when I do

ls -al /dev/cdrom /dev/dvd /dev/hd?

all I get is

1 root root 8 Oct 21 12:59 /dev/cdrom -> /dev/hdc

what happened to all the other stuff? I am never gonna finish this in time! ugh. can i cry now?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 21, 2006 11:18 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Well, removing the real device entries was a bad idea (you were supposed to remove the link entries not the link destinations!), but it's fixable.
Code:
mknod /dev/hdc b 22 0
mknod /dev/hdd b 22 64
chown root:cdrom /dev/hd[cd]
chmod ug=rw,o-rwx /dev/hd[cd]

Frankly the fastest solution, may be to simplifying the hardware situation (unplug the data cable from one of the DVD drives at the drive end) and reinstall. Figure with time to open the box and fiddle with the hardware about 1 hour total. Unless this is due at 1430EDT you've got plenty of time.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 21, 2006 1:33 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,

I was just going to inquire as to what purpose would there be a need for two optical drives? Both dvd's are players and the only thing I use my cd burner for is to make a new iso. KM doesn't have optical to optical as a menu feature,,, yet.

tjc's suggestion of disabling one drive sounds clean and simple. The kiss principle :)

Mike


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 21, 2006 4:44 pm 
Offline
Joined: Thu Oct 19, 2006 4:38 pm
Posts: 20
Location: CT
I only have one cd and one DVD why does it make it look like i have two dvd?

Anyway, are you saying to unplug one drive and reinstall KM?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 21, 2006 6:58 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
tjc wrote:
unplug the data cable from one of the DVD drives at the drive end) and reinstall.

So, yes, I was suggesting that you unplug the CD drive and leave only the DVD drive plugged in. (Since what you're tring to get working is the DVD playback.) Having only one optical drive will avoid any potential confusion.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 21, 2006 7:20 pm 
Offline
Joined: Thu Oct 19, 2006 4:38 pm
Posts: 20
Location: CT
I guess I am confused if you mean that I need to reinstall KM from the installation CD iso i used when i first installed or can i just pull the CD drive out?

I have a DVD r/w that i would rather use anyway so maybe I just pull both out and put in the new dvd drive.

will KM recognize the new drive or do i need to the the symlink thing to it


Top
 Profile  
 

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



All times are UTC - 6 hours




Who is online

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