NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/38162: azalia on M2A-VM motherboard: no mixer control, but sound working



>Number:         38162
>Category:       kern
>Synopsis:       azalia on M2A-VM motherboard: no mixer control, but sound 
>working
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 04 11:45:00 +0000 2008
>Originator:     Matthias Kretschmer
>Release:        NetBSD 4.0.0_PATCH
>Organization:
Private
>Environment:
System: NetBSD fourier.hangelar.local 4.0.0_PATCH NetBSD 4.0.0_PATCH 
(FOURIER-TEST) #0: Tue Mar 4 03:06:10 CET 2008 
root%fourier.hangelar.local@localhost:/usr/src/sys/arch/amd64/compile/FOURIER-TEST
 amd64
Architecture: x86_64
Machine: amd64

>Description:
Sound is working, but one is unable to change mixer controls.  So one is unable 
to change the volume of the output.  Additionally I have of course the problem 
kern/37273 (too long mixer name, see inputs.mix0b.unknown1c).

Mixer applications like audio/aumix, audio/cam, etc. are unable to change mixer 
settings and get error when opening the mixer device (both do not print useful 
error messages except "can't open device" or something like that).

I have tried a current snapshot, but except of new mixer names, it doesn't 
allow me to change mixer controls.

I have attached the output dmesg (only the azalia related parts), pcictl dump 
and mixerctl -va.


# dmesg | grep azalia
azalia0 at pci0 dev 20 function 2: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 16 (irq 3)
azalia0: host: 0x1002/0x4383 (rev. 0)
azalia0: host: High Definition Audio rev. 1.0
azalia0: host: 4 output, 4 input, and 0 bidi streams
azalia_attach: resetting
azalia_attach: reset counter = 4999
azalia_attach: reset counter = 4991
azalia0: found a codec at #0
azalia_init_corb: CORB allocation succeeded.
azalia_init_corb: CORBWP=0; size=256
azalia_init_rirb: RIRB allocation succeeded.
azalia_init_rirb: RIRBRP=0, size=256
azalia0: information of codec[0] follows:
azalia_codec_init_vtbl: vid=10ec0883 subid=82491043
azalia0: codec[0]: Realtek ALC883 (rev. 0.2)
azalia0: codec[0]: High Definition Audio rev. 1.0
azalia_codec_init: nidstart=1 #functions=1
azalia_codec_init: FTYPE result = 0x00000001
azalia_codec_init: There are 37 widgets in the audio function.
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0:    inamp: mute=0 size=0 steps=0 offset=0
azalia0:    outamp: mute=0 size=0 steps=0 offset=0
azalia0: dac02 wcap=11<FORMATOV,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0: dac03 wcap=11<FORMATOV,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0: dac04 wcap=11<FORMATOV,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0: dac05 wcap=11<FORMATOV,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0: dac06 wcap=211<DIGITAL,FORMATOV,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM 
formats=1e0560<32bit,24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0: widget07 wcap=f00000
azalia0: adc08 wcap=10011b<CONNLIST,FORMATOV,AMPOV,INAMP,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=60160<20bit,16bit,96kHz,48kHz,44.1kHz>
azalia0:    connections=0x23; selected=0x23
azalia0:    inamp: mute=1 size=5 steps=31 offset=8
azalia0: adc09 wcap=10011b<CONNLIST,FORMATOV,AMPOV,INAMP,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=60160<20bit,16bit,96kHz,48kHz,44.1kHz>
azalia0:    connections=0x22; selected=0x22
azalia0:    inamp: mute=1 size=5 steps=31 offset=8
azalia0: adc0a wcap=100391<DIGITAL,CONNLIST,UNSOL,FORMATOV,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM 
formats=1e0560<32bit,24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0:    connections=0x1f; selected=0x1f
azalia0: mix0b wcap=20010b<CONNLIST,AMPOV,INAMP,STEREO>
azalia0:    connections=0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x14,0x15,0x16,0x17; 
selected=0x18
azalia0:    inamp: mute=1 size=5 steps=31 offset=23
azalia0: mix0c wcap=20010f<CONNLIST,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    connections=0x2,0xb; selected=0x2
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0:    outamp: mute=0 size=5 steps=31 offset=31
azalia0: mix0d wcap=20010f<CONNLIST,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    connections=0x3,0xb; selected=0x3
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0:    outamp: mute=0 size=5 steps=31 offset=31
azalia0: mix0e wcap=20010f<CONNLIST,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    connections=0x4,0xb; selected=0x4
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0:    outamp: mute=0 size=5 steps=31 offset=31
azalia0: mix0f wcap=20010f<CONNLIST,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    connections=0x5,0xb; selected=0x5
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0:    outamp: mute=0 size=5 steps=31 offset=31
azalia0: widget10 wcap=f00000
azalia0: widget11 wcap=f00000
azalia0: widget12 wcap=f00000
azalia0: widget13 wcap=f00000
azalia0: green14 wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    pin config; device=line-out color=green assoc=1 seq=0 
cap=3e<INPUT,OUTPUT,HEADPHONE,PRESENCE,TRIGGER>
azalia0:    connections=0xc,0xd,0xe,0xf,0x26; selected=0xc
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: black15 wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    pin config; device=speaker color=black assoc=15 seq=0 
cap=3e<INPUT,OUTPUT,HEADPHONE,PRESENCE,TRIGGER>
azalia0:    connections=0xc,0xd,0xe,0xf,0x26; selected=0xd
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: black16 wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    pin config; device=speaker color=black assoc=15 seq=0 
cap=3e<INPUT,OUTPUT,HEADPHONE,PRESENCE,TRIGGER>
azalia0:    connections=0xc,0xd,0xe,0xf,0x26; selected=0xe
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: black17 wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    pin config; device=speaker color=black assoc=15 seq=0 
cap=3e<INPUT,OUTPUT,HEADPHONE,PRESENCE,TRIGGER>
azalia0:    connections=0xc,0xd,0xe,0xf,0x26; selected=0xf
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: pink18 wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    pin config; device=mic color=pink assoc=4 seq=0 
cap=173e<INPUT,OUTPUT,HEADPHONE,PRESENCE,TRIGGER>
azalia0:    connections=0xc,0xd,0xe,0xf,0x26; selected=0xc
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: pink19 wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    pin config; device=mic color=pink assoc=5 seq=0 
cap=173e<INPUT,OUTPUT,HEADPHONE,PRESENCE,TRIGGER>
azalia0:    connections=0xc,0xd,0xe,0xf,0x26; selected=0xc
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: blue1a wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    pin config; device=line-in color=blue assoc=4 seq=15 
cap=173e<INPUT,OUTPUT,HEADPHONE,PRESENCE,TRIGGER>
azalia0:    connections=0xc,0xd,0xe,0xf,0x26; selected=0xc
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: green1b wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    pin config; device=headphones color=green assoc=2 seq=0 
cap=173e<INPUT,OUTPUT,HEADPHONE,PRESENCE,TRIGGER>
azalia0:    connections=0xc,0xd,0xe,0xf,0x26; selected=0xc
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: unknown1c wcap=400001<STEREO>
azalia0:    pin config; device=cd color=unknown assoc=15 seq=0 cap=20<INPUT>
azalia0: col0c1d wcap=400000
azalia0:    pin config; device=line-out color=col0c assoc=0 seq=3 cap=20<INPUT>
azalia0: black1e wcap=400300<DIGITAL,CONNLIST>
azalia0:    pin config; device=SPDIF-out color=black assoc=3 seq=0 
cap=10<OUTPUT>
azalia0:    connections=0x6; selected=0x6
azalia0: black1f wcap=400200<DIGITAL>
azalia0:    pin config; device=speaker color=black assoc=15 seq=0 cap=20<INPUT>
azalia0: widget20 wcap=f00040<PROC>
azalia0: widget21 wcap=f00000
azalia0: mix22 wcap=20010f<CONNLIST,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    connections=0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x14,0x15,0x16,0x17,0xb; 
selected=0x18
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0:    outamp: mute=0 size=0 steps=0 offset=0
azalia0: mix23 wcap=20010f<CONNLIST,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    connections=0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x14,0x15,0x16,0x17,0xb; 
selected=0x18
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0:    outamp: mute=0 size=0 steps=0 offset=0
azalia0: widget24 wcap=f00000
azalia0: dac25 wcap=11<FORMATOV,STEREO>
azalia0:    encodings=1<PCM>
azalia0:    PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0: mix26 wcap=20010f<CONNLIST,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    connections=0x25,0xb; selected=0x25
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0:    outamp: mute=0 size=5 steps=31 offset=31
azalia_codec_init: dacgroup[0]: 02 03 04 05
azalia_codec_init: dacgroup[1]: 06
azalia0: playback: max channels=8, encodings=1<PCM>
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: using the #0 codec
audio0 at azalia0: full duplex, independent
azalia_round_blocksize: resultant block size = 9600
azalia_round_blocksize: resultant block size = 9600



# pcictl pci0 dump -d 20
PCI configuration registers:
  Common header:
    0x00: 0x43851002 0xffffffff 0x0c050014 0x00800000

    Vendor Name: ATI Technologies (0x1002)
    Device ID: 0x4385
    Command register: 0xffff
      I/O space accesses: on
      Memory space accesses: on
      Bus mastering: on
      Special cycles: on
      MWI transactions: on
      Palette snooping: on
      Parity error checking: on
      Address/data stepping: on
      System error (SERR): on
      Fast back-to-back transactions: on
      Interrupt disable: on
    Status register: 0xffff
      Capability List support: on
      66 MHz capable: on
      User Definable Features (UDF) support: on
      Fast back-to-back capable: on
      Data parity error detected: on
      DEVSEL timing: unknown/reserved (0x3)
      Slave signaled Target Abort: on
      Master received Target Abort: on
      Master received Master Abort: on
      Asserted System Error (SERR): on
      Parity error detected: on
    Class Name: serial bus (0x0c)
    Subclass Name: SMBus (0x05)
    Interface: 0x00
    Revision ID: 0x14
    BIST: 0x00
    Header Type: 0x00+multifunction (0x80)
    Latency Timer: 0x00
    Cache Line Size: 0x00

  Type 0 ("normal" device) header:
    0x10: 0x00000b01 0xffffffff 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x81ef1043
    0x30: 0x00000000 0x000000b0 0x00000000 0x00000000

    Base address register at 0x10
      type: i/o
      base: 0x00000b00, not sized
    Base address register at 0x14
      type: i/o
      base: 0xfffffffc, not sized
    Base address register at 0x18
      not implemented(?)
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      not implemented(?)
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x1043
    Subsystem ID: 0x81ef
    Expansion ROM Base Address: 0x00000000
    Capability list pointer: 0xb0
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x00
    Interrupt pin: 0x00 (none)
    Interrupt line: 0x00

  Capability register at 0xb0
    type: 0x08 (LDT)

  Device-dependent header:
    0x40: 0x040039d4 0x00000000 0x0000ff0f 0x00000000
    0x50: 0x08f001f0 0x07f00ff0 0x0ff00b11 0x00000000
    0x60: 0x00070001 0x8f9effbf 0x0000903f 0x00000020
    0x70: 0x00000100 0xfec00008 0x00006eff 0x0ff00000
    0x80: 0x0ff00af0 0x00000000 0x00000000 0x8000008c
    0x90: 0x00000b01 0x00ffcee9 0x00000000 0x00000000
    0xa0: 0xffff0000 0x08f0ffff 0x0202fd02 0x18207b16
    0xb0: 0xa8020008 0x00000000 0x00000000 0x1a080ff0
    0xc0: 0xffffffff 0x00000000 0x00000000 0x00000000
    0xd0: 0x00010000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000020 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000cd8 0x00440000 0x00000000 0x013000aa



# mixerctl -va
record.adc08.mute=off  [ off on ]
record.adc08=123,123  delta=8
record.adc09.mute=off  [ off on ]
record.adc09=123,123  delta=8
inputs.mix0b.pink18.mu=off  [ off on ]
inputs.mix0b.pink19.mu=off  [ off on ]
inputs.mix0b.blue1a.mu=off  [ off on ]
inputs.mix0b.green1b.m=off  [ off on ]
inputs.mix0b.unknown1c=off  [ off on ]
inputs.mix0b.col0c1d.m=off  [ off on ]
inputs.mix0b.green14.m=off  [ off on ]
inputs.mix0b.black15.m=off  [ off on ]
inputs.mix0b.black16.m=off  [ off on ]
inputs.mix0b.black17.m=off  [ off on ]
inputs.mix0b.pink18=123,123  delta=8
inputs.mix0b.pink19=123,123  delta=8
inputs.mix0b.blue1a=123,123  delta=8
inputs.mix0b.green1b=123,123  delta=8
inputs.mix0b.unknown1c=123,123  delta=8
inputs.mix0b.col0c1d=123  delta=8
inputs.mix0b.green14=123,123  delta=8
inputs.mix0b.black15=123,123  delta=8
inputs.mix0b.black16=123,123  delta=8
inputs.mix0b.black17=123,123  delta=8
outputs.mix0c=123,123  delta=8
inputs.mix0c.dac02.mut=off  [ off on ]
inputs.mix0c.mix0b.mut=off  [ off on ]
outputs.mix0d=123,123  delta=8
inputs.mix0d.dac03.mut=off  [ off on ]
inputs.mix0d.mix0b.mut=off  [ off on ]
outputs.mix0e=123,123  delta=8
inputs.mix0e.dac04.mut=off  [ off on ]
inputs.mix0e.mix0b.mut=off  [ off on ]
outputs.mix0f=123,123  delta=8
inputs.mix0f.dac05.mut=off  [ off on ]
inputs.mix0f.mix0b.mut=off  [ off on ]
outputs.green14.source=mix0c  [ mix0c mix0d mix0e mix0f mix26 ]
outputs.green14.mute=off  [ off on ]
outputs.green14=85,85  delta=85
outputs.green14.dir=output  [ input output ]
outputs.green14.boost=off  [ off on ]
outputs.black15.source=mix0d  [ mix0c mix0d mix0e mix0f mix26 ]
outputs.black15.mute=off  [ off on ]
outputs.black15=85,85  delta=85
outputs.black15.dir=output  [ input output ]
outputs.black15.boost=off  [ off on ]
outputs.black16.source=mix0e  [ mix0c mix0d mix0e mix0f mix26 ]
outputs.black16.mute=off  [ off on ]
outputs.black16=85,85  delta=85
outputs.black16.dir=output  [ input output ]
outputs.black16.boost=off  [ off on ]
outputs.black17.source=mix0f  [ mix0c mix0d mix0e mix0f mix26 ]
outputs.black17.mute=off  [ off on ]
outputs.black17=85,85  delta=85
outputs.black17.dir=output  [ input output ]
outputs.black17.boost=off  [ off on ]
outputs.pink18.source=mix0c  [ mix0c mix0d mix0e mix0f mix26 ]
outputs.pink18.mute=off  [ off on ]
outputs.pink18=85,85  delta=85
outputs.pink18.dir=output  [ input output ]
outputs.pink18.boost=off  [ off on ]
outputs.pink19.source=mix0c  [ mix0c mix0d mix0e mix0f mix26 ]
outputs.pink19.mute=off  [ off on ]
outputs.pink19=85,85  delta=85
outputs.pink19.dir=output  [ input output ]
outputs.pink19.boost=off  [ off on ]
outputs.blue1a.source=mix0c  [ mix0c mix0d mix0e mix0f mix26 ]
outputs.blue1a.mute=off  [ off on ]
outputs.blue1a=85,85  delta=85
outputs.blue1a.dir=output  [ input output ]
outputs.blue1a.boost=off  [ off on ]
outputs.green1b.source=mix0c  [ mix0c mix0d mix0e mix0f mix26 ]
outputs.green1b.mute=off  [ off on ]
outputs.green1b=85,85  delta=85
outputs.green1b.dir=output  [ input output ]
outputs.green1b.boost=off  [ off on ]
inputs.mix22.pink18.mu=off  [ off on ]
inputs.mix22.pink19.mu=off  [ off on ]
inputs.mix22.blue1a.mu=off  [ off on ]
inputs.mix22.green1b.m=off  [ off on ]
inputs.mix22.unknown1c=off  [ off on ]
inputs.mix22.col0c1d.m=off  [ off on ]
inputs.mix22.green14.m=off  [ off on ]
inputs.mix22.black15.m=off  [ off on ]
inputs.mix22.black16.m=off  [ off on ]
inputs.mix22.black17.m=off  [ off on ]
inputs.mix22.mix0b.mut=off  [ off on ]
inputs.mix23.pink18.mu=off  [ off on ]
inputs.mix23.pink19.mu=off  [ off on ]
inputs.mix23.blue1a.mu=off  [ off on ]
inputs.mix23.green1b.m=off  [ off on ]
inputs.mix23.unknown1c=off  [ off on ]
inputs.mix23.col0c1d.m=off  [ off on ]
inputs.mix23.green14.m=off  [ off on ]
inputs.mix23.black15.m=off  [ off on ]
inputs.mix23.black16.m=off  [ off on ]
inputs.mix23.black17.m=off  [ off on ]
inputs.mix23.mix0b.mut=off  [ off on ]
outputs.mix26=123,123  delta=8
inputs.mix26.dac25.mut=off  [ off on ]
inputs.mix26.mix0b.mut=off  [ off on ]
playback.mode=02030405  [ 02030405 06 ]
record.mode=0809  [ 0809 0a ]


--
Matthias Kretschmer
>How-To-Repeat:
Just boot the system.  The problem is always there.
>Fix:
unknown



Home | Main Index | Thread Index | Old Index