Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am running Mandrake 9.1 on a Pentium 2 350mhz. I have two CD drives, daisy-chained as master and slave. The master is a CD-R/RW and the slave is a plain 32 speed CD drive.
I know the master drive works, because that is the drive I installed Linux from and the drive which I've used to install additional rpms from since.
I know the slave drive works because I've inserted music CDs and had them play music out of the drives headphone jack.
The problem is this: My master CD-RW drive is the CD drive that is connected to my sound card and the CD Player doesn't recongize this drive as the one to play music. The CD Player only recongizes a music CD when it is inserted in the basic CD drive which is the slave.
How can I make Linux, or the CD Player program, look for a music CD in my master CD-RW drive?
"The CD Player only recongizes a music CD when it is inserted in the basic CD drive which is the slave."
The CD Player plays a specific device, probably /dev/cdrom. /dev/cdrom is linked to the device address where the CD-ROM resides (/dev/hdd ?). You could try linking /dev/cdrom to the CD-RW (/dev/hdc ?).
Or the CD Player may be configurable. See if you can set the CD player to play the CD-RW (/dev/hdc ?).
Or you could move the sound card connection wire to the CD-ROM.
Yow, Jailbait, you are everywhere . . . answering my questions in the General forum and then here. BTW, I ended up giving up on fsck and reinstalling Mandrake.
Anyhow, back on this topic . . .
I realize I could switch the sound card connecting wire. I just wondered if there was an easier way because clearing all the junk off my case so I can open it up is a bit of a hassle.
The CD Player I used wasn't configurable. Maybe I could find one that was, but I don't know what program I should look for. Right now I've just been trying to use the plan vanilla CD Player on Mandrake's Gnome.
This leaves the option of changing the linking. I understand what your are saying about where the device exists and the addresses, but I don't understand how I would change the link. Could you explain the process in detail please?
What are you using to play audio CDs? More than likely you will need to specifiy what device to use if you don't want to use the default one (or if this is XMMS, change the default device). Since this is an ATAPI CDR/W drive, it will be using scsi-emulation (by default under Mandy for CDR/W drives) so you would need to tell your programme to use /dev/scd0
The original CD playing program I was trying to use was Gnome CD Player. Earlier in this thread I incorrectly stated that this player wasn't configurable. I just now went back to look and found out that it was.
In the course of trying to work through this problem I also tried to use Ximm and Grip. Somehow, in the course of the last few minutes I managed to make it so Grip no longer loads when I try to open it from the menw. I wonder if that is caused by me putting in an incorrect device line. Sigh . . . anyhow, that is a problem for another day.
Thank you very much for the command lines. However, I seem to have got the CD-RW drive to play the music without needing to use them. I went back to the original Gnome CD Player and found the configure setting and after comparing that with the information in the dmesg file, along with a bit of experimentation, I found out that /dev/cdrom is my slave device and /dev/cdrom1 is my CD-RW. Don't ask me why.
Hopefully Grip will be working when I boot up tomorrow. Somehow I doubt it, but I will come bawling back with that problem tomorrow.
. . . Or some other problem. I don't seem to run out of problems.
But at least now I can play CD music out of my speakers with Gnome CD Player. Yaa!
Thanks for all of the help.
Edit: BTW, Thymox, you are right the Mandrake uses my CD-RW as a scsi device, but I still managed to use it with Gnome CD Player by using /dev/cdrom1 . . . I don't know why but I'm not about to ask questions.
"BTW, Thymox, you are right the Mandrake uses my CD-RW as a scsi device, but I still managed to use it with Gnome CD Player by using /dev/cdrom1 . . . I don't know why but I'm not about to ask questions."
Probably /dev/cdrom1 is a symbolic link to /dev/scd0. You can check that with: