NetBSD-Bugs archive

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

Re: kern/37613 (esa doesn't work after resume on Compaq Evo N600c)



Hi!

You wrote:

>  Can you please provide the output of 'pcictl pci0 dump -d <pci devid>' 
>  for this device before and after suspend with the GENERIC kernel?

Since esa seems to reside on pci2:

esa0 at pci2 dev 9 function 0: ESS Technology Allegro-1 PCI Audio Accelerator 
(rev. 0x12)
esa0: interrupting at irq 11
esa0: ac97: ESS Technology ES1921 codec; 20 bit DAC, 20 bit ADC, ESS Technology
esa0: ac97: ext id 2<DRA>

I changed the pci0 to pci2

# pcictl pci2 dump -d 9

PCI configuration registers:
  Common header:
    0x00: 0x1988125d 0x02900005 0x04010012 0x00004000

    Vendor Name: ESS Technology (0x125d)
    Device Name: Allegro-1 PCI Audio Accelerator (0x1988)
    Command register: 0x0005
      I/O space accesses: on
      Memory space accesses: off
      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: 0x0290
      Capability List support: on
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: on
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      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 Name: audio (0x01)
    Interface: 0x00
    Revision ID: 0x12
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x40
    Cache Line Size: 0x00

  Type 0 ("normal" device) header:
    0x10: 0x00002401 0x00000000 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x00940e11
    0x30: 0x00000000 0x000000c0 0x00000000 0x1802010b

    Base address register at 0x10
      type: i/o
      base: 0x00002400, not sized
    Base address register at 0x14
      not implemented(?)
    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: 0x0e11
    Subsystem ID: 0x0094
    Expansion ROM Base Address: 0x00000000
    Capability list pointer: 0xc0
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x18
    Minimum Grant: 0x02
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x0b

  Capability register at 0xc0
    type: 0x01 (Power Management, rev. 1.0)

  Device-dependent header:
    0x40: 0x0000907f 0x00000000 0x00000000 0x00000000
    0x50: 0x0a400040 0x00000000 0x00000100 0x00000000
    0x60: 0x00000000 0x00000000 0x00000000 0x00940e11
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x00000000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x76220001 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

And after the wake. Unfortunately there seems to be no difference:

PCI configuration registers:
  Common header:
    0x00: 0x1988125d 0x02900005 0x04010012 0x00004000

    Vendor Name: ESS Technology (0x125d)
    Device Name: Allegro-1 PCI Audio Accelerator (0x1988)
    Command register: 0x0005
      I/O space accesses: on
      Memory space accesses: off
      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: 0x0290
      Capability List support: on
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: on
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      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 Name: audio (0x01)
    Interface: 0x00
    Revision ID: 0x12
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x40
    Cache Line Size: 0x00

  Type 0 ("normal" device) header:
    0x10: 0x00002401 0x00000000 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x00940e11
    0x30: 0x00000000 0x000000c0 0x00000000 0x1802010b

    Base address register at 0x10
      type: i/o
      base: 0x00002400, not sized
    Base address register at 0x14
      not implemented(?)
    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: 0x0e11
    Subsystem ID: 0x0094
    Expansion ROM Base Address: 0x00000000
    Capability list pointer: 0xc0
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x18
    Minimum Grant: 0x02
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x0b

  Capability register at 0xc0
    type: 0x01 (Power Management, rev. 1.0)

  Device-dependent header:
    0x40: 0x0000907f 0x00000000 0x00000000 0x00000000
    0x50: 0x0a400040 0x00000000 0x00000100 0x00000000
    0x60: 0x00000000 0x00000000 0x00000000 0x00940e11
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x00000000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x76220001 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

    Bernhard  //
            \X/



Home | Main Index | Thread Index | Old Index