Subscribe to our RSS news feed
AAPL 199.94 (-1.25)

19 Pages V   1 2 3 > »   
Reply to this topic Start new topic
USB 2.0 for Leopard 10.5.7, Also with sleep support. Lastest release.
Group Icon
  • Group: X Lab Developers
  • Posts: 1,395
  • Joined: 4-June 07
  • From: Moscow
  • Member No.: 112,217
First of all thank to orByte for the method to correct USBEHCI driver
http://forum.insanelymac.com/index.php?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
QUOTE
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.13K ) Number of downloads: 6254

Attached File  AppleUSBOHCI328.kext.zip ( 36.61K ) Number of downloads: 4462

Attached File  AppleUSBUHCI328.kext.zip ( 46.8K ) Number of downloads: 4695

Attached File  IOUSBMassStorageClass205.kext.zip ( 32.45K ) Number of downloads: 6109


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
QUOTE
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 ) Number of downloads: 3689

Attached File  IOUSBFamily344_2.kext.zip ( 701.58K ) Number of downloads: 4868

Attached File  USBProber.zip ( 407.61K ) Number of downloads: 2479


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*
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Members
  • Posts: 987
  • Joined: 14-May 06
  • From: Southern Germany
  • Member No.: 38,972
thanks a lot, I will try them tonight and report back smile.gif
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 1,395
  • Joined: 4-June 07
  • From: Moscow
  • Member No.: 112,217
There is compilation from DMDIMON. (now he is dmdimoff)
There is a difference
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 14
  • Joined: 26-February 08
  • Member No.: 192,358
hi )
I recovered my 2-nd pass so i'm here
PM Profile Card
Go to the top of the page
+ Quote Post
*********
  • Group: Members
  • Posts: 1,432
  • Joined: 6-January 08
  • Member No.: 169,936
Thank Slice, works perfect in my Asus P5B with 10.5.4

MacOff
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 10
  • Joined: 19-July 08
  • Member No.: 260,239
Hi Slice,
I tried your 315 but it's a no go for me.

Here's the error log:
CODE
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.


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
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 1,395
  • Joined: 4-June 07
  • From: Moscow
  • Member No.: 112,217
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?
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 10
  • Joined: 19-July 08
  • Member No.: 260,239
QUOTE (Slice @ Jul 24 2008, 06:49 AM) *
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.

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

I used your USB315.kexts.zip

QUOTE
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.

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

Yes.

I think I will try number 3 above and see what happens. Thanks! angel.png
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 14
  • Joined: 26-February 08
  • Member No.: 192,358
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.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 10
  • Joined: 19-July 08
  • Member No.: 260,239
QUOTE (dmdimoff @ Jul 24 2008, 09:42 PM) *
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.
  1. I deleted the IOUSBFamily.kext from my /System/Library/Extensions/
  2. I unzipped the file you provided. I copied the IOUSBFamily.kext from there into /System/Library/Extensions/
  3. I fixed permissions. Deleted caches.
  4. Reboot with -f -v as boot options

My devices were not detected. Here's the dmesg:
CODE
     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:
CODE
     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
PM Profile Card
Go to the top of the page
+ Quote Post
Group Icon
  • Group: X Lab Developers
  • Posts: 1,395
  • Joined: 4-June 07
  • From: Moscow
  • Member No.: 112,217
Looks like OK!
PM Profile Card
Go to the top of the page
+ Quote Post
*******
  • Group: Members
  • Posts: 721
  • Joined: 22-February 06
  • Member No.: 24,593
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.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 31
  • Joined: 11-July 08
  • From: Caracas, Venezuela
  • Member No.: 256,507
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!
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 14
  • Joined: 26-February 08
  • Member No.: 192,358
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.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 10
  • Joined: 19-July 08
  • Member No.: 260,239
QUOTE (Slice @ Jul 25 2008, 07:55 AM) *
Looks like OK!


Not really. unsure.gif
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. wink.gif

@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/
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 31
  • Joined: 11-July 08
  • From: Caracas, Venezuela
  • Member No.: 256,507
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?
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 14
  • Joined: 26-February 08
  • Member No.: 192,358
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
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 10
  • Joined: 19-July 08
  • Member No.: 260,239
@dmdimoff
I'll do that on Monday (Philippine Time). Thanks for all your hardwork! biggrin.gif
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 10
  • Joined: 19-July 08
  • Member No.: 260,239
@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. sad.gif
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 14
  • Joined: 26-February 08
  • Member No.: 192,358
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
PM Profile Card
Go to the top of the page
+ Quote Post
19 Pages V   1 2 3 > » 
Reply to this topic Start new topic

2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 21st November 2009 - 11:50 AM