On 24 Jun 2002 10:36:41 +0300
Aharon Schkolnik <[EMAIL PROTECTED]> wrote:

> >>>>> "Frans" == Frans Ketelaars <[EMAIL PROTECTED]> writes:
> 
>     Frans> On 23 Jun 2002 17:12:00 +0300
>     Frans> Aharon Schkolnik <[EMAIL PROTECTED]> wrote:
> 
>     >> Hi.
>     >> 
>     >> I have been successfully using also for quite a while, but I
>     >> just upgraded to Redhat 7.3, a new kernel, and a new version of
>     >> alsa, and now I can't get any sound at all.
> 
>     Frans> What's the exact problem (application and behaviour: error
>     Frans> messages, "does nothing until killed", seems to play but I
>     Frans> don't hear anything)?
>  
> 
> Here's an example:
> 
> 
> $aplay  /home/aharon/download/tkbiff-3.13/audio/strength.au
> Playing Sparc Audio '/home/aharon/download/tkbiff-3.13/audio/strength.au' : Mu-Law, 
>Rate 8000 Hz, Mono
> 
> 
> No errors, but no sound !

But you get the prompt back after the expected playing time for the 
audio file? If yes there should have been generated interrupts during
playback: you can check with 'cat /proc/interrupts'.
 
>     >> Hope someone can help !
>     >> 
>     >> Here are the details:
>     >> 
>     >> 
>     >> 
>     >> Kernel 2.4.18-3 (built it myself)
>     >> 
>     >> alsa-driver-0.9.0rc2 alsa-lib-0.9.0rc2 alsa-tools-0.9.0rc1
>     >> alsa-utils-0.9.0rc2 alsa-oss-0.9.0rc1
>     >> 
>     >> (built them all from source)
>     >> 
>     >> 
>     >> 
>     >> All the modules appear to have loaded properly - here's lsmod:
>     >> 
>     >> 
>     >> #lsmod Module Size Used by Tainted: PF snd-pcm-oss 41508 1
>     >> (autoclean) snd-mixer-oss 10944 1 (autoclean) [snd-pcm-oss]
>     >> snd-intel8x0 13728 2 (autoclean) snd-ac97-codec 28836 0
>     >> (autoclean) [snd-intel8x0] snd-pcm 68256 0 (autoclean)
>     >> [snd-pcm-oss snd-intel8x0] snd-timer 13888 0 (autoclean)
>     >> [snd-pcm] snd-mpu401-uart 4316 0 (autoclean) [snd-intel8x0]
>     >> snd-rawmidi 17120 0 (autoclean) [snd-mpu401-uart]
>     >> snd-seq-device 5532 0 (autoclean) [snd-rawmidi] snd 36296 0
>     >> (autoclean) [snd-pcm-oss snd-mixer-oss snd-intel8x0
>     >> snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi
>     >> snd-seq-device] vmnet 21600 6 vmmon 22260 0 (unused) 3c59x
>     >> 27656 1
>     >> 
>     >> 
>     >> 
>     >> 
>     >> Here's /etc/modules.conf:
>     >> 
>     >> 
>     >> alias usb-controller usb-uhci alias eth0 3c59x
>     >> 
>     >> alias char-major-116 snd
>     >> 
>     >> alias char-major-14 soundcore
>     >> 
>     >> alias snd-card-0 snd-intel8x0
>     >> 
>     >> alias sound-slot-0 snd-card-0
>     >> 
>     >> alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1
>     >> snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias
>     >> sound-service-0-8 snd-seq-oss alias sound-service-0-12
>     >> snd-pcm-oss
>     >> 
>     >> 
>     >> options snd snd_cards_limit=1
>     >> 
>     >> 
>     >> alias char-major-178 mga_vid
> 
>     Frans> <snip> everything looks OK to me :)
>  
>     >> #cat /home/aharon/download/tkbiff-3.13/audio/strength.au
>     >> >/dev/snd/pcmC0D0c cat: write error: Invalid argument
>     >> 
>     >> #cat /home/aharon/download/tkbiff-3.13/audio/strength.au
>     >> >/dev/snd/pcmC0D0p cat: write error: File descriptor in bad
>     >> state
> 
>     Frans> You can't cat to to/from those devices, use aplay or
>     Frans> arecord. Since you have the OSS emulation modules loaded
>     Frans> you can cat to/from /dev/dsp I think.
> 
> 
> $cat   /home/aharon/download/tkbiff-3.13/audio/strength.au >/dev/dsp>
>
>
> no  errors, but no sound !

What does '/sbin/fuser /dev/dsp' report? 

>     Frans>
>     Frans> 
>====================================================================================================
>     >> cat /proc/asound/version Advanced Linux Sound Architecture
>     >> Driver Version 0.9.0rc2.  Compiled on Jun 23 2002 for kernel
>     >> 2.4.18-3custom with versioned symbols.
> 
>     Frans> That looks good! Maybe see the INSTALL file about running
>     Frans> the snddevices script or on how to modify /etc/devfsd.conf
>     Frans> if you're using devfs. HTH,
> 
> 
> Ran the snddevices script.
> 
> Thanks for trying !

You're wellcome :) And just today I found this in my inbox from Civileme, head
of Quality Assurance at Mandrake to <[EMAIL PROTECTED]> (snipped):

----------------------------------------------------------------------------
 and make sure of a few things....

 1.  Mixer volume is set to something besides zero

 2. KDE sound server is set to autodetect

 3.  cable from CDROM to sound input on board

 4.  speakers or headphones plugged to the light green colored outlet on
 the back of the machine

 I say these things because they are the MOST likely for a seasoned
 veteran to overlook (speaking as a seasoned veteran).
---------------------------------------------------------------------------

Good luck ;) Oh, and I just thought of something: maybe the Gnome (esd?)
soundserver is somehow interfering, like using the soundcard and then other
applications just wait for esd to release the card instead of trying to
output sound via esd? HTH,

    -Frans


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to