LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2004, 07:04 PM   #1
NeoSpawn
LQ Newbie
 
Registered: Feb 2004
Location: 5 Level of hell
Distribution: Fedora Core 1
Posts: 27

Rep: Reputation: 15
Getting xine to access the dvd player


I've complied Xine and everything and the program run, but the problem is that i cannot play a dvd. Says it cannot find the player. I did the hdparm -d 1 /dev/hda command but that still didnt help. Here is the output for cdrecord -scanbus :

Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J. Schilling').
scsibus0:
0,0,0 0) 'SAMSUNG ' 'CD-R/RW SW-240B ' 'BD11' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
its only shows my burner and not the DVD player. This that suppose to happen?

Anyone know what to do? Thanks

NeoSpawn
 
Old 04-11-2004, 07:19 PM   #2
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
have you put a symlink to your DVD?? i mean, do you have a /dev/dvd pointing to /dev/hdc ?? (assuming DVD is hdc).

The output of cdrecord is normal, as you don't have any scsi emulation for DVD, but you don't need it actually for the DVD

Hope this helps

Last edited by Hammett; 04-11-2004 at 07:20 PM.
 
Old 04-11-2004, 07:57 PM   #3
NeoSpawn
LQ Newbie
 
Registered: Feb 2004
Location: 5 Level of hell
Distribution: Fedora Core 1
Posts: 27

Original Poster
Rep: Reputation: 15
So do i just do ln -s /dev/hdc /dev/dvd ? and how do i know which is my dvd drive?

NeoSpawn
 
Old 04-11-2004, 08:04 PM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
the easy, but not so elegant way to find it is to use hdparm as root:

/sbin/hdparm -I /dev/hd[b]c

keep repeating the command incrementing the letter to the next highest letter until you see the outpu that has your model number for your dvd player. use the /dev/hdX in the symlink command for the source.
 
Old 04-11-2004, 09:22 PM   #5
NeoSpawn
LQ Newbie
 
Registered: Feb 2004
Location: 5 Level of hell
Distribution: Fedora Core 1
Posts: 27

Original Poster
Rep: Reputation: 15
Nope still not working i made a symbolic symbol and all but where do i put the symbolic link? i have a feeling that i'm putting it in the wrong place.

NeoSpawn
 
Old 04-11-2004, 10:19 PM   #6
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
#1. what is the command you used to create the link?
#2. do you have any output from using the command. if the ln command failed, it will tell you why it failed.
#3. if you used the command posted in the above reply, then the link is in the right place and your source device label is wrong.
#4. if your device label is correct, then delete the link(rm /dev/dvd) and try enabling scsi emulation for your dvd player. see #5
#5. what bootloader are you using? grub or lilo. you can enable scsi emulation in either /boot/grub/grub.conf or /boot/lilo/lilo.conf. with lilo, you'll need to run lilo again so that the change will take effect. see #6
#6. you'll probably have to change your /dev/cdromX link (where X is the number -> /dev/cdrom1 <- that is linked to your dvd's device label -> /dev/hdc <-) to point to /dev/scdX. my guess is that your cdrom is /dev/cdrom pointing to /dev/scd0 (which is really /dev/hdb), and your dvd is /dev/cdrom1 pointing to /dev/hdc (at the moment). after scsi emulation, your dvd drive label should be /dev/scd1. you'll need to delete /dev/cdrom1 and re-create that link to point to /dev/scd1 and then create a link called /dev/dvd to point to /dev/cdrom1. all this is assuming you're only using 1 hard disk drive.

to add scsi emulation here's an example of my /boot/grub/grub.conf file the lines are in bold:

Quote:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,10)
# kernel /boot/vmlinuz-version ro root=/dev/hda11
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,10)/boot/grub/splash.xpm.gz
password --md5 $1$gâÛÊ8yíÆ$qAl4aldPgDShfqDq8o0R1/
title Red Hat Linux (2.4.XXXXX)
root (hd0,10)
kernel /boot/vmlinuz-2.4.XXXXX ro root=/dev/hda11 hdb=ide-scsi hdc=ide-scsi
initrd /boot/initrd-2.4.XXXXX.img
title Windows ME
rootnoverify (hd0,0)
chainloader +1
 
Old 04-12-2004, 05:47 AM   #7
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
Does the scsi emulation do anything in a DVD? I have it working without enabling SCSI emulation....
Anyway, if above does not work, for discovering which drive is your DVD, put a CD in the drive and mount it putting the device, not the mounting point (mount /dev/hdX) start with c and increment one letter each time until you mount it. Once you get the CD mounted, you know which is the drive. Usually, having only one HD is /dev/hdc
Then, as root, create the symlink in /dev and change permissions for reading (chmod a+r /dev/dvd)

This worked perfectly on my RH9....

Last edited by Hammett; 04-12-2004 at 05:49 AM.
 
Old 04-13-2004, 09:50 PM   #8
NeoSpawn
LQ Newbie
 
Registered: Feb 2004
Location: 5 Level of hell
Distribution: Fedora Core 1
Posts: 27

Original Poster
Rep: Reputation: 15
Oks here is what I know so far and I have done so far. I have two(2) hard drives, they are hda and hdb. My DVD drive is hdc, and my burning is hdd. Oks now my /dev/cdrom (DVD) is pointing to hdc (the DVD drive) and the /dev/cdrom1 (CDRW) is pointing to /dev/scd0 (which i wanna say is my burner). I removed the old /dev/dvd link and made a new one pointing to /dev/cdrom and that didnt work. Im gonna try and have the link point to hdc. Lets see if that helps.

NeoSpawn
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xine dvd player ronss Libranet 10 12-04-2004 04:08 AM
getting access to my DVD player in KDE as user. Lleb_KCir Linux - General 2 10-20-2004 11:09 AM
DVD video player? xine? and .wav servnov Linux - General 1 09-22-2004 08:25 PM
Xine DVD player Lespuff Linux - Newbie 2 11-30-2003 04:01 AM
Trying to install Xine DVD Player!!! angelrod Linux - Software 17 11-05-2002 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration