Need a low level SCSI driver example for osx10.5

Discussion in 'Mac Programming' started by eddyq, Jul 6, 2009.

  1. macrumors member

    Joined:
    Jun 10, 2009
    #1
    Is there a place where I can download a low level SCSI driver source example for OSX 10.5?

    If this is the wrong forum then please advise.
     
  2. macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #2
    Not that I know of for OS X specifically. You might be better off looking at a Linux SCSI driver and then trying to port it to OS X yourself to get a feeling for using IO Kit and the actual implementation of the driver itself.
     
  3. macrumors 6502a

    Joined:
    Oct 13, 2007
    #3
    Why not go look at Apple's source code in the Darwin project for this? Of course you have not said what you want this for, so if you are looking for this for commercial purposes you better make sure that you are not going to cross any nasty legal problems by looking at the code. So if you are doing this for commercial purposes (or looking to combine this with other open-source code) make sure that you can live inside the relavent Apple license.
     
  4. thread starter macrumors member

    Joined:
    Jun 10, 2009
    #4
    Need a low level SCSI driver example for osx10.5

    Thanks, Is there a way I can download the complete set of source from this site?
     
  5. thread starter macrumors member

    Joined:
    Jun 10, 2009
    #5
    Yes, there is a blue arrow over to the right ... just click on that.
     
  6. thread starter macrumors member

    Joined:
    Jun 10, 2009
    #6
    Matching in a device driver

    I'm writing a SCSI disk driver (from Figure 2-2 of http://developer.apple.com/documenta...00013-BEHEGHEG).

    Doing some reading I found that there is a matching process that causes the disk driver to match up with the proper clients. But I can't find anything that is clear on how I specify the matching parameters. As far as I can tell it would be in a .plist file but now I can't find anything that specifies which parameters to set and to what values they should have. The HelloIOKit sample does this but it is not a SCSI sample so it is not of much help.

    Does anyone understand this and if so can you give me some information?
     
  7. macrumors 6502a

    Joined:
    Oct 13, 2007
    #7
    This is not a good place to find help on this sort of thing. Apple hosts mailing lists on http://lists.apple.com, and there are a few that might be good for you there. Take a look at the archives of relevant ones, and post to the one that seems best. I know that there are a number of Apple engineers who hang out there (and probably few to none here).
     

Share This Page