LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't read music cd's (https://www.linuxquestions.org/questions/linux-newbie-8/cant-read-music-cds-468970/)

AmphetaminePhreak 07-29-2006 06:18 PM

can't read music cd's
 
i'm usin Mandrake. i can't get it to read music cd's. when i try to access the Directory
directly i get 'could not enter directory /mnt/cdrom'. And when i try to get to it through a media program the directory is empty when i get there. i gave my user cdrom privilages. i've tried a few different audio cd's and the resulet is the same. it's not my actual physical cdrom connection (i don't have a problem with it on windows). I've tried locating an answer on the web or even a possible direction to an answer but with no luck.

rickh 07-29-2006 06:25 PM

Can you play them as root?

AmphetaminePhreak 07-29-2006 07:17 PM

no not as root either. i don't think it makes a difference but i have 2 cd devices. one is a write and one is a rom. i tried on both. they light up and run but the cd's aren't being read.

i don't get sound in downloaded video like mpeg either. i do get sound from streams off the net though.

i'm looking at the packages availabe on my install cd's for something vital that might not have been installed but don't really know what i should be looking for. there is about 100 packages grouped under sound. and about 100 more under media. any idea what i might try looking for?



Name: adplug
Version: 1.4-1mdk
Size: 18 KB

Summary: AdLib sound player library

Description: AdPlug is a free, multi-platform, hardware independent AdLib sound player library, mainly written in C++. AdPlug plays sound data, originally created for the AdLib (OPL2) audio board, on top of an OPL2 emulator or by using the real hardware. No OPL2 chip is required for playback.

Name: alsaplayer-plugin-input-flac
Version: 0.99.74-1mdk
Size: 51 KB

Summary: AlsaPlayer plugin for playing FLAC audio files.

Description: This plugin enables alsaplayer to play files in the lossless audio compression format FLAC.




It supports various audio formats from MS-DOS AdLib trackers.

slackass 07-29-2006 09:16 PM

Try looking for banshee

rickh 07-29-2006 09:42 PM

Have you run alsaconf?

AmphetaminePhreak 07-30-2006 12:25 AM

Quote:

Originally Posted by slackass
Try looking for banshee

. i was not able to find banshee anything anywhere.


here all the packages i found relating to alsa.

Name: alsa-patch-bay
Version: 0.5.1-1mdk
Size: 193 KB

Summary: Graphical patch bay for the ALSA sequencer API

Description: ALSA Patch Bay is a graphical patch bay for the ALSA sequencer API.
------------------------------------------------------------------------------------------------
Name: alsamixergui
Version: 0.9.0-0.6rc1_2mdk
Size: 69 KB

Summary: Advanced Linux Sound Architecture (ALSA) graphical mixer

Description: Alsamixergui is a FLTK based frontend for alsamixer. It is written directly on top of the alsamixer source, leaving the original source intact, only adding a couple of ifdefs, and some calls to the gui part, so it provides exactly the same functionality, but with a graphical userinterface.
-------------------------------------------------------------------------------------------------
Name: alsaplayer
Version: 0.99.74-1mdk
Size: 241 KB

Summary: Advanced Linux Sound Architecture (ALSA) player

Description: Advanced Linux Sound Architecture (ALSA) utils. Modularized architecture with support for a large range of ISA and PCI cards. Fully compatible with OSS/Lite (kernel sound drivers), but contains many enhanced features
-------------------------------------------------------------------------------------------------
Name: alsaplayer-plugin-input-flac
Version: 0.99.74-1mdk
Size: 51 KB

Summary: AlsaPlayer plugin for playing FLAC audio files.

Description: This plugin enables alsaplayer to play files in the lossless audio compression format FLAC.
-------------------------------------------------------------------------------------------------
Name: alsaplayer-plugin-input-mad
Version: 0.99.74-1mdk
Size: 39 KB

Summary: AlsaPlayer plugin

Description: This plugin enables alsaplayer to play mpeg files though the libmad library. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are fully implemented.
-------------------------------------------------------------------------------------------------

Name: alsaplayer-plugin-input-mod
Version: 0.99.74-1mdk
Size: 26 KB

Summary: AlsaPlayer plugin for playing MOD modules

Description: This plugin enables alsaplayer to play module music files. Supported file formats include MOD, STM, S3M, MTM, XM, ULT, and IT.
-------------------------------------------------------------------------------------------------
Name: alsaplayer-plugin-input-sndfile
Version: 0.99.74-1mdk
Size: 23 KB

Summary: AlsaPlayer plugin

Description: This plugin enables alsaplayer to play sound files such as AIFF, AU and WAV files through the sndfile library. It can currently read 8, 16, 24 and 32-bit PCM files as well as 32-bit floating point WAV files and a number of compressed formats.
-------------------------------------------------------------------------------------------------
Name: alsaplayer-plugin-input-vorbis
Version: 0.99.74-1mdk
Size: 25 KB

Summary: AlsaPlayer plugin

Description: This plugin enables alsaplayer to play ogg vorbis music files.
-------------------------------------------------------------------------------------------------
Name: alsaplayer-plugin-output-esound
Version: 0.99.74-1mdk
Size: 21 KB

Summary: AlsaPlayer plugin

Description: This plugin enables alsaplayer to play music with the esound daemon.
-------------------------------------------------------------------------------------------------
Name: alsaplayer-plugin-output-nas
Version: 0.99.74-1mdk
Size: 24 KB

Summary: AlsaPlayer NAS output plugin

Description: This plugin enables alsaplayer to play music with the NAS daemon.

-------------------------------------------------------------------------------------------------
Name: alsaplayer-plugin-scopes
Version: 0.99.74-1mdk
Size: 89 KB

Summary: AlsaPlayer graphical scopes

Description: This plugin adds some nice graphical visualization plugins (scopes).
-------------------------------------------------------------------------------------------------
Name: alsaplayer-plugin-ui-gtk
Version: 0.99.74-1mdk
Size: 135 KB

Summary: AlsaPlayer plugin

Description: This plugin adds a nice graphical interface to alsaplayer.
-------------------------------------------------------------------------------------------------

Name: alsaplayer-plugin-ui-gtk
Version: 0.99.74-1mdk
Size: 135 KB

Summary: AlsaPlayer plugin

Description: This plugin adds a nice graphical interface to alsaplayer.


Summary: Development files for Advanced Linux Sound Architecture (ALSA)

Description: Advanced Linux Sound Architecture (ALSA) is a modularized architecture which supports quite a large range of ISA and PCI cards. It's fully compatible with old OSS drivers (either OSS/Lite, OSS/commercial). To use the features of alsa, one can either use:
- the old OSS api
- the new ALSA api that provides many enhanced features.

This package contains files needed in order to develop an application that made use of ALSA.
-------------------------------------------------------------------------------------------------
Name: libalsaplayer0
Version: 0.99.74-1mdk
Size: 32 KB

Summary: AlsaPlayer sharedlibrary

Description: This is the shared librairy of AlsaPlayer.

ame: xine-alsa
Version: 1-0.beta4.1mdk
Size: 39 KB

Summary: Alsa plugin for xine.

Description: xine is a free gpl-licensed video player for unix-like systems.

- Alsa audio output plugin
-------------------------------------------------------------------------------------------------
Name: xmms-alsa
Version: 0.9.7-3mdk
Size: 50 KB

Summary: ALSA output plugin for XMMS.

Description: Xmms-alsa is an output plugin to allow XMMS playback on any ALSA 0.9.* device with XMMS. It also support surround 4.0 output with conversion.

rickh 07-30-2006 12:28 AM

Have you run alsaconf?

AmphetaminePhreak 07-30-2006 12:39 AM

Quote:

Originally Posted by rickh
Have you run alsaconf?

you mean from konsole? i don't know how to do that. but if i type alsaconf it says command not found.

i found a doc called alsa.conf in file:/usr/share/alsa. but from the looks of it, a general user would want some sort of interface to configure it.

rickh 07-30-2006 12:41 AM

You have to run it as root. If it still doesn't find it, you have to download and install it. Should be named something like alsa-base and alsa-utils

Tinkster 07-30-2006 12:46 AM

Ummm ... if you're trying to access a file-system on an audio-cd
you're out of luck my friend; there is none (even though people
from a windows background tend to think so, since their explorer
DOES show "audio-files").


Just try to use an app that is capable of playing audio CDs (e.g.
KDEs cd-player [no idea what it's called], or xmms, or workbone
if you like the command-line). One other snag you may hit is that
your machine doesn't have a signal cable for audio running from
the CD-ROM to the sound-card. In that case you'll have to enable
digital transfer (in xmms it's a set-up option, no idea about the
others).


Cheers,
Tink

AmphetaminePhreak 07-30-2006 12:54 AM

well i tried to download and install alsa-utils and it said it's already installed. i found a similar post here: http://www.linuxforums.org/forum/man...-alsaconf.html

sounds like my exact problem but it's not closed with a solution yet, its still just hangin out there.

i'm going to try to pin down this alsaconf package

rickh 07-30-2006 12:59 AM

If you're using Fedora, it seems to me that I've heard they don't use alsaconf. Some Fedora person should be able to tell you what to use instead. I do think that is probably your problem.

AmphetaminePhreak 07-30-2006 01:00 AM

Quote:

Originally Posted by Tinkster
Ummm ... if you're trying to access a file-system on an audio-cd
you're out of luck my friend; there is none (even though people
from a windows background tend to think so, since their explorer
DOES show "audio-files").

thanks for the tip. this will stop me from wasting my time trying view it that way.



Quote:

Just try to use an app that is capable of playing audio CDs (e.g.
KDEs cd-player [no idea what it's called], or xmms, or workbone
if you like the command-line). One other snag you may hit is that
your machine doesn't have a signal cable for audio running from
the CD-ROM to the sound-card. In that case you'll have to enable
digital transfer (in xmms it's a set-up option, no idea about the
others).
like i said in my original post, when i'm in an audio playing program, like xmm or xine and i go to the directory where my cd is '/mnt/cdrom' the folder is empty. no tracks or nothin listed.

AmphetaminePhreak 07-30-2006 01:01 AM

Quote:

Originally Posted by rickh
If you're using Fedora,

no, Mandrake. that link i posted was a post about Mandriva which is Mandrake and it sais that alsaconf is used just that it's a seperate package than in the alsa-utils.

rickh 07-30-2006 01:05 AM

Have you tried to run it as "root"?

Tinkster 07-30-2006 02:08 AM

Quote:

Originally Posted by AmphetaminePhreak
like i said in my original post, when i'm in an audio playing program, like xmm or xine and i go to the directory where my cd is '/mnt/cdrom' the folder is empty. no tracks or nothin listed.

What does xmms say under
preferences -> Audio I/O plugins -> CD-Audio player

Does it point at BOTH the right raw-device and mount-point?


Cheers,
Tink

AmphetaminePhreak 07-30-2006 02:16 AM

yea i tried alsaconf as root.


Quote:

Originally Posted by Tinkster
What does xmms say under
preferences -> Audio I/O plugins -> CD-Audio player

Does it point at BOTH the right raw-device and mount-point?


Cheers,
Tink

it sais,

Device: /dev/cdrom
Directory: /mnt/cdrom

Volume Setting: (X) OSS Mixer
CDROM drive

where (X) is the one selected

Tinkster 07-30-2006 02:24 AM

And /dev/cdrom is what? A symlink to ... ? *Is* ... the actual
cd-rom device you're looking at? Does the device in xmms match
what /etc/fstab is pointing at for the mount-point?


Cheers,
Tink

AmphetaminePhreak 07-30-2006 02:38 AM

Quote:

Originally Posted by Tinkster
And /dev/cdrom is what? A symlink to ... ? *Is* ... the actual
cd-rom device you're looking at? Does the device in xmms match
what /etc/fstab is pointing at for the mount-point?


Cheers,
Tink

you've just gone to a level i'm not on. but not too far over my head. it's just over the horizen.

symlink? fstab? looking at the file sais this

/dev/hda5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda7 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,ro,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0

i can access those mounts and what they contain if it's data (if that's the right word), like my install cd's. but not music. i'm not understanding your logic. accessing the cdroms isnt the problem. again, audio cd's won't show up. the mounted drive will and anything in the drive except music. i apologize if i'm clueless, which i pretty much am with regards to linux, but not entirely.

Tinkster 07-30-2006 02:59 AM

Do an
ls -l /dev/cdrom
and check whether that's what your actual CD-ROM is in /etc/fstab.

Personally not a big fan of supermount (had horrible experiences in
the past) and mandrake (ditto), but I assume that /dev/hdc is maybe
a cdrom and /dev/scd0 maybe your burner?


Cheers,
Tink

AmphetaminePhreak 07-30-2006 03:11 AM

Quote:

Do an
ls -l /dev/cdrom
and check whether that's what your actual CD-ROM is in /etc/fstab.
[matt@cpe-24-210-224-245 matt]$ ls -l /dev/cdrom
lr-xr-xr-x 1 root root 13 Jul 28 14:32 /dev/cdrom -> cdroms/cdrom0

Quote:

Personally not a big fan of supermount (had horrible experiences in
the past) and mandrake (ditto), but I assume that /dev/hdc is maybe
a cdrom and /dev/scd0 maybe your burner?
well if supermounts are supposed to autoplay whatever you stick in them, and i have a suspision that they are, then mine isn't working very well.

but your observation of my mounts looks correct to me

rom
none /mnt/cdrom supermount
dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0

burner
none /mnt/cdrom2 supermount
dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0

AmphetaminePhreak 07-30-2006 04:07 AM

so my actual cd-rom is in /dev/hdc?

but device shows my cdrom is cdrom0?

is this a problem? am i on the right track?

rickh 07-30-2006 10:28 AM

Quote:

yea i tried alsaconf as root.
What was the output from that?

Tinkster 07-30-2006 01:16 PM

Quote:

Originally Posted by AmphetaminePhreak
so my actual cd-rom is in /dev/hdc?

but device shows my cdrom is cdrom0?

is this a problem? am i on the right track?

Chances are that cdrom0 itself is another symlink. In the
end all of those things need to be connected to an IDE or
SCSI device. You could try putting /dev/hdc into xmms'
device field, though, and see whether that works.

The next step (if those devices with cdrom in the name
are just symlinks) will be to check what the perms on the
raw-device are.



Cheers,
Tink

AmphetaminePhreak 07-30-2006 05:16 PM

what's a symlink?

how come i have different ways of getting to a cd device: mnt/cdrom, dev/cdrom0?

Michael_aust 07-30-2006 05:52 PM

/dev/hdc will be the device you want for your cd drive.

AmphetaminePhreak 07-30-2006 06:28 PM

i don't know if this means much for my problem but when trying to use Kscd it sais,
"no matching freedb entry found."

AmphetaminePhreak 07-31-2006 12:36 AM

well i got xine to play my audio cd's. i was missing some pluggins (specifically for xine) that i was able to locate. still can't get xmms to do anything though. and just getting things to work by accident is not enough for me. i want to know how those pluggins work, but at least i have music now while i try to learn i guess.

thanks for trying to help me on this one. still some unanswered questions. but i learned some basic linux things. and now i guess i'll move on to getting xmms to work. just the fact that it doesn't work weather i'd ever use it or not even if it did work will bother me and keep me from sleeping soundly durring the day. i hate it when shit's half assed. can i talk like that in here? it is 2006. i don't know. tweek on......

Tinkster 07-31-2006 12:53 AM

Quote:

Originally Posted by AmphetaminePhreak
i don't know if this means much for my problem but when trying to use Kscd it sais,
"no matching freedb entry found."

That most likely means that no one has entered details for
that specific CD for submission.


Cheers,
Tink

Tinkster 07-31-2006 12:55 AM

Quote:

Originally Posted by AmphetaminePhreak
well i got xine to play my audio cd's. i was missing some pluggins (specifically for xine) that i was able to locate. still can't get xmms to do anything though. and just getting things to work by accident is not enough for me. i want to know how those pluggins work, but at least i have music now while i try to learn i guess.

As I said ... if the mount-point is right, make sure that the CD-ROM
device in xmms' settings points at the same spot as fstab.

Quote:

Originally Posted by AmphetaminePhreak
thanks for trying to help me on this one. still some unanswered questions. but i learned some basic linux things. and now i guess i'll move on to getting xmms to work. just the fact that it doesn't work weather i'd ever use it or not even if it did work will bother me and keep me from sleeping soundly durring the day. i hate it when shit's half assed. can i talk like that in here? it is 2006. i don't know. tweek on......

We'd rather you didn't - profanities aren't welcome :}

Cheers,
Tink

AmphetaminePhreak 07-31-2006 01:16 AM

"As I said ... if the mount-point is right, make sure that the CD-ROM
device in xmms' settings points at the same spot as fstab."

i tried that. i set the device to hdc and when i hit play it opens up a directory navigator that shows cdrom0 and cdrom1 under dev/cdroms. when i click on cdrom0 xmms just minimizes itself.

Tinkster 07-31-2006 01:49 AM

What version is your xmms?

Mine doesn't have a navigator in the preferences dialog for the
CD-Plugin in the I/O section. Just an entry field.


Cheers,
Tink


All times are GMT -5. The time now is 10:32 AM.