2011年12月12日 星期一

利用foursquare API列出附近venue

https://api.foursquare.com/v2/venues/search?ll=25.033408,121.564099&client_secret=AAAAB&client_id=ABCDE

參數:
client_secret和client_id必備
ll: Latitude, longitude

不需要登入foursquare帳號即可使用

2011年12月9日 星期五

UITableView Grouped樣式的圓角黑邊問題

將tableView的背景設為clearColor時,
若是從Interface Builder設定,
將出現黑邊問題。

從程式碼設定則無此問題





2011年12月7日 星期三

戴佩妮Penny回家路上App上架了




Penny,種子音樂,彼得潘,王薔聯合製作。

Apple Reject:Use of protected 3rd party material

problem:
Use of protected 3rd party material (trademarks, copyrights, trade secrets, otherwise proprietary content) requires a documented rights check which must be provided upon request

solution:
在一開始上架時,於review notes裡注明擁有版權。或是在被reject時,於Resolution Center裡說明。

2011年12月5日 星期一

App的死亡 (App程式設計入門第二版預告)

8-3 App的死亡
沒有不老的容顏,也沒有不死的App。造成App死亡的原因,主要有以下幾種:
1. 使用者按下home按鈕,讓App進入沉睡模式。然後再狠心地雙擊home按鈕,進入殺手模式,殺了App。

2011年11月28日 星期一

Apple Reject: sweepstakes and contests

Problem:
Official rules for sweepstakes and contests, must be presented in the app and make it clear that Apple is not a sponsor or involved in the activity in any manner

Solution:
在App裡注明Apple和sweepstakes or contest無關

2011年11月19日 星期六

設定Lock畫面顯示的播放音樂資訊 - 戴佩妮[回家路上]App解密




MPNowPlayingInfoCenter *playInfo =[MPNowPlayingInfoCenter defaultCenter];

UIImage *albumArtImage = [UIImage imageNamed:@"Default.png"];

MPMediaItemArtwork *albumArt = [[MPMediaItemArtwork alloc] initWithImage:albumArtImage];

NSArray *objs = [NSArray arrayWithObjects:@"我在乎" ,@"戴佩妮", albumArt, nil];

NSArray *keys = [NSArra arrayWithObjects:

MPMediaItemPropertyTitle, MPMediaItemPropertyArtist,

MPMediaItemPropertyArtwork, nil];

playInfo.nowPlayingInfo = [NSDictionary dictionaryWithObjects: objs forKeys:keys];


2011年9月17日 星期六

繼承的大忌 – 多重繼承

彼得潘有段時間鑽研武術,投入了武當門下,學習太極拳。於是即使彼得潘對於茅山派的殭屍術也頗有興趣,但還是得遵守中國傳統的師父只能有一個法則。在Objective-C裡,也有著如此遵師重道的好傳統,只允許單一繼承。

2011年7月12日 星期二

從iTunes download App和同步App至iPhone

1. Download iTunes
http://www.apple.com/tw/itunes/download/
2. 啟動iTunes
3. 點選右上角的sign in
4. 點選左半邊的iTunes Store


5. 在右上角的框框輸入search的關鍵字,接著按下Enter


6. 顯示找到的App清單
7. 若要切換國家,點選右下角的國家圖案

8. 點選左半邊的Devices


9. 在Device頁面,點選上方的Apps選項
在Apps頁面的左半部,可勾選想要裝至iPhone上的App

10. 點選右下角的Sync進行同步

2011年5月17日 星期二

file transfer command

ex:
copy directory scsiTest to /root/ on 192.168.5.83 
scp -r scsiTest root@192.168.5.83:/root/ 

2011年5月5日 星期四

compile linux driver

for red hat:
install following rpm

kernel-2.6.18-238.el5.i686.rpm
kernel-devel-2.6.18-238.el5.i686.rpm

2011年5月4日 星期三

sysrq

when panic, we can use following combination to read information


To be able to use the SysRq feature:
echo "1" > /proc/sys/kernel/sysrq


1. Alt+SysRQ+m 
prints memory information to the console




reference:
http://www.linuxhowtos.org/Tips%20and%20Tricks/sysrq.htm

2011年5月3日 星期二

2011年5月2日 星期一

add configuration in xcode



google map latitude & longitude

latitude: -90 ~ 90
longitude :  -180 ~ 180

IOWorkLoop

command gate event source:
ex:

this->testCommandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
                                                          this, &com_peter_driver_MyDriver::myCommandGateAction),
this->getProvider(), NULL, NULL, NULL);
the command gate action, myCommandGateAction, is executed by thread that call runAction
if A call testCommandGate's runAction, and B call testCommandGate's runAction later,
B will wait until A finishes

subclass IOEventSource:
is executed by newly created thread
checkForWork will repeatedly be called until it return false
do the task in checkForWork
use enable() to trigger checkForWork to be called




get current thread in mac driver

IOThreadSelf():
ex:
IOLog("Starting current thread %p\n"
  IOThreadSelf());



kextlibs - find symbols in kext

ex:
kextlibs  -all-symbols TestIokitDriver2.kext

->



For all architectures:
    com.apple.kpi.iokit = 10.7
    com.apple.kpi.libkern = 10.7
    com.apple.kpi.mach = 10.7

For i386:
    322 symbols found in one library kext each:
    __ZN9IOService14checkResourcesEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObject18_RESERVEDOSObject8Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService19_RESERVEDIOService7Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry15copyParentEntryEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService17currentCapabilityEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry11compareNameEP8OSStringPS1_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry16detachFromParentEPS_PK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService15enableInterruptEi in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService37Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry11getLocationEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry30Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService18Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry24dictionaryWithPropertiesEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry8isParentEPS_PK15IORegistryPlaneb in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService7messageEmPS_Pv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry11getPropertyEPK8OSSymbolPK15IORegistryPlanem in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService14applyToClientsEPFvPS_PvES1_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService14activityTickleEmm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService12waitForStateEmmP13mach_timespec in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService9waitQuietEP13mach_timespec in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    _IOSleep in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN10IOWorkLoop8workLoopEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    _OSRuntimeInitializeCPP in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService44Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObject18_RESERVEDOSObject9Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN8OSObjectnwEm in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService25Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20getDeviceMemoryCountEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService15registerServiceEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN13IOCommandGate11commandGateEP8OSObjectPFiS1_PvS2_S2_S2_E in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry16getPathComponentEPcPiPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry20Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService18matchPropertyTableEP12OSDictionary in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService21getClientWithCategoryEPK8OSSymbol in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry12copyPropertyEPK8OSString in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN11OSMetaClass21_RESERVEDOSMetaClass6Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry22Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK8OSObject6retainEv in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry24Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService32Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService21unregisterAllInterestEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService13Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService15errnoFromReturnEi in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry26Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService14tellChangeDownEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15OSMetaClassBase25_RESERVEDOSMetaClassBase4Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService26deRegisterInterestedDriverEPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry28Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK8OSObject9serializeEP11OSSerialize in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZNK15IORegistryEntry15applyToChildrenEPFvPS_PvES1_PK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService16didYouWakeSystemEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService15terminateClientEPS_m in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry11setPropertyEPKcP8OSObject in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK9IOService12handleIsOpenEPKS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService16removePowerChildEP17IOPowerConnection in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOServiceD2Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry11setPropertyEPKcb in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry10Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService14newTemperatureElPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService20Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService23requestPowerDomainStateEmP17IOPowerConnectionm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService4openEPS_mPv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService12getBusyStateEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry12copyPropertyEPKc in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry12Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObjectdlEPvm in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService20callPlatformFunctionEPK8OSSymbolbPvS3_S3_S3_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService29Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService14startCandidateEPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry14Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService18matchPropertyTableEP12OSDictionaryPl in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK9IOService11getWorkLoopEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService18setIdleTimerPeriodEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry16Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry21getParentSetReferenceEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService13addPowerChildEPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK8OSObject14getRetainCountEv in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry18Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry25_RESERVEDIORegistryEntry6Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService23acknowledgeNotificationEPvm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService14causeInterruptEi in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry14applyToParentsEPFvPS_PvES1_PK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK9IOService11getProviderEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService19_RESERVEDIOService8Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK11OSMetaClass13taggedReleaseEPKvi in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZNK15OSMetaClassBase9isEqualToEPKS_ in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService36Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN11OSMetaClass21_RESERVEDOSMetaClass1Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService15comparePropertyEP12OSDictionaryPKc in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService17Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK11OSMetaClass19instanceConstructedEv in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN15IORegistryEntry17runPropertyActionEPFiP8OSObjectPvS2_S2_S2_ES1_S2_S2_S2_S2_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObject19_RESERVEDOSObject14Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService43Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService21temporaryPowerClampOnEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService24Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService26temperatureCriticalForZoneEPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService13checkResourceEP8OSObject in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry12copyPropertyEPKcPK15IORegistryPlanem in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService13willTerminateEPS_m in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15OSMetaClassBase25_RESERVEDOSMetaClassBase6Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService18changePowerStateToEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK9IOService23getOpenProviderIteratorEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService18lockForArbitrationEb in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK9IOService19getProviderIteratorEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService13askChangeDownEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService31Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService10youAreRootEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService12Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry14copyChildEntryEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN11OSMetaClass21_RESERVEDOSMetaClass4Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    _panic in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZNK8OSObject13taggedReleaseEPKv in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZNK15IORegistryEntry14getParentEntryEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    _IOLog in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObject19_RESERVEDOSObject12Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService19deliverNotificationEPK8OSSymbolmm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService17addNeededResourceEPKc in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK9IOService6isOpenEPKS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService10gMetaClassE in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry11setPropertyEPK8OSSymbolP8OSObject in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService11handleCloseEPS_m in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry25_RESERVEDIORegistryEntry8Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService47Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService28Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService12getResourcesEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry7isChildEPS_PK15IORegistryPlaneb in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService18systemWillShutdownEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService15comparePropertyEP12OSDictionaryPK8OSString in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry7inPlaneEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService21powerStateDidChangeToEmmPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry8getDepthEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry7setNameEPKcPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry11setPropertyEPKcyj in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry11setPropertyEPKcS1_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService6PMinitEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN18IOTimerEventSource16timerEventSourceEP8OSObjectPFvS1_PS_E in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService35Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService15setDeviceMemoryEP7OSArray in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService19_RESERVEDIOService9Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService16Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObject19_RESERVEDOSObject10Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN11OSMetaClass21_RESERVEDOSMetaClass7Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN15IORegistryEntry13attachToChildEPS_PK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService16resolveInterruptEPS_i in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK11OSMetaClass13taggedReleaseEPKv in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZNK15IORegistryEntry7getNameEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK9IOService17getClientIteratorEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService14setPowerParentEP17IOPowerConnectionbm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry15detachFromChildEPS_PK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService17registerInterruptEiP8OSObjectPFvS1_PvPS_iES2_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService42Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService8finalizeEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry11getPropertyEPK8OSStringPK15IORegistryPlanem in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObject18_RESERVEDOSObject0Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService23Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry16getChildIteratorEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService17setAggressivenessEmm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService24registerInterestedDriverEPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService16requestTerminateEPS_m in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK9IOService21getOpenClientIteratorEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService24PM_idle_timer_expirationEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry31Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService13newUserClientEP4taskPvmP12OSDictionaryPP12IOUserClient in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK8OSObject12taggedRetainEPKv in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService16disableInterruptEi in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry11getPropertyEPKcPK15IORegistryPlanem in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15OSMetaClassBase25_RESERVEDOSMetaClassBase3Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService19start_PM_idle_timerEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService16getInterruptTypeEiPi in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService10handleOpenEPS_mPv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZTV9IOService in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService27maxCapabilityForDomainStateEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN11OSMetaClassD2Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService30Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry8hasAliasEPK15IORegistryPlanePcPi in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService11Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObject18_RESERVEDOSObject1Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZNK11OSMetaClass6retainEv in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService39Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry14attachToParentEPS_PK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService24powerStateForDomainStateEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry21Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK8OSObject7releaseEv in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZNK11OSMetaClass12taggedRetainEPKv in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService14messageClientsEmPvj in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry23Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN11OSMetaClass21_RESERVEDOSMetaClass2Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOServiceC2EPK11OSMetaClass in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry25Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService46Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService16tellNoChangeDownEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService16command_receivedEPvS0_S0_S0_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService27Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService15lookupInterruptEibPP21IOInterruptController in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObject18_RESERVEDOSObject2Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN15IORegistryEntry13childFromPathEPKcPK15IORegistryPlanePcPi in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry27Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService23currentPowerConsumptionEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService24mapDeviceMemoryWithIndexEjm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService16allowPowerChangeEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry29Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService13getPMworkloopEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry11setPropertyEPKcPvj in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService24getDeviceMemoryWithIndexEj in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry11Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService34Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry11detachAboveEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry16setPropertyTableEP12OSDictionary in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService15Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry13Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService15nextIdleTimeoutE12UnsignedWideS0_j in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService13setPowerStateEmPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObject18_RESERVEDOSObject3Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry15Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry11setPropertyEPK8OSStringP8OSObject in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService17getAggressivenessEmPm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry9detachAllEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService5closeEPS_m in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry17Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK8OSObject7releaseEi in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService12clampPowerOnEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService12didTerminateEPS_mPb in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService9terminateEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry26_RESERVEDIORegistryEntry19Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService16registerInterestEPK8OSSymbolPFiPvS3_mPS_S3_jES3_S3_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15OSMetaClassBase25_RESERVEDOSMetaClassBase5Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN8OSObject19_RESERVEDOSObject15Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService41Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService17applyToInterestedEPK8OSSymbolPFvP8OSObjectPvES5_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService10adjustBusyEl in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN11OSMetaClass21_RESERVEDOSMetaClass5Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService22Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry17matchPathLocationEPKcPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService17cancelPowerChangeEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry11getPropertyEPKc in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK9IOService19serializePropertiesEP11OSSerialize in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService22copyClientWithCategoryEPK8OSSymbol in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry14removePropertyEPK8OSSymbol in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService15probeCandidatesEP12OSOrderedSet in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObject18_RESERVEDOSObject4Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService10joinPMtreeEPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService13newUserClientEP4taskPvmPP12IOUserClient in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK11OSMetaClass12getMetaClassEv in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN15IORegistryEntry14removePropertyEPKc in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService13messageClientEmP8OSObjectPvj in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService19_RESERVEDIOService6Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService12tellChangeUpEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService22powerStateWillChangeToEmmPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService16stringFromReturnEi in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry21getChildFromComponentEPPKcPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService10Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20unlockForArbitrationEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN11OSMetaClassC2EPKcPKS_j in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN15IORegistryEntry4initEPS_PK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService12passiveMatchEP12OSDictionaryb in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService15powerChangeDoneEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService13matchLocationEPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService38Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry11getPropertyEPK8OSSymbol in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService19Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry25_RESERVEDIORegistryEntry7Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService31initialPowerStateForDomainStateEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry12copyPropertyEPK8OSStringPK15IORegistryPlanem in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService15getDeviceMemoryEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry20getChildSetReferenceEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry11setLocationEPK8OSSymbolPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService18doServiceTerminateEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService17comparePropertiesEP12OSDictionaryP12OSCollection in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObject18_RESERVEDOSObject5Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN8OSObject19_RESERVEDOSObject13Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZNK15IORegistryEntry8copyNameEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK9IOService9getClientEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry14removePropertyEPK8OSString in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService14doServiceMatchEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService19unregisterInterruptEi in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry13getChildEntryEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService45Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService26Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry12copyPropertyEPK8OSSymbol in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService13startMatchingEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN11OSMetaClass21_RESERVEDOSMetaClass0Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    _current_thread in /System/Library/Extensions/System.kext/PlugIns/Mach.kext (10.7.0)
    __ZNK11OSMetaClass9serializeEP11OSSerialize in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService6PMstopEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry17getParentIteratorEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObject18_RESERVEDOSObject6Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZNK8OSObject13taggedReleaseEPKvi in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService33Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15OSMetaClassBase25_RESERVEDOSMetaClassBase7Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService22PM_Clamp_Timer_ExpiredEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService14Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService16applyToProvidersEPFvPS_PvES1_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService6attachEPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry7setNameEPK8OSSymbolPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    _OSRuntimeFinalizeCPP in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN15IORegistryEntry11setLocationEPKcPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK11OSMetaClass7releaseEv in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN8OSObject19_RESERVEDOSObject11Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZNK15IORegistryEntry12copyPropertyEPK8OSSymbolPK15IORegistryPlanem in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK11OSMetaClass7releaseEi in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN8OSObject4initEv in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZNK15IORegistryEntry12compareNamesEP8OSObjectPP8OSString in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService10makeUsableEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService19registerPowerDriverEPS_P14IOPMPowerStatem in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService24acknowledgeSetPowerStateEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN8OSObject18_RESERVEDOSObject7Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN9IOService6detachEPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService40Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20_RESERVEDIOService21Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry12copyLocationEPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService12requestProbeEm in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService10systemWakeEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService22acknowledgePowerChangeEPS_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry11getPropertyEPK8OSString in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK15IORegistryEntry7getPathEPcPiPK15IORegistryPlane in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK11OSMetaClass14getRetainCountEv in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN11OSMetaClass21_RESERVEDOSMetaClass3Ev in /System/Library/Extensions/System.kext/PlugIns/Libkern.kext (10.7.0)
    __ZN15IORegistryEntry25_RESERVEDIORegistryEntry9Ev in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN9IOService20callPlatformFunctionEPKcbPvS2_S2_S2_ in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZNK9IOService8getStateEv in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)
    __ZN15IORegistryEntry13setPropertiesEP8OSObject in /System/Library/Extensions/System.kext/PlugIns/IOKit.kext (10.7.0)

