Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


  • Content count

  • Joined

  • Last visited

About Benjan

  • Rank
    InsanelyMac Protégé
  1. Xcode startup error

    wutever, created a new account and solved it.
  2. Xcode 3.2.2 OS 10.6.4 startup error: create proj. error: 6/16/10 3:36:39 PM Xcode[537] An error occurred while caching plug-ins: Error Domain=DTPlugInErrorDomain Code=1 UserInfo=0x2005c0c00 "Scanning for plug-ins failed." ({ DTUnderlyingExceptionErrorKey = "*** -[NSURL initFileURLWithPath:]: nil string parameter"; NSLocalizedDescription = "Scanning for plug-ins failed."; NSLocalizedFailureReason = "Scanning for plug-ins was aborted due to an unknown error"; NSLocalizedRecoverySuggestion = "You may not have appropriate permission to read or load installed plug-ins."; }) 6/16/10 3:36:39 PM Xcode[537] [MT] Uncaught Exception: +entityForName: could not locate an NSManagedObjectModel for entity name 'DTExtensionPointDescription' Backtrace: 0 0x0000000100131ca6 __exceptionPreprocess (in CoreFoundation) 1 0x0000000102e500f3 objc_exception_throw (in libobjc.A.dylib) 2 0x0000000102f287a9 +[NSEntityDescription entityForName:inManagedObjectContext:] (in CoreData) 3 0x0000000100043e53 -[DTPlugInManager(_DTInternalMethods) _fetchInstancesOfEntity:withIdentifier:fetchLimit:] (in DevToolsFoundation) 4 0x00000001000487cf -[DTPlugInManager extensionPointWithIdentifier:] (in DevToolsFoundation) 5 0x000000010174c8a8 +[XCRemoteComputerManager remoteComputerExtensionPoint] (in DevToolsCore) 6 0x000000010174c806 +[XCRemoteComputerManager remoteComputerExtensions] (in DevToolsCore) 7 0x000000010174c6c9 +[XCRemoteComputerManager remoteComputerClasses] (in DevToolsCore) 8 0x0000000101a2c287 ____+[XCRemoteComputerManager sharedRemoteComputerManager]_block_invoke__block_invoke_ (in DevToolsCore) 9 0x0000000102c321b0 _dispatch_call_block_and_release (in libSystem.B.dylib) 10 0x0000000102c10d52 _dispatch_queue_drain (in libSystem.B.dylib) 11 0x0000000102c115ff _dispatch_queue_serial_drain_till_empty (in libSystem.B.dylib) 12 0x0000000102c4423c _dispatch_main_queue_callback_4CF (in libSystem.B.dylib) 13 0x00000001000cdb58 __CFRunLoopRun (in CoreFoundation) 14 0x00000001000cc84f CFRunLoopRunSpecific (in CoreFoundation) 15 0x000000010452391a RunCurrentEventLoopInMode (in HIToolbox) 16 0x000000010452367d ReceiveNextEventCommon (in HIToolbox) 17 0x00000001045235d8 BlockUntilNextEventMatchingListInMode (in HIToolbox) 18 0x000000010074f29e _DPSNextEvent (in AppKit) 19 0x000000010074ebed -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) 20 0x00000001007148d3 -[NSApplication run] (in AppKit) 21 0x000000010070d5f8 NSApplicationMain (in AppKit) 22 0x000000010000ea2e 23 0x00000001000015e4 6/16/10 3:43:02 PM Xcode[537] [MT] File: /SourceCache/DevToolsBase/DevToolsBase-1648/pbxcore/SourceControlManagement/SCMG3/SCMModel.m Line: 87 Object: <SCMModel> Method: initialize couldn't create ~/.Xcode Backtrace: 0 0x00000001020b255f -[PBXAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsInterface) 1 0x0000000101986c1a _XCAssertionFailureHandler (in DevToolsCore) 2 0x00000001017cfc3d +[SCMModel initialize] (in DevToolsCore) 3 0x0000000102e4c535 _class_initialize (in libobjc.A.dylib) 4 0x0000000102e4c3f2 _class_initialize (in libobjc.A.dylib) 5 0x0000000102e5a63e prepareForMethodLookup (in libobjc.A.dylib) 6 0x0000000102e52eaa lookUpMethod (in libobjc.A.dylib) 7 0x0000000102e4b1ba objc_msgSend (in libobjc.A.dylib) 8 0x00000001017cf80b -[XCSourceControlManager scmSandbox] (in DevToolsCore) 9 0x00000001017de50f -[XCSourceControlManager sandboxEntryForFileReference:] (in DevToolsCore) 10 0x00000001017de4e5 -[PBXFileReference sandboxEntry] (in DevToolsCore) 11 0x00000001017de397 -[PBXFileReference scmInfo] (in DevToolsCore) 12 0x0000000101f2e1c5 -[PBXFileTableDataSource tableView:willDisplayCell:forTableColumn:row:] (in DevToolsInterface) 13 0x0000000100800167 -[NSTableView preparedCellAtColumn:row:] (in AppKit) 14 0x0000000100818d1f -[NSTableView _drawContentsAtRow:column:withCellFrame:] (in AppKit) 15 0x0000000100817db8 -[NSTableView drawRow:clipRect:] (in AppKit) 16 0x0000000101f2d7a6 -[PBXExtendedTableView drawRow:clipRect:] (in DevToolsInterface) 17 0x00000001008176ab -[NSTableView drawRowIndexes:clipRect:] (in AppKit) 18 0x0000000100816058 -[NSTableView drawRect:] (in AppKit) 19 0x000000010080c081 -[NSView _drawRect:clip:] (in AppKit) 20 0x000000010080acf4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit) 21 0x000000010080b05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit) 22 0x000000010080b05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit) 23 0x000000010080b05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit) 24 0x000000010080b05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit) 25 0x000000010080b05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit) 26 0x000000010080b05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit) 27 0x000000010080b05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit) 28 0x000000010080b05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit) 29 0x000000010080b05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit) 30 0x000000010080b05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit) 31 0x000000010080b05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit) 32 0x000000010080b05e -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] (in AppKit) 33 0x00000001008093c6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit) 34 0x0000000100808ee8 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] (in AppKit) 35 0x000000010080579a -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] (in AppKit) 36 0x000000010077eff6 -[NSView displayIfNeeded] (in AppKit) 37 0x0000000100730b62 -[NSWindow _setFrameCommon:display:stashSize:] (in AppKit) 38 0x0000000100877413 -[NSWindow _setFrameFromString:force:] (in AppKit) 39 0x0000000101eebae7 -[XCPerspectiveModule setWantsModuleWindow:] (in DevToolsInterface) 40 0x0000000101ee8351 +[XCPerspectiveModule openForProjectDocument:] (in DevToolsInterface) 41 0x0000000101ee7d65 -[PBXProjectDocument makeWindowControllers] (in DevToolsInterface) 42 0x000000010204744f -[PBXProjectWizard _finishTemplateInstantiationAfterFileCopying:instantiationResult:] (in DevToolsInterface) 43 0x00000001020eab8b -[PBXFileCopyingWizard _finishCopyingTemplate:filesToPreserve:] (in DevToolsInterface) 44 0x000000010210fc60 -[PBXWizardOverwritingFilesModule sheetDidEnd:returnCode:contextInfo:] (in DevToolsInterface) 45 0x0000000100991e5d -[NSApplication endSheet:returnCode:] (in AppKit) 46 0x000000010210fd8e -[PBXWizardOverwritingFilesModule createFreshAction:] (in DevToolsInterface) 47 0x00000001008a4152 -[NSApplication sendAction:to:from:] (in AppKit) 48 0x00000001008a40b1 -[NSControl sendAction:to:] (in AppKit) 49 0x000000010092fa0b -[NSCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit) 50 0x0000000100960536 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit) 51 0x000000010092e4b5 -[NSControl mouseDown:] (in AppKit) 52 0x0000000100848763 -[NSWindow sendEvent:] (in AppKit) 53 0x000000010077dee2 -[NSApplication sendEvent:] (in AppKit) 54 0x0000000101edecca -[PBXExtendedApplication sendEvent:] (in DevToolsInterface) 55 0x0000000100714922 -[NSApplication run] (in AppKit) 56 0x000000010070d5f8 NSApplicationMain (in AppKit) 57 0x000000010000ea2e 58 0x00000001000015e4
  3. After installing lastest update for xcode. I got a blue screen. However, 1. No such issue in safe mode. 2. If I enable switchable graphics in bios, no blue screen, either. Anybody got a clue? -------------------------------------- Mode: Thinkpad T400 Graphic Cards: ATI 3470/Intel X4500 Driver: AppleIntelGMAX3100FB.kext
  4. GMA X4500 QE/CI Open Forum.

    Some source for coders: Pity I can't help. Apple IOGraphic: http://www.opensource.apple.com/source/IOG...Graphics-363.9/ newest linux driver: http://xorg.freedesktop.org/archive/indivi...l-2.11.0.tar.gz
  5. GMA X4500

    Once I read somewhere, once get CI, you'll get QE. I believe more code work need to be done, not just adding device id .We need real programmer like Netkas. However, I think playing with x3100 drivers is more likely to succed. I got Agpm error with x3100 drivers, so I guess it has sth to do with QE/CI. kxld[com.apple.driver.AGPM]: The following symbols are unresolved for this kext: Apr 13 20:55:43 -MacBook-Pro kernel[0]: kxld[com.apple.driver.AGPM]: __ZN13IOFramebuffer28getAttributeForConnectionExtElmPm Apr 13 20:55:43 T-MacBook-Pro kernel[0]: kxld[com.apple.driver.AGPM]: __ZNK13IOFramebuffer25getGraphicsSystemWorkLoopEv Apr 13 20:55:43 T-MacBook-Pro kernel[0]: Can't load kext com.apple.driver.AGPM - link failed. Apr 13 20:55:43 T-MacBook-Pro kernel[0]: Failed to load executable for kext com.apple.driver.AGPM. Apr 13 20:55:43 Tobeys-MacBook-Pro kernel[0]: Kext com.apple.driver.AGPM failed to load (0xdc008016). Apr 13 20:55:43 T-MacBook-Pro kernel[0]: Failed to load kext com.apple.driver.AGPM (error 0xdc008016).
  6. GMA X4500

    I tried and system hang. Waiting for your good news considering I'm not professional.
  7. X4500 Brightness Control Achieved

    Since you have uneven brightness control with slider if you have framebuffer loaded. And I'm guessing this is to give control back to ACPI. Sorry if I'm wrong, sometimes. Guys, Here I attached my kext files. Make it yours accordingly. Added it X4500.zip
  8. X4500 Brightness Control Achieved

    Yah, I c. But I haven't figured out the referred code to fix my brightness issue.
  9. X4500 Brightness Control Achieved

    Thanks, I got no backlight after sleep(actually sleep not work rightly before doing this). I have Fn+Home=Up, Fn+End=Down, which I believe is presetted in ACPI, and I'm trying to get bezel icon to show up, maybe a little hack in dsdt would be the job.
  10. X4500 Brightness Control Achieved

    1. First, get these files and tools: AppleIntelGMAX3100FB.kext otool(command line tool from Xcode installation) Hex Fiend.app 2. Copy your kext file to desktop, and run this command in terminal : otool -vtV /Users/[your username]/Desktop/AppleIntelGMAX3100FB.kext/AppleIntelGMAX3100FB Search for "SetBacklight", and get the position value of "pushl %ebp": "0x00006190" in my case. 00006187 nop 00006188 nop 00006189 nop 0000618a nop 0000618b nop 0000618c nop 0000618d nop 0000618e nop 0000618f nop __ZN20AppleIntelGMAX3100FB14hwSetBacklightEm: 00006190 pushl %ebp 00006191 movl %esp,%ebp 00006193 pushl %esi 00006194 pushl %ebx 00006195 subl $0x10,%esp 00006198 movl 0x08(%ebp),%esi 0000619b movl 0x0c(%ebp),%ecx 0000619e movl 0x00000384(%esi),%ebx 000061a4 incl %ecx 3. Run this command in terminal : otool -l /Users/[your username]/Desktop/AppleIntelGMAX3100FB.kext/AppleIntelGMAX3100FB Get offset value below section" sectname __text segname __TEXT": mine is "892", which is "0x37C" in hex /Users/[your username]/Desktop/AppleIntelGMAX3100FB.kext/AppleIntelGMAX3100FB: Load command 0 cmd LC_SEGMENT cmdsize 736 segname vmaddr 0x00000000 vmsize 0x00017dc0 fileoff 892 filesize 97544 maxprot 0x00000003 initprot 0x00000003 nsects 10 flags 0x0 Section sectname __text segname __TEXT addr 0x00000000 size 0x00013f4e offset 892 align 2^4 (16) reloff 98436 nreloc 1586 flags 0x00000000 reserved1 0 reserved2 0 Section sectname __cstring segname __TEXT addr 0x00013f50 size 0x000017fc 4. Figure out the value to hex edit, 0x6190+0x37C=0x650C, now open "/Users/[your username]/Desktop/AppleIntelGMAX3100FB.kext/AppleIntelGMAX3100FB" with Hex Fiend.app. And find the position "0x650C"(pls note, this value is in hex), it's "55" followed by "89 E5 56" for me, we should just simply change "55" to "C3", so we get "C3 89 E5 56", then save it. 06508 90 90 90 90 0650C 55 89 E5 56 06510 53 83 EC 10 5. After hexing is done, we run this again to test it: otool -vtV /Users/[your username]/Desktop/AppleIntelGMAX3100FB.kext/AppleIntelGMAX3100FB And you should see "pushl %ebp" is replaced by "ret", if you don't see this, something maybe wrong. 00006187 nop 00006188 nop 00006189 nop 0000618a nop 0000618b nop 0000618c nop 0000618d nop 0000618e nop 0000618f nop __ZN20AppleIntelGMAX3100FB14hwSetBacklightEm: 00006190 ret 00006191 movl %esp,%ebp 00006193 pushl %esi 00006194 pushl %ebx 00006195 subl $0x10,%esp 00006198 movl 0x08(%ebp),%esi 0000619b movl 0x0c(%ebp),%ecx 0000619e movl 0x00000384(%esi),%ebx 000061a4 incl %ecx 6. Install this new kext with kext helper or whatever, finally reboot and enjoy brightness control with your native key strokes . Edit: It's Hex Fiend, sorry for my mistake.
  11. X4500 Brightness Control Achieved

    4500 Brightness Control Achieved on Thinkpad T400 with Snow Leopard 10.6.3 After some searching and researching, I finally got Brightness Control work now. Actually, most files are from 10.6.2 or even older. Still no QE/CI, but who cares, at least we got Native resolution(1440x900x32@60Hz) and brightness control now. PS: Actually, display brightness will be controlled by ACPI via original Fn keys, not the slider in Display preference panel which is disabled to achieve the goal. Maybe this will bring out new problems like sleep issue, discuss with you guys later. Link sources: http://ipis-osx.wikidot.com/asus-hotkeys http://www.insanelymac.com/forum/lofiversi...hp/t101966.html
  12. fight the backlight brightness control feature

    hello, friend, Can you patch the one for x4500 as well? thanks in advance
  13. GMA X4500

    U r rite, hero, My pointer is working now with the file from 10A432 http://rapidshare.com/files/371201640/IOGr...ly.kext.zip.htm
  14. GMA X4500

    thanks, but i think sth is broke by the update. since i have my kexts working in 10.6.2 before. i will just wait till someone figure it out.
  15. GMA X4500

    thanks, but the mouse pointer was represented by a bar made of some colorful dots.