Hi All,
I met a strange problem when I updated my OSX from 10.3.4 to 10.3.5( or 10.3.6, 10.3.7), my USB 2.0 Card reader can not be used, it's driver is modified from IOUSBMassStorageClass-1.31 last year, which runs well on OSX 10.2 to 10.3.4, I guess something changed in IOSCSIArchitectureModeIFamily-138.3.1, from the debug information, it get a mistake at BeginProvidedServices(), when doing this,
for ( int loopLUN = 0; loopLUN <= fMaxLogicalUnitNumber; loopLUN++)
{
STATUS_LOG ( ( "IOCMUSBStorClass::CreatePeripheralDeviceNubForLUN entering.\n" ) );
IOSCSILogicalUnitNub * nub = OSTypeAlloc( IOSCSILogicalUnitNub );
if( nub == NULL )
{
PANIC_NOW(( "IOUSBMassStorageClass::CreatePeripheralDeviceNubForLUN failed" ));
return false;
}
nub->init( 0 );
if( nub->attach( this ) == false )
{
if( isInactive() == false )
{
// panic since the nub can't attach and we are active
PANIC_NOW(( "IOUSBMassStorageClass::CreatePeripheralDeviceNubForLUN unable to attach nub" ));
}
// Release our nub before we return so we don't leak...
nub->release();
// We didn't attach so we should return false.
return false;
}
nub->SetLogicalUnitNumber( loopLUN );
if( nub->start( this ) == false )
{
STATUS_LOG (("IOCMUSBStorClass::nub->start() failed!!!\n"));
nub->detach( this );
}
else
{
STATUS_LOG (("IOCMUSBStorClass::nub->registerService().\n"));
nub->registerService( kIOServiceSynchronous );
}
nub->release();
STATUS_LOG (("IOCMUSBStorClass::CreatePeripheralDeviceNubForLUN exiting.\n\n" ) );
}
}
It's failed on nub->start( this ), I do not know why, our 16in1 USB 2.0 Card Reader is a Vendor Specific USB device. It support CF/SM/SD/MS cards. I want to know what's changed in this from OSX 10.3.5, anyone who can help me?
Thanks a lot.
Best regards,
Robin Wang
---------------------------------------
email@hidden
2005-01-10
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden
This email sent to email@hidden