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
109 replies to this topic

#101
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,821 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

    V.I.P. Member

  • Moderators
  • 6,010 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,821 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

    V.I.P. Member

  • Moderators
  • 6,010 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,821 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

    V.I.P. Member

  • Moderators
  • 6,010 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

    V.I.P. Member

  • Moderators
  • 6,010 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,821 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

    V.I.P. Member

  • Moderators
  • 6,010 posts
  • Gender:Male
  • Location:Brazil

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



#110
Allan

Allan

    V.I.P. Member

  • Moderators
  • 6,010 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.  :(







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