how to play audio cd in slackware 10.1?
In my slackware box I can play mp3 using xmms and it is working fine but no sound if i enter an audio cd.
if i put an audio cd there is no error message, simply i cannot hear anything from my speaker. regards anindya |
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.
|
Quote:
Regards anindyanuri |
Did you try what I suggested in my previous post?
|
|
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. |
Quote:
Regards anindyanuri |
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.
Regards |
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. Regards anindyanuri |
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 :D My post was too slow, it looks like he fixed it. |
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. |
In case of file permission what does it mean by those b and l(L)?
regards anindyanuri |
It indicates the kind of file it's. It's b (or c) for device files, l for links, d for directories, etc.
|
All times are GMT -5. The time now is 11:00 PM. |