2011年4月30日 星期六

2011年4月21日 星期四

set io parameter on mac

sysctl -w kern.aioprocmax=1000

sysctl

get or set kernel state

show value
ex:
sysctl -a | grep aio
->

kern.aiomax = 90
kern.aioprocmax = 16
kern.aiothreads = 4
kern.aiomax: 90
kern.aioprocmax: 16
kern.aiothreads: 4


modify value
ex:
sysctl -w kern.aioprocmax=1000

iometer

http://sourceforge.net/news/?group_id=40179

use iometer to test  disk performance on mac
(the dynamo for mac & iometer for windows must be the same version)

(1) run dynamo on mac os
 ex:
sudo ./Dynamo -i 192.168.4.112  -m 172.18.8.21
192.168.4.112 is windows IP,
172.18.8.21  is mac os IP

(2) run iometer on windows

2011年4月20日 星期三

atomic operation in mac driver

SInt32 OSDecrementAtomic(volatile SInt32 * address);
SInt32 OSIncrementAtomic(volatile SInt32 * address);

vibrate on iOS

AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
( add AudioToolbox.framework) 

2011年4月19日 星期二

linux driver location

ex:
/lib/modules/2.6.18-128.el5/kernel/drivers/net/e1000/e1000.ko

find network card driver on linux

check /etc/modules.conf
ex:
cat /etc/modprobe.conf
-> alias scsi_hostadapter ata_piix alias eth1 e1000 alias eth3 e1000

linux driver command

lsmod 

modinfo
ex:
modinfo test
show info about test module

mac driver plist

mac driver plist
mac driver:

1. CFBundleIdentifier
unique id for kext
ex:
com.deeplove.test
it does not need to match with IOClass

2. OSBundleLibraries
define depended libraries
we can use kextlibs to find linked libraries
ex:
kextlibs -xml GenericKext.kext
->
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.kpi.libkern</key>
<string>10.4</string>
</dict>
the match version number lib is define in OSBundleCompatibleVersion
ex:
<key>OSBundleCompatibleVersion</key>
<string>1.0</string>

3. IOKitPersonalities
ex:
<key>IOKitPersonalities</key>
<dict>
<key>MyIokitDriver</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.driver.MyIokitDriver</string>
<key>IOClass</key>
<string>com_yourcompany_driver_MyIokitDriver</string>
<key>IOKitDebug</key>
<integer>65535</integer>
<key>IOProviderClass</key>
<string>IOResources</string>
<key>IOMatchCategory</key>
<string>com_yourcompany_driver_MyIokitDriver</string>
</dict>
</dict>
CFBundleIdentifier in IOKitPersonalities must be the same  with outer CFBundleIdentifier
IOProviderClass:
 indicates the class of the provider objects that your driver can match on

IOMatchCategory:
 allows other drivers to match on the same device as your driver,
 as long as the drivers values for this property differ



ipos tool

python program
http://benjamin-schweizer.de/files/iops/

2011年4月18日 星期一

create install package for kext

reference:
http://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptPackaging/packaging_tutorial.html%23//apple_ref/doc/uid/20002368-CHDCBCJA

1. create dir for kext
    cd /tmp
    sudo mkdir  tempKext

2. copy kext into dir
   cd /KEXT_PROJECT_PATH/build/Release
   sudo cp -R test.kext  /tmp/tempKext

3. use PackageMaker to create install package
    (/Developer/Application/Utilities)
    drag tempKext dir into PackageMaker window
    save editing result as .pmdoc file( PackageMaker file)

4. build
    create .pkg file (install file)

.







2011年4月16日 星期六

multitouch on iOS

get touch events for specific view


-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    NSSet *touchesForTestView = [event touchesForView:testView];
}

2011年4月15日 星期五

create global variable on iOS project

ex:
test.m 
int a = 3;

hello.h
extern int a;

useA.m
#import hello.h

NSNotificationCenter

- (void)addObserver:(id)observer selector:(SEL)aSelector :(NSString *)aName object:(id)anObject;
register to receive notification
parameter:
1. observer: the object to receive notification

2. aName: name of notification, if it is nil, we receive all notifications sent out by anObject

3. anObject: specify object we want to observe. If it is nil, we receive all notification with aName

we can register many objects to receive same notification.


- (void)postNotificationName:(NSString *)aName object:(id)anObject;
send notfication
parameter:
anObject: sender




create project on github

1. new repository

2. edit repository info


3. add  collaborator