Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 just downloaded the xmms cdread plugin rpm. Before issuing the command,
rpm -i <plugin.rpm>,
I have a question. For some reason, while upgrading to Mandrake 9.1, the source code did not copied to my hard drive (by default). I am saying this as there is no 'linux' directory under /usr/src/. Don't I need the source code for installing the rpm ? Also, if the source code is required, where do I obtain it from ? The upgrading process does not give me an option to copy the source code, at any stage of the process. Or is it that I can copy the source code only if I do a full installation as opposed to an upgrade ?
If you upgraded from a disc, you can look on the disc for the source code. If you downloaded the upgrade, maybe the source code wasn't included. Often the source code is included in the "developer packages" and aren't part of a basic install.
You do not need the kernel source to install rpms.
I tried compiling the rpm as a root. It seemed to compile smoothly (as in, I didn't get any error messages). I also checked the cdread plugin in xmms->preferences and disabled the default CDplayer plugin. Still, there is no sound. The default CD device entry in the plugin options is /dev/cdrom.
Open a mixer (kmix or aumix, or something like that) and make sure that you haven't got it muted, a lot of distro's come with the sound muted by default.
Also, just to see if the cdplayer will work, if you have a cdrw like I have, I have to open kscd or grip (which might be a ripper, but is also a fully functional cd player) and tell it to look at /dev/scd0 - this is to do with cdrw's using scsi emulation.
I don't use xmms to play audio cd's, because the path that I have to put in is so complicated and I couldn't get it to save it, and wasn't about to piss about trying to remember something mega long.
also, make sure that you have the latest xmms (1.2.8 I think) as it can pick up "digital" output devices.
If you have more than one drive i.e. cd/cdrw/dvd you will have to make sure that you know which one to use, linux will normally only pick up the sound from the drive that is connected via audio cable to the sound card/device - unless (as far as I know) you have the latest xmms as above, though I couldn't tell you how to configure it, as I haven't got round to that yet.
p.s. if you are using kde (don't know about gnome) and your sound isn't muted, then you should hear the start up jingle when you boot up, there's also a test sound button in the kde control centre I think it's under sound or maybe system
I checked the sound settings. They are not muted. I am able to listen to mp3s, in any case. I tried changing the device to /dev/scd0, but that too didn't help. If I use grip, I have the same problem (unable to play) but I am able to see the tracks, at least.
Well, if you've got some sound, then it can only be a config/set up thing i.e. the mp3 thing confirms that the actual sound system is working.
You haven't said how many "removeable media" drives your system has - the /dev/scd0 thing, seems to work with my system, beca use I have a dvd drive as well as a cdrw.
Use the non-fb boot option (should be listed under lilo start prompt) if it's available, and if you know what the system calls the various drives i.e. the hard drive should be something like hda, but the windows partition would normally be hda1, and a linux partition should be hda2, see if there is a drive name that comes up that you don't recognise/understand. the /dev/cdrom is the default setting, I've never managed to get it working with that, though I would imagine with the correct "symlinks" in place you could (but I don't know enough to advise you on what they are).
With my system, that's how I identified the name of the drive. Because i have the 2 removeable drives, the system actually calls my dvd drive /dev/hdc and the burner is /dev/scd0 but my system also calls the drives cdrom and cdrom2 - if it's only a cdrom drive that you use, then you would have to find out what your system is calling it then for kscd and grip you should be able to tell it to look at /dev/whateveritcallsit !
Or if you want to carry on with xmms, then go here and follow the link for documentation. sorry that's the best I can suggest, I don't even have the audio cd plugin, as I mentioned earlier, I haven't bothered to use xmms for audio cd's for a long time, but when I was trying this 18 months ago, and had the plugin I seem to recall that I had to configure it with the plugin and then the path was
but as you can see, I still had to follow a scsi path, due to the "scsi emulation" required for the burner.
You may also have to look inside your pc, to make sure it's actually set up with the audio cable from the cdrom/cdrw/dvd/whatever to the sound device/card, cos if it's only ever had windows in it before, windows picks up the sound output from the ide cable, so there may not even be an audio cable (mine is a thin 2 stranded cable from the drive to the sound card).