Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
06-14-2005, 02:35 PM
|
#1
|
Member
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320
Rep:
|
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?
|
|
|
06-14-2005, 02:52 PM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
fstab has zero to do with audio cds.
What program are you trying to rip/play with? Are you getting errors?
|
|
|
06-14-2005, 03:07 PM
|
#3
|
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:
|
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.
|
|
|
06-14-2005, 03:11 PM
|
#4
|
Member
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320
Original Poster
Rep:
|
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]
|
|
|
06-14-2005, 03:36 PM
|
#5
|
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:
|
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.
|
|
|
06-14-2005, 03:41 PM
|
#6
|
Member
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320
Original Poster
Rep:
|
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?
|
|
|
06-14-2005, 03:59 PM
|
#7
|
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:
|
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.
|
|
|
06-14-2005, 04:28 PM
|
#8
|
Member
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320
Original Poster
Rep:
|
I can play the CD as root, but adding myself to the "cdrom" group did nothing.
|
|
|
06-14-2005, 04:33 PM
|
#9
|
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:
|
Again, what are the permissions?
Did you try rebooting after adding yourself to the cdrom group?
|
|
|
06-14-2005, 04:44 PM
|
#10
|
Member
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320
Original Poster
Rep:
|
Thank you - rebooting did the trick.
|
|
|
06-14-2005, 11:20 PM
|
#11
|
Member
Registered: Jun 2004
Location: Nova Scotia, Canada
Distribution: Ubuntu 8.04 LTS
Posts: 138
Rep:
|
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 
|
|
|
06-15-2005, 12:47 AM
|
#12
|
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:
|
Quote:
Originally posted by Bluenoser
Never thought to reboot.
|
Old trick. Learned it with Windows. 
|
|
|
06-15-2005, 01:13 AM
|
#13
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
Loging out would also do the trick, for those who want to tell their freinds that they dont' reboot 
|
|
|
06-15-2005, 11:10 AM
|
#14
|
Member
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320
Original Poster
Rep:
|
Quote:
Originally posted by shilo
Old trick. Learned it with Windows.
|
LOL! Good one 
|
|
|
06-15-2005, 01:54 PM
|
#15
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|