I have a PC Card [GSM/UMTS] that has 3 serial ports on it. For testing
purpose we need to insert and eject the cards via software. To
accomplish this I did take the PCCardFamiliy kernel extension and added
some code so that I can issue an insert request to the card.
This all works great so I can issue now an eject and insert command to
the device/pccard bus. This is pretty much the same as manually
ejecting the card and inserting again.
Here is no my problem. When I run a script that constantly (with some
delays) inserts and ejects the card I will get the following messages
in the system log.
---------
Jan 18 17:00:15 localhost kernel:
USBF: 1912.734 +AppleUSBOHCI[0x2ba2800]::
ReturnOneTransaction(0x11f6821c, 0x29a301c, e00002ed)
Jan 18 17:00:15 localhost kernel: IOPCCard info: cs: cb_free(bus 1)
Jan 18 17:00:15 localhost kernel:
USBF: 1912.828 AppleUSBOHCI[0x2ba2800]::MakeDevice error setting
address. err=0xe00002ed device=0x2baa500 - releasing device
Jan 18 17:00:15 localhost kernel: USBF: 1912.828 AppleUSBHubPort: Error
0xe00002c0: clearing port feature
Jan 18 17:00:15 localhost kernel: IOPCCard: shutting down socket 0.
Jan 18 17:00:15 localhost kernel: IOPCCard: calling terminate on socket
0 function 0 nub 0x2b91000.
Jan 18 17:00:15 localhost kernel: IOCardBusDevice: releasing socket 0
function 0 from card services.
---------
During normal operation the log will dump the following
---------
Jan 18 16:59:58 localhost kernel: IOPCCard info: cs: cb_free(bus 1)
Jan 18 16:59:58 localhost kernel: IOPCCard: shutting down socket 0.
Jan 18 16:59:58 localhost kernel: IOPCCard: calling terminate on socket
0 function 0 nub 0x2c07800.
Jan 18 16:59:58 localhost kernel: IOCardBusDevice: releasing socket 0
function 0 from card services.
---------
This happens even if I pull the card and manually insert it. Once I'm
in that state I need to restart the machine.
Do you have any idea what the cause of this could be. Could this be a
bug in the Mac OS?
Thanks,
Martin
_______________________________________________
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