Subject: Re: no sound with azalia with current 4.99.19
To: fgh salle <pikapika@8-0.net>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: current-users
Date: 05/21/2007 00:24:31
On 20/05/07, fgh salle <pikapika@8-0.net> wrote:
> thanks for the second time for your help ;)

Not much of a help yet...

> i have :
> dmesg |grep azalia                                 [ 23:49:50 ]
> azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
> azalia0: interrupting at irq 11
> azalia0: host: Intel 82801FB/FR High Definition Audio Controller (rev. 4)
> azalia0: host: High Definition Audio rev. 1.0
> azalia0: codec[0]: Realtek ALC880 (rev. 5.0)

Mine is much simpler AD1981HD.

> azalia0: codec[0]: High Definition Audio rev. 0.9
> azalia0: playback: max channels=8, encodings=1<PCM>

...just 2 channels here...

> azalia0: playback: PCM
> formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
> azalia0: recording: max channels=4, encodings=1<PCM>
> azalia0: recording: PCM formats=60160<20bit,16bit,96kHz,48kHz,44.1kHz>
> azalia0: codec[1]: 0x14f1/0x2bfa (rev. 0.0)
> azalia0: codec[1]: High Definition Audio rev. 0.9
> azalia0: codec[1]: No support for modem function groups
> azalia0: codec[1] has no audio function groups
> audio0 at azalia0: full duplex, independent
>
> and
>  mixerctl -av                                         [ 23:50:29 ]

I couldn't figure any thing out of this output. I would try some of
the following parameters,
like changing the sources etc.

> record.surround.source=line1  [ mic1 mic2 line1 line2 cd ]
> record.surround.mute=off  [ off on ]
> record.surround=123,123  delta=7
> record.front.source=cd  [ mic1 mic2 line1 line2 cd ]
> record.front.mute=off  [ off on ]
> record.front=123,123  delta=7
> inputs.mic1.mute=off  [ off on ]
> inputs.mic1=125,125  delta=3
> inputs.mic2.mute=off  [ off on ]
> inputs.mic2=125,125  delta=3
> inputs.line1.mute=off  [ off on ]
> inputs.line1=125,125  delta=3
> inputs.line2.mute=off  [ off on ]
> inputs.line2=125,125  delta=3
> inputs.cd.mute=off  [ off on ]
> inputs.cd=125,125  delta=3
> record.surround.mute=off  [ off on ]
> record.surround=123,123  delta=7
> record.front.source=cd  [ mic1 mic2 line1 line2 cd ]
> record.front.mute=off  [ off on ]
> record.front=123,123  delta=7
> inputs.mic1.mute=off  [ off on ]
> inputs.mic1=125,125  delta=3
> inputs.mic2.mute=off  [ off on ]
> inputs.mic2=125,125  delta=3
> inputs.line1.mute=off  [ off on ]
> inputs.line1=125,125  delta=3
> inputs.line2.mute=off  [ off on ]
> inputs.line2=125,125  delta=3
> inputs.cd.mute=off  [ off on ]
> inputs.cd=125,125  delta=3
> inputs.speaker.mute=off  [ off on ]
> inputs.speaker=125  delta=3
> outputs.master=123,123  delta=3

mixerctl -w outputs.master=255

> inputs.front.dac.mute=off  [ off on ]
> inputs.front.mixer.mute=off  [ off on ]
> outputs.surround=123,123  delta=3
> outputs.clfe=123,123  delta=3
> outputs.side=123,123  delta=3
> outputs.master.mute=off  [ off on ]
> outputs.master.boost=off  [ off on ]

..  you may try 'boost=on'

> outputs.surround.mute=off  [ off on ]
> outputs.surround.boost=off  [ off on ]
> outputs.clfe.mute=off  [ off on ]
> outputs.clfe.boost=off  [ off on ]
> outputs.side.mute=off  [ off on ]
> outputs.side.boost=off  [ off on ]
> outputs.mic2.mute=off  [ off on ]
> outputs.mic2.boost=off  [ off on ]
> outputs.mic2.dir=output  [ input output ]
> outputs.line1.mute=off  [ off on ]
> outputs.line1.boost=off  [ off on ]
> outputs.line1.dir=input  [ input output ]
                         =output ?

> outputs.line2.mute=off  [ off on ]
> outputs.line2.boost=off  [ off on ]
> outputs.line2.dir=output  [ input output ]
> playback.mode=analog  [ analog spdif ]
> record.mode=analog  [ analog spdif ]
>
> i'll have a look on your output to compare

There doesn't seem to be a lot to compare, unfortunately. It has
always looked for me that azalia is too clever for it's own good...

