overdue-scratch

Author Topic: [PATCH] re-enable HDMI audio on SL 10.6.5 or higher  (Read 3675 times)

0 Members and 1 Guest are viewing this topic.

yehia2amer

  • Observer
  • Posts: 15
[PATCH] re-enable HDMI audio on SL 10.6.5 or higher
« on: April 07, 2011, 02:32:49 PM »
Adding 2 additional lines to the nvidia.c file to re-enable HDMI audio on SL 10.6.5 or higher

Code: [Select]
uint8_t connector_type_1[]= {0x00, 0x08, 0x00, 0x00};
devprop_add_value(device, "@1,connector-type", connector_type_1, 4);

For more Info: http://www.projectosx.com/forum/index.php?s=5e214b6757d48e9d98a6884b4970d589&showtopic=1131&pid=13550&mode=threaded&start=#entry13550

Thanks
« Last Edit: April 07, 2011, 05:26:11 PM by Gringo Vermelho »

ErmaC

  • Resident
  • Posts: 134
Re: [PATCH] re-enable HDMI audio on SL 10.6.5 or higher
« Reply #1 on: April 10, 2011, 04:34:00 AM »
Hi!
see this nvidia.c file is correct
I add your suggestion into nvidia.c from slice's source code
Quote
...
uint8_t display_cfg_1[]= {0xff, 0xff, 0x00, 0x01};
uint8_t connector_type_1[]= {0x00, 0x08, 0x00, 0x00};

static uint8_t default_NVCAP[]= {
...
   devprop_add_value(device, "rom-revision", (uint8_t*)biosVersion, strlen(biosVersion) + 1);
   devprop_add_value(device, "@1,connector-type", connector_type_1, 4); // fixme??
   devprop_add_value(device, "@0,display-cfg", display_cfg_0, 4);
...
and some "new" card
no tested.
Quote
   { 0x10DE1200, "GeForce GTX 560 Ti" },
   { 0x10DE1081, "GeForce GTX 570" },

   { 0x10DE1080, "GeForce GTX 580" },
   { 0x10DE1088, "GeForce GTX 590" },

Fabio
P6T Deluxe v1 i7 940 Quadro Fx 5600
P6T SE i7 920 GeForce GT 240

cosmo1t

  • VoodooLabs
  • Posts: 25
Re: [PATCH] re-enable HDMI audio on SL 10.6.5 or higher
« Reply #2 on: May 09, 2012, 05:15:47 PM »
You can now just use a plist flag
EnableHDMIAudio

this is implement in nvidia.c

it also needs to be implemented in ati.c