LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-30-2005, 11:08 AM   #1
LazyP
Member
 
Registered: Jun 2005
Location: Athens GR
Distribution: Slackware 10.2
Posts: 43

Rep: Reputation: 15
Help with setting up multiple CD/DVD ROM drives


My computer has two DVD-ROM drives a TOSHIBA DVD-ROM and a PLEXTOR DVD-R.The problem is that in most programs (such as Xine) there can be only one (like Highlander ) device specified for audio-cd or dvd playback. Usually this is /dev/cdrom or /dev/dvd which point to the appropriate block device. This is totally impractical because
A. I have to remember stupid things like "Audio Cds in plextor" "film DVDs in toshiba"
B. In case the specified device is in use I have to either ln the /dev/dvd with the free device or change the application settings (or maybe wait for the job to be completed...)
Currently I am looking for a way to make my programs understand that there might be more than one CD/DVD drive in my pc. Any help appreciated because I'm starting to miss the preconfigured mountpoints of windoz (I'm visiting a doctor one of these days).
PS: Distro Slackware 10.2
 
Old 12-31-2005, 09:15 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
If you have not already done so, check your /etc/fstab file for entries you should have 2 if not with su powers add the missing one.

mine look like this

/dev/hda /mnt/dvd auto umask=0022,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0
/dev/hdc /mnt/burner auto umask=0022,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0

and of course with su powers create the missing directory in /mnt/

(2) read your /var/log/dmesg to see how your hardware is being detected and bear in mind you may find your default may be set on a low dma
 
Old 12-31-2005, 10:36 AM   #3
LazyP
Member
 
Registered: Jun 2005
Location: Athens GR
Distribution: Slackware 10.2
Posts: 43

Original Poster
Rep: Reputation: 15
Oops... I now realise that I totally misplaced this thread. It should be Linux-Software.
In fact the fstab is properly configured. This means that I can mount/use both dvd-roms perfectly well at the same time at a normal data transfer rate. The trouble is when using certain applications (xine, kscd). For example xine has an option: device used for DVD playback |/dev/dvd|
Of course I can tell it to use /dev/hda or /dev/hdc or whatever
Of course I can also ln -s /dev/hdc /dev/dvd but this is also work and I am lazy.
The problem is that I have to change this everytime I use hdc instead of hda which is boring.
The question remains: Can I set up my aplications to expect two devices.
I imagine something like that for xine:

device1 used for DVD playback |/dev/hda|
device2 used for DVD playback |/dev/hdc|

Or it could ask for the number of devices I have and set it up properply.

PS: I'm again sorry for the misplaced question.
 
  


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
cd-rom and dvd-rom drives won't mount... :-( Ausar Linux - Newbie 12 09-01-2004 02:51 PM
problem mounting cd+dvd rom drives in RH9 peeks Linux - Newbie 6 02-14-2004 08:21 PM
DVD-ROM + CD-RW with XCDROAST - not detecting drives during scan rehab junkie *BSD 9 01-03-2004 04:31 PM
Multiple CD-ROM drives, but huh? r_jensen11 Linux - Hardware 7 05-28-2003 07:08 PM
Mounting DVD and cd rom drives redgore Linux - Newbie 2 01-28-2002 03:16 PM


All times are GMT -5. The time now is 08:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration