Jump to content

USB 2.0 for Leopard 10.5.7


  • Please log in to reply
389 replies to this topic

#1
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,993 posts
  • Gender:Male
  • Location:Moscow
First of all thank to orByte for the method to correct USBEHCI driver
http://forum.insanel...showtopic=28559
He is disappeared making only version 303 that is not enough.
I open new topic because I can't update orByte's topic with new version.

Previous my correction USB308 works!
Now sources 315.4.1 is available at Apple's site and I can easy rewrite it by orByte's method.
This is corrected sources and my compilation. All targets can be compiled except IOUSBFamily and IOUSBLib. Use stock similar.

EDITED 03.08.08
My kexts are not tested yet so be ready to return to version 308.

EDITED 21.11.08
I corrected EHCI and UHCI plugins for sleep support
Instructions how to install

Download attachements to desktop
Double click to unzip
Enter terminal
sudo -s
cp -r -v ~/Desktop/IOUSBFamily.kext /S*/L*/E*/
chown -R root:wheel
/S*/L*/E*/IOUSB*
rm -v /S*/L*/E*.mke*
diskutil repairpermissions /
reboot

That's all!

EDITED 19-09-2008
Apple publish 10.5.5 sources. IOUSBFamily is the same but IOUSBMassStorageClass is updated!
There is my compilation with small corrections.

EDITED 19-12-2008
New compilation from 10.5.6 sources. I change version to 3.2.8 to differ from Apple's kexts.
What new? I add support for Intel ICH4-5, 9 (ICH10 added by Apple), NForce (MCP79 by Apple, MCP78 and other by me), SIS7001.
Some internal mistakes corrected.
All files tested in 10.5.5 so it compatible with old systems (Leopard only!).
You also may try my IOPCIFamily.kext v254 to improve interrupts handling.
Attached File  AppleUSBEHCI328.kext.zip   50.13KB   6737 downloads
Attached File  AppleUSBOHCI328.kext.zip   36.61KB   4700 downloads
Attached File  AppleUSBUHCI328.kext.zip   46.8KB   4938 downloads
Attached File  IOUSBMassStorageClass205.kext.zip   32.45KB   6624 downloads


EDITED 18-05-2009
New compilation from 10.5.7 sources. Now version is 3.4.4. This version include all previous fixes, new DeviceIDs and forced sleep capabilities even if it is not really supported (as discussed with Hafnium).


EDITED 28-05-2009
Add support for ICH10R DeviceID=3a6x

EDITED 26-05-2009
If you see error at startup

AppleUSBEHCI[0x3849800]: unable to get filterInterruptEventSource

then it is not USB problem. It is a problem with interrupts in whole system.
If USB sometimes works, sometimes no then it is the same problem.
To solve it, download my new IOPCIFamily v2.6.1 (from my signature). It may correct such problems!

EDITED 01-06-2009
Add support for NForce DeviceID=36d
Compile new USBProbe
Attached File  IOUSBFamily_343.4.4.zip   1.47MB   6997 downloads
Attached File  IOUSBFamily344_2.kext.zip   701.58KB   8181 downloads
Attached File  USBProber.zip   407.61KB   4534 downloads

EDITED 15-08-2009
Version for 10.5.8 is here

Important
sudo rm -r -v /System/Library/Extensions/PCGenUSB*
sudo rm -r -v /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/PCGenUSB*

#2
BugsB

BugsB

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,513 posts
  • Gender:Male
  • Location:Kauai, Hawai'i
thanks a lot, I will try them tonight and report back :(

#3
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,993 posts
  • Gender:Male
  • Location:Moscow
There is compilation from DMDIMON. (now he is dmdimoff)
There is a difference

#4
dmdimoff

dmdimoff

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
hi )
I recovered my 2-nd pass so i'm here

#5
macoff

macoff

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,432 posts
  • Gender:Male
Thank Slice, works perfect in my Asus P5B with 10.5.4

MacOff

#6
mhacleth

mhacleth

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Hi Slice,
I tried your 315 but it's a no go for me.

Here's the error log:
2AppleUSBUHCI is not compatible with its superclass, 17IOUSBControllerV3 superclass changed?
 Failed to load extension com.apple.driver.AppleUSBUHCI.
 Couldn't alloc class "AppleUSBUHCI"AGP: not supported e238

The 308 loads fine. However, even though it could detect my USB devices (Kingston thumdrive / Memorex external HDD) in the System profiler, it doesn't mount or show up in the Desktop.
Posted Image

Here's what I did:
1. I unzipped your 315 file
2. I chown/chmod the files to 0:0 755
3. I deleted similar files found in /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/
4. I copied the files over to that directory
5. Deleted the following:/System/Library/Extensions.kextcache
/System/Library/Extensions.mkext
/System/Library/Caches/com.apple.kernelcaches
6. I rebooted
7. Entered -f -v as boot options

My Rig:
Kalyway 10.5.2
AMD 64 X2 4200
Asus M2V mobo
VIA8237A chipset

#7
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,993 posts
  • Gender:Male
  • Location:Moscow
1. show your dmesg or system.log
2. what compilation did you try: my or dmdimoff?
3. did you replace IOUSBFamily.kext provided by dmdimoff?
4. did you try set in BIOS legacy USB support?

#8
mhacleth

mhacleth

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

1. show your dmesg or system.log

It's up there in my post. That's what it shows when I used your 315 sources.

2. what compilation did you try: my or dmdimoff?

I used your USB315.kexts.zip

3. did you replace IOUSBFamily.kext provided by dmdimoff?

No. Am I supposed to do that? I'm using the default IOUSBFamily.kext from the Kalyway install disk. I just replaced the files in the PlugIns directory with the ones you have provided.

4. did you try set in BIOS legacy USB support?

Yes.

I think I will try number 3 above and see what happens. Thanks! :)

#9
dmdimoff

dmdimoff

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
I recommend use _or_ full slice compiled kexts _or_ my.
Just becoase I used xcode 3.1 against leo 1.5.4 libraries and slice cross-compiled under Tiger for leo.

PS. I cleaned some small glitches and give sources back to him.

#10
mhacleth

mhacleth

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

I recommend use _or_ full slice compiled kexts _or_ my.
Just becoase I used xcode 3.1 against leo 1.5.4 libraries and slice cross-compiled under Tiger for leo.

PS. I cleaned some small glitches and give sources back to him.


Okay.
  • I deleted the IOUSBFamily.kext from my /System/Library/Extensions/
  • I unzipped the file you provided. I copied the IOUSBFamily.kext from there into /System/Library/Extensions/
  • I fixed permissions. Deleted caches.
  • Reboot with -f -v as boot options
My devices were not detected. Here's the dmesg:
michael-janapins-mac-pro:~ michaeljanapin$ sudo dmesg | grep -i USB
	 Password:
	 USBF:	0.658	Attempting to get EHCI Controller from BIOS
	 USBF:	0.661	USBLEGCTLSTS value c0002000
	 USBF:	0.665	EHCI - Ownership conflict - attempting soft reset ...
	 USBF:	0.669	EHCI - toggle OS Ownership to 0
	 USBF:	0.924	Found USBLEGSUP_ID - value 0x1000001 - writing OSOwned
	 USBF:	0.928	acquireOSOwnership done - value 0x1000001

And from System Profiler:
USB High-Speed Bus:
	 
	   Host Controller Location:	Expansion Slot
	   Host Controller Driver:	AppleUSBEHCI
	   PCI Device ID:	0x3104
	   PCI Revision ID:	0x0086
	   PCI Vendor ID:	0x1106
	   Bus Number:	0x90


#11
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,993 posts
  • Gender:Male
  • Location:Moscow
Looks like OK!

#12
sg

sg

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 738 posts
  • Gender:Male
i'm curious since i haven't seen anything, but what does this driver provide over the apple supplied ones in 10.5.4? whats different.

#13
dgan

dgan

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
  • Location:Caracas, Venezuela
  • Interests:Programming, web development, IT and off course... OSX 86!
Hi! I'm going to test your drivers dmdimoff

I have a question about bios config... Do I have to set BIOS legacy USB support as enabled or disabled?

Do I need to set another configs on BIOS about USB?

Currently I have a strange problem. My pendrive is detected but all the time the os x alerts me with this message: "The disk you inserted was not readable by this computer". Os X recognizes pc formatted pendrives so that's the reasson I think the problem are the extensions.

Anyway, I'm going to test with this drivers and post the results when I have something.

Thanks!

#14
dmdimoff

dmdimoff

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
2 dgan - try legacy both ways. and honestly i don't believe that you have driver problems. Try format your pen drive from macos, see what'll happen

2 sg on some boards with quirky BIOSes macos can't get control over USB with vanilla drivers.

#15
mhacleth

mhacleth

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

Looks like OK!


Not really. :D
I could not use my USB keyboard. (It's not detected)
Also, if I plug my devices (thumbdrive/external hard drive), they don't get detected at all.

So I restored my IOUSBFamily.kext from the Kalyway install disc and just used the Generic EHCI driver from orByte.
I have read somewhere that in order for my usb devices to be detected properly, I have to stick in it before booting/power on. It worked. I am now able to hotplug my usb devices.

I hoped that your driver would have done it, but thanks anyways. :P

@dmdimoff

I noticed that in the zipped file you provided, there are tons of kext files in them.
Among them is "IOUSBFamily.kext"

Now my question is, do I copy all of these kext files into /System/Library/Extensions or just IOUSBFamily.kext?

I'm quite confused because I thought the kext files in your zipped file should be copied to /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/

#16
dgan

dgan

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
  • Location:Caracas, Venezuela
  • Interests:Programming, web development, IT and off course... OSX 86!
Thanks dmdimoff, you're right! I was able to found another pendrive and it works perfect, even formatted as a windows (fat16) pendrive. So the problem is not the formatting, is my pendrive!

Still, should you recommend me to update my drivers with yours?

#17
dmdimoff

dmdimoff

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
2 mhacleth - there are 2 ways - you can copy all exept IOUSBFamily, logger kext and prober app to /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/
or take a look inside original IOUSBFamily and add additional plugin kexts from there into my IOUSBFamily - they are unmodified

2 dgan - if it works, don't touch it

#18
mhacleth

mhacleth

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
@dmdimoff
I'll do that on Monday (Philippine Time). Thanks for all your hardwork! :trumpet:

#19
mhacleth

mhacleth

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
@dmdimoff

No go...

The kexts load successfully. My devices appears in the System Profiler.

BUT, they are not mounted. :-(

My USB keyboard is also not detected. :)

#20
dmdimoff

dmdimoff

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
can you mount devices from disk utility? what filesystem on them? have you ever mounted them successfully under macos?
do you using simple keyboard or some model with usb hub/media control in it?
can you see keyboard in system profiler?
what happens when you unplug and than plug them in?

basically if you can correctly see device in system profiler its ok with drivers





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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