| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Tommy --_______________________________________________
Sorry, your message got lost in the flame war on the ata-scsi-dev list. IOUSBMassStorageClass does this by design for multi-LUN USB devices. It has to, because that is the only layer which can distinguish the multiple LUNs.
-- Chris
On Thursday, December 12, 2002, at 11:12 PM, Tommy Knowlton wrote:
Hello,
I recently sent this question to email@hidden, but apparently nobody who reads that list has any ideas why.
I wonder if someone on this list is willing to explain to me why IOUSBMassStorageClass directly instantiates an IOSCSILogicalUnitNub, rather than allowing the registry to match IOSCSIPeripheralDeviceNub, as the FireWire and ATAPI SCSI Protocol Service providers do?
Is there a reason for the difference?
In particular, this interferes with my driver that depends on beating IOSCSIPeripheralDeviceNub in the probe(). I've got a customer that would like to use my driver to inspect the SCSI CDB's that are causing his USB Mass target to behave strangely. Of course, a bus analyzer will eventually do the trick, but it is more expensive and less convenient.
If anyone here has a suggestion, I'd love to know. My guess is, there is no need for the difference in protocol service implementations, it's just an oversight. If anyone can verify that, I'd love to submit a patch along with my bug report.
The inconsistency interferes with my SCSI CDB snooper, see http://www.xmission.com/~knowlton/projects/PhotoCop.html
Curiously yours,
--
Tommy Knowlton
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.
------------------
6 Infinite Loop
M/S 306-2MS
Cupertino CA 95014
phone: (408) 974-4033
fax: (408) 862-7577
email: email@hidden
| References: | |
| >Re: Why is USB different from ATAPI and FireWire? (From: Chris Sarcone <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.