Jump to content

Recommended Posts

Posted
What do you mean with "help"?


If you make a more specific question I can try to help. If you want someone to do your work, wait for other reply.

 

well my problem is:


I have snow leo 10.6.7 on my HP pavilion DV6 6131-SL I'm trying to let work USB, Lan, sound and keyboard propetly, if I boot directly from my pc even my touch pad is not working but the USB is. if i boot from the CD the touch pad is ok but nothing else...

Posted
I don't use to do other people's work, but if you wanna learn how to do it yourself I can try to help.


You can try to contact MaLd0n, but I don't know if he's still patching DSDTs.

Yeah well I patched with some stuff and I'll send here later when I get home. Thanks.

Posted

well my problem is:


I have snow leo 10.6.7 on my HP pavilion DV6 6131-SL I'm trying to let work USB, Lan, sound and keyboard propetly, if I boot directly from my pc even my touch pad is not working but the USB is. if i boot from the CD the touch pad is ok but nothing else...

What's the chipset? If it's Intel (ICHx, Nehalem, Sandy Bridge) you can try to fix USB with DSDT patches (EHCI, UHCI)

http://Olarila.com/Patches/


For trackpad, keyboard, sound and LAN there's nothing to do with DSDT, you need proper kexts (VoodooPS2, VoodooHDA). LAN is device specific, use this app to identify http://Olarila.com/forum/viewtopic.php?f=18&t=63

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

What's the chipset? If it's Intel (ICHx, Nehalem, Sandy Bridge) you can try to fix USB with DSDT patches (EHCI, UHCI)

http://Olarila.com/Patches/


For trackpad, keyboard, sound and LAN there's nothing to do with DSDT, you need proper kexts (VoodooPS2, VoodooHDA). LAN is device specific, use this app to identify http://Olarila.com/forum/viewtopic.php?f=18&t=63

 

well I was today just looking around I started to reinstall everything again cause I made many many mistakes... anyway.


I give you my report here:


Computer:

Computer Type ACPI x86-based PC (Mobile)

Operating System Microsoft Windows 7 Professional

OS Service Pack [ TRIAL VERSION ]

Internet Explorer 8.0.7600.16385 (IE 8.0 - Windows 7)

DirectX DirectX 11.0

Computer Name JUUZA91-PC

User Name Juuza91

Logon Domain [ TRIAL VERSION ]

Date / Time 2011-10-09 / 15:07


Motherboard:

CPU Type Mobile DualCore Intel Core i5-2410M, 2700 MHz (27 x 100)

Motherboard Name Hewlett-Packard HP Pavilion dv6 Notebook PC

Motherboard Chipset Intel Cougar Point HM65, Intel Sandy Bridge

System Memory [ TRIAL VERSION ]

DIMM3: Samsung M471B5273DH0-CH9 [ TRIAL VERSION ]

BIOS Type Insyde (07/20/2011)


Display:

Video Adapter Standard VGA Graphics Adapter (32704 KB)

Monitor Samsung 156AT05-H07 [15.6" LCD]


Multimedia:

Audio Adapter IDT 92HD81B1X @ Intel Cougar Point PCH - High Definition Audio Controller [b-3]

Audio Adapter Intel Cougar Point HDMI @ Intel Cougar Point PCH - High Definition Audio Controller [b-3]


Storage:

IDE Controller Standard AHCI 1.0 Serial ATA Controller

Disk Drive Lexar JD FireFly USB Device (1912 MB, USB)

Disk Drive ST9500420AS ATA Device (500 GB, 7200 RPM, SATA-II)

Disk Drive WD Ext HDD 1021 USB Device (1863 GB, USB)

Optical Drive hp DVDRAM GT30L ATA Device

SMART Hard Disks Status OK


Partitions:

C: (NTFS) [ TRIAL VERSION ]

G: (FAT32) 1853.9 GB (1853.9 GB free)

Total Size [ TRIAL VERSION ]


Input:

Keyboard Standard PS/2 Keyboard

Mouse PS/2 Compatible Mouse


Network:

Primary IP Address [ TRIAL VERSION ]

Primary MAC Address 00-00-00-00-00-00


Peripherals:

Printer Fax

Printer Microsoft XPS Document Writer

USB2 Controller Intel Cougar Point PCH - USB EHCI #1 Controller [b-3]

USB2 Controller Intel Cougar Point PCH - USB EHCI #2 Controller [b-3]

USB Device Generic USB Hub

USB Device Generic USB Hub

USB Device HP TrueVision HD

USB Device USB Composite Device

USB Device USB Mass Storage Device

USB Device USB Mass Storage Device

Battery Microsoft AC Adapter

Battery Microsoft ACPI-Compliant Control Method Battery

Battery Microsoft Composite Battery


DMI:

DMI BIOS Vendor Hewlett-Packard

DMI BIOS Version F.1A

DMI System Manufacturer Hewlett-Packard

DMI System Product HP Pavilion dv6 Notebook PC

DMI System Version 058F110000244610000620100

DMI System Serial Number [ TRIAL VERSION ]

DMI System UUID [ TRIAL VERSION ]

DMI Motherboard Manufacturer Hewlett-Packard

DMI Motherboard Product 3583

DMI Motherboard Version 10.31

DMI Motherboard Serial Number [ TRIAL VERSION ]

DMI Chassis Manufacturer Hewlett-Packard

DMI Chassis Version Chassis Version

DMI Chassis Serial Number [ TRIAL VERSION ]

DMI Chassis Asset Tag [ TRIAL VERSION ]

DMI Chassis Type Notebook



HP Pavilion DV6 6131-sl

Posted

Is there a place where I can read up on how to write my own patch?


I want to edit ours to perfect the HDEF which involves basic adding and removing of some parts of the DSDT.


I'm not sure how to get it to remove certain sections.

Posted

I have actually been reading a lot of the patches. I now understand how to go about adding, but how would I remove the _DSM section from GFX0 which is contained inside PCI0?


I need to make a few changes to that and I can't seem to figure that out. The way removing sections is handled confuses me.


Would this be it, with changes to match my DSDT?

 

into method label _DSM parent_adr 0x001B0000 remove_entry;
into device name_adr 0x001B0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x08)\n
       {\n
           "codec-id", \n
           Buffer (0x04)\n
           {\n
               0x88, 0x08, 0xEC, 0x10\n
           }, \n
           "layout-id", \n
           Buffer (0x04)\n
           {\n
               0x78, 0x03, 0x00, 0x00\n
           }, \n
           "device-type", \n
           Buffer (0x0F)\n
           {\n
               "Realtek ALC888"\n
           }, \n
           "PinConfigurations", \n
           Buffer (One)\n
           {\n
               0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end

Posted

I don't understand what you want to change. Post the original code and what you want to patch.

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

I think I figured it out. Thanks though, I may be back.


New one: How do I specify where to place something? or does it matter?


I want to take this

Device (AC)
       {
           Name (_HID, "ACPI0003")
           Name (_PCL, Package (0x01)
           {
               _SB
           })
           Method (_PSR, 0, NotSerialized)
           {
               Store (^^PCI0.LPCB.EC0.GACS (), Local0)
               Store (Local0, PWRS)
               Store (^^PCI0.LPCB.EC0.GPID (), Local1)
               If (XOr (Local0, ACST))
               {
                   \_GPE.HNLP (Zero)
                   ^^PCI0.ACEL.AJAL ()
                   \_GPE.VPUP (Local0, Local1)
                   ^^PCI0.LPCB.EC0.SMCP (Local0)
               }
               If (LOr (LAnd (Local0, LNot (ACST)), LAnd (Local1, LNot (SMAR))))
               {
                   ^^WMID.WGWE (0x03, Zero)
               }
               Store (Local0, ACST)
               Store (Local1, SMAR)
               Return (Local0)
           }
       }

 

And add this to it. Does it matter where it goes? In the dsdt I am basing this off of, it comes right after the HID section.

Name (_PRW, Package (0x02)
           {
               0x18, 
               0x03
           })

 

Also, how would I change a device name from something, say GFX0 to IGPU or AC to ADP1?


I want to edit a patch that MaLd0n gave us so everyone can use it to do this automatically.

Posted

Just use insert, it adds at the end, the position doesn't matter

into device label AC insert
begin
Name (_PRW, Package (0x02)\n
           {\n
               0x18,\n
               0x03\n
           })
end

Check this example.


For device rename check this example.

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

Yeah I figured how to add, just not how to specify where, I didn't know if it mattered. Thanks for all the help, sorry for being a bit n00bish about it, I know its frustrating. But I'm slowly getting the hang of this.


Continuing with the renaming, I want to rename the AC device listed2 posts above this.


Using this:

into device label AC set_label
begin
ADP1
end;
into_all all code_regex AC replaceall_matched
begin
ADP1
end

 

Makes my DSDT compile with errors all over.


But I don't know how to get the device address. I saw somewhere when messing with GFX0 how to do it, so I can rename that, but how could I edit the above code so it works?

Posted

To rename the device you need just the first part

into device label AC set_label
begin
ADP1
end

The second part replaces all code_regex matches in the file, it it needed only if there are references to device AC that need to be replaced. As "AC" is a very common string you will need to refine the code_regex, something like

into_all all code_regex SB.AC replaceall_matched
begin
SB.ADP1
end

Check for compilation errors after renaming AC, if there are no errors the second part is not needed.

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

It's an example.


Let's say you get an "Object does not exist (\_SB.MOO.AC)" error after renaming AC to ADP1, then you would do

into_all all code_regex SB.MOO.AC replaceall_matched
begin
SB.MOO.ADP1
end

 

If you use just "AC" it will replace things like "0xAC" to "0xADP1" which will produce a syntax error.

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted
It's an example.


Let's say you get an "Object does not exist (\_SB.MOO.AC)" error after renaming AC to ADP1, then you would do

into_all all code_regex SB.MOO.AC replaceall_matched
begin
SB.MOO.ADP1
end

 

If you use just "AC" it will replace things like "0xAC" to "0xADP1" which will produce a syntax error.

 

I now understand. I'll try this tomorrow. Thanks!


This should be the last problem. I am trying to turn

Method (_RMV, 0, NotSerialized)
                   {
                       If (_OSI ("Windows 2009"))
                       {
                           Return (Zero)
                       }
                       Else
                       {
                           Return (One)
                       }
                   }

 

that last One into a zero.


The device this is in is called SMHC which is inside PCI0.


Why does this not work?

 

into method label _RMV device label SMHC remove_entry;
into device label SMHC insert
begin
Method (_RMV, 0, NotSerialized)\n
                   {\n
                       If (_OSI ("Windows 2009"))\n
                       {\n
                           Return (Zero)\n
                       }\n
                       Else\n
                       {\n
                           Return (Zero)\n
                       }\n
                   }\n
end

Posted

I followed the tutorial in OP for the latest Gigabyte GA-EX58 EXTREME bios from gigabyte's website, F13s. All went well but when I replaced the old DSDT.aml taken form tonycrap's DSDT database that was for F12 with the one that resulted from this tutorial, I would have no sound detected.


To note, I am not using a patched HDA, I am using HDA rollback method under 10.7.2 provided through tonycrap's multishit solution.


That said, I had 25% FPS increase in Cinebench with the new one!


Any ideas on how to restore audio?

Posted

If you use patched AppleHDA you may need to update the HDEF patch according to your audio codec. Make sure layout-id in DSDT (hex) coincides with LayoutID in AppleHDA (decimal)


[table=400][trf][tdf]LayoutID (dec)[/tdf]

[tdl]layout-id (hex)[/tdl][/trf]

[tr][tdf]12[/tdf]

[tdl]0x0C, 0x00, 0x00, 0x00 = 0xC[/tdl][/tr]

[trl][tdf]889[/tdf]

[tdl]0x79, 0x03, 0x00, 0x00 = 0x379[/tdl][/trl][/table]

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

Would you be so kind to create a script for the Dell Vostro 3750? I tried to apply the script for the Vostro 3550 with the simplified AutoPatcher - I thought it was the same machine just with a smaller display - but that ended up in an error.

send_me.zip

Posted

I guess you can just remove

Arg0
Arg1
Arg2
Arg3

after

Return (NVOP)

Anything after "return" will be unreachable statement anyway.

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Posted

Hello.

I followed this guid to create my DSDT. My Mobo is a P8P67 Pro (rev 3.0) bios 2001, but I think it did not work as they are not recognized can the USB 3, Bluetooth and other things. What I do wrong? :|

Posted
I guess you can just remove

Arg0
Arg1
Arg2
Arg3

after

Return (NVOP)

Anything after "return" will be unreachable statement anyway.

 

Thanks, oldnapalm, will try.

Posted

After removing those 4 lines I could compile the dsdt.aml without errors, just got 2 warnings. Looking forward to try it, I just have to install Lion on an external hd again first.

Posted

The patched dsdt didn't have any effect on screen resolution (1024x768 without any other options). The vostro also only boots with safe system start -x.

I installed iATKOS Lion with the extra-folder option checked, anything else default.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...