PDA

View Full Version : audio cds - no sound, modem needs configuring


mat_123
10-15-03, 02:43 PM
hi

when i play audio cds, the time bar keeps moving, but there isnt any sound,
however when i rip them using GRIP, there is sound.
wht could be the problem?

and the modem doesnt get detected automatically, using an internal speakerphone DAX modem. how do i configure manually,

thnkx to anyon who can help

blueworm
10-17-03, 02:21 AM
Originally posted by mat_123
hi

when i play audio cds, the time bar keeps moving, but there isnt any sound,
however when i rip them using GRIP, there is sound.
wht could be the problem?
Have you got the sound levels up?
type alsamixer
and turn up all the levels.
If this is ok then open up your case and make sure your "analog sound cable is correctly connected from your cd to your soundcard/mainboard.

blueworm
10-17-03, 02:38 AM
Originally posted by mat_123
hi

when i play audio cds, the time bar keeps moving, but there isnt any sound,
however when i rip them using GRIP, there is sound.
wht could be the problem?
Have you got the sound levels up?
type alsamixer
and turn up all the levels.
If this is ok then open up your case and make sure your "analog sound cable is correctly connected from your cd to your soundcard/mainboard.

mat_123
10-17-03, 07:02 AM
ofcourse i have my levels on and the sound cable is configured properly...

i am running winXP also and there im not facing this prob..

anyother suggestions

recbo
10-17-03, 08:29 AM
If your cd cable is plugged in and sound level not muted, can't hear that way, but you can hear when ripping, I guess grip isn't playing direct from cd but rather as it reads.

grip has a mode to play direct, though. Click on all those option buttons til you see play button and volume and then play a track that way, not ripping. If that does not work...my theory works.

recbo
10-17-03, 08:31 AM
What I mean is maybe playing from /dev/cdrom through the cd cable is not working but playing after reading from pci bus ide-scsi /dev/scsi/host0/bus0/target0/lun0/generic is working.

recbo
10-17-03, 08:36 AM
I see the time running when playing through grip but I don't hear anything.

Realplayer shows vid, no sound.

CD cable connected, grip has volume up full.

kernel-2.6.0-test6 finds the nforce2 i8x0 audio, lspci has the asound info, esd loads because since I put the oss emulation in kernel alsa opts there is now a /dev/snd/pcmD0D0p for playback.

No sound.

I set /tmp/.esd ownership so the user myself can read and write.

Something says it can't find host unix sometimes, which would be /tmp/.esd/socket

mat_123
10-17-03, 02:22 PM
hmm that makes sense:

so is there no way to hear directly from audio cds

recbo
10-17-03, 03:01 PM
I'm going to move the cd cable from the nforce2 audio to a creative emu10k1 chip card this afternoon. I've had that work in linux for years.

If that works then I'm definitely messed up on the nforce2 driver in kernel-source-2.6.0-test6 but I could try test7 tonight. Things are changing so
fast.

I've been ripping and burning through ide-scsi and scsi generic with atapi cd drives. I can't hear anything though.

esd loads ok, grip plays with the time running as if a cd is playing. Realplayer is the app that says it can't find host unix. For that problem I think I need to use" esddsp".

-Bob

recbo
10-18-03, 10:59 AM
Choose kernel source config options for alsa and alsa to "emulate oss" and then the nforce item.

I installed debian packages for libesd-alsa0 and gnome-alsamixer.

esd &

gnome-alsamixer &

As usual everything is muted by default. Use a commandline mixer in a startup script where esd is loaded to set default volume up.

cd plays ok in gnome-alsamixer

realplayer says it can't find host unix and it says maybe another app is using the audio device

recbo
10-18-03, 11:48 AM
Re: esd and realplayer

* To: debian <debian-user@lists.debian.org>
* Subject: Re: esd and realplayer
* From: "Eric G . Miller" <egm2@jps.net>
* Date: Sun, 22 Aug 1999 21:27:17 -0700
* In-Reply-To: <199908230411.VAA02357@MORIEL.DROR>; from Oz Dror on Sun, Aug 22, 1999 at 09:11:55PM -0700
* Mail-Followup-To: debian <debian-user@lists.debian.org>
* References: <199908230411.VAA02357@MORIEL.DROR>

I run esd with '-terminate -as 2' so it allows other processes to use
the sound. The upshot is that if realplayer is running, then gnome
sounds simply don't happen. Kind of a half-way solution. I should
mention that I'm using Icewm-gnome, not Enlightenment.
--

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!

mat_123
10-19-03, 04:16 AM
hi recbo

guess u have been doing extensive research..
however iam a newbie to linux, could u explain in a few simple terms as to wht are u tryin got do

will be grateful for ur help
thankx

recbo
10-19-03, 06:20 AM
I got the nforce2 audio working for cd's by compiling a new kernel, linux-2.6.0-test6, with the alsa audio options including "emulate oss"

gnome-alsamixer and grip work with cd's

grip works with esd

I'm choosing esd-compatbile packages that have esd in the package name or mention esd.

realplayer8 with 9(One) codecs has a checkbox for esd-compatibility in the options

so far I'm not hearing anything in realplayer

Some apps including realplayer look for /dev/dsp so to get that to show up I installed alsautils. That sucked in alsa-modules and alsa-base since debconfig can't tell I have alsa in the kernel, so I just said no to questions about running alsa modules at startup, and ended up with two things I wanted. One, I got the /dev/dsp, and two, I got alsactl, an app that automatically(as debian installs it in /etc/init.d/alsa startup script) stores
my mixer settings on shutdown.

Since I use devfs, if you don't know you don't need to know, I had to make the following entries in /etc/devfs/compat_symlinks--

REGISTER ^sound/.* MKOLDCOMPAT
REGISTER ^snd/.* MKOLDCOMPAT

I still don't have sound in realplayer, which says "can't find host unix"

-Bob

recbo
10-19-03, 06:25 AM
Also to simplify from what I said earlier, I took out the Creative card which was just confusing for you and me both, so I just have the cd cable going to the motherboard connector for the nvidia nforce2 audio, and that works to play cd's.

The problem there was solved by compiling a kernel with alsa audio drivers having "oss emulation". That put /dev/snd/pcm* in and things find them for audio cd playback. If a cd seems to be playing but no sound is coming out, then you probably need to run a mixer app and un-mute and turn the volume up.

/dev/dsp didn't show up for other apps until I installed alsautils, alsabase, not using those binary modules in those packages because I have later code in the kernel for alsa, but some of the startup scripting for alsa makes /dev/dsp.

-Bob

recbo
10-20-03, 11:53 AM
I had audio working for cd's now it works for realplayer and mplayer.

The critical steps were to get alsa in the kernel, get alsa "null mixer" in there, too, because esd just had to find a card0 pcmC0D0p and my nforce2 audio is really card0 card1 and card2.
Also "emulate oss" had to be in alsa.

mplayer required
echo 1024 > /proc/sys/dev/rtc/max-user-frequency
ln -s /dev/misc/rtc /dev/rtc
but mplayer still can't use /dev/misc/rtc
but mplayer will "usleep" instead which is OK

#/etc/devfs/compat_symlinks
REGISTER ^snd/.* MKOKDCOMPAT
REGISTER ^sound/.* MKOKDCOMPAT

#/etc/devfs/devfsd.conf
REGISTER snd/.* PERMISSIONS root.audio 660
REGISTER sound/.* PERMISSIONS root.audio 660
REGISTER sndstat PERMISSIONS root.audio 660

And finally the BIG deal
rm /dev/dsp
ln -s sound/dsp2 /dev/dsp

THAT got non-CD sound working everywhere.

recbo
10-20-03, 11:57 AM
I spelled MKOKDCOMPAT which is
actually MKOLDCOMPAT

I you don't have devfs you don't need that.