On Mon, Dec 04, 2017 at 01:37:53PM +0900, Tuyosi T wrote:
> i install openbsd 6.2 into mac pro 2006 .
> (boot by fedora's grub )
>
> but i cannot hear sound .
>
> $ dmesg | grep audio
> audio0 at azalia0
>
> $ dmesg | grep azalia
> azalia0 at pci0 dev 27 function 0 "Intel 6321ESB HD Audio" rev 0x09: msi
> azalia0: codecs: Realtek ALC885
> audio0 at azalia0
>
> are there any advices ?
> ---
> regards
Try the following diff though it may need a further quirk.
And include a full dmesg and pcidump -v output.
Index: sys/dev/pci/azalia_codec.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v
retrieving revision 1.172
diff -u -p -r1.172 azalia_codec.c
--- sys/dev/pci/azalia_codec.c 28 Mar 2017 04:54:44 -0000 1.172
+++ sys/dev/pci/azalia_codec.c 4 Dec 2017 05:20:35 -0000
@@ -205,6 +205,14 @@ azalia_codec_init_vtbl(codec_t *this)
this->subid == 0x00a3106b) { /* APPLE_MB4 */
this->qrks |= AZ_QRK_GPIO_UNMUTE_0;
}
+ if (this->subid == 0x1000106b || /* iMac 24 */
+ this->subid == 0x2800106b || /* AppleTV */
+ this->subid == 0x3e00106b || /* iMac 24 Aluminum */
+ this->subid == 0x0c00106b || /* Mac Pro */
+ this->subid == 0x4200106b) { /* Mac Pro 4,1/5,1 */
+ this->qrks |= AZ_QRK_GPIO_UNMUTE_0 |
+ AZ_QRK_GPIO_UNMUTE_1;
+ }
if (this->subid == 0x00a1106b ||
this->subid == 0xcb7910de || /* APPLE_MACMINI3_1
(internal spkr) */
this->subid == 0x00a0106b)