Jump to content

USB Card Reader Apple Optimized Legacy Driver (10.6.5/10.6.6/10.6.7/10.6.8)


  • Please log in to reply
115 replies to this topic

#101
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

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

Hey Andy, you don't have ideas about why Artur's card reader doesn't work?

 

My problem is the same here..

Yep, I happen to know that "Device is not configured" happens when stuff goes wrong inside the driver.

So a patch is required to force the card reader into 0xFA (250 * 2 mili amps) available... so that it doesn't give that...

The driver needs 500 mili amps of power

This method is Power Management related...

So in those card readers one would need to patch the /System/Library/Extensions/AppleStorageDrivers.kext/Contents/PlugIns/AppleUSBCardReader.kext/Contents/MacOS/AppleUSBCardReader binary

This actually shows where AppleUSBCardReader.kext is located...



#102
Allan

Allan

    InsanelyMac V.I.P.

  • Supervisors
  • 9,065 posts
  • Gender:Male
  • Location:Brazil

Hmm, ok.

 

And how we can find the right card driver and give the milliamps of power? You know some patch for this binary value?



#103
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

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

Hmm, ok.

 

And how we can find the right card driver and give the milliamps of power? You know some patch for this binary value?

Driver shown above

The right value = 0xFA

This is 250

This is multiplied by 2 (milli amperes).

Thus this needs patch that say 500 mili amperes.

So hack binary that sets power available parts to return 0xFA...

EDIT: My new IOUSBFamily should show you where... I have updated it fully now and it has every method...



#104
Allan

Allan

    InsanelyMac V.I.P.

  • Supervisors
  • 9,065 posts
  • Gender:Male
  • Location:Brazil

Nice!

 

I will test your  IOUSBFamily project. I really want use my Card Reader.  :(

BTW, your IOUSBFamily works in OS X Yosemite and Mavericks?



#105
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

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

Nice!

 

I will test your  IOUSBFamily project. I really want use my Card Reader.  :(

BTW, your IOUSBFamily works in OS X Yosemite and Mavericks?

After recompile it should work in Mavericks too, yes.

I compiled versions for Yosemite (and verified that they work on a USB stick)



#106
Allan

Allan

    InsanelyMac V.I.P.

  • Supervisors
  • 9,065 posts
  • Gender:Male
  • Location:Brazil

Awesome man, thanks.

 

I'm still in my job, but when i get home i will test... ^_^



#107
Allan

Allan

    InsanelyMac V.I.P.

  • Supervisors
  • 9,065 posts
  • Gender:Male
  • Location:Brazil

Hey man, the IOUSBFamily.kext that you me told above it's this, right?

http://www.insanelym...t-for-yosemite/



#108
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

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

Hey man, the IOUSBFamily.kext that you me told above it's this, right?

http://www.insanelym...t-for-yosemite/

Yes, currently working on it still...

Needs some more fixes and implements in the userclient parts...



#109
Allan

Allan

    InsanelyMac V.I.P.

  • Supervisors
  • 9,065 posts
  • Gender:Male
  • Location:Brazil

Nice. I will try this on my OS X Mavericks...



#110
Allan

Allan

    InsanelyMac V.I.P.

  • Supervisors
  • 9,065 posts
  • Gender:Male
  • Location:Brazil

Hey Andy!

 

Bad news, I tested here, but did not work. I inserted an SD card, but without any results.  :(



#111
rotoyouoio

rotoyouoio

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts

Driver shown above

The right value = 0xFA

This is 250

This is multiplied by 2 (milli amperes).

Thus this needs patch that say 500 mili amperes.

So hack binary that sets power available parts to return 0xFA...

EDIT: My new IOUSBFamily should show you where... I have updated it fully now and it has every method...

hi. I understand that Allan has mistakenly assumed that all he needed is to add a kext.

 

i understood what you meant, but have absolutely no idea how and what to dump and from which exact binary. most importantly, i have no idea what to look for in the dump. is there any possibility that you could elaborate on the subject a bit? perhaps, you already know what exactly needs to be patched? i'm about to get a computer with the 5129 chipset.



#112
vandebergz

vandebergz

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts

Anyone can help my 0129 0bda to work? Because under EHCI there is no memory host controller even after I inserted an SD card



#113
magaretz

magaretz

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

 you must convert hex values to decimal. either you forgot, or decimal values are wrong. 



#114
vandebergz

vandebergz

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts

you must convert hex values to decimal. either you forgot, or decimal values are wrong. 

Can you please convert my IDs to decimal? Maybe I've got wrong values



#115
wastez

wastez

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 199 posts
  • Gender:Male

Is there a version which is working on El Capitan?

 

This kext isn´t working anymore for it.



#116
kosakgroove

kosakgroove

    The cover of Darkness gives shade to the Brightest of days

  • Members
  • PipPipPip
  • 110 posts
  • Gender:Male
  • Location:Mother Earth
  • Interests:Guitar, Logic Pro, Hackintosh every computer that comes to my hands and make it work perfectly w...

Hi guys! Any chance of this kext working with Realtek 8411 internal card reader??? And OSX Mavericks?







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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