LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-05-2006, 06:29 PM   #1
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
cd drives don't play music?


I'm a newbie working on a new install of debian 3.1. I got the audio to work, and I can play music files that I've ripped. I can also rip files. My xmms preferences show that the 'CD Audio Player' plugin is there. I'm not sure it's configured properly. My two drives are a little strange. One's a cd-dvd drive and the second is a cd-rw drive. Do I have to set them to special /dev/ values to get them to work? I'm not really concerned right now with getting dvds or burning to work, but do they need special device drivers or something to play music?

Any help would really be apreciated!!
 
Old 11-06-2006, 01:08 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Quote:
Originally Posted by radiodee1
I'm a newbie working on a new install of debian 3.1. I got the audio to work, and I can play music files that I've ripped. I can also rip files. My xmms preferences show that the 'CD Audio Player' plugin is there. I'm not sure it's configured properly. My two drives are a little strange. One's a cd-dvd drive and the second is a cd-rw drive. Do I have to set them to special /dev/ values to get them to work?
No, as far as I know you do not need special /dev values. If you have standard IDE CD / DVD-ROM /RW drives, the drive on the first IDE channel should be /dev/hdc and the drive on the second channel (or the slave) should be /dev/hdd. Usually, if you are using a stock distro these are automatically detected and correctly set up to be instantly ready for use once the kernel is started up. At least, this is how it works under Fedora.

Quote:
I'm not really concerned right now with getting dvds or burning to work, but do they need special device drivers or something to play music?

Any help would really be apreciated!!
You shouldn't need any special device drivers or settings to play CD music.

The rips you refer to that you can play - did you make them on that same Linux system? If you did that means that your CD drives work 100%.

I'm not sure about getting to listen CD's with XMMS, you should have another CD player app on your desktop. I've got FC3 (yeah - old - I know) and I've got a seperate app in the KDE menu for a CD player. See if you have something similar? It sounds as if your setup should be working allright (the fact that you have sound, for example) but I think there is some screwup with the XMMS CD Playing plugin that now makes it -look- as if audio CD playback does not work, when it fact it might be working fine - there's just a problem with the XMMS plugin.
 
Old 11-06-2006, 01:27 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Like said, you shouldn't need to tweak the device files in any special way (unless there's a permissions problem, but if there was, you'd know about it - it produces big warnings). I'd follow these steps to try and deduce the source of this problem:

1) if you have dual-boot, make sure some cd plays on the other OS correctly (have you been able to play cds with this pc before?)
2) especially on laptops, make sure you know whether or not the drive(s) use digital sound output -- some programs need to have a box checked in their configuration to be able to play from such drives
3) try other player applications, not just xmms - you can tweak that later
4) see that your mixer volume levels haven't suddenly been set to 0
5) try playing the cd with a different user, maybe even root (just a try, don't start using it daily!)
 
Old 11-06-2006, 01:15 PM   #4
Nishtya
Member
 
Registered: Feb 2004
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 281

Rep: Reputation: 32
By chance, do you use KDE? If so, check this out, go to kcontrol and there is a listing for audio CDs. There you can choose which cd is the "audio cd player". There is a setting to use either/or but it has never worked for me in about two years of running debian sid/KDE and my 2 CD drive set up. I have always had to designate one of the drives specially.
 
Old 11-06-2006, 02:35 PM   #5
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
Out of curiosity, is the the audio cable connected? It's a small cable(not the IDE cable) that goes from the CD drive to your motherboard. I could be mistaken, but I don't think XMMS uses digital audio extraction. Therefore, you'd need the audio cable in order to actually "hear" the music.
 
Old 11-06-2006, 03:26 PM   #6
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
In newer gnome under preferences menu there is removable disks and drives,where the option to play audio cd's when inserted..
 
Old 11-06-2006, 04:28 PM   #7
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675

Original Poster
Blog Entries: 11

Rep: Reputation: 36
Well the audio cable I don't know about. I'll check that out. I am using kde, though. I did get it to work. In xmms prefferences I selected the options->prefferences and highlighted the 'CD Audio Player' input plugin. Under configure, under 'play mode', I clicked the 'digital audio extraction' checkbox. That and spelling out the device (/dev/hdc) and directory (/media/cdrom0) got xmms to play my cds on the first drive. I also switched the output plugin from OSS to 'ALSA 1.2.10 output plugin [libALSA.so]'. Configuring the alsa output plugin I checked 'use software volume control'. All together all these things worked. I'll check about the cable. I'm guessing I don't have one... if that's possible. I think the 'digital audio extraction' was important. Thanks everybody for the help!!

Last edited by radiodee1; 11-06-2006 at 04:30 PM.
 
Old 11-06-2006, 04:48 PM   #8
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
Good to hear it's working. If you're using Digital Audio Extraction, then there's no need for the analog audio cable to be connected. I wasn't aware of XMMS's ability to use Digital from CD drives, good info to know.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
play music m_talebi_z Ubuntu 10 06-17-2006 04:06 AM
Cannot play music in xmms parthbakshi Linux - Software 4 01-18-2006 04:33 AM
cant play music king kong killa Fedora 2 06-11-2004 09:36 PM
music cd doesn't play in cd player fobius Linux - Software 3 04-24-2004 10:31 AM
my music won't play JamDunc Linux - Newbie 4 08-03-2003 07:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration