LinuxQuestions.org
Visit Jeremy's Blog.
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 06-14-2005, 02:35 PM   #1
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Rep: Reputation: 30
Listening to music? Not me! (can't play or rip audio CDs)


I'm trying to rip my audio CD collection to my PC. However, for some reason, I can't. In fact, I can't even listen to them.

My fstab looks like this:

/dev/hdb1 swap swap defaults 0 0
/dev/hda4 / ext3 defaults 1 1
/dev/hdb4 /hdb ext3 auto,user 1 1
/dev/uba1 /mnt/maxtor ext3 auto,user 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,user 1 1
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

Any ideas?
 
Old 06-14-2005, 02:52 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
fstab has zero to do with audio cds.

What program are you trying to rip/play with? Are you getting errors?
 
Old 06-14-2005, 03:07 PM   #3
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Not that it will help, but when I have experienced this it was always one of two things:

1) The volume. Open up alsamixer and make sure that the CD drive is not muted. Note, the control for your CD drive may not be the one you think it is. Try them all.

2) Hardware. The audio output cable from the CD drive is often times not hooked up correctly to the motherboard/soundcard.
 
Old 06-14-2005, 03:11 PM   #4
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
So far I've tried it with KsCD, Konqueror's "Audio CD Browser" thing on the sidebar, and Grip.

KsCD says:
CD-ROM read or access error (or no audio disc in drive).
Please make sure you have access permissions to:
/dev/cdrom

Konqueror says:
An error occurred while loading audiocd:/:
The file or folder does not exist.

Grip says:
Error: Unable to initialize [/dev/cdrom]
 
Old 06-14-2005, 03:36 PM   #5
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
OK, another possibilty is that everything is pointing to /dev/cdrom and that is not actually your cdrom. Here's how I locate my cdrom:

Code:
shilo@shilo2:~$ dmesg |grep -i cd
hdc: LITE-ON DVDRW SOHW-832S, ATAPI CD/DVD-ROM drive
hdd: DVD-ROM BDV316C, ATAPI CD/DVD-ROM drive
hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ehci_hcd 0000:00:03.3: Silicon Integrated Systems [SiS] USB 2.0 Controller
ehci_hcd 0000:00:03.3: irq 23, pci mem 0xe2002000
ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:03.3: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:03.0: Silicon Integrated Systems [SiS] USB 1.0 Controller
ohci_hcd 0000:00:03.0: irq 20, pci mem 0xe2000000
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:03.1: Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
ohci_hcd 0000:00:03.1: irq 21, pci mem 0xe2001000
ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 3
So, more information than I needed, but in my case, I now know that I have an optical device on /dev/hdc and /dev/hdd. Now, let's check out the important stuff:

Code:
shilo@shilo2:~$ ls -l /dev/cdrom
lrwxrwxrwx  1 root root 3 2005-06-14 01:07 /dev/cdrom -> hdd
So, if a program is pointing to /dev/cdrom, I know that in my case it is looking for a CD in /dev/hdd. I also know form the previous output that /dev/hdd is an optical device, so I am all set.

So, check your symlink. What do you do if your symlink is incorrect? Depends on whether or not you are using udev.

***EDIT***

By symlink being incorrect, I mean either it points to the wrong device, doesn't exist, or has incorrect permissions.

Last edited by shilo; 06-14-2005 at 03:38 PM.
 
Old 06-14-2005, 03:41 PM   #6
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Here's what I got:

root@darkstar:/home/scott# dmesg |grep -i cd
hdc: SONY CD-RW CRX220E1, ATAPI CD/DVD-ROM drive
hdc: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ehci_hcd 0000:00:1d.7: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001)
ehci_hcd 0000:00:1d.7: continuing after BIOS bug...
ehci_hcd 0000:00:1d.7: irq 9, pci mem 0xfebffc00
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 26 Oct 2004
uhci_hcd 0000:00:1d.0: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1
uhci_hcd 0000:00:1d.0: irq 11, io base 0xcc00
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.1: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2
uhci_hcd 0000:00:1d.1: irq 5, io base 0xd000
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.2: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3
usb 2-2: new low speed USB device using uhci_hcd and address 2
uhci_hcd 0000:00:1d.2: irq 10, io base 0xd400
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.3: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4
uhci_hcd 0000:00:1d.3: irq 11, io base 0xd800
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
root@darkstar:/home/scott# ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 2005-06-14 11:47 /dev/cdrom -> hdc

The symlink is pointing to the right place, so what's going on?
 
Old 06-14-2005, 03:59 PM   #7
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Quote:
The symlink is pointing to the right place, so what's going on?
A) Make sure you know which of your two optical drives is which. Put a different CD in each one at the same time. **EDIT** Oops, I misread. Ignore A)

B) What are the permissions? On a stock Slackware setup, add your user to the cdrom group and I believe you will be good to go.

C) Before you go to the trouble of checking permission, does the CD play if you are root?

Last edited by shilo; 06-14-2005 at 04:01 PM.
 
Old 06-14-2005, 04:28 PM   #8
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
I can play the CD as root, but adding myself to the "cdrom" group did nothing.
 
Old 06-14-2005, 04:33 PM   #9
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Again, what are the permissions?

Did you try rebooting after adding yourself to the cdrom group?
 
Old 06-14-2005, 04:44 PM   #10
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Thank you - rebooting did the trick.
 
Old 06-14-2005, 11:20 PM   #11
Bluenoser
Member
 
Registered: Jun 2004
Location: Nova Scotia, Canada
Distribution: Ubuntu 8.04 LTS
Posts: 138

Rep: Reputation: 15
Quote:
Originally posted by shilo
Again, what are the permissions?

Did you try rebooting after adding yourself to the cdrom group?
I had the same problem with adding users to groups and not getting anywhere. Never thought to reboot. I always found another way, but thanks for this Shilo
 
Old 06-15-2005, 12:47 AM   #12
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Quote:
Originally posted by Bluenoser
Never thought to reboot.
Old trick. Learned it with Windows.
 
Old 06-15-2005, 01:13 AM   #13
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Loging out would also do the trick, for those who want to tell their freinds that they dont' reboot
 
Old 06-15-2005, 11:10 AM   #14
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by shilo
Old trick. Learned it with Windows.
LOL! Good one
 
Old 06-15-2005, 01:54 PM   #15
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Quote:
Originally posted by shilo
Old trick. Learned it with Windows.
That's the main problem with windows. After using windows for 10 years
all you learn to do is reboot and/or format
 
  


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
Two questions re: accessing ripped music & listening to streaming audio unterkauf Linux - Software 8 10-14-2005 01:03 AM
SoundMAX Integrated Digital Audio card - problem with listening to music igor@44 Linux - Software 3 09-09-2005 03:38 AM
Can't get my audio cds to read.. HOW CAN I RIP THEM? theAntic Linux - Newbie 16 07-12-2004 12:38 AM
how to listening to audio cds vwal_13 Slackware 4 04-15-2004 06:26 AM
CD-RW does not want to play music CDs! Dzemo Linux - General 6 01-09-2003 09:23 AM

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

All times are GMT -5. The time now is 03:58 PM.

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