Contribute
Register

SD Card Reader in Lenovo S400

Status
Not open for further replies.
Try adding this to your config.plist
Code:
<dict>
                <key>Comment</key>
                <string>USB card reader patch </string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                PGtleT5QaHlzaWNhbCBJbnRlcmNvbm5lY3QgTG9jYXRp
                b248L2tleT48c3RyaW5nPkludGVybmFsPC9zdHJpbmc+
                </data>
                <key>InfoPlistPatch</key>
                <true/>
                <key>Name</key>
                <string>AppleUSBCardReader</string>
                <key>Replace</key>
                <data>
                PGtleT5QaHlzaWNhbCBJbnRlcmNvbm5lY3QgTG9jYXRp
                b248L2tleT48c3RyaW5nPkV4dGVybmFsPC9zdHJpbmc+
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>USB card reader patch </string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                PGtleT5pZFByb2R1Y3Q8L2tleT48aW50ZWdlcj4zMzc5
                NTwvaW50ZWdlcj4=
                </data>
                <key>InfoPlistPatch</key>
                <true/>
                <key>Name</key>
                <string>AppleUSBCardReader</string>
                <key>Replace</key>
                <data>
                PGtleT5pZFByb2R1Y3Q8L2tleT48aW50ZWdlcj4wMDI5
                NzwvaW50ZWdlcj4=
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>USB card reader patch</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                PGtleT5pZFZlbmRvcjwva2V5PjxpbnRlZ2VyPjE0NTI8
                L2ludGVnZXI+
                </data>
                <key>InfoPlistPatch</key>
                <true/>
                <key>Name</key>
                <string>AppleUSBCardReader</string>
                <key>Replace</key>
                <data>
                PGtleT5pZFZlbmRvcjwva2V5PjxpbnRlZ2VyPjMwMzQ8
                L2ludGVnZXI+
                </data>
            </dict>

Let me know if it works should though
Doesn't look like it worked. Could it have anything to do with the fact that I never set up usbinjectall.kext?
 
Doesn't look like it worked. Could it have anything to do with the fact that I never set up usbinjectall.kext?

Although setting up an SSDT for USBInjectAll.kext is required, you wrote:
Recognized as "USB2.0-CRW"

So, it is not a matter of the device not being present on the USB bus.
 
Try adding this to your config.plist
Code:
<dict>
                <key>Comment</key>
                <string>USB card reader patch </string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                PGtleT5QaHlzaWNhbCBJbnRlcmNvbm5lY3QgTG9jYXRp
                b248L2tleT48c3RyaW5nPkludGVybmFsPC9zdHJpbmc+
                </data>
                <key>InfoPlistPatch</key>
                <true/>
                <key>Name</key>
                <string>AppleUSBCardReader</string>
                <key>Replace</key>
                <data>
                PGtleT5QaHlzaWNhbCBJbnRlcmNvbm5lY3QgTG9jYXRp
                b248L2tleT48c3RyaW5nPkV4dGVybmFsPC9zdHJpbmc+
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>USB card reader patch </string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                PGtleT5pZFByb2R1Y3Q8L2tleT48aW50ZWdlcj4zMzc5
                NTwvaW50ZWdlcj4=
                </data>
                <key>InfoPlistPatch</key>
                <true/>
                <key>Name</key>
                <string>AppleUSBCardReader</string>
                <key>Replace</key>
                <data>
                PGtleT5pZFByb2R1Y3Q8L2tleT48aW50ZWdlcj4wMDI5
                NzwvaW50ZWdlcj4=
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>USB card reader patch</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                PGtleT5pZFZlbmRvcjwva2V5PjxpbnRlZ2VyPjE0NTI8
                L2ludGVnZXI+
                </data>
                <key>InfoPlistPatch</key>
                <true/>
                <key>Name</key>
                <string>AppleUSBCardReader</string>
                <key>Replace</key>
                <data>
                PGtleT5pZFZlbmRvcjwva2V5PjxpbnRlZ2VyPjMwMzQ8
                L2ludGVnZXI+
                </data>
            </dict>

Let me know if it works should though

I have tried here, but without success.

Thank you for your job.
 
I have tried here, but without success.

Thank you for your job.
Hey Allan your welcome basically I was trying to do an info plist patch that used to work in earlier versions like mavericks and yosemite and earlier are your device IDs and vendorIDs the same as the OPs we may have to do some binary patching, can you get the bdmesg output with the patches in place
 
Doesn't look like it worked. Could it have anything to do with the fact that I never set up usbinjectall.kext?
We may have to do some binary patches also can you get the bdmesg output with the patches in place
 
Although setting up an SSDT for USBInjectAll.kext is required, you wrote:


So, it is not a matter of the device not being present on the USB bus.

Okay. Thanks for pointing that out.
 

Attachments

  • bdmesg-output.txt
    34.5 KB · Views: 129
Last edited:
Okay, I put it in the attached text file.
Did you add the patches to your config.plist? I don't see them in the list from bdmesg output. see here
Code:
KextsToPatch: 11 requested
0:113  0:000   - [00]: IOGraphicsFamily (Garbled Boot Screen Fix) :: BinPatch :: data len: 5
0:113  0:000   - [01]: com.apple.driver.AppleBacklight (change F%uT%04x to F%uTxxxx in AppleBacklightInjector.kext (credit RehabMan)) :: BinPatch :: data len: 9
0:113  0:000   - patch disabled at config
0:113  0:000   - [02]: AirPortBrcm4360 (10.12-BCM94352-fvco-darkvoid) :: BinPatch :: data len: 8
0:113  0:000   - [03]: AirPortBrcm4360 (10.11+-BCM94352-5GHz-US-FCC-darkvoid) :: BinPatch :: data len: 7
0:113  0:000   - [04]: AirPortBrcm4360 (10.11+-BCM94352-Airport-Extreme-skvo) :: BinPatch :: data len: 6
0:113  0:000   - [05]: IOBluetoothFamily (10.11+-BT4LE-Handoff-Hotspot-lisai9093) :: BinPatch :: data len: 8
0:113  0:000   - [06]: AirPortBrcm4360 (10.12-BCM94352-0x43b114e4-Info.plist-bpresles) :: PlistPatch :: data len: 29
0:113  0:000   - [07]: AirPortBrcm4360 (10.11+-BCM94352-Whitelest-0x4353-MacBoolAir5,2-skvo) :: BinPatch :: data len: 20
0:113  0:000   - [08]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660003, port 0205) :: BinPatch :: data len: 12
0:113  0:000   - patch disabled at config
0:113  0:000   - [09]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660003, port 0304) :: BinPatch :: data len: 12
0:113  0:000   - patch disabled at config
0:113  0:000   - [10]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660003, port 0406) :: BinPatch :: data len: 12
0:113  0:000   - patch disabled at config
And also see here
Code:
Filtering KextPatches:
2:386  0:000   - [00]: IOGraphicsFamily (Garbled Boot Screen Fix) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [01]: com.apple.driver.AppleBacklight (change F%uT%04x to F%uTxxxx in AppleBacklightInjector.kext (credit RehabMan)) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> disabled by user
2:386  0:000   - [02]: AirPortBrcm4360 (10.12-BCM94352-fvco-darkvoid) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [03]: AirPortBrcm4360 (10.11+-BCM94352-5GHz-US-FCC-darkvoid) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [04]: AirPortBrcm4360 (10.11+-BCM94352-Airport-Extreme-skvo) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [05]: IOBluetoothFamily (10.11+-BT4LE-Handoff-Hotspot-lisai9093) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [06]: AirPortBrcm4360 (10.12-BCM94352-0x43b114e4-Info.plist-bpresles) :: PlistPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [07]: AirPortBrcm4360 (10.11+-BCM94352-Whitelest-0x4353-MacBoolAir5,2-skvo) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [08]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660003, port 0205) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> disabled by user
2:386  0:000   - [09]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660003, port 0304) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> disabled by user
2:386  0:000   - [10]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660003, port 0406) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> disabled by user
2:386  0:000  EmuVariable InstallEmulation: orig vars copied, emu.var.services installed, CreateEvent VirtualAddressChange = Success, CreateEvent ExitBootServices = Success, set Status=Success
 
Okay. Thanks for pointing that out.

Try adding these patches to your config.plist and report back along with bdmesg output
Code:
<dict>
                <key>Comment</key>
                <string>USB card reader patch </string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                PGtleT5QaHlzaWNhbCBJbnRlcmNvbm5lY3QgTG9jYXRp
                b248L2tleT48c3RyaW5nPkludGVybmFsPC9zdHJpbmc+
                </data>
                <key>InfoPlistPatch</key>
                <true/>
                <key>Name</key>
                <string>AppleUSBCardReader</string>
                <key>Replace</key>
                <data>
                PGtleT5QaHlzaWNhbCBJbnRlcmNvbm5lY3QgTG9jYXRp
                b248L2tleT48c3RyaW5nPkV4dGVybmFsPC9zdHJpbmc+
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>USB card reader patch</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                PGtleT5pZFByb2R1Y3Q8L2tleT48aW50ZWdlcj4zMzgw
                MDwvaW50ZWdlcj48a2V5PmlkVmVuZG9yPC9rZXk+PGlu
                dGVnZXI+MTQ1MjwvaW50ZWdlcj4=
                </data>
                <key>InfoPlistPatch</key>
                <true/>
                <key>Name</key>
                <string>AppleUSBCardReader</string>
                <key>Replace</key>
                <data>
                PGtleT5pZFByb2R1Y3Q8L2tleT48aW50ZWdlcj4wMDI5
                NzwvaW50ZWdlcj48a2V5PmlkVmVuZG9yPC9rZXk+PGlu
                dGVnZXI+MzAzNDwvaW50ZWdlcj4=
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>USB card reader patch</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                PGtleT5pZFByb2R1Y3Q8L2tleT48aW50ZWdlcj4zMzc5
                ODwvaW50ZWdlcj48a2V5PmlkVmVuZG9yPC9rZXk+PGlu
                dGVnZXI+MTQ1MjwvaW50ZWdlcj4=
                </data>
                <key>InfoPlistPatch</key>
                <true/>
                <key>Name</key>
                <string>AppleUSBCardReader</string>
                <key>Replace</key>
                <data>
                PGtleT5pZFByb2R1Y3Q8L2tleT48aW50ZWdlcj4wMDI5
                NzwvaW50ZWdlcj48a2V5PmlkVmVuZG9yPC9rZXk+PGlu
                dGVnZXI+MzAzNDwvaW50ZWdlcj4=
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>USB card reader patch</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                PGtleT5pZFByb2R1Y3Q8L2tleT48aW50ZWdlcj4zMzc5
                NjwvaW50ZWdlcj48a2V5PmlkVmVuZG9yPC9rZXk+PGlu
                dGVnZXI+MTQ1MjwvaW50ZWdlcj4=
                </data>
                <key>InfoPlistPatch</key>
                <true/>
                <key>Name</key>
                <string>AppleUSBCardReader</string>
                <key>Replace</key>
                <data>
                PGtleT5pZFByb2R1Y3Q8L2tleT48aW50ZWdlcj4wMDI5
                NzwvaW50ZWdlcj48a2V5PmlkVmVuZG9yPC9rZXk+PGlu
                dGVnZXI+MzAzNDwvaW50ZWdlcj4=
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>USB card reader patch</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                PGtleT5pZFByb2R1Y3Q8L2tleT48aW50ZWdlcj4zMzc5
                NTwvaW50ZWdlcj48a2V5PmlkVmVuZG9yPC9rZXk+PGlu
                dGVnZXI+MTQ1MjwvaW50ZWdlcj4=
                </data>
                <key>InfoPlistPatch</key>
                <true/>
                <key>Name</key>
                <string>AppleUSBCardReader</string>
                <key>Replace</key>
                <data>
                PGtleT5pZFByb2R1Y3Q8L2tleT48aW50ZWdlcj4wMDI5
                NzwvaW50ZWdlcj48a2V5PmlkVmVuZG9yPC9rZXk+PGlu
                dGVnZXI+MzAzNDwvaW50ZWdlcj4=
                </data>
            </dict>
 
Did you add the patches to your config.plist? I don't see them in the list from bdmesg output. see here
Code:
KextsToPatch: 11 requested
0:113  0:000   - [00]: IOGraphicsFamily (Garbled Boot Screen Fix) :: BinPatch :: data len: 5
0:113  0:000   - [01]: com.apple.driver.AppleBacklight (change F%uT%04x to F%uTxxxx in AppleBacklightInjector.kext (credit RehabMan)) :: BinPatch :: data len: 9
0:113  0:000   - patch disabled at config
0:113  0:000   - [02]: AirPortBrcm4360 (10.12-BCM94352-fvco-darkvoid) :: BinPatch :: data len: 8
0:113  0:000   - [03]: AirPortBrcm4360 (10.11+-BCM94352-5GHz-US-FCC-darkvoid) :: BinPatch :: data len: 7
0:113  0:000   - [04]: AirPortBrcm4360 (10.11+-BCM94352-Airport-Extreme-skvo) :: BinPatch :: data len: 6
0:113  0:000   - [05]: IOBluetoothFamily (10.11+-BT4LE-Handoff-Hotspot-lisai9093) :: BinPatch :: data len: 8
0:113  0:000   - [06]: AirPortBrcm4360 (10.12-BCM94352-0x43b114e4-Info.plist-bpresles) :: PlistPatch :: data len: 29
0:113  0:000   - [07]: AirPortBrcm4360 (10.11+-BCM94352-Whitelest-0x4353-MacBoolAir5,2-skvo) :: BinPatch :: data len: 20
0:113  0:000   - [08]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660003, port 0205) :: BinPatch :: data len: 12
0:113  0:000   - patch disabled at config
0:113  0:000   - [09]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660003, port 0304) :: BinPatch :: data len: 12
0:113  0:000   - patch disabled at config
0:113  0:000   - [10]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660003, port 0406) :: BinPatch :: data len: 12
0:113  0:000   - patch disabled at config
And also see here
Code:
Filtering KextPatches:
2:386  0:000   - [00]: IOGraphicsFamily (Garbled Boot Screen Fix) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [01]: com.apple.driver.AppleBacklight (change F%uT%04x to F%uTxxxx in AppleBacklightInjector.kext (credit RehabMan)) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> disabled by user
2:386  0:000   - [02]: AirPortBrcm4360 (10.12-BCM94352-fvco-darkvoid) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [03]: AirPortBrcm4360 (10.11+-BCM94352-5GHz-US-FCC-darkvoid) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [04]: AirPortBrcm4360 (10.11+-BCM94352-Airport-Extreme-skvo) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [05]: IOBluetoothFamily (10.11+-BT4LE-Handoff-Hotspot-lisai9093) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [06]: AirPortBrcm4360 (10.12-BCM94352-0x43b114e4-Info.plist-bpresles) :: PlistPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [07]: AirPortBrcm4360 (10.11+-BCM94352-Whitelest-0x4353-MacBoolAir5,2-skvo) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> allowed
2:386  0:000   - [08]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660003, port 0205) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> disabled by user
2:386  0:000   - [09]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660003, port 0304) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> disabled by user
2:386  0:000   - [10]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660003, port 0406) :: BinPatch :: [OS: 10.13 | MatchOS: All | MatchBuild: All] ==> disabled by user
2:386  0:000  EmuVariable InstallEmulation: orig vars copied, emu.var.services installed, CreateEvent VirtualAddressChange = Success, CreateEvent ExitBootServices = Success, set Status=Success
I did but apparently it isn’t loading. I’ll check it to make sure I didn’t make a mistake.
 
Status
Not open for further replies.
Back
Top