Re: 4.3 Beta: no sound

2008-03-02 Thread Claus Assmann
On Sat, Mar 01, 2008, Jacob Meuser wrote:

  Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
  ==
  AO: [null] 32000Hz 2ch s16le (2 bytes per sample)
    does that mean no driver?

 try with mplayer -ao sun ...

That's not available:

$ mplayer -ao help
MPlayer 1.0rc2-3.3.5 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 4, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Available audio output drivers:
mpegpes Mpeg-PES audio output
nullNull audio output
pcm RAW PCM/WAVE file writer audio output


.mplayer/config only contains:
# Write your default config options here!


I've compiled mplayer from source and then it plays sound (it offers
more audio options).

Thanks!



Re: 4.3 Beta: no sound

2008-03-01 Thread Remco
Claus Assmann wrote:

 I've upgraded one machine to 4.3 Beta (2008-02-23, i386, dmesg
 below) and there is no audio anymore (it used to work with 3.8).

..

 
 $ mixerctl
 outputs.master=199,199
 outputs.master.mute=off
 outputs.mono=255
 outputs.mono.mute=off
 outputs.mono.source=mixerout
 outputs.headphones=255,255
 outputs.headphones.mute=off
 outputs.surround=255,255
 outputs.surround.mute=off
 outputs.center=255
 outputs.center.mute=off
 outputs.lfe=255
 outputs.lfe.mute=off
 inputs.speaker=255
 inputs.speaker.mute=off
 inputs.phone=191
 inputs.phone.mute=off
 inputs.mic=191
 inputs.mic.mute=off
 inputs.mic.preamp=off
 inputs.mic.source=mic0
 inputs.line=191,191
 inputs.line.mute=off
 inputs.cd=191,191
 inputs.cd.mute=off
 inputs.video=255,255
 inputs.video.mute=off
 inputs.aux=191,191
 inputs.aux.mute=off
 inputs.dac=191,191
 inputs.dac.mute=off
 record.source=mic
 record.volume=255,255
 record.volume.mute=off
 outputs.extamp=off
 # I turned off all mute fields as stated in the FAQ.
 

I've got a different sound card that needs outputs.extamp set to on in
order to get sound. Maybe that's the case here as well.



Re: 4.3 Beta: no sound

2008-03-01 Thread Jacob Meuser
On Fri, Feb 29, 2008 at 10:15:17PM -0800, Claus Assmann wrote:

 cpu0: AMD Athlon(tm) 64 Processor 3000+ (AuthenticAMD 686-class, 512KB L2

 bios0: ASUSTeK Computer Inc. K8VB

 auvia0 at pci0 dev 17 function 5 VIA VT8233 AC97 rev 0x60: irq 5
 ac97: codec id 0x41445370 (Analog Devices AD1980)
 ac97: codec features headphone, 20 bit DAC, No 3D Stereo

are you speakers plugged into the line-out jack?  these used to only
kinda play on the mic jack.  the line-out jack should be working fine
(I have very simlar hardware).

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: 4.3 Beta: no sound

2008-03-01 Thread Claus Assmann
[Thanks for all the answers!]

On Sat, Mar 01, 2008, Jacob Meuser wrote:
 are you speakers plugged into the line-out jack?  these used to only
 kinda play on the mic jack.  the line-out jack should be working fine

According to the docs I found I only tried out and mic, never
in. It works in the in plug which probably means I was looking
at the wrong docs (I have 6 PCs standing around).

However, mplayer still doesn't generate sound, the other programs
(mpg123, xine, vlc) do. Here's the mplayer output:

Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000-128000)
ID_AUDIO_BITRATE=32000
ID_AUDIO_RATE=32000
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
AO: [null] 32000Hz 2ch s16le (2 bytes per sample)
  does that mean no driver?

Should I compile it myself with different a flavor?  (I downloaded
the snapshot packages and installed them).



Re: 4.3 Beta: no sound

2008-03-01 Thread Jacob Meuser
On Sat, Mar 01, 2008 at 11:07:28AM -0800, Claus Assmann wrote:
 [Thanks for all the answers!]
 
 On Sat, Mar 01, 2008, Jacob Meuser wrote:
  are you speakers plugged into the line-out jack?  these used to only
  kinda play on the mic jack.  the line-out jack should be working fine
 
 According to the docs I found I only tried out and mic, never
 in. It works in the in plug which probably means I was looking
 at the wrong docs (I have 6 PCs standing around).

the jacks are often color-coded:

pink: mic
light green: line-out
blue: line-in

 However, mplayer still doesn't generate sound, the other programs
 (mpg123, xine, vlc) do. Here's the mplayer output:
 
 Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
 AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000-128000)
 ID_AUDIO_BITRATE=32000
 ID_AUDIO_RATE=32000
 ID_AUDIO_NCH=2
 Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
 ==
 AO: [null] 32000Hz 2ch s16le (2 bytes per sample)
   does that mean no driver?

try with mplayer -ao sun ...

 Should I compile it myself with different a flavor?  (I downloaded
 the snapshot packages and installed them).

shoudn't be necessary.  check that you don't have a ~/.mplayer/config
that's causing problems.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: 4.3 Beta: no sound

2008-02-29 Thread Girish Venkatachalam
On 22:15:17 Feb 29, Claus Assmann wrote:
 I've upgraded one machine to 4.3 Beta (2008-02-23, i386, dmesg
 below) and there is no audio anymore (it used to work with 3.8). I
 tried to cat an audio file directly to the device:
 
 $ file gong.au
 gong.au: Sun/NeXT audio data: 8-bit ISDN u-law, mono, 8000 Hz
 $ cat gong.au  /dev/audio
 $ cat gong.au  /dev/sound
 
 
 and mpg123 (playing song36.mp3 with various options),
 and mplayer, xine, vlc to play some DVDs: video is shown (even though
 mplayer is jerky), but no audio.
 
 What can I check next?
 
 $ mixerctl
 outputs.master=199,199
 outputs.master.mute=off
 outputs.mono=255
 outputs.mono.mute=off
 outputs.mono.source=mixerout
 outputs.headphones=255,255
 outputs.headphones.mute=off
 outputs.surround=255,255
 outputs.surround.mute=off
 outputs.center=255
 outputs.center.mute=off
 outputs.lfe=255
 outputs.lfe.mute=off
 inputs.speaker=255
 inputs.speaker.mute=off
 inputs.phone=191
 inputs.phone.mute=off
 inputs.mic=191
 inputs.mic.mute=off
 inputs.mic.preamp=off
 inputs.mic.source=mic0
 inputs.line=191,191
 inputs.line.mute=off
 inputs.cd=191,191
 inputs.cd.mute=off
 inputs.video=255,255
 inputs.video.mute=off
 inputs.aux=191,191
 inputs.aux.mute=off
 inputs.dac=191,191
 inputs.dac.mute=off
 record.source=mic
 record.volume=255,255
 record.volume.mute=off
 outputs.extamp=off
 # I turned off all mute fields as stated in the FAQ.
 

Not sure if it would apply in your case but still...

You can try the UKC stuff.

# config -e -o bsd.new /bsd

And then do a find  auvia and change the PCI device and function
numbers to match the output of scanpci.

But I have most sound cards working even with the above parameters
showing -1.

Your dmesg shows no errors, so this trick might work.

If it doesn't then you can try mplayer with various audio output
drivers.

$ mplayer -ao help

Thanks.

-Girish