Jump to content

arix98

Members
  • Content Count

    29
  • Joined

  • Last visited

  • Days Won

    1

arix98 last won the day on October 9 2015

arix98 had the most liked content!

About arix98

  • Rank
    InsanelyMac Protégé

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. arix98

    Lenovo ThinkPad T420 with UEFI Only

    I made few changes regarding the keyboard. The browser forward/back(next to the arrow keys) is mapped to pageup/pagedown. Should be possible to map them to cmd+[ and cmd+] but I don't know how to do... PrtSc is toggle touchpad by default, since I always use touchpad I assign it to F13 for future use. Context Menu/Apps key is mapped to right option by default, but as I seldomly use right side modifiers, I change it to F16, then I assign F16 to launchpad. Below is the VoodooPS2Keyboard Info.plist for reference. <key>ThinkPad</key> <dict> <key>ActionSwipeLeft</key> <string>37 d, 21 d, 21 u, 37 u</string> <key>ActionSwipeRight</key> <string>37 d, 1e d, 1e u, 37 u</string> <key>Custom ADB Map</key> <array> <string>e06a=74;back to pageup</string> <string>e069=79;forward to pagedown</string> </array> <key>Custom PS2 Map</key> <array> <string>e037=64;PrtSc=F13, toggle touchpad by default</string> <string>e05d=67;Apps=F16</string> </array> </dict> Another thing worth noting is, starting from Clover r3296 the console output before the Clover GUI can be "officially" hidden now. <key>Boot</key> <dict> <key>NoEarlyProgress</key> <true/> </dict>
  2. arix98

    Lenovo ThinkPad T420 with UEFI Only

    For Wifi, here is a nice list http://forum.osxlatitude.com/index.php?/topic/2120-supportedunsupported-wireless-cards-inventory/ I'm using a DW1510 now, ~$5 on ebay, then rebranded it to Airport Extreme(optional, vanilla DW1510 will list as 3rd party wifi adapter but should still work)
  3. Thanks for the test. So I tested mine(MSI Z87) using a WD Element, read a 35GB file to desktop(since its NTFS can't test writing) using both kext injection and clover patch, checked MD5, both were OK and I didn't get the disconnecting issue with IOJones so did you have the same issue with kext injection or just Clover patch? The display on USB3.0 bus seems to be a bug when a USB storage is plugged in. Same here even with the kext injection + a USB2 flash drive, so can anyone with real Mac check this out? And "AppleUSBXHCILPTH" is normal. FWIW, LPTH, where LP means "Lynx Point"(codename for 8 series), not sure about T, then H might be "High power"(desktop variant, not 100% sure), there're also PPT(Pather Point, 7 series), LPTLP(Lynx Point Lower Power), and WPT(Widecat Point, 9 series) in Apple's driver.
  4. Thanks I missed that config file. For El Capitan and SIP, in my case, I have SIP file system protection on and kext signature off, and I put all extra kext to /L/E, so I would love some new options if possible: Install to /Library/Extension instead of /S/L/E Option for skipping repair permission for /S/L/E Thanks again.
  5. Just learned that we can also patch XHCI id via Clover. In Clover Configurator, Patch AppleUSBXHCIPCI, find <string>0x9cb18086</string> replace with <string>0x8cb18086</string> Select the "InfoPlistPatch" check and change the Type/Key to "DATA". this replaces the 0x9cb18086(device id for mobile 9 series) with 0x8cb18086(desktop 9 series). Useful for port limit removal or DSDT port nuke method. <dict> <key>Comment</key> <string>patch for desktop 9 series</string> <key>Find</key> <data> PHN0cmluZz4weDljYjE4MDg2PC9zdHJpbmc+ </data> <key>InfoPlistPatch</key> <true/> <key>Name</key> <string>AppleUSBXHCIPCI</string> <key>Replace</key> <data> PHN0cmluZz4weDhjYjE4MDg2PC9zdHJpbmc+ </data> </dict>
  6. arix98

    Lenovo ThinkPad T420 with UEFI Only

    @Tetonne. Thanks for the reply but there must be some misunderstanding here.... Anyway seems that there is some bug with Clover's PatchVBiosBytes(and LoadVBios is not working for me at all), even a dummy patch like "1234abcd" to "1234abcd" will cause corruption. Have opened a ticket at Clover.
  7. Seems that only 4 Intel XHC IDs are in the original kext, if my google-fu is correct 8086 1e31 7 series 8086 8c31 8 series <---thats mine and that's why I didn't notice the issue. 8086 9c31 mobile 8 series 8086 9cb1 mobile 9 series so for desktop 9 series, 8086:8cb1 is not included. The kext injection in OP's guide takes care of this, so for 9-series, when the Clover mod or DSDT port removal mod is used, kext injection is still necessary to get the Apple XHCI driver loaded, except your kext can be used directly without further change, or maybe DSDT device id injection?
  8. Threr're 20 ports there with the 4 you mentioned unused, so 16 ports total. Manufacturers usually don't implement all USB2 ports due to limited space or making spaces for additional USB3 ports(from 3rd party controller) My Z87 MB has 4 USB3 on back and another USB3 header on board, so 6 USB3 ports are all accessible. And it has only 2 USB2 ports on back and 2 USB2 headers on board, so in theory there are 6 instead of 8 USB2 ports available and I use only 4, leaving another 4 completely unused/inaccessible, but the HS ports corresponding to unused USB2 ports are still listed under DSDT(with STA 0xf) thus use up the kext limit.
  9. A USB3 use HS port when connecting a USB2 device and SS port for USB3, so a physical USB3 port uses 2 XHC logical ports. You can check the screenshot by blazinsmokey at #184. H87/Z87/H97/Z97/X99 all supports 8 USB2+6 USB3 so thats 14 physical ports, 20(8+6*2) logical ports total, obviously only 14 can be used at same time, 20 is required for all of them work properly. B85/H81 support less USB3 but BIOS may still list all 14 HS ports and 6 SS ports in DSDT.
  10. Sacrificing few ports is OK as its not a problem for laptop and perfectly acceptable for desktop, and some consider it safer. My mod is easier and straightforward since its a "universal" solution, the additional ports is a side benefit, my preliminary test looks OK but might need more test/check.
  11. Its not a fixed array per my very limited knowledge and check, the powering off part is done before limitation check, and actual port creation is performed after these two. The port index# is used when creating the port -- I don't quite understand the detail though, as long as all ports working and no KP it looks OK for me.
  12. The Ultimate Solution As I suspected earlier the 15 ports limit can be removed!!! Did some assembly work and here is the result: In Clover, use kext patch feature, patch AppleUSBXHCIPCI Find 83BD8CFEFFFF10 Replace with 83BD8CFEFFFF16 <dict> <key>Comment</key> <string>remove usb limit</string> <key>Find</key> <data> g72M/v//EA== </data> <key>Name</key> <string>AppleUSBXHCIPCI</string> <key>Replace</key> <data> g72M/v//Fg== </data> </dict> the kext use >=0x10 to set the limit so with 0x10 we have 15 ports available. Changing to 0x16 will give us 21 ports. I didn't go higher as 21 is the maximum amount for 8/9 series motherboard(8 USB2+6 USB3+1 possible dummy port) afaik but should be OK to set it to 0xFF... Thats all. No other change necessary
  13. Its not about physical USB ports, its about logical ports defined in DSDT. I tried your mod but it didn't do anything and my system reverted back to default status -- no USB3 so this doesn't help the 15 ports limit. Below is my screenshot of clover config and DSDT after your mod, the ADR is 0 so I assume I did it correctly.
  14. So by doing this there is no 15 ports limit then? and we don't need any port mapping, just change ADR to 0 and done?
  15. I don't get it. If I read correctly, 0x001D0000 and 0x001A0000 are the ADR of EHC1 and EHC2(are they the same across all systems?) and 0x00140000 is ADR of XHC. And by changing ADR to 0 the bus is removed. PJALM's idea is to remove unused ports on XHC and the keep the total# under 15, but your mod, completely remove(?) XHC without dealing with individual ports???
×