Jump to content

DeviceMergeNub for _DSM style injection


  • Please log in to reply
49 replies to this topic

#21
old_eye

old_eye

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

BTW: If anybody is interested in a FireWire injector I can make that too (FireWireMergeNub)
Let me know if that is the case... :)

Well, that would be a real heip - the onboard firewire A (400) is recognized - the Firewire B (800) PCI card is constantly ignored. My MB: Giga GA 45-DS3.

To remove AppleHPET.kext from S/L/E makes the card visible but not working (I want to use a Lexar FW800 cardreader).

What infos else are needed? Thanx in advance

#22
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,616 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

Well, that would be a real heip - the onboard firewire A (400) is recognized - the Firewire B (800) PCI card is constantly ignored. My MB: Giga GA 45-DS3.

To remove AppleHPET.kext from S/L/E makes the card visible but not working (I want to use a Lexar FW800 cardreader).

What infos else are needed? Thanx in advance

FireWireMergeNub has been created but it is for injecting info in FireWire Devices (use this injector -> DeviceMergeNub -> to inject stuff into the PCI card).
It probably is better to fix the FireWire card from within DSDT in this case (look on the forum, plenty of info on it)

hi andy

if you can do it for 10.5 it should be great

other things:
for sound i have this 3 cards:


Realtek High Definition Audio

HDAUDIO\FUNC_01&VEN_10EC&DEV_0262&SUBSYS_104D2200&REV_1001
HDAUDIO\FUNC_01&VEN_10EC&DEV_0262&SUBSYS_104D2200

HDAUDIO\FUNC_01&CTLR_VEN_8086&CTLR_DEV_284B&VEN_10EC&DEV_0262&REV_1001
HDAUDIO\FUNC_01&CTLR_VEN_8086&VEN_10EC&DEV_0262&REV_1001
HDAUDIO\FUNC_01&VEN_10EC&DEV_0262&REV_1001
HDAUDIO\FUNC_01&CTLR_VEN_8086&CTLR_DEV_284B&VEN_10EC&DEV_0262
HDAUDIO\FUNC_01&CTLR_VEN_8086&VEN_10EC&DEV_0262
HDAUDIO\FUNC_01&VEN_10EC&DEV_0262
HDAUDIO\FUNC_01&CTLR_VEN_8086&CTLR_DEV_284B&VEN_10EC
HDAUDIO\FUNC_01&CTLR_VEN_8086&VEN_10EC
HDAUDIO\FUNC_01&VEN_10EC
HDAUDIO\FUNC_01&CTLR_VEN_8086&CTLR_DEV_284B
HDAUDIO\FUNC_01&CTLR_VEN_8086
HDAUDIO\FUNC_01&GF&VEN_10EC&DEV_0262&SUBSYS_104D2200&REV_1001
HDAUDIO\FUNC_01

AVerMedia Hybrid H/W MPEG Card, M115S (DVBT/NTSC/PAL/SECAM)

PCI\VEN_1131&DEV_7133&SUBSYS_E8361461&REV_D1
PCI\VEN_1131&DEV_7133&SUBSYS_E8361461
PCI\VEN_1131&DEV_7133&CC_048000
PCI\VEN_1131&DEV_7133&CC_0480

PCI\VEN_1131&DEV_7133&REV_D1
PCI\VEN_1131&DEV_7133
PCI\VEN_1131&CC_048000
PCI\VEN_1131&CC_0480
PCI\VEN_1131
PCI\CC_048000
PCI\CC_0480

00000008
PCI\VEN_1131&DEV_7133&SUBSYS_E8361461&REV_D1\4&332BEDD2&0&20F0

IDT High Definition Audio CODEC

HDAUDIO\FUNC_01&VEN_8384&DEV_7664&SUBSYS_104D2200&REV_1002
HDAUDIO\FUNC_01&VEN_8384&DEV_7664&SUBSYS_104D2200

HDAUDIO\FUNC_01&CTLR_VEN_8086&CTLR_DEV_284B&VEN_8384&DEV_7664&REV_1002
HDAUDIO\FUNC_01&CTLR_VEN_8086&VEN_8384&DEV_7664&REV_1002
HDAUDIO\FUNC_01&VEN_8384&DEV_7664&REV_1002
HDAUDIO\FUNC_01&CTLR_VEN_8086&CTLR_DEV_284B&VEN_8384&DEV_7664
HDAUDIO\FUNC_01&CTLR_VEN_8086&VEN_8384&DEV_7664
HDAUDIO\FUNC_01&VEN_8384&DEV_7664
HDAUDIO\FUNC_01&CTLR_VEN_8086&CTLR_DEV_284B&VEN_8384
HDAUDIO\FUNC_01&CTLR_VEN_8086&VEN_8384
HDAUDIO\FUNC_01&VEN_8384
HDAUDIO\FUNC_01&CTLR_VEN_8086&CTLR_DEV_284B
HDAUDIO\FUNC_01&CTLR_VEN_8086
HDAUDIO\FUNC_01&GF&VEN_8384&DEV_7664&SUBSYS_104D2200&REV_1002
HDAUDIO\FUNC_01


do you think i can use the 3 atthe same time with this?
-_-

Yes, use IOPCIPrimaryMatch instead of IOPCIClassMatch and make 3 entries (one for each card) under IOKitPersonalities.
Use a different layout-id for each card and patch AppleHDA accordingly (should work)
Hope this helps. :)

#23
jlvaio

jlvaio

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 220 posts

Yes, it is for Snow only but it properly can be recompiled for Tiger / Leopard.
If you want that I'll build it for you.
Let me know....


can you do it?

cause i use 10.5.8

thank you

#24
Time2Retire

Time2Retire

    Retired

  • Retired Developers
  • 1,012 posts
  • Gender:Female
  • Location:anonymouse.eu
@Andy: Just an idea of course, but wouldn't this be a great addition for Chameleon? I mean to expand the device-properties injection so that we can do this kind of things without a kext. What do you think? Would this be possible?

#25
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,616 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

can you do it?

cause i use 10.5.8

thank you

Allready done.
Download the DeviceMergeNub_all_os.zip package, navigate within it to build/Release Leopard and use one of the posted plists.
It'll work... ;)

@Andy: Just an idea of course, but wouldn't this be a great addition for Chameleon? I mean to expand the device-properties injection so that we can do this kind of things without a kext. What do you think? Would this be possible?

I believe somebody did that allready (but it only works for the device itself, not the driver classes since they attach after boot)

#26
Rik26

Rik26

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 254 posts

Yes, it should be possible.

You need to inject the following:
AAPL,slot-name (the name of the slot of the device e.g. PCI-0)
device_type (the type of the device e.g. ethernet)
model (the model of the device e.g. Atheros AR8132 Fast Ethernet Network Adapter

NOTE: AAPL,slot-name must be unique for each device.
You can use multiple IOKitPersonalities entries for it and all of the above can use type string.

Hi Andy! I tried to insert in info.plist the values for injecting PCI cards spec (Ethernet in this case) in the homonymous section of System Profiler. I put the kext in extra/extensions, and at reboot I got KP. I upload my info.plist... Could you look at it please? Before trying your kext I read this post http://www.insanelym...howtopic=134842
I'd like to obtain the same thing with your kext if it's possible...
Thanks for your work and sorry for my English....

Attached Files



#27
ivik

ivik

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 280 posts
Too bad that this doesn't work with CPUPLimit. I can inject 0x0, but frequency doesn't change :/

#28
kirasir

kirasir

    InsanelyMac Protégé

  • Members
  • PipPip
  • 83 posts
  • Gender:Male
  • Location:St. Petersburg
Andy, add this project into Chameleon, instead of just {censored}.

#29
Time2Retire

Time2Retire

    Retired

  • Retired Developers
  • 1,012 posts
  • Gender:Female
  • Location:anonymouse.eu

I believe somebody did that allready (but it only works for the device itself, not the driver classes since they attach after boot)

Right. I should have known this. Thanks.

#30
jlvaio

jlvaio

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 220 posts

Allready done.
Download the DeviceMergeNub_all_os.zip package, navigate within it to build/Release Leopard and use one of the posted plists.
It'll work... :)


I believe somebody did that allready (but it only works for the device itself, not the driver classes since they attach after boot)


thanks

#31
Rik26

Rik26

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 254 posts

Hi Andy! I tried to insert in info.plist the values for injecting PCI cards spec (Ethernet in this case) in the homonymous section of System Profiler. I put the kext in extra/extensions, and at reboot I got KP. I upload my info.plist... Could you look at it please? Before trying your kext I read this post http://www.insanelym...howtopic=134842
I'd like to obtain the same thing with your kext if it's possible...
Thanks for your work and sorry for my English....

I don't understand how modify info.plist only for this injection in PCI cards...

#32
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,616 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

I don't understand how modify info.plist only for this injection in PCI cards...

Try using /S/L/E instead of /E/E.
Make sure you use IOPCIPrimaryMatch to match the device you wish to inject.

#33
Rik26

Rik26

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 254 posts

Try using /S/L/E instead of /E/E.
Make sure you use IOPCIPrimaryMatch to match the device you wish to inject.

Thanks for your patience Andy but I don't understand. I'm a newbie on plist editor... could you modify the info.plist I attach in this post with the exactly string?. I tried but I had no luck.. Sorry and thanks

Attached Files



#34
harbri

harbri

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
  • Gender:Male

It is pity that modifying vendor id and device id doesn't make kext driver loaded.
But,I don't need natit anymore.
By injecting information,I got my graphic card enabled and make my wireless look like an AirPort Extreme Card.



Good job,Andy! :angel:


Could you please post your plist. I'm curious how you got your graphic card working as I get a kernel panic each time I try it this way.
Thx!

harbri

#35
Eps

Eps

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts

Could you please post your plist. I'm curious how you got your graphic card working as I get a kernel panic each time I try it this way.
Thx!

harbri


Ohh.....yes,go ahead.
This info.plist is for GMA 950(27AE) graphic and lots more infomation for my HP mini 2140.

Attached File  Info.plist.zip   9.58KB   87 downloads

#36
harbri

harbri

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
  • Gender:Male

Ohh.....yes,go ahead.
This info.plist is for GMA 950(27AE) graphic and lots more infomation for my HP mini 2140.

Attached File  Info.plist.zip   9.58KB   87 downloads


Thx!
That's an impressive piece of work, I can learn a lot from it.

harbri

#37
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,427 posts
  • Gender:Male
  • Location:Tru, Venezuela

Ohh.....yes,go ahead.
This info.plist is for GMA 950(27AE) graphic and lots more infomation for my HP mini 2140.

OMG! Very impressive. Please, can you upload your .ioreg (from IORegistryExplorer) Please Please Please jejeje. Thanks.

#38
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,956 posts
  • Gender:Male
  • Location:Moscow
Andy, just two words, what is the difference of the project from old Natit?

#39
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,616 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

Andy, just two words, what is the difference of the project from old Natit?

Check the source.
It is based on AppleUSBMergeNub (which is a generic USB injector).

#40
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,956 posts
  • Gender:Male
  • Location:Moscow

Check the source.
It is based on AppleUSBMergeNub (which is a generic USB injector).

So this project is special for USB?
Ordinary Natit == _DSM for any PCI devices.





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