Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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'm using Red Hat Linux 9, kernel 2.4.20-9 with Ximian desktop 2. i just switched out a regular cd drive (samsung) for a dvd-rom drive (lite-on). the samsung cd drive was configured and working correctly before the switch. i also have a cd burner that works fine as well.
after installing the dvd drive i can use it as a cd drive just fine, but it doesn't recognize dvd's. i have xine 0.9.22 installed with libdvdcss 1.2.6.
what am i missing here?
thx in advance
scott
Last edited by quantumechanix; 09-13-2003 at 08:33 PM.
thx 420, i read your post. you seem to have had a problem with audio in that post. my audio is fine on both drives, it's just that dvd disks don't seem to be recognized. also, you had a question in that post about winxp and audio cables. winxp doesn't need the analog audio cable hooked up to the snd card. winxp uses digital info from the ide cable directly (which is neat btw). linux doesn't do this yet (i think the 2.6 kernel will have this feature). but then, linux didn't have to be patched against MSBlaster and SoBig either.
some more info. the dvd-rom drive is /dev/hdc. i have two hd's on hda and hdb (dual boot system with winxp and RH9). my cd burner is hdd which i think is using scsi emulation. looking at my dmesg output shows that when attempting to read a dvd disk i get the following:
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
Unfortunately I post too much here so I may have many posts and some problems I fixed.
The problem I had was that I would pop in my DVD and the DVD drive kept reading... and reading... and reading.. and would lock up my computer. Does this happen to you?
What I did was (I use Mandrake) I went to my control center and added an RPM for DVD's and installed the libdvdcss thing you mentioned and my DVD worked after that.
hmm, i was hoping it would be that easy for me. when i put a dvd disk in it runs just like any other time, but then doesn't do anything. xine doesn't run anything from the dvd drive. do you think you could remember what rpm you installed, even though it was for mandrake. also. what app are you using to view dvd's?
thx
Last edited by quantumechanix; 09-14-2003 at 12:29 AM.
the problem is solved, at least for xine. here is the synopsis:
make sure the following are installed on your system; libdvdcss, libdvdread, and xine (i think you may also need something called dvdnav)
i then made a link called dvd in my dev directory that linked to the dvd-rom device which is also in the dev directory. to do this i used this command:
ln -sf /dev/hdc /dev/dvd
my dvd drive was hdc. if you don't know which device your drive is, you can issue the command "more /etc/sysconfig/hwconf" this is the hardware configuration file. it is pretty large, but you should find entries pertaining to you CD-ROM devices. these are the CD-ROM entries from my system:
(Note that I copy and pasted this so the columns arent exactly as they should be)
As you can see I have two cdrom entries. The first one has a LABEL of "/dev/cdrom" and the second has a LABEL of "/dev/cdrom1". These two entries have a "/" (directory) of "/mnt/cdrom" and "mnt/dvd" respectively. The second was actually not "mnt/dvd" at first, but I changed it in order to reduce confusion. If you would also like to change this you can do this if you have a editing tool like gedit. If you do, and you most likely do, in the terminal type "su" and then your password. Then type "gedit /etc/fstab". You will get a warning, but you can ignore it. Edit the fstab file to reflect "/mnt/dvd" if you so desire. It actually isnt mandatory. Save the file and exit.
The next step is the required step to get things working. Open up a new terminal window and you probably want to "su" and password. Make sure you know the LABEL for the dvd drive you want to get working. In my case it was "/dev/cdrom1". If you are not sure you can always type "cat /etc/fstab" to get an output of all your devices. Now you want to create a symbolic link to LABEL of the dvd-rom that was assigned by linux. To do this you want to create and entry in your "/dev" folder for a dvd-rom. This entry is defaulted to look like "/dev/dvd". The desired command line that you want to type is "ln -s <LABEL OF YOUR DVD ROM> /dev/dvd". Please do not coppy and paste that because it will not work. In the part that says <LABEL OF YOUR DVD ROM> you will want to replace that with the actual label of your DVD ROM found in your /etc/fstab file. In my case the actuall command line was "ln -s /dev/cdrom1 /dev/dvd". You can use the "ln -f" option if you so desire, but that only overwrites an existing /dev/dvd entry and it could cause problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.