LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-25-2003, 11:41 AM   #1
iantri
Member
 
Registered: Jul 2003
Posts: 38

Rep: Reputation: 15
Playing audio cds


Hello.

I have sound and my cd-rom drive working in slackware. I have the audio cable properly set up between the CD--rom drive and my soundcard. But, I cannot play audio cds. I have not attempted to mount the audio cd.

When I run workbone (console cd player), it starts and just drops right back out to shell without an error.

When I run cdparanoia (trying a different approach, ripping the cd) it gives me a better message -- 004: cannot read table of contents header.

It proceeds to suggest that I may not have a CD in the drive. I do, and it is a valid audio CD that works on my stereo.

/dev/cdrom is symlinked to /dev/hdd (this is where my cd-drive is) as it is expected by these programs... I can mount data CDs and use them.

Any idea?
 
Old 07-25-2003, 12:22 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
You just helped solve my problems and yours doesn't work? I know I had to add

append "hdc=ide-scsi hdd=ide-scsi"

to /etc/lilo.conf and edit the cdrom symlink to /dev/scd1 and just generally treat /dev/scd0 and 1 as my stuff as far as changing permissions. But this was mostly to get cdrecord working and I've since discovered that may not have been necessary after all. But my burner burns now, so I haven't changed anything back. Maybe some of that would help? The rest of the elements that got it working were all on that other thread, I think.

Oh - and I had to tell kscd where to find the CD at /dev/scd1. (I still need to figure out how to tell xmms - it found the CDRW but that isn't hooked up so I need it to find the DVD.) And changing fstab to 'auto' was major I think. Otherwise it'll only accept ISO9660. It sounds like its just not recognizing your audio CD as an audio CD.
 
Old 07-25-2003, 03:42 PM   #3
iantri
Member
 
Registered: Jul 2003
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by digiot
You just helped solve my problems and yours doesn't work?


Heh.. no.

Quote:
I know I had to add

append "hdc=ide-scsi hdd=ide-scsi"

to /etc/lilo.conf and edit the cdrom symlink to /dev/scd1 and just generally treat /dev/scd0 and 1 as my stuff as far as changing permissions. But this was mostly to get cdrecord working and I've since discovered that may not have been necessary after all. But my burner burns now, so I haven't changed anything back. Maybe some of that would help? The rest of the elements that got it working were all on that other thread, I think.
What exactly does SCSI emulation have to do with audio playing, though? I've not needed it on other machines..
Anyway, I did this, still no such luck..

Quote:
Oh - and I had to tell kscd where to find the CD at /dev/scd1. (I still need to figure out how to tell xmms - it found the CDRW but that isn't hooked up so I need it to find the DVD.) And changing fstab to 'auto' was major I think. Otherwise it'll only accept ISO9660. It sounds like its just not recognizing your audio CD as an audio CD.
Yes, it does seem that way.. I set the fstab entry to auto as well.. if I throw in the CD and very quickly launch workbone or cdparanoia it pauses for a second before again telling me it can't read the table of contents. I'll try throwing in another CD-ROM drive and see if the hardware is screwed..

I can help you with the XMMS situation though.. what XMMS does (as far as I know from reading some mailing posts, I haven't gotten it working yet) is presents 'fake' files corresponding to the tracks on the CD when you access the specified directory in XMMS. It maps these to the actual tracks on the specified /dev entry. In your XMMS preferences, look at the CD Audio Player plugin and change the device and mountpoint to the ones for the CD-RW drive and that should work for you.
 
Old 07-25-2003, 03:51 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Yeah, I didn't think the scsi had anything to do with audio, but burning - I was just trying to throw out most everything I'd done, hoping something would work. Doesn't seem fair that your sound isn't working. Thanks for the xmms - I actually knew that, but had forgotten where I'd configured it before, so you helped me again. I think I'm out of suggestions, though. Hope you do get it working though - and hope the problem is some simple fix and not bad hardware. Good luck!
 
Old 07-25-2003, 04:08 PM   #5
iantri
Member
 
Registered: Jul 2003
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by digiot
Hope you do get it working though - and hope the problem is some simple fix and not bad hardware. Good luck! [/B]
It was bad hardware. I just swapped in another cd-rom drive (I have a stack of them!) and it works. Odd.

Thanks for your help.
 
Old 07-25-2003, 04:10 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
This is what worked for me:

1. Verify this line is in /etc/lilo.conf: append="hdc=ide-scsi"

2. Verify this line is in /etc/rc.d/rc.modules and is uncommented: /sbin/modprobe ide-scsi

(reboot if changes were necessary)

3. As root, run: cat /proc/scsi/scsi (The CD-RW should be listed)

4. Edit /etc/fstab, adding this line: /dev/scd0 /mnt/scd0 iso9660 noauto,users 0 0

5. Run the following as root:
mkdir /mnt/scd0
cd /dev
rm cdrom
ln -s /dev/scd0 /dev/cdrom
chmod 666 /dev/scd0
chmod u+s /usr/bin/cdrecord
chmod u+s /usr/bin/mkisofs
chmod u+s /usr/bin/cdparanoia

Good luck with it. -- J.W.
 
  


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
Playing audio cds (again...sorry) Oholiab Slackware 13 10-16-2005 02:26 PM
Playing audio CDs evilmonkey Linux - Software 7 11-28-2004 09:16 PM
playing audio cds with mplayer foustware Linux - Software 6 10-27-2004 08:21 PM
playing audio cds chlee Linux - Software 4 06-08-2003 09:00 AM
Playing Audio CDs Anmar Linux - Software 13 03-17-2003 03:20 AM

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

All times are GMT -5. The time now is 05:57 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