Subject: kern/37525: settings for HDA sound card (azalia driver,82801GB/GR) not fully working
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <oivulf@gmail.com>
List: netbsd-bugs
Date: 12/12/2007 10:35:01
>Number:         37525
>Category:       kern
>Synopsis:       settings for HDA sound card (azalia driver,82801GB/GR) not fully working
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 12 10:35:00 +0000 2007
>Originator:     fulvio ciriaco
>Release:        4.0_rc5 on hp pavilion dv2000
>Organization:
>Environment:
NetBSD fulvio.ciriaco 4.0_RC5 NetBSD 4.0_RC5 (my) #6: Fri Dec  7 21:12:04 CET 20
07  fc@fulvio.ciriaco:/usr/src/sys/arch/i386/compile/my i386
>Description:
some input/output controls are not recognized.
from mixerctl -av:
  outputs.unknown10.sourc=dac19
  outputs.unknown10.mute=off
  outputs.unknown10=219,219    #-------this is the volume
  outputs.unknown10.eapd=on
...mixerctl -w
  += -- works
  ++ does not update values
volume control does not work in applications like xmms, xine...
is it related? Azalia related dmesg:
  azalia0 at pci0 dev 27 function 0: Generic High Definition Audio   Controller
  azalia0: interrupting at ioapic0 pin 22 (irq 10)
  azalia0: host: Intel 82801GB/GR High Definition Audio Controller (rev. 2)
  azalia0: host: High Definition Audio rev. 1.0
  azalia0: codec[0]: 0x14f1/0x5045 (rev. 1.0)
  azalia0: codec[0]: High Definition Audio rev. 1.0
  azalia0: playback: max channels=2, encodings=1<PCM>
  azalia0: playback: PCM   formats=e0540<24bit,20bit,16bit,192kHz,96kHz,48kHz>
  azalia0: recording: max channels=2, encodings=1<PCM>
  azalia0: recording: PCM formats=e0140<24bit,20bit,16bit,96kHz,48kHz>
pcictl /dev/pci0 dump -d27:
PCI configuration registers:
  Common header:
    0x00: 0x27d88086 0x00100006 0x04030002 0x00000010
  
    Vendor Name: Intel (0x8086)
    Device Name: 82801GB/GR High Definition Audio Controller (0x27d8)
    Command register: 0x0006
      I/O space accesses: off
      Memory space accesses: on
      Bus mastering: on
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
      Interrupt disable: off
    Status register: 0x0010
      Capability List support: on
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: off
      Data parity error detected: off
      DEVSEL timing: fast (0x0)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: multimedia (0x04)
    Subclass ID: 0x03
    Interface: 0x00
    Revision ID: 0x02
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x00
    Cache Line Size: 0x10
  
  Type 0 ("normal" device) header:
    0x10: 0xd6400004 0x00000000 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x30b2103c
    0x30: 0x00000000 0x00000050 0x00000000 0x0000010a
  
    Base address register at 0x10
      type: 64-bit nonprefetchable memory
      base: 0x00000000d6400000, 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: 0x103c
    Subsystem ID: 0x30b2
    Expansion ROM Base Address: 0x00000000
    Capability list pointer: 0x50
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x00
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x0a
  
  Capability register at 0x50
    type: 0x01 (Power Management, rev. 1.0)
  Capability register at 0x60
    type: 0x05 (MSI)
  Capability register at 0x70
    type: 0x10 (PCI Express)
  
  Device-dependent header:
    0x40: 0x03000003 0x00000007 0x00000000 0x00008000
    0x50: 0xc8426001 0x00000000 0x00000000 0x00000000
    0x60: 0x00807005 0x00000000 0x00000000 0x00000000
    0x70: 0x00910010 0x00000000 0x00100800 0x00000000
    0x80: 0x00000000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x01000000 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00020f86 0x00000000
 
>How-To-Repeat:

>Fix: