Jump to content

Replacing ALL Vendors and IDs for a specific chipset with Macdrive in minutes


xtraa
 Share

8 posts in this topic

Recommended Posts

Hi,

 

I have OSX running on my second HD, and I can easily access all parts with Macdrive from Windows XP.

 

Now you know that every Kext file is handled from there like what it actually is, means a folder. the plist.infos

are displayed as textfiles.

 

So now my idea:

 

Instead of manually looking for every single Vendor and device ID we could make things easier:

 

If I run an XP search tool on my Macdrive, and looking for lets say the vendor and device ID of the "Generic

host controller for Intel Chipsets", then it would be possible, to replace evey single 0x00xxx automatically

with the device and vendor id of my chipset.

 

This way, we would be able, to replace all Vendor/Device strings for every peace of hardware in our

machines in a very easy way.

 

This could optimize our systems, and make them possibly run more stabile or faster. By now, we only played

around with AC97, NVIDIA and ATA kextfiles, but there are so many more periphials in our machines, that we

could recieve even more good results of undetected hardware.

 

What do you think? Is it worth a try? Or do you think it will mess up my system? I would only try this with *.plist files.

Link to comment
Share on other sites

Hi,

 

I have OSX running on my second HD, and I can easily access all parts with Macdrive from Windows XP.

 

Now you know that every Kext file is handled from there like what it actually is, means a folder. the plist.infos

are displayed as textfiles.

 

So now my idea:

 

Instead of manually looking for every single Vendor and device ID we could make things easier:

 

If I run an XP search tool on my Macdrive, and looking for lets say the vendor and device ID of the "Generic

host controller for Intel Chipsets", then it would be possible, to replace evey single 0x00xxx automatically

with the device and vendor id of my chipset.

 

This way, we would be able, to replace all Vendor/Device strings for every peace of hardware in our

machines in a very easy way.

 

This could optimize our systems, and make them possibly run more stabile or faster. By now, we only played

around with AC97, NVIDIA and ATA kextfiles, but there are so many more periphials in our machines, that we

could recieve even more good results of undetected hardware.

 

What do you think? Is it worth a try? Or do you think it will mess up my system? I would only try this with *.plist files.

 

Does windows search look in files?or only for file anmes and extensions?

Link to comment
Share on other sites

Does windows search look in files?or only for file anmes and extensions?

 

Windows search itself just looks just for the files afaik, not for the content. But there are tons of Search tools, that can handle this.

 

For example www.x1.com, or copernic desktop search or locate32...

Link to comment
Share on other sites

Windows search itself just looks just for the files afaik, not for the content. But there are tons of Search tools, that can handle this.

 

For example www.x1.com, or copernic desktop search or locate32...

so you would search for all the info.plists and then get a tool to parse each file for device ids.and another to take the parsed data and replace it with that you want?

 

I dont know if it can be done

Link to comment
Share on other sites

so you would search for all the info.plists and then get a tool to parse each file for device ids.and another to take the parsed data and replace it with that you want?

 

yep exactly! (Sorry 4 explaining that so complicated, my english is ahem...kinda ok :) )

 

What do you think of this freeware: http://www.inforapid.de/html/searchreplace.htm

 

search8cf.th.gif

 

This makes it possible, also to just search in *.plist files.

 

All we need now, is a list of the Devices, with the intel Vendor/IDs and then make another list for the matching

IDs of the chipset on your own Motherboard.

 

i think I will give it a try. i remember ther was a Searchengine for vendors and devices somewhere.

 

What kind of intel Chipsetzs are supported yet?

Link to comment
Share on other sites

so you would search for all the info.plists and then get a tool to parse each file for device ids.and another to take the parsed data and replace it with that you want?

 

I dont know if it can be done

 

 

hey, it's simple and easy. you don't need to have any additional tool on OSX (well, on unix actually).

 

just open the terminal and do a line of commands:

 

perl -e "s/old_text/new_text/g;" -pi.bakup $(find . -type f -name '*.plist')

 

will search from current directory and all sub directory for *.plist files and replace old_text to new_text. plus make backup files which have extension name '*.plist.backup'

 

 

Do you want just find the files which contains 'old_text' ? :

 

find . -name "*.plist" -exec grep -H 'old_text' {} \;

 

will gives you list of file names and matched line contents. ( if you replace 'H' with 'l' then it just gives you a file name - with path)

 

hope this helps.

Link to comment
Share on other sites

hey, it's simple and easy. you don't need to have any additional tool on OSX (well, on unix actually).

 

just open the terminal and do a line of commands:

 

perl -e "s/old_text/new_text/g;" -pi.bakup $(find . -type f -name '*.plist')

 

will search from current directory and all sub directory for *.plist files and replace old_text to new_text. plus make backup files which have extension name '*.plist.backup'

Do you want just find the files which contains 'old_text' ? :

 

find . -name "*.plist" -exec grep -H 'old_text' {} \;

 

will gives you list of file names and matched line contents. ( if you replace 'H' with 'l' then it just gives you a file name - with path)

 

hope this helps.

 

Cheers stmkjp,

 

this is perfect! :)

 

Now we only need to know what kind of supported Intel Chipsets OSX has in its kextfiles. The answer must

be somewhere here on the board in a topic.

 

To find out the matching Vendors of my Chipset, I will simply browse down the XP device manager.

Link to comment
Share on other sites

Now,

 

i uploaded an .rtf textfile, with all entries, found in the extensions folder. No Ati-kextfiles included, because I

deleted them a while ago.

 

I did it with the software ^^ because first I have to sort them to their vendor-names before we can do the

commandline.

 

The searchresults are in this format

 

Info.plist - 1.621 Bytes - Mi, 20.02.02 um 18:55 - D:\System\Library\Extensions\Adaptec290X-2930.kext\Contents\

261 <string>Adaptec290X-2930</string>

459 <string>Adaptec 290X/2930 SCSI Driver</string>

766 <key>Adaptec290X-2930</key>

967 <string>0x50789004 0x78509004</string>

978 <string>0x50789004 0x78509004</string>

 

The numbers at the beginning of each line can be ignored, they are for the search-program

Devices_Vendorst.rtf

Link to comment
Share on other sites

 Share

×
×
  • Create New...