Jump to content

Generic USB2.0 (EHCI) Driver


  • Please log in to reply
473 replies to this topic

#101
ntsmkfob

ntsmkfob

    InsanelyMac Geek

  • Donators
  • 234 posts

Hi Thanks for the info. This is very useful. Some users are reporting that the new version works with nF4, have you by any chance tried the new driver on your system ?

Best

I've installed your new version and it works great! Thanks very much!

Before trying it, I installed a fresh copy of the AMD Test1 ISO, and EHCI was loading fine. I then replaced OpenGL.Framework with the proper 10.4.8 version (nothing else), did the usual repair etc, and when I rebooted EHCI would not load. I put back the original OpenGL.Framework, but it didn't bring EHCI back - but your fix did. There's something deep going on here.

Excellent work, thanks again

#102
MaFL

MaFL

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
Success with DFI nf4 Ultra-D

Also now USB Legacy Mode works!

Tnx!!!
Matt

#103
pincopanco

pincopanco

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 265 posts

:pirate2: NEW VERSION RELEASE NOTE :pirate2:

I am pleased to announce a new version of the PCGenUSBEHCI series. Also I would like to thank to mac fly for suggesting a solution for cases where PCGen could not acquire OS Ownership due to completely buggy (i.e., ignoring OS reset request) SMI handling. The solution was to make a forced BIOS ownership reset, after all other approaches had failed. The code does therefore retain backward compatibility.

In essence, this release brings us in line with the Linux 'pci-quirks' handling, and we should now be able to get OWNERSHIP after reboot on all (edit: I should say 'almost all' :-) ) systems. However, please note that there other other documented causes for non-functional EHCI, and these remain. In my archives, I have listed an 'Unable to get device memory error' with ATI SB200 - this is a completely different kind of error. Also there appear problems with the nVidia nf4 under DFI LANPARTY - which are not related to OS Ownership. These remain under investigation, with the hope that we will one day have as broad an EHCI driver as possible.

Installation and usage instructions are included in the download archives. The download area is as usual at the beginning of this post.

There is now in the Info.plist file, a parameter called

<key>AlwaysHardBIOSReset</key>
<true/>

This should be fine on most systems. However, if the system hangs after reboot, switch this to <false/>. Very likely, you WILL need to do this on 10.4.6 .

Best


WORK !!!!!!! :P
in 10.4.7 - 10.4.8 HP pavillion dv5000
TANKS TANKS TANKS TANKS...........

Edited by pincopanco, 07 January 2007 - 09:22 AM.


#104
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts
I d like to take a moment to thank everybody for their questions, requests and answers. And thanks also to mac fly for his great suggestion - without your contributions - this project would not be where it is today.


:thumbsup_anim: Happy holidays & a :) happy new year!

BEST

#105
romanosgr

romanosgr

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:Athens
Don't know what else to say except.. THANK YOU ORBYTE!!!! Your method worked 100% on my hp pavilion dv5295ea and man... THIS IS THE BEST GIFT FOR XMASS!!!! :(

#106
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts
I have been working on ATI chipset support. PCGenUSBEHCI seems to work fine on the ATI SB400 chipset.

Test system:
-----------------------------
Elitegroup ECS RS482-M MB
256MB DDR
40GB SATA HD (VIAATA with 0x437a1002 0x43791002)

EHCI fine with: JaS 10.4.6 + PCGen 256.4.2a



Best

#107
AppleIIGuy

AppleIIGuy

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 349 posts
  • Gender:Male
  • Location:San Diego, CA
Wen using the usb 2.0 driver on my Nforce 4 system when transferring Multiple files it freezes during the file transfer requiring me to reboot the computer and to unplug the drive then replug it to regain access to the drive. It affects Mac file systems and Fat file systems.

#108
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts

Wen using the usb 2.0 driver on my Nforce 4 system when transferring Multiple files it freezes during the file transfer requiring me to reboot the computer and to unplug the drive then replug it to regain access to the drive. It affects Mac file systems and Fat file systems.


Hi what's your motherboard make/model? Does it happen with an external USB hard drive? I.e. what kind of peripheral does it happen with? All of them or just a specific one?

From what you ve said, its hard for me to distinguish whether this is coming from the usb device or the driver. I know of one HARD DRIVE that does NOT work as a USB hard drive here it is: MDL MD00400-BJDW SATA 40GB will work fine as a SATA drive but NOT as a USB drive - producing a
102.342 [2]	IOUSBPipe[0x3896280]::Write - invalid write on a stalled pipe
error.

If you have the 'debugging' version of the IOUSB Family installed, you can run the usb logger in XCode say level 3, and then start the file copy and read off the logger output. Otherwise, are there any entries in the system log? If none of this makes sense, pls. post
uname -psrv, kextstat, and ioreg | grep USB, and /var/log/system.log | grep USB (this one from last reboot only pls.)


- And, what happens when you are copying from one USB device to another? We would need to rule out ATA/SATA drives as causes as well.

Anyhow, just some ideas...

Best

#109
AppleIIGuy

AppleIIGuy

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 349 posts
  • Gender:Male
  • Location:San Diego, CA
I got the drive to work again by booting into windows and deleting the partition table then reformatting it.
The hard drive in question is 2.5 laptop model ide. I havent tried to copy large #'s of large files but will as soon as i reboot.

[codebox]USB TO IDE:

Capacity: 55.89 GB
Removable Media: Yes
Detachable Drive: Yes
BSD Name: disk4
Version: 0.02
Bus Power (mA): 500
Speed: Up to 480 Mb/sec
OS9 Drivers: No
Product ID: 0x0702
S.M.A.R.T. status: Not Supported
Vendor ID: 0x05e3
Volumes:
SHARED:
Capacity: 55.88 GB
Available: 43.22 GB
Writable: Yes
File System: MS-DOS FAT32
BSD Name: disk4s5
Mount Point: /Volumes/SHARED
[/codebox]

That is what the system profiler shows.

[edit]Copied 12 GB from it successfully (Took around 13 min) .
Then formatted it Fat32 successfully.
Wrote 4.29 GB out of 12gb and it froze.

Seems like something happens during the Writing phase.

Edited by AppleIIGuy, 28 December 2006 - 09:37 PM.


#110
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts

I got the drive to work again by booting into windows and deleting the partition table then reformatting it.
The hard drive in question is 2.5 laptop model ide. I havent tried to copy large #'s of large files but will as soon as i reboot.

...

[edit]Copied 12 GB from it successfully (Took around 13 min) .
Then formatted it Fat32 successfully.
Wrote 4.29 GB out of 12gb and it froze.

Seems like something happens during the Writing phase.


Hi

Thanks for the info. So first you read 12 GB from the drive (no problem). Then you attempted to write 12GB to the drive, but it broke off around 4.29 GB. Correct?

It could be a stalled write pipe or related USB error (but that shouldn't make the drive unusable). If you could install a USB logger that could help confirm. The other possibility is that there is a problem on the nF4 side with the VIAATA kext (is that the one you are using?) - this could make the drive unusable - requiring reformatting. What's your system's make/model. I take it the drive is generic or is it labeled?

Did this happen only once? Or more than once, always around the 4.29 GB mark? If you break up the copy operation in chunks of <4GB, does it work or does it still get stuck?


Best

#111
AppleIIGuy

AppleIIGuy

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 349 posts
  • Gender:Male
  • Location:San Diego, CA
Yep my system is a Nforce 4 it is a generic usb 2.0 case. If I copy files around 150 mb or less one ata time it doesnt freeze but if i try copying multiple files of that size it will freeze up.

#112
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts

Yep my system is a Nforce 4 it is a generic usb 2.0 case. If I copy files around 150 mb or less one ata time it doesnt freeze but if i try copying multiple files of that size it will freeze up.


This ll be tough to trace... If you get a chance, could you also try this please: copy files from the usb disk TO another location on the usb disk. That would tell us that it is USB related for sure. In the meantime, I ll add this to my bug report list.

Thanks & Best!

#113
wadewa

wadewa

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts
Hi,
I'm having some problem with my USB ports. They are not working : I can't see hardware mounted anywhere when plugged but USB ports are detected in system profil.
When I use this driver I can't see them mounted also but in system profil in usb section I can see under High speed "iPod" when my iPod is connected for exemple. If I check the finder or the desktop this ipod is not there even in iTune. In general without this driver i have nothing realated to usb, and whith it i just can see it in system profiler.

I try many methods to fix that (USB legacy in bios, with or whitout this driver...) but still nothing. Previous version of IOUSBFamily give me no more usb detected in system profile and error message at startup (yellow lines and stuff)

My specs :
Asus A8V Deluxe
AMD Athlon 64 (SSE2)
OSX 10.4.8 kernel 8.8.1 beta9 exp6
Nvidia 6600GT fully working wit natit (installer)

I have to specify that they were working with the previous version of the kernel AND IOUSBFamily.kext from 10.4.3
Do you need some more information?

Help would be greatly appreciated
Thanx in advance

#114
Siegfried

Siegfried

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
Works great with a DFI LanParty UT SLI-DR Expert board.

No more replugging of USB devices after boot and USB 2.0 devices now work great! Thanks so much!

Attached File  Picture_1.png   130.65KB   67 downloads

The strange thing is that the USB drive I have only gets around 800 kb/sec of transfer speed whereas it gets about 19 mb/sec in Windows. However, the same thing happens on my PowerBook, so I guess it's just the stick.

#115
orByte

orByte

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 182 posts

Hi,
I'm having some problem with my USB ports. They are not working : I can't see hardware mounted anywhere when plugged but USB ports are detected in system profil.
When I use this driver I can't see them mounted also but in system profil in usb section I can see under High speed "iPod" when my iPod is connected for exemple. If I check the finder or the desktop this ipod is not there even in iTune. In general without this driver i have nothing realated to usb, and whith it i just can see it in system profiler.

I try many methods to fix that (USB legacy in bios, with or whitout this driver...) but still nothing. Previous version of IOUSBFamily give me no more usb detected in system profile and error message at startup (yellow lines and stuff)

My specs :
Asus A8V Deluxe
AMD Athlon 64 (SSE2)
OSX 10.4.8 kernel 8.8.1 beta9 exp6
Nvidia 6600GT fully working wit natit (installer)

I have to specify that they were working with the previous version of the kernel AND IOUSBFamily.kext from 10.4.3
Do you need some more information?

Help would be greatly appreciated
Thanx in advance


Hi looks like your OSX installation is mangled. Have you installed 2.5.6 or 2.6.1. You d need 2.6.1. I m not familiar with the 8.8.1 beta9 exp6 kernel. Is this the semthex one try
uname -psrv
. The only thing I can say is, try a different installation. Sorry. Best.

one more thing: you might need to rerun the amd patcher.

Edited by orByte, 10 January 2007 - 05:38 PM.


#116
LoveableGeek

LoveableGeek

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
I just wanted to post to thank you, orByte (and mac fly as well!) for all your hard work and effort. I'm running 10.4.7 on a Compaq Presario c304, and it's been hell getting most of the hardware to work. The problem many Compaq (and HP, who now owns Compaq) users face is the limited BIOS shipped with new systems-- you can only really change the date/time/boot order, and maybe a couple of other options. Thanks to your driver, I've snatched EHCI control away from their crippled BIOS.

Keep up the excellent work. :wallbash:

#117
bumpy

bumpy

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
hi,

Could someone please upload this kext to other webspace. Sendspace is alway show "reached daily download limit".

My system get freeze whenever access USB and SATA harddisk at same time. I really want to try this kext.

Sorry for my english.


thanks

Edited by bumpy, 11 January 2007 - 05:42 PM.


#118
LoveableGeek

LoveableGeek

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

hi,

Could someone please upload this kext to other webspace. Sendspace is alway show "reached daily download limit".

My system get freeze whenever access USB and SATA harddisk at same time. I really want to try this kext.

Sorry for my english.
thanks

bumpy,

What kernel are you using? I can attach it to a pm or a regular email if you'd like.

#119
LoveableGeek

LoveableGeek

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Nevermind. Looked at your sig, I'll send along the appropriate kext, I just need your email addy as this forum doesn't support uploading attachments to PMs (at least as far as I can tell).

Edited by LoveableGeek, 12 January 2007 - 03:14 AM.


#120
bumpy

bumpy

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts

Nevermind. Looked at your sig, I'll send along the appropriate kext, I just need your email addy as this forum doesn't support uploading attachments to PMs (at least as far as I can tell).



I just download it via proxy server. Sendspace seem to block my isp or country :rolleyes:

thanks LoveableGeek

=============
update: it work. :( i love u orByte.

Edited by bumpy, 12 January 2007 - 02:09 PM.






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