SlackwareThis 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.
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.
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.
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?
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.