Re: azalia acer quirks

2013-09-14 Thread Alexandre Ratchov
On Sat, Sep 14, 2013 at 01:03:39PM +0200, Raphael Graf wrote:
> Without this diff, I just get silence from an Acer Extensa 6700.
> I don't know if this is the right way to fix it..
> Comments?
> 

The diff seems correct. Anyone with a non-Acer Extensa 6700 box
using a ALC260 to test this diff ?

-- Alexandre



azalia acer quirks

2013-09-14 Thread Raphael Graf
Without this diff, I just get silence from an Acer Extensa 6700.
I don't know if this is the right way to fix it..
Comments?

Index: sys/dev/pci/azalia_codec.c
===
RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v
retrieving revision 1.154
diff -u -p -u -p -r1.154 azalia_codec.c
--- sys/dev/pci/azalia_codec.c  27 May 2013 21:19:31 -  1.154
+++ sys/dev/pci/azalia_codec.c  14 Sep 2013 10:41:31 -
@@ -74,6 +74,8 @@ azalia_codec_init_vtbl(codec_t *this)
break;
case 0x10ec0260:
this->name = "Realtek ALC260";
+   if (this->subid == 0x008f1025)
+   this->qrks |= AZ_QRK_GPIO_UNMUTE_0;
break;
case 0x10ec0262:
this->name = "Realtek ALC262";




azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04: msi
azalia0: codecs: Realtek ALC260, Conexant/0x2bfa, using Realtek ALC260
audio0 at azalia0


Domain /dev/pci0:
 0:0:0: Intel 82915GM Host
0x: Vendor ID: 8086 Product ID: 2590
0x0004: Command: 0106 Status: 2090
0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 03
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR empty ()
0x0014: BAR empty ()
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1025 Product ID: 008f
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x00e0: Capability 0x09: Vendor Specific
 0:2:0: Intel 82915GM Video
0x: Vendor ID: 8086 Product ID: 2592
0x0004: Command: 0007 Status: 0090
0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: 03
0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR mem 32bit addr: 0xb008/0x0008
0x0014: BAR io addr: 0x1800/0x0008
0x0018: BAR mem prefetchable 32bit addr: 0xc000/0x1000
0x001c: BAR mem 32bit addr: 0xb000/0x0004
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1025 Product ID: 008f
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00
0x00d0: Capability 0x01: Power Management
 0:2:1: Intel 82915GM Video
0x: Vendor ID: 8086 Product ID: 2792
0x0004: Command:  Status: 0090
0x0008: Class: 03 Subclass: 80 Interface: 00 Revision: 03
0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR mem 32bit addr: 0x/0x0008
0x0014: BAR empty ()
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1025 Product ID: 008f
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x00d0: Capability 0x01: Power Management
 0:27:0: Intel 82801FB HD Audio
0x: Vendor ID: 8086 Product ID: 2668
0x0004: Command: 0006 Status: 0010
0x0008: Class: 04 Subclass: 03 Interface: 00 Revision: 04
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR mem 64bit addr: 0xd000c000/0x4000
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1025 Product ID: 008f
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: 00 Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x01: Power Management
0x0060: Capability 0x05: Message Signaled Interrupts (MSI)
0x0070: Capability 0x10: PCI Express
 0:28:0: Intel 82801FB PCIE
0x: Vendor ID: 8086 Product ID: 2660
0x0004: Command:  Status: 0010
0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 04
0x000c: BIST: 00 Header Type: 81 Latency Timer: 00 Cache Line Size: 08
0x0010: 
0x0014: 
0x0018: Primary Bus: 0 Secondary Bus: 9 Subordinate Bus: 9
Secondary Latency Timer: 00
0x001c: I/O Base: 00 I/O Limit: 00 Secondary Status: 2000
0x0020: Memory Base: fff0 Memory Limit: 
0x0024: Prefetch Memory Base: fff1 Prefetch Memory Limit: 0001
0x0028: Prefetch Memory Base Upper 3