Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
#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
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)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.