Voodooprojects

Chameleon => DevTalk => Patches => Topic started by: yehia2amer on April 07, 2011, 02:32:49 PM

Title: [PATCH] re-enable HDMI audio on SL 10.6.5 or higher
Post by: yehia2amer 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 (http://www.projectosx.com/forum/index.php?s=5e214b6757d48e9d98a6884b4970d589&showtopic=1131&pid=13550&mode=threaded&start=#entry13550)

Thanks
Title: Re: [PATCH] re-enable HDMI audio on SL 10.6.5 or higher
Post by: ErmaC 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
Title: Re: [PATCH] re-enable HDMI audio on SL 10.6.5 or higher
Post by: cosmo1t 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