bongmasterdarky Posted August 19, 2012 Share Posted August 19, 2012 hi i have this dsdt with sound injection added to it but the sound doesnt work to well in mountain lion could come one remove the sound bit from the dsdt or tell me how to do it cheer rob dsdt.aml.zip Link to comment Share on other sites More sharing options...
pere Posted August 19, 2012 Share Posted August 19, 2012 Locate Devide (HDEF) and clean it so just remains this: Device (HDEF) { Name (_ADR, 0x001B0000) Method (_PRW, 0, NotSerialized) { Return (Package (0x02) { 0x0D, 0x05 }) } } Link to comment Share on other sites More sharing options...
bongmasterdarky Posted August 19, 2012 Author Share Posted August 19, 2012 okie i removed the first part but do i keep this bit in it Name (BUFA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,7,9,10,11,12,14,15} }) Name (BUFB, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {} }) CreateWordField (BUFB, One, IRQV) Device (LNKA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, One) Method (_STA, 0, NotSerialized) { And (PIRA, 0x80, Local0) If (LEqual (Local0, 0x80)) { Return (0x09) } Else { Return (0x0B) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Or (PIRA, 0x80, PIRA) } Method (_CRS, 0, NotSerialized) { And (PIRA, 0x0F, Local0) ShiftLeft (One, Local0, IRQV) Return (BUFB) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRQ1) FindSetRightBit (IRQ1, Local0) Decrement (Local0) Store (Local0, PIRA) } } Link to comment Share on other sites More sharing options...
pere Posted August 19, 2012 Share Posted August 19, 2012 Uh oh! I think you have removed more than you needed. Copy here what you think is the "Device (HDEF). Use code tag to insert your DSDT code. Link to comment Share on other sites More sharing options...
bongmasterdarky Posted August 19, 2012 Author Share Posted August 19, 2012 Device (HDEF) { Name (_ADR, 0x001B0000) Method (_PRW, 0, NotSerialized) { Return (Package (0x02) { 0x0D, 0x05 }) } } Name (BUFA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {3,4,5,7,9,10,11,12,14,15} }) Name (BUFB, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {} }) CreateWordField (BUFB, One, IRQV) Device (LNKA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, One) Method (_STA, 0, NotSerialized) { And (PIRA, 0x80, Local0) If (LEqual (Local0, 0x80)) { Return (0x09) } Else { Return (0x0B) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Or (PIRA, 0x80, PIRA) } Method (_CRS, 0, NotSerialized) { And (PIRA, 0x0F, Local0) ShiftLeft (One, Local0, IRQV) Return (BUFB) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRQ1) FindSetRightBit (IRQ1, Local0) Decrement (Local0) Store (Local0, PIRA) } } Device (LNKB) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x02) Method (_STA, 0, NotSerialized) { And (PIRB, 0x80, Local0) If (LEqual (Local0, 0x80)) { Return (0x09) } Else { Return (0x0B) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Or (PIRB, 0x80, PIRB) } Method (_CRS, 0, NotSerialized) { And (PIRB, 0x0F, Local0) ShiftLeft (One, Local0, IRQV) Return (BUFB) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, One, IRQ1) FindSetRightBit (IRQ1, Local0) Decrement (Local0) Store (Local0, PIRB) } } i am also having problems removing it i open DSDT editor do i just highlight it and delete it or is there a special way to do this cheers rob Link to comment Share on other sites More sharing options...
pere Posted August 20, 2012 Share Posted August 20, 2012 You have do it right, now let´s go for the next error. Link to comment Share on other sites More sharing options...
bongmasterdarky Posted August 21, 2012 Author Share Posted August 21, 2012 problem solved i made a new dsdt with out the sound and its all working good now thanks for your help peer Link to comment Share on other sites More sharing options...
Recommended Posts