LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-17-2010, 04:43 AM   #1
Gustav 4
LQ Newbie
 
Registered: Jul 2009
Location: Copenhagen, Denmark
Distribution: Fedora 15, Gnome 3
Posts: 12

Rep: Reputation: 0
Audio CD not mounting


Hi Folks

I am trying to listen to an audio cd but when I try to find it, either through an ikon on the desktop, (XFCE), or through a media player, -Amarok - vlc, the file manager, (Thunar), nor even ultimately the Terminal, can I find anything in the CD-rom drive when a music CD is played in it.

Code:
root@tychobrahe:~# mount /dev/cdrom /mnt/cdrom
mount: block device /dev/hda is write-protected, mounting read-only
mount: /dev/hda: can't read superblock
root@tychobrahe:~#
and here is a snippet from my fstab:

Code:
/dev/cdrom       /mnt/cdrom       auto        noauto,group,ro  0   0
BUT!

I can easily copy the contents of the CD to my home directory using cdparanoia.

When I place a CD with an ISO image or a DVD from Linux Format, for example, I have no problems opening or browsing them.

I had also run alsaconf and it completed easily. But still nothing shows up, and the superblock error is still there.

Any help is appreciated.

Cheers

Gustav
 
Old 02-17-2010, 04:46 AM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Audio CDs don't have a filesystem that can be mounted so that's perfectly normal.

Just tell whatever media player you use to open it as an Audio CD.

Last edited by mRgOBLIN; 02-17-2010 at 04:48 AM.
 
Old 02-17-2010, 06:21 AM   #3
Gustav 4
LQ Newbie
 
Registered: Jul 2009
Location: Copenhagen, Denmark
Distribution: Fedora 15, Gnome 3
Posts: 12

Original Poster
Rep: Reputation: 0
Brilliant!

In VLC: Media > Open Disc > (Under Disc Selection) (Select) Audio CD.
I had done this before and since it was set to /dev/hda by default, I tried to browse to the /mnt/cdrom path, and then selecting play. but this gave me:
Quote:
Your input can't be opened:
VLC is unable to open the MRL 'cdda:///mnt/cdrom'. Check the log for details.
By leaving it set to /dev/hda, it played!

Should I start another thread to find out how to do this in Amarok?
 
Old 02-17-2010, 08:11 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Yes if you truly can't find it. However I'd find that strange. Moreover knowing that kdelibs based programs (like Amarok) use kio-slaves to access the file system, and there's an io-slave that lets you dive into an audiocd just like if it were a regular data cd, showing you ogg and mp3 virtual files where there are only audio tracks.

And in any case (unless they really messed Amarok 2.x) there should be an option to play the cdaudio directly. However it's perfectly possible that they messed it all up, from the info I read around the net every day.
 
Old 02-17-2010, 10:42 AM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by Gustav 4 View Post
since it was set to /dev/hda by default, I tried to browse to the /mnt/cdrom path, and then selecting play.
/mnt/cdrom is _not_ the cd device, it's a mount point. It should be /dev/hd*.
 
Old 02-17-2010, 04:11 PM   #6
Gustav 4
LQ Newbie
 
Registered: Jul 2009
Location: Copenhagen, Denmark
Distribution: Fedora 15, Gnome 3
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the helpful hints!

Yeah, Amarok I mention is in fact the 2.1 version. But I really can't get it to acknowledge /dev/hda in the File>(path) window. There is hda listed but it has a question mark icon and is grey out else where. Even typing it in by hand is no help. The same with /dev/audio.

But I don't think this is an Amarok issue. As i92guboj said earlier...

Quote:
...there's an io-slave that lets you dive into an audiocd just like if it were a regular data cd, showing you ogg and mp3 virtual files where there are only audio tracks.
Perhaps this is the missing piece of the puzzle. Because, as it should happen, I should be able to see this in the file manager, as well, perhaps also an icon on the Desktop, if I am not mistaken? This is what I would expect from any other distributions as well. So, how would I know if the io-slave is up to par and doing its job?
 
Old 02-17-2010, 04:21 PM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
My knowledge about this comes mostly from my experience with kde 3.x, but as far as I know that should still hold true for 4.x. Whether the relevant pieces are in place will depend on how granular are the kde packages for your distro. If you have the whole kde installed then it should just work. You shouldn't ever need to touch /dev/ nodes under kde. Any program using kdelibs should be able to access your disks via /media. The kde file dialog however should also have shortcuts for these if I am not mistaken.

But, at this point I am not able to provide concrete info and guidance because I don't even have kde at hand to test it. If I were you I'd open a new thread in either the desktop subforum or the specific subforum for your distribution about this concrete issue with amarok.
 
  


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
Mounting audio CD Endoro Linux - General 6 11-30-2009 04:24 AM
Mounting an audio CD mark alan Fedora 11 12-11-2004 02:27 PM
mounting an audio cd lnxlover Linux - Newbie 4 07-25-2003 05:37 PM
audio cd mounting troubles durden2.0 Linux - Newbie 2 07-09-2003 07:41 PM
Mounting Audio CD's DiZASTiX Linux - General 12 06-13-2003 08:50 AM

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

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