Jump to content

[How To] define Vendor and ID Ranges to be accepted

  • Please log in to reply
1 reply to this topic



    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,064 posts
  • Gender:Male
  • Location:Hamburg

I just found a useful little tutorial, somewhere down in the Outta-Rim-Territory of the darwin space.

Instead of define exact types of hardware in the .kext / Info.plist, it would make more sense to define a
whole range.

This would support different types of cards by one vendor with just one workaround for all, for example.



Matches a device whose vendor ID is 0x1011, and device ID is 0x0026, including subsystem IDs.

<string>0x00789004&0x00ffffff 0x78009004&0x0xff00ffff</string>

Matches with any device with a vendor ID of 0x9004, and a device ID of 0xzz78 or 0x78zz, where 'z' is don't care.


Matches a device whose class code is 0x0200zz, an ethernet device.

Source link click here

Hope you find this useful.



    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
interresting : thnx for sharing :P

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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