Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2]   Go Down

Author Topic: USB 2.0 DRIVER ***EARLY BETA***  (Read 947 times)

Jubadub

  • 512 MB
  • *****
  • Posts: 552
  • There is no Mac in OS X
Re: USB 2.0 DRIVER ***EARLY BETA***
« Reply #20 on: Yesterday at 11:55:57 PM »

I'm very pleased to hear about the move to leverage the Mac OS ROM file via @ELN's tbxi project. :) Yes, that's the way. I think literal system Extensions exist inside it?

Which brings me to the following point: @joevt I believe Old World ROM Macs will have to rely on a normal system Extension that would go inside the Extensions folder. What that might imply, though, is that USB booting with 2.0 speeds might not happen, but then again, I think no Old World ROM Mac can boot via USB at all, can they?

I'm not aware of Old World ROM Mac being able to use the Mac OS ROM file (although I could be wrong), but what I know they can use is System Enablers, AKA "gibblies". I don't know if it's possible to put USB drivers on them, though.

Worst case scenario, the app/service implementation we currently have could be kept for Old World ROM Macs if all else fails, whereas we leverage a Mac OS ROM patch for New World ROM Macs.
Logged

Rairii

  • 1 MB
  • *
  • Posts: 1
Re: USB 2.0 DRIVER ***EARLY BETA***
« Reply #21 on: Today at 06:00:14 AM »

My own analysis about the USB mass storage issues:

Apple actually released the source for the USB mass storage driver, in the USB DDK Examples\USBSampleStorageDriver.

It's not 100% the same but most of the code is identical.

Looking at what could be failing regards to REQUEST SENSE, it seems the CDB length in the CBW is always set to 12 bytes. Most USB mass storage drivers will not use 12-byte CDBs at all, and it seems Mac OS's USB mass storage driver doesn't even send any real 12-byte command at all.

Not sure why it works for OHCI, probably would need to check the REQUEST SENSE response (dump from macsbug or so).
Logged

Jubadub

  • 512 MB
  • *****
  • Posts: 552
  • There is no Mac in OS X
Re: USB 2.0 DRIVER ***EARLY BETA***
« Reply #22 on: Today at 06:53:22 AM »

Thank you @Rairii for sharing invaluable insight here with us!

I will share your link here so that it is even easier to find for the devs here:

https://ftpmirror.your.org/pub/misc/apple/ftp.apple.com/developer/Development_Kits/

More specifically:

USB_DDK_1.5.1f1.img.sea.hqx

Overall "Mac_OS_USB" directory, e.g. USB_DDK_1.5.9f1.img.bin. (Latest version?)
Logged
Pages: 1 [2]   Go Up

Recent Topics