Jump to content

Need help in dsdt patching


  • Please log in to reply
13 replies to this topic

#1
icarl

icarl

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
  • Gender:Male
Hi. I have a toshiba c875 17" laptop that I would like to get 100% working. What Im hoping to get fixed through patching is sleep, audio, and sleep when lid closed. Last not so much a big deal.... I tried sleep enabler kexts but all wake right after sleep. I tried all audio kexts and none work except the latest voodooHDA v2.8. However microphone and audio switch to headphones don't work. I've deleted kexts that don't fully work.
I also tried to do some patching myself, but get more errors. I'm a noob, and probably not doing it right, or fix errors afterwards.
The function keys work except brightness ones. Oh when using sleepenabler and re-awaking brightness goes to probably max.
audio is realtek alc269

How can I upload the dstd.dsl it wont let me, says I'm not permitted


Thanks for any help

i3 3110 cpu
hd4000 graphics 1600x900 resolution with device ID
wifi card replaced and works
sd card works but not recognized in system information.
all usb work.
trackpad works
HDMI not tested but probably doesn't work

#2
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,944 posts
  • Gender:Male
Zip the aml file and upload it: it's quite simple ;)

#3
icarl

icarl

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
  • Gender:Male
Thanks, theconnactic

Attached Files



#4
iFIRE

iFIRE

    InsanelyMacaholic

  • Banned
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,807 posts
  • Gender:Male
  • Location:Bcn-Spain
Attached File  Patched.zip   37.78KB   10 downloads rename your DSDT for DSDT.aml and look in your dsdt session EHC1 and EHC2 Method (_DSM, 4, NotSerialized) , if is correct your device id for yours ports EHCI, if not you cam put the correct device id , compile/save.



Method (_DSM, 4, NotSerialized)
{
Store (Package (0x13)
{
"device-id",
Buffer (0x04)
{
0x26, 0x1C, 0x00, 0x00
},
"built-in",
Buffer (One)
{
0x00
},
"AAPL,clock-id",
Buffer (One)
{
0x01
},
"device_type",
Buffer (0x05)
{
"EHCI"
},
"AAPL,current-available",
0x0834,
"AAPL,current-extra",
0x0898,
"AAPL,current-extra-in-sleep",
0x0640,
"AAPL,device-internal",
0x02,
"AAPL,max-port-current-in-sleep",
0x0834,
Buffer (One)
{
0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)

}

#5
icarl

icarl

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
  • Gender:Male
Thanks ifire. I will try this evening. Quick question when you say correct your device id for ports you mean if doesn't have this

0x26, 0x1C, 0x00, 0x00


then change it to that?

#6
iFIRE

iFIRE

    InsanelyMacaholic

  • Banned
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,807 posts
  • Gender:Male
  • Location:Bcn-Spain
if you use a boot cd Linux and open app Terminal : lspci -nn you have all your devices ids of your hardware. I don`t no yours devices ids the your hardware,

EX: mine


Last login: Wed Feb 27 15:58:39 on ttys000
hostserver:~ iFIRE$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Clarksfield/Lynnfield DMI [8086:d131] (rev 11)
00:03.0 PCI bridge [0604]: Intel Corporation Clarksfield/Lynnfield PCI Express Root Port 1 [8086:d138] (rev 11)
00:08.0 System peripheral [0880]: Intel Corporation Clarksfield/Lynnfield System Management Registers [8086:d155] (rev 11)
00:08.1 System peripheral [0880]: Intel Corporation Clarksfield/Lynnfield Semaphore and Scratchpad Registers [8086:d156] (rev 11)
00:08.2 System peripheral [0880]: Intel Corporation Clarksfield/Lynnfield System Control and Status Registers [8086:d157] (rev 11)
00:08.3 System peripheral [0880]: Intel Corporation Clarksfield/Lynnfield Miscellaneous Registers [8086:d158] (rev 11)
00:10.0 System peripheral [0880]: Intel Corporation QPI Link [8086:d150] (rev 11)
00:10.1 System peripheral [0880]: Intel Corporation QPI Routing and Protocol Registers [8086:d151] (rev 11)
00:1a.0 USB Controller [0c03]: Intel Corporation Ibex Peak USB Universal Host Controller [8086:3b3b] (rev 05)
00:1a.1 USB Controller [0c03]: Intel Corporation Ibex Peak USB Universal Host Controller [8086:3b3e] (rev 05)
00:1a.2 USB Controller [0c03]: Intel Corporation Ibex Peak USB Universal Host Controller [8086:3b3f] (rev 05)
00:1a.7 USB Controller [0c03]: Intel Corporation Ibex Peak USB2 Enhanced Host Controller [8086:3b3c] (rev 05) ...................... EX: 0x3c, 0x3b

, 0x00, 0x00

00:1b.0 Audio device [0403]: Intel Corporation Ibex Peak High Definition Audio [8086:3b56] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port 1 [8086:3b42] (rev 05)
00:1c.1 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port 2 [8086:3b44] (rev 05)
00:1c.2 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port 3 [8086:3b46] (rev 05)
00:1c.3 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port 4 [8086:3b48] (rev 05)
00:1c.6 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port 7 [8086:3b4e] (rev 05)
00:1d.0 USB Controller [0c03]: Intel Corporation Ibex Peak USB Universal Host Controller [8086:3b36] (rev 05)
00:1d.1 USB Controller [0c03]: Intel Corporation Ibex Peak USB Universal Host Controller [8086:3b37] (rev 05)
00:1d.2 USB Controller [0c03]: Intel Corporation Ibex Peak USB Universal Host Controller [8086:3b38] (rev 05)
00:1d.3 USB Controller [0c03]: Intel Corporation Ibex Peak USB Universal Host Controller [8086:3b39] (rev 05)
00:1d.7 USB Controller [0c03]: Intel Corporation Ibex Peak USB2 Enhanced Host Controller [8086:3b34] (rev 05)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation Ibex Peak LPC Interface Controller [8086:3b02] (rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation Ibex Peak 6 port SATA AHCI Controller [8086:3b22] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation Ibex Peak SMBus Controller [8086:3b30] (rev 05)
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Unknown device [1002:68b8]
01:00.1 Audio device [0403]: ATI Technologies Inc Unknown device [1002:aa58]
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
04:00.0 IDE interface [0101]: JMicron Technology Corp. 20360/20363 Serial ATA Controller [197b:2363] (rev 02)
05:00.0 IDE interface [0101]: JMicron Technology Corp. 20360/20363 Serial ATA Controller [197b:2363] (rev 03)
06:00.0 IDE interface [0101]: JMicron Technology Corp. 20360/20363 Serial ATA Controller [197b:2363] (rev 03)
07:06.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) [104c:8024]
hostserver:~ iFIRE$

#7
icarl

icarl

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
  • Gender:Male
I'm not familiar with linux, I assume ubuntu flavor should work...always wanted to try it. I have ioregistry explorer a mac osx utility that I think can do that. I'm looking for a USB2 controller id then? I also have USB3. So my issues with sleep and audio are USB related then. Do I need any special HDA kext for audio?
thanks again for replying

#8
iFIRE

iFIRE

    InsanelyMacaholic

  • Banned
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,807 posts
  • Gender:Male
  • Location:Bcn-Spain

look in your dsdt session EHC1 and EHC2 , for audio use VoodooHDA or a Applehda.kext conform your codec ALC ....?


Attached File  DPCIManager.app.zip   633.97KB   10 downloads



#9
icarl

icarl

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
  • Gender:Male
ifire which controller i should look at #2?

Attached Files



#10
iFIRE

iFIRE

    InsanelyMacaholic

  • Banned
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,807 posts
  • Gender:Male
  • Location:Bcn-Spain
Edit in your DSDT

in EHC1 is 1e26 = 0x26 0x1e 0x00 0x00

in EHC2 is 1e2d = 0x2d 0x1e 0x00 0x00

#11
icarl

icarl

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
  • Gender:Male
Darn it didn't work. it doesn't wake up...do I need sleep enabler kext along with the patch? by the way do you put dsdt in root or extra? I put in extra folder.

As far as audio i tried all kinds of kexts, voodoo, patched HDA alc269 none work. 2.8ver voodoo worked but no microphone or auto switch to headphone...

#12
iFIRE

iFIRE

    InsanelyMacaholic

  • Banned
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,807 posts
  • Gender:Male
  • Location:Bcn-Spain

FIX SLEEP DSDT USB IDS APPLE: DSDT: trick retail drivers by changing "device-id" (e.g USB) - DSDT - InsanelyMac Forum



sleep:Proper combination for sleep is:

1) patched HPET, TIMR, RTC, PIC sections
2) patched EHCI/UHCI sections
3) patched AppleLPC kext to match chipset id
4) removed NullCPUPowerManagement,
5) patched AppleRTC kext to solve CMOS reset after sleep

#13
icarl

icarl

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
  • Gender:Male
wow.. that may be over my head and therefore no hope...Thanks for helping and responding ifire..
What was your patching on my dsdt suppose to do? I'm trying to see what did I achieve by editing the 2 controllers.
I'm trying to understand all this dsdt stuff. thanks again

#14
drone4zone

drone4zone

    InsanelyMac Protégé

  • Members
  • Pip
  • 48 posts

Need Help DSDT patching my Laptop Asus G73JH Specifications: Asus G73JH-xx

Processor: Intel Clarksfield Core i7-740qm, 1.73-2.93GHz  

.Bios 213 2011.02.24

Chipset: HM55
.

Video Card: AMD Radeon 5870 mobility 1Gb

. ID#PCI\VEN_1002&DEV_68A0&SUBSYS_1C021043&REV_00

Monitor:
. ID#MONITOR\AUO109D

BlueTooth : Azurewave Model ?
.

Ethernet: Atheros AR8131

. ID#PCI\VEN_1969&DEV_1063&SUBSYS_18201043&REV_C0

KEXT: ALXEthernet.kext

Note:Crashes when copying files larger then 7Gb 

 

WiFi: Atheros Azurwave AR9285 
. ID#PCI\VEN_168C&DEV_002B&SUBSYS_10891A3B&REV_1

Optical Disk : LG Blue Ray Combo
. Model: hl-dt-st bddvdrw ct21n

TouchPad: Synaptics
. ID#ACPI\SYN0A06

WebCam: Chicony
. ID#USB\VID_04F2&PID_B106&REV_8915&MI_00

Audio: Realtek HD Audio ACL 269
. ID#HDAUDIO\FUNC_01&VEN_10EC&DEV_0269&SUBSYS_10431373&REV_1000

Audio: ATI HDMI
. ID#HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1002

Memory Card Reader: Alcor AU6433
. ID#
. KEXT: Default Mass Storage Class driver from OS X                 

 

                                                                                                                      Audio and  video sleep change resolutions  are having issues

 

   Asus G73JH-xx i7-740QM HD5870m - Mavericks 10.9.X - OSx86 10.9 (Mavericks) - InsanelyMac Forum  is the link  started 







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy