Jump to content

DSDT: trick retail drivers by changing "device-id" (e.g USB)


  • Please log in to reply
365 replies to this topic

#261
FKA

FKA

    are we there yet?

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,626 posts
  • Gender:Male
In short it doesn't seem to -

Got sleep back with SL using the below [ICH9-R as ICH10-R]
(credit zhell, ApexDE and mitch_de)

[codebox] Device (USB0)
{
Name (_ADR, 0x001D0000)
Method (_S3D, 0, NotSerialized)
{
If (LEqual (OSFL, 0x02))
{
Return (0x02)
}

Return (0x03)
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x34, 0x3A, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

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

Device (USB1)
{
Name (_ADR, 0x001D0001)
Method (_S3D, 0, NotSerialized)
{
If (LEqual (OSFL, 0x02))
{
Return (0x02)
}

Return (0x03)
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x35, 0x3A, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

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

Device (USB2)
{
Name (_ADR, 0x001D0002)
Method (_S3D, 0, NotSerialized)
{
If (LEqual (OSFL, 0x02))
{
Return (0x02)
}

Return (0x03)
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x36, 0x3A, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

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

Device (US31)
{
Name (_ADR, 0x001D0003)
Method (_S3D, 0, NotSerialized)
{
If (LEqual (OSFL, 0x02))
{
Return (0x02)
}

Return (0x03)
}

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

Device (USB3)
{
Name (_ADR, 0x001A0000)
Method (_S3D, 0, NotSerialized)
{
If (LEqual (OSFL, 0x02))
{
Return (0x02)
}

Return (0x03)
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x37, 0x3A, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

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

Device (USB4)
{
Name (_ADR, 0x001A0001)
Method (_S3D, 0, NotSerialized)
{
If (LEqual (OSFL, 0x02))
{
Return (0x02)
}

Return (0x03)
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x38, 0x3A, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

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

Device (USB5)
{
Name (_ADR, 0x001A0002)
Method (_S3D, 0, NotSerialized)
{
If (LEqual (OSFL, 0x02))
{
Return (0x02)
}

Return (0x03)
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x39, 0x3A, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

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

Device (EHC1)
{
Name (_ADR, 0x001D0007)
Method (_S3D, 0, NotSerialized)
{
If (LEqual (OSFL, 0x02))
{
Return (0x02)
}

Return (0x03)
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x06)
{
"AAPL,clock-id",
Buffer (One)
{
0x01
},

"device_type",
Buffer (0x05)
{
"EHCI"
},

"device-id",
Buffer (0x04)
{
0x3A, 0x3A, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

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

Device (EHC2)
{
Name (_ADR, 0x001A0007)
Method (_S3D, 0, NotSerialized)
{
If (LEqual (OSFL, 0x02))
{
Return (0x02)
}

Return (0x03)
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x06)
{
"AAPL,clock-id",
Buffer (One)
{
0x02
},

"device_type",
Buffer (0x05)
{
"EHCI"
},

"device-id",
Buffer (0x04)
{
0x3C, 0x3A, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

Name (_PRW, Package (0x02)
{
0x0D,
0x03
})
}
[/codebox]

Have Fun
D.

#262
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,858 posts
  • Gender:Male
  • Location:Brazil
Hello.
I used this method and now manual sleep is working, and automatic sleep works using RIP script, but after waking from sleep I can't restart the computer, it just hangs. Did anyone have this problem?
Thanks.

#263
FKA

FKA

    are we there yet?

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,626 posts
  • Gender:Male

Hello.
I used this method and now manual sleep is working, and automatic sleep works using RIP script, but after waking from sleep I can't restart the computer, it just hangs. Did anyone have this problem?
Thanks.


yes - I've gone back to using openhaltrestart and it all appears to be fine.

D.

#264
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,858 posts
  • Gender:Male
  • Location:Brazil

yes - I've gone back to using openhaltrestart and it all appears to be fine.

D.


Strange, I'm still using OpenHaltRestart, never removed it. Shutdown works fine, just restart hangs after "MACH reboot", only if the computer has slept.

BTW, found this app to fix auto sleep in another thread, it's like RIP.app with some options in a GUI
http://www.dragonone...sx/pleasesleep/

Just one more quick question: how's your CPU temperature after being sleeping for a while? Using Windows, after some time sleeping CPU temperature is lower than before, but using Mac OS the temperature is the same or higher. Maybe there's something wrong with sleep on Mac?

Thanks.

#265
FKA

FKA

    are we there yet?

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,626 posts
  • Gender:Male

Just one more quick question: how's your CPU temperature after being sleeping for a while? Using Windows, after some time sleeping CPU temperature is lower than before, but using Mac OS the temperature is the same or higher. Maybe there's something wrong with sleep on Mac?

Thanks.


In the time it takes the system and monitor to wake up, I can see the temp climb to it's usual idle.
D

#266
Flashe

Flashe

    Flashy ~ Flasheu

  • Members
  • PipPipPipPipPip
  • 298 posts
  • Location:93 Carats
Hi,
I do not see or inseret the lines located in the first post of the topic.
I post my dsdt.dsl ,menbre if one wants to make changes.
Sleep don't work for me,i have delete NullCPUPowermanagement after tested disabler and sleepenabler don't work too.

Attached Files



#267
Don Quijote

Don Quijote

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts

Hi,
I do not see or inseret the lines located in the first post of the topic.
I post my dsdt.dsl ,menbre if one wants to make changes.
Sleep don't work for me,i have delete NullCPUPowermanagement after tested disabler and sleepenabler don't work too.

Here you go. Try sleep with this one (I've included both compiled and decompiled version, you can simply copy the compiled aml to /Extra and reboot)

Attached Files



#268
Flashe

Flashe

    Flashy ~ Flasheu

  • Members
  • PipPipPipPipPip
  • 298 posts
  • Location:93 Carats
Hi,
Thanks Don Quijote this dsdt modifié work for me.SLEEP work perfect,good job.
I tried for a month but to no avail.

Thanks a lot another :D

#269
fc bayern

fc bayern

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 214 posts
  • Gender:Male
  • Location:Macedonia
Cold you pls , help me , making a DSDT.aml for me.
If You are interested , I'll send you my configuration.
Mobo i s P5K SE crossflashed to P5KR(cause of the AHCI in bios)
tnaks

#270
Don Quijote

Don Quijote

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts

Cold you pls , help me , making a DSDT.aml for me.
If You are interested , I'll send you my configuration.
Mobo i s P5K SE crossflashed to P5KR(cause of the AHCI in bios)
tnaks

post uour dsdt.aml here. as soon as i'll get some available time for it i'll do it for you.

#271
MrHanky

MrHanky

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts
Hey guys,
I'm trying to apply the UHCI- and EHCI-Fix to my DSDT.aml. But if I apply the UHCI-Fix my USB doesn't work as it should (for example clicks with my mouse aren't recognized) and the EHCI-Fix brakes my sleep (computer won't turn off). Maybe someone of you experienced guys could help me out? :)

I have a GA-EP35-DS3, running 10.6.1 (with /Extra-folder, 64Bit). I'm using the following kexts:
  • AHCIPortInjector.kext
  • ALC889a.kext
  • AppleACPIPS2Nub.kext
  • ApplePS2Controller.kext
  • fakesmc.kext
  • IOAHCIBlockStorageInjector.kext
  • JMicronATA.kext
  • LegacyJMB36xSATA.kext
  • NullCPUPowerManagement.kext
  • OpenHaltRestart.kext
  • PlattformUUID.kext
  • SleepEnabler.kext

I hope you can help me and i provided every information needed. Feel free to post a fixed DSDT.dsl (mine is attached). :)

Jannis

Attached Files



#272
Don Quijote

Don Quijote

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
try this dsdt. included both compiled and decompiled version. put compiled version in /Extra, reboot and report.

Hey guys,
I'm trying to apply the UHCI- and EHCI-Fix to my DSDT.aml. But if I apply the UHCI-Fix my USB doesn't work as it should (for example clicks with my mouse aren't recognized) and the EHCI-Fix brakes my sleep (computer won't turn off). Maybe someone of you experienced guys could help me out? :(

I have a GA-EP35-DS3, running 10.6.1 (with /Extra-folder, 64Bit). I'm using the following kexts:

  • AHCIPortInjector.kext
  • ALC889a.kext
  • AppleACPIPS2Nub.kext
  • ApplePS2Controller.kext
  • fakesmc.kext
  • IOAHCIBlockStorageInjector.kext
  • JMicronATA.kext
  • LegacyJMB36xSATA.kext
  • NullCPUPowerManagement.kext
  • OpenHaltRestart.kext
  • PlattformUUID.kext
  • SleepEnabler.kext

I hope you can help me and i provided every information needed. Feel free to post a fixed DSDT.dsl (mine is attached). :)

Jannis

Attached Files



#273
Flashe

Flashe

    Flashy ~ Flasheu

  • Members
  • PipPipPipPipPip
  • 298 posts
  • Location:93 Carats
Hi,
The problem I encounter is that in the information system there is nothing that appears.
No PCI card seems to be installed on this computer.
This Ethernet cards not to reference in info system:
Adaptateur Ethernet (en1)
Built-in Serial Port (1)
Ethernet
I have:
Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
Realtek RTL8169/8110 Family Gigabit Ethernet NIC
Realtek RTL8187 Wireless 802.11g 54Mbps USB 2.0 Network Adapter
Analog Devices AD1988B @ Intel 82801IB ICH9 - High Definition Audio Controller

Possible to fix the dsdt more information about devices(Pci/Pcie) ect ect.......
I know this is cosmetic but would know when one connects those who are multiple Ethernet ports on which it is plugged in info system and about how such slot pci card and each other are connected .

Thanks a lot for the help, you can give me, I attached files to this poste .
My dsdt is what post above,sleep work for me fixe by Don Quijote.

Example of devices injecter pci and other,me i don't have. 

Attached Files



#274
fc bayern

fc bayern

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 214 posts
  • Gender:Male
  • Location:Macedonia
Don Quijote,
Here is my DSDTL
Thank You

Attached Files



#275
Don Quijote

Don Quijote

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
here you go. report back with results.
Attached File  dsdt_fcbayern.zip   41.53KB   18 downloads

Don Quijote,
Here is my DSDTL
Thank You



#276
fc bayern

fc bayern

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 214 posts
  • Gender:Male
  • Location:Macedonia
Don Quijote
My dsdtl is from my leopard instalation, on My SL i did'n use dsdtl
Does it make any difference.(i think is has all the nessesary hardware information).
My question was : can I use this dsdtl on the SL
thanks

#277
MrHanky

MrHanky

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts
Thank you very much, Don Quijote. But I was wondering, your posted DSDT.aml is different compared to mine. My sound and the powerbutton fix didn't work - but never mind. :)

The UHCI-Fix and EHCI-Fix work, but I can't wake the system by USB-mouse or keyboard. Any tipps or questions?

#278
BugsB

BugsB

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,513 posts
  • Gender:Male
  • Location:Kauai, Hawai'i
A quick question: my PCMCIA stopped working in Snow Leo. I use the IOPCMCIAFamily.kext for 10.5.6 from ~Eureka's aka Chun-Nan's repertoire which is the only IOPCCardFamily/ IOPCIFamily combo known to also work in Snow. It successfully enables LAN & WLAN, but for PCMCIA I now get
IOPCCard notice: Bad bridge mapping at 0xd2100000!
IOPCCard info: no bridges found.
IOPCCardBridge::start faile
Yes, I deleted the existing IOPCIFamily.kext from S/L/E, and I also tried a couple of different IOPCCardFamily.kexts (beta 1.6.4 rev8 was the IOPCCardFamily/ IOPCIFamily combo working for me in Leo).

I wonder if that is s.th. that can be addressed in the DSDT at all? Unfortunately Chun Nan's only IOPCIFamily.kext which corrected the buggy PCI bridge mapping and gave me PCMCIA in Leo causes a KP in Snow ..

I attached current DSDT + lspci -v from Kantotix.

Can this be addressed in the DSDT?

Attached Files



#279
gengstapo

gengstapo

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
Hella

Is it possible to solve USB Wifi adapter in SL using DSDT/ modified the Apple plist?
My adapter was G-122 rev.C1 & WUSB54G v4.

Thanks

#280
Don Quijote

Don Quijote

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts

Thank you very much, Don Quijote. But I was wondering, your posted DSDT.aml is different compared to mine. My sound and the powerbutton fix didn't work - but never mind. :hysterical:

The UHCI-Fix and EHCI-Fix work, but I can't wake the system by USB-mouse or keyboard. Any tipps or questions?

I'm not an expert in dsdt, but i think that the power button can bring the menu only when running on a laptop. Glad it worked the fix. I've also changed AZAL with HDEF in you dsdt (purelly cosmetic) and fixed some warnings.

Hella

Is it possible to solve USB Wifi adapter in SL using DSDT/ modified the Apple plist?
My adapter was G-122 rev.C1 & WUSB54G v4.

Thanks

Maybe modifing the plist can help you. In dsdt you can only define onboard devices. But that's another discussion, out of the current topic. Please open a new one or write in the corresponding one about your problem.





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