Chameleon > Patches

[PATCH] re-enable HDMI audio on SL 10.6.5 or higher

(1/1)

yehia2amer:
Adding 2 additional lines to the nvidia.c file to re-enable HDMI audio on SL 10.6.5 or higher


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

--- End code ---

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

Thanks

ErmaC:
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);
...
--- End quote ---
and some "new" card
no tested.

--- Quote ---   { 0x10DE1200, "GeForce GTX 560 Ti" },
   { 0x10DE1081, "GeForce GTX 570" },
   { 0x10DE1080, "GeForce GTX 580" },
   { 0x10DE1088, "GeForce GTX 590" },
--- End quote ---

Fabio

cosmo1t:
You can now just use a plist flag
EnableHDMIAudio

this is implement in nvidia.c

it also needs to be implemented in ati.c

Navigation

[0] Message Index

Go to full version