Jump to content
zhell

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

366 posts in this topic

Recommended Posts

try it

dsdt.fingerr.zip

NativePM and restart fix use Chameleon RC5

Hi MaLd0n,

thanks for quick reply. I'll try in a moment.

Can you tell me what patches you've applied and send me modified dst file?

Can I use AnVAL bootloader (http://www.insanelymac.com/forum/index.php?showtopic=216726) instead of Chameleon RC5?

 

 

Thanks in advance,

fingerr.

Share this post


Link to post
Share on other sites
Advertisement
Hi MaLd0n,

thanks for quick reply. I'll try in a moment.

Can you tell me what patches you've applied and send me modified dst file?

Can I use AnVAL bootloader (http://www.insanelymac.com/forum/index.php?showtopic=216726) instead of Chameleon RC5?

 

 

Thanks in advance,

fingerr.

 

DTGP

EHCI

FN

IRQs

LPC*

OS

RTC

SMBUS

SHUTDOWN

UHCI

FIX WARNINGS and ERRORS

sem_erros.zip

Share this post


Link to post
Share on other sites
DTGP

EHCI

FN

IRQs

LPC*

OS

RTC

SMBUS

SHUTDOWN

UHCI

FIX WARNINGS and ERRORS

sem_erros.zip

Big thanks MaLd0n for your help!!

 

Unfortunately sleep still doesn't work but I can live with that :-)

All other fixed seems to work :-)

 

Can't wait to see someone find a way to make use of GMA HD or Nvidia Optimus 310M working under Hacks.

 

Best regards,

fingerr.

Share this post


Link to post
Share on other sites
Big thanks MaLd0n for your help!!

 

Unfortunately sleep still doesn't work but I can live with that :-)

All other fixed seems to work :-)

 

Can't wait to see someone find a way to make use of GMA HD or Nvidia Optimus 310M working under Hacks.

 

Best regards,

fingerr.

what happens to sleep?

 

send me a log

cat /var/log/kernel.log

and

grep Wake /var/log/kernel.log

and

kextstat

 

CStates

ioreg -lw0 | grep CSTInfo

Share this post


Link to post
Share on other sites
what happens to sleep?

 

send me a log

cat /var/log/kernel.log

and

grep Wake /var/log/kernel.log

and

kextstat

 

CStates

ioreg -lw0 | grep CSTInfo

When I choose Sleep, mouse pointer disapears, no response when I move touchpad or keyboard, I have to press powerbutton, and then Sleep/Shutdown/Restart window appears. Looks like it is preparing to go to sleep but screen stays on.

Attached are kern.log and kextstat.

grep Wake /var/log/kernel.log

doesn't return anything.

 

bash-3.2# ioreg -lw0 | grep CSTInfo

| | | "CSTInfo" = 19136773

 

Best regards,

fingerr.

kernel.zip

kextstat.zip

Share this post


Link to post
Share on other sites
When I choose Sleep, mouse pointer disapears, no response when I move touchpad or keyboard, I have to press powerbutton, and then Sleep/Shutdown/Restart window appears. Looks like it is preparing to go to sleep but screen stays on.

Attached are kern.log and kextstat.

grep Wake /var/log/kernel.log

doesn't return anything.

 

bash-3.2# ioreg -lw0 | grep CSTInfo

| | | "CSTInfo" = 19136773

 

Best regards,

fingerr.

 

ok

 

EvOreboot

try it

if not resolve

try another shutdown

Share this post


Link to post
Share on other sites
ok

 

EvOreboot <--- Shutdown in DSDT , restart in Chameleon RC5

try it

if not resolve

try another shutdown

EvOreboot removed, but the same situation.

 

Feb 15 21:28:13 Mac-Pro-user kernel[0]: hibernate image path: /var/vm/sleepimage
Feb 15 21:28:13 Mac-Pro-user kernel[0]: sizeof(IOHibernateImageHeader) == 512
Feb 15 21:28:13 Mac-Pro-user kernel[0]: Opened file /var/vm/sleepimage, size 4294967296, partition base 0x6bd16c5600, maxio 400000 ssd 0
Feb 15 21:28:13 Mac-Pro-user kernel[0]: hibernate image major 14, minor 4, blocksize 512, pollers 5
Feb 15 21:28:13 Mac-Pro-user kernel[0]: AirPort: Link Down on en2. Reason 8 (Disassociated because station leaving).
Feb 15 21:28:13 Mac-Pro-user kernel[0]: hibernate_alloc_pages flags 00000000, gobbling 0 pages
Feb 15 21:28:13 Mac-Pro-user kernel[0]: hibernate_setup(0) took 0 ms
Feb 15 21:28:13 Mac-Pro-user kernel[0]: en2: 802.11d country code set to 'ZW'.
Feb 15 21:28:13 Mac-Pro-user kernel[0]: ATHR: unknown locale: 60
Feb 15 21:28:13 Mac-Pro-user kernel[0]: en2: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13
Feb 15 21:28:13 Mac-Pro-user kernel[0]: USBF:	183.535	AppleUSBEHCI[0x6c7e800]::ResumeUSBBus - controller took (10) turns to get going
Feb 15 21:28:14 Mac-Pro-user kernel[0]: System Doze
Feb 15 21:28:34 Mac-Pro-user kernel[0]: ATHR: unknown locale: 60
Feb 15 21:28:36 Mac-Pro-user kernel[0]: en2: 802.11d country code set to 'SA'.
Feb 15 21:28:36 Mac-Pro-user kernel[0]: ATHR: unknown locale: 60
Feb 15 21:28:36 Mac-Pro-user kernel[0]: en2: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13
Feb 15 21:28:37 Mac-Pro-user kernel[0]: AirPort: Link Up on en2
Feb 15 21:28:37 Mac-Pro-user kernel[0]: AirPort: RSN handshake complete on en2










Feb 15 21:29:02 Mac-Pro-user kernel[0]: AirPort: Link Down on en2. Reason 8 (Disassociated because station leaving).
Feb 15 21:29:02 Mac-Pro-user kernel[0]: en2: 802.11d country code set to 'SA'.
Feb 15 21:29:02 Mac-Pro-user kernel[0]: ATHR: unknown locale: 60
Feb 15 21:29:02 Mac-Pro-user kernel[0]: en2: Supported crehannels 1 2 3 4 5 6 7 8 9 10 11 12 13
Feb 15 21:29:02 Mac-Pro-user kernel[0]: USBF:	232.185	AppleUSBEHCI[0x6c7e800]::ResumeUSBBus - controller took (9) turns to get going
Feb 15 21:29:03 Mac-Pro-user kernel[0]: System Doze
Feb 15 21:29:20 Mac-Pro-user kernel[0]: ATHR: unknown locale: 60
Feb 15 21:29:20 Mac-Pro-user kernel[0]: en2: 802.11d country code set to 'SA'.
Feb 15 21:29:20 Mac-Pro-user kernel[0]: ATHR: unknown locale: 60
Feb 15 21:29:20 Mac-Pro-user kernel[0]: en2: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13
Feb 15 21:29:20 Mac-Pro-user kernel[0]: AirPort: Link Up on en2
Feb 15 21:29:21 Mac-Pro-user kernel[0]: AirPort: RSN handshake complete on en2

 

Can you please point me which Chameleon RC5? I've found a lot of branches of it..... (right now I use AnVAL bootloader)

 

Best regards,

fingerr.

Share this post


Link to post
Share on other sites
EvOreboot removed, but the same situation.

Shutdown and restart works?

this kext has nothing to do with it

USBs appear as the "integrated USB"?

 

Can you please point me which Chameleon RC5? I've found a lot of branches of it..... (right now I use AnVAL bootloader)

 

ok

should work the same way

Share this post


Link to post
Share on other sites
Shutdown and restart works?

this kext has nothing to do with it

USBs appear as the "integrated USB"?

 

 

 

ok

should work the same way

Shutdown and restart works perfectly and SystemProfiler says integrated USB.

One thing is IOReg shows errata 0x0, according to 1-st post this can be problem "(see the "Errata" property of "AppleUSBUHCI" devices in IORegistryExplorer: if it is 0x0, the driver has probably not recognized the device)." Or maybe lack of full support for Intel GMA HD can prevent going into sleep.

 

Best regards,

fingerr.

Share this post


Link to post
Share on other sites

I have a synaptics 7.5 trackpad on my laptop. Could I insert a device id into dsdt to use apples usbmultiouch kext?

 

If so, how would I do so?

Share this post


Link to post
Share on other sites

Is wake working properly in Mountain Lion GM?

 

Could it be certain graphics card preventing proper wake? I get a black screen.

 

ASus Maximus Formula ICH9R with MSI GT 9800 graphics card. Sleep/wake works fine in Gigabyte GA-EP45-UD3p Motherboard with same graphics card.

Share this post


Link to post
Share on other sites

What about that:

 

 

00:1a.0 USB Controller [0c03]: Intel Corporation Unknown device [8086:1c2d] (rev 05) (prog-if 20 [EHCI])

Subsystem: Giga-byte Technology Unknown device [1458:5006]

Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-

Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

Latency: 0

Interrupt: pin C routed to IRQ 18

Region 0: Memory at fbffe000 (32-bit, non-prefetchable)

Capabilities: [50] Power Management version 2

Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)

Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Capabilities: [58] Debug port: BAR=1 offset=00a0

Capabilities: [98] PCIe advanced features <?>

00: 86 80 2d 1c 06 00 90 02 05 20 03 0c 00 00 00 00

10: 00 e0 ff fb 00 00 00 00 00 00 00 00 00 00 00 00

20: 00 00 00 00 00 00 00 00 00 00 00 00 58 14 06 50

30: 00 00 00 00 50 00 00 00 00 00 00 00 12 03 00 00

40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00

60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 20 00 c0

70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00

80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00

90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00

a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00

e0: 00 00 00 00 00 00 00 00 00 00 00 00 64 b3 2a 78

f0: 00 00 00 00 86 85 80 00 87 0f 05 08 0a 13 5b 20

 

plus

 

00:1d.0 USB Controller [0c03]: Intel Corporation Unknown device [8086:1c26] (rev 05) (prog-if 20 [EHCI])

Subsystem: Giga-byte Technology Unknown device [1458:5006]

Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-

Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

Latency: 0

Interrupt: pin A routed to IRQ 23

Region 0: Memory at fbffd000 (32-bit, non-prefetchable)

Capabilities: [50] Power Management version 2

Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)

Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Capabilities: [58] Debug port: BAR=1 offset=00a0

Capabilities: [98] PCIe advanced features <?>

00: 86 80 26 1c 06 00 90 02 05 20 03 0c 00 00 00 00

10: 00 d0 ff fb 00 00 00 00 00 00 00 00 00 00 00 00

20: 00 00 00 00 00 00 00 00 00 00 00 00 58 14 06 50

30: 00 00 00 00 50 00 00 00 00 00 00 00 17 01 00 00

40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00

60: 20 20 ff 07 00 00 00 00 01 00 00 01 00 20 00 c0

70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00

80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00

90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00

a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00

e0: 00 00 00 00 00 00 00 00 00 00 00 00 04 b3 2a 78

f0: 00 00 00 00 86 85 80 00 87 0f 05 08 0a 13 5b 20

 

Is there a kext that fits for those ID's?

 

Those are the unrecognized devices:

 

00:00.0 Host bridge: Intel Corporation Unknown device 0100 (rev 09)

00:01.0 PCI bridge: Intel Corporation Unknown device 0101 (rev 09)

00:01.1 PCI bridge: Intel Corporation Unknown device 0105 (rev 09)

00:16.0 Communication controller: Intel Corporation Unknown device 1c3a (rev 04)

00:1a.0 USB Controller: Intel Corporation Unknown device 1c2d (rev 05)

00:1b.0 Audio device: Intel Corporation Unknown device 1c20 (rev 05)

00:1c.0 PCI bridge: Intel Corporation Unknown device 1c10 (rev b5)

00:1c.3 PCI bridge: Intel Corporation Unknown device 1c16 (rev b5)

00:1c.4 PCI bridge: Intel Corporation Unknown device 1c18 (rev b5)

00:1c.6 PCI bridge: Intel Corporation Unknown device 1c1c (rev b5)

00:1c.7 PCI bridge: Intel Corporation Unknown device 1c1e (rev b5)

00:1d.0 USB Controller: Intel Corporation Unknown device 1c26 (rev 05)

00:1f.0 ISA bridge: Intel Corporation Unknown device 1c46 (rev 05)

00:1f.2 SATA controller: Intel Corporation Unknown device 1c02 (rev 05)

00:1f.3 SMBus: Intel Corporation Unknown device 1c22 (rev 05)

01:00.0 VGA compatible controller: nVidia Corporation Unknown device 1081 (rev a1)

01:00.1 Audio device: nVidia Corporation Unknown device 0e09 (rev a1)

02:00.0 USB Controller: NEC Corporation Unknown device 0194 (rev 04)

04:00.0 PCI bridge: Integrated Technology Express, Inc. Unknown device 8892 (rev 10)

06:00.0 USB Controller: NEC Corporation Unknown device 0194 (rev 04)

08:00.0 SATA controller: Unknown device 1b4b:9128 (rev 11)

Hardware.txt

Share this post


Link to post
Share on other sites

No. All that means is that they are unknown to LSPCI. What you see in the LSPCI output has no bearing on functionality, LSPCI matches any device that it finds on the PCI bus to its own internal list (In fact that's one of the reasons why it's so useful to us) If the device is not on the list, it shows as "Unknown Device". You can update it like this:
in Terminal.app enter update-pciids, answer yes at the prompt, then run LSPCI -nn again.

 


usb is not fakeable in dsdt.


As far as I know, it's possible to fake the USB controller itself.

External USB devices, devices that you plug in yourself, are not fakeable, and if I'm understanding things right, neither are devices that may be connected to the USB bus internally, such as a trackpad or a memory card reader on a laptop.

Share this post


Link to post
Share on other sites

THANKS!! Now it looks like it should:

 

bash-3.2# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:01.1 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b5)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation P67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GF110 [GeForce GTX 570] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF110 High Definition Audio Controller (rev a1)
02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
04:00.0 PCI bridge: Integrated Technology Express, Inc. Unknown device 8892 (rev 10)
06:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
08:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9128 PCIe SATA 6 Gb/s RAID controller (rev 11)

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

Announcements

×