>
> raphael
> On 5/20/07, Chavdar Ivanov <ci4ic4@gmail.com> wrote:
> > On 20/05/07, fgh salle <pikapika@8-0.net> wrote:
> > > hi
> > > my intel 82801 audio card is correctly recognized by azalia driver but
> > > i can't get no sound from the laptop sepaker nor earplugs
> >
> > It worked on my laptop since I got it (Oct 2006 vintage), but
> > initially I could not get output to speakers, only to the earphones. I
> > get:
> >
> > % dmesg | grep -i azalia
> > azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
> > azalia0: interrupting at ioapic0 pin 21 (irq 10)
> > azalia0: host: Intel 82801GB/GR High Definition Audio Controller (rev. 1)
> > azalia0: host: High Definition Audio rev. 1.0
> > azalia0: codec[0]: Analog Devices AD1981HD (rev. 2.0)
> > azalia0: codec[0]: High Definition Audio rev. 1.0
> > azalia0: playback: max channels=2, encodings=1<PCM>
> > azalia0: playback: PCM
> > formats=e007f<24bit,20bit,16bit,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
> > azalia0: recording: max channels=2, encodings=1<PCM>
> > azalia0: recording: PCM
> > formats=6007f<20bit,16bit,48kHz,44.1kHz,32kHz,22.05kHz,16kHz,11.025kHz,8kHz>
> > azalia0: codec[1]: 0x11c1/0x3026 (rev. 7.0)
> > azalia0: codec[1]: High Definition Audio rev. 1.0
> > azalia0: codec[1]: No support for modem function groups
> > azalia0: codec[1] has no audio function groups
> > audio0 at azalia0: full duplex, independent
> >
> > You could compare your 'mixerctl -av' output with mine:
> >
> > outputs.spdif.source=os  [ os adc ]
> > outputs.lineout.source=dac  [ dac mixerout ]
> > outputs.lineout.mute=off  [ off on ]
> > outputs.lineout=178,178  delta=4
> > record.lineout=85,85  delta=85
> > outputs.lineout.dir=output  [ input output ]
> > outputs.lineout.boost=on  [ off on ]
> > outputs.lineout.eapd=on  [ off on ]

This turns off my speaker output

> > outputs.headphones.src=dac  [ dac mixerout ]
> > outputs.headphones.mute=off  [ off on ]

And this - the headphones. (one minor gripe for me is that connecting
headphones does not switch off the sound from the speakers, so I have
to do it manually  - ..eapd=off. )

> > outputs.headphones=198,198  delta=4
> > outputs.headphones.boost=on  [ off on ]
> > outputs.mono.mute=off  [ off on ]
> > outputs.mono=117  delta=4
> > record.mic=85,85  delta=85
> > outputs.linein.source=dac  [ dac mixerout ]
> > outputs.linein.mute=off  [ off on ]
> > outputs.linein=85,85  delta=4
> > record.linein=85,85  delta=85
> > outputs.linein.dir=output  [ input output ]
> > outputs.mono.source=dac  [ dac mixedmic linein mixerout lineout mic2 ]
> > inputs.beep.source=digitalbeep  [ digitalbeep beep ]
> > inputs.beep.mute=off  [ off on ]
> > inputs.beep=119  delta=17
> > inputs.dac.mute=off  [ off on ]
> > inputs.dac=106,106  delta=8
> > inputs.mic.mute=off  [ off on ]
> > inputs.mic=115,115  delta=8
> > inputs.linein.mute=off  [ off on ]
> > inputs.linein=115,115  delta=8
> > record.source=mixedmic  [ mixedmic linein mixerout mono cd lineout mic2 aux ]
> > record.mute=off  [ off on ]
> > record.master=119,119  delta=17
> > outputs.mic2.source=dac  [ dac mixerout ]
> > outputs.mic2.mute=off  [ off on ]
> > outputs.mic2=85,85  delta=4
> > record.mic2=85,85  delta=85
> > outputs.mic2.dir=output  [ input output ]
> > inputs.lineout.mute=off  [ off on ]
> > inputs.lineout=115,115  delta=8
> > inputs.aux.mute=off  [ off on ]
> > inputs.aux=115,115  delta=8
> > inputs.mic2.mute=off  [ off on ]
> > inputs.mic2=115,115  delta=8
> > inputs.cd.mute=off  [ off on ]
> > inputs.cd=115,115  delta=8
> > record.mixedmic.mute1=off  [ off on ]
> > record.mixedmic.mute2=off  [ off on ]
> > playback.mode=analog  [ analog spdif ]
> >
> > This is on -current (i386).
> >
> > > any tips would be welcome, thanks
> > > raphael
> > >

Chavdar Ivanov