SlackwareThis Forum is for the discussion of Slackware 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.
After inserting your audio CD, run the "KsCD" program (in the multimedia section) and press the play button.
If you still hear nothing or nearly, go into a konsole and change to user root ("su -"). Run "alsamixer" and set the "CD" level to +/- its maximum. Press the ESC key and save the settings using "alsactl store".
Maybe you don't have the audio cable connected from your cd reader to your soundcard. So analog sound won't be posible, in XMMS select the audio cd plugin and configure it to extract audio digitally.
Originally posted by gbonvehi Maybe you don't have the audio cable connected from your cd reader to your soundcard. So analog sound won't be posible, in XMMS select the audio cd plugin and configure it to extract audio digitally.
Noted your point carefully but there is no chance of that error, as I am sure that the audio cable is connected from my CDROM drive to my sound card. I can play CD using that particular CDROM deive from Fedora Core 3.
This is how it works for me in XMMS:
Goto Options->Preferences (or press Ctrl-P)
Select the Audio I/O Plugins tab
Choose input plugin "CD Audio Player" and press Configure
Make sure the device & path are correct (cf /etc/fstab) and choose "Digital Audio extraction"
Press OK and make sure your output plugin is correct (e.g. aRts if you use KDE)
Press OK
Now choose Play Directory (or Shift-L) and chose your CD mount point.
Press the Play button.
Originally posted by uselpa After inserting your audio CD, run the "KsCD" program (in the multimedia section) and press the play button.
If you still hear nothing or nearly, go into a konsole and change to user root ("su -"). Run "alsamixer" and set the "CD" level to +/- its maximum. Press the ESC key and save the settings using "alsactl store".
I tried this alsamixer and the scrren which were shown there, I found that volume control of CD is set to zero level. In the top left, I found a message that "CD off". I could able to increase the volume control of the CD with the help of up arrow key but it could not help as I could not make the CD on. How do I turn on the CD's volume control in alsa mixer?
Now I could able to turn on the "CD volume control" with m switch of my keyboard and did not forget to save the settings with alsactl store. Still I am not able to hear any music from CD.
The problem is solved. Thank you uselpa and other too. Actually the problem generated from another place. Telling you that,
1. During my installation of Slackware 10.1 the OS detected my CD writer drive as /dev/cdrom and CDROM drive was not detected.
2. I made two directories /dev/hdd and /dev/hdc and linked CDROM to /dev/hdd and CDWriter to /dev/hdc.
3. The KsCD-->Extras-->Configure KsCD and the CDDrive option was set to /dev/cdrom. Now I have changed this drive to /dev/hdd and it starts working.
4. However as I already have changed alsamixer as stated in my previous post as per the direction of uselpa (increased the volume of CD Volume control), I made the previous part complete to get sound output and I get the sound output at once.
Thank you all for helping me. I acknowledge all your effort. My best regards to all of you.
Still I have a question to ask :
When my CDWriter was detected first as CDROM (during installation of Slackware 10.1) the permission set to that /dev/cdrom is as follows,
LRWXRWXRWS (giving all in caps to recognize 'L' )
Now the permission set to /dev/hdd and /dev/hdc are as...
BRWXRWXRWX (for both /dev/hdd and /dev/hdc)
Now the question is that, may I get another new problem with the first letter (which is now B) of my drives? Please guide me in this regard.
A more basic problem is if you have permission to access the cdrom drive. I can't tell from your first post if the drive is accessed or not. A quick check is to see if you can play the cd as root.
The default Slackware install does not give permissions for users to access the cdrom.
One way to fix is to "chmod 644 /dev/cdrom". Fedora default install gives permissions to the cdrom but Slackware users learn about device permissions
Usually those "all (read,write,execute) to all" permissions are given to symlinks.
First check it's not a symlink with: ls -l /dev/cdrom
It's expected to see /dev/cdrom to be a symlink to /dev/hdc or whereever you had your CDrom when you installed Slackware.
Usually permissions for harddisk and cdroms are brw-rw---- with root as owner and disk as group in harddisk and cdrom as group on cdroms. So adding your user to the cdrom group (or disk if you want your user to be able to access the harddisk directly) will give you read-write permissions to the raw device.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.