LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Help with setting up multiple CD/DVD ROM drives (https://www.linuxquestions.org/questions/linux-hardware-18/help-with-setting-up-multiple-cd-dvd-rom-drives-397881/)

LazyP 12-30-2005 11:08 AM

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

aus9 12-31-2005 09:15 AM

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

LazyP 12-31-2005 10:36 AM

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.


All times are GMT -5. The time now is 11:11 PM.