Jump to content

First attempt at custom personality - ati-personality.pl issue


  • Please log in to reply
15 replies to this topic

#1
mclaughlin

mclaughlin

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
Hi guys, I want to try and make a custom personality for a Sapphire HD 5850 1 GB Xtreme which has three output connectors: DVI, HDMI, DP (it misses a dvi connector from the usual 5850 implementation). I'm trying to get all three outputs working.

My main problem I have is that ati-personality.pl doesn't give me the hex byte table of the personalities. A sample of my output is this:


Kext /System/Library/Extensions/ATI5000Controller.kext/Contents/MacOS/ATI5000Controller
Personality: Douc
ConnectorInfo count in decimal: 0
Disk offset in decimal 113673
Personality: Langur
ConnectorInfo count in decimal: 0
Disk offset in decimal 113724
Personality: Uakari
ConnectorInfo count in decimal: 0
Disk offset in decimal 113774
Personality: Zonalis
ConnectorInfo count in decimal: 0
Disk offset in decimal 113822
Personality: Alouatta
ConnectorInfo count in decimal: 0
Disk offset in decimal 113902

Maybe I'm doing something wrong?

#2
jackjen83

jackjen83

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
I don't think you're going crazy or anything, as I'm having the same issue with my install.

I'm using a 5870M with a UB/USB install of 10.8.2.

The reason I'm attempting a fix for personality is because I have an Alienware M17xR2 and it shows as 2 active displays ALL the time regardless of whether I have anything connected. I suspect it thinks I have something connected because the senseids are wrong or something? I have no idea, but think it's worth a try.

CI/QE is working just fine as everything is silky smooth.

One thing I noticed in the script is that it's on line 241 -
$selectedkext = "$sledir/ATIFramebuffer.kext/Contents/MacOS/ATIFramebuffer";

However I have the file,

$ ls -la /System/Library/Extensions/ATIFramebuffer.kext/Contents/MacOS/AMDFramebuffer
-rwxr-xr-x 1 root wheel 142616 11 Sep 14:57 /System/Library/Extensions/ATIFramebuffer.kext/Contents/MacOS/AMDFramebuffer

$ ls -la /System/Library/Extensions/ATIFramebuffer.kext/Contents/MacOS/ATIFramebuffer
ls: /System/Library/Extensions/ATIFramebuffer.kext/Contents/MacOS/ATIFramebuffer: No such file or directory

I tried changing line 241 to reflect the other file, but no luck.


Kext /System/Library/Extensions/ATI5000Controller.kext/Contents/MacOS/AMD5000Controller
Personality: Douc
ConnectorInfo count in decimal: 0
Disk offset in decimal 106741
Personality: Langur
ConnectorInfo count in decimal: 0
Disk offset in decimal 106794
Personality: Uakari
ConnectorInfo count in decimal: 0
Disk offset in decimal 106846
Personality: Zonalis
ConnectorInfo count in decimal: 0
Disk offset in decimal 106898
Personality: Alouatta
ConnectorInfo count in decimal: 0
Disk offset in decimal 106976
Personality: Hoolock
ConnectorInfo count in decimal: 0
Disk offset in decimal 107028
Personality: Vervet
ConnectorInfo count in decimal: 0
Disk offset in decimal 107080
Personality: Baboon
ConnectorInfo count in decimal: 0
Disk offset in decimal 107132
Personality: Eulemur
ConnectorInfo count in decimal: 0
Disk offset in decimal 107184
Personality: Galago
ConnectorInfo count in decimal: 0
Disk offset in decimal 107275
Personality: Colobus
ConnectorInfo count in decimal: 0
Disk offset in decimal 107367
Personality: Mangabey
ConnectorInfo count in decimal: 0
Disk offset in decimal 114933
Personality: Nomascus
ConnectorInfo count in decimal: 0
Disk offset in decimal 115025
Personality: Orangutan
ConnectorInfo count in decimal: 0
Disk offset in decimal 115117

#3
brlock

brlock

    InsanelyMac Protégé

  • Members
  • PipPip
  • 63 posts
hey,

same issue for me. with an ati6870

#4
alexanderq

alexanderq

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 234 posts
  • Gender:Male

You can copy one of these there is no problem but atirom output is what matter the most

Kext /System/Library/Extensions/ATI4800Controller.kext/Contents/MacOS/AMD4800Controller
Personality: Cardinal
ConnectorInfo count in decimal: 2
Disk offset in decimal 539952
0000000 00 02 00 00 14 02 00 00 00 01 00 00 01 01 01 04
0000010 04 00 00 00 14 02 00 00 00 01 00 00 00 10 02 03
0000020
Personality: MotMot
ConnectorInfo count in decimal: 2
Disk offset in decimal 539984
0000000 00 04 00 00 04 01 00 00 00 01 00 00 10 00 02 03
0000010 04 00 00 00 14 02 00 00 00 01 00 00 01 11 01 04
0000020
Personality: Quail
ConnectorInfo count in decimal: 3
Disk offset in decimal 540016
0000000 02 00 00 00 40 00 00 00 09 01 00 00 22 01 00 07
0000010 02 00 00 00 00 01 00 00 09 01 00 00 20 01 03 04
0000020 00 04 00 00 04 03 00 00 00 01 00 00 10 00 02 03
0000030
Kext /System/Library/Extensions/ATI5000Controller.kext/Contents/MacOS/AMD5000Controller
Personality: Douc
ConnectorInfo count in decimal: 2
Disk offset in decimal 591136
0000000 02 00 00 00 00 05 00 00 09 03 00 00 21 03 02 02
0000010 00 04 00 00 04 02 00 00 00 03 00 00 11 02 01 01
0000020
Personality: Langur
ConnectorInfo count in decimal: 3
Disk offset in decimal 591184
0000000 00 04 00 00 04 06 00 00 00 01 00 00 21 03 04 02
0000010 00 04 00 00 04 06 00 00 00 01 00 00 11 02 01 01
0000020 04 00 00 00 14 02 00 00 00 01 00 00 02 04 05 03
0000030
Personality: Uakari
ConnectorInfo count in decimal: 4
Disk offset in decimal 591232
0000000 00 04 00 00 00 04 00 00 00 71 00 00 12 04 04 01
0000010 04 00 00 00 14 00 00 00 00 71 00 00 01 12 01 03
0000020 00 02 00 00 14 00 00 00 00 71 00 00 00 00 06 05
0000030 00 08 00 00 00 02 00 00 00 71 00 00 22 05 05 04
0000040
Personality: Zonalis
ConnectorInfo count in decimal: 6
Disk offset in decimal 591296
0000000 00 04 00 00 04 06 00 00 00 71 00 00 20 01 06 06
0000010 00 04 00 00 04 06 00 00 00 71 00 00 10 00 05 05
0000020 00 04 00 00 04 06 00 00 00 71 00 00 21 03 02 04
0000030 00 04 00 00 04 06 00 00 00 71 00 00 11 02 01 03
0000040 00 04 00 00 04 06 00 00 00 71 00 00 22 05 04 02
0000050 00 04 00 00 04 06 00 00 00 71 00 00 12 04 03 01
0000060
Personality: Alouatta
ConnectorInfo count in decimal: 4
Disk offset in decimal 591392
0000000 02 00 00 00 00 01 00 00 09 01 00 00 12 04 03 03
0000010 00 04 00 00 04 06 00 00 00 71 00 00 11 02 01 01
0000020 00 04 00 00 04 06 00 00 00 71 00 00 21 03 02 02
0000030 00 04 00 00 04 06 00 00 00 71 00 00 22 05 04 04
0000040
Personality: Hoolock
ConnectorInfo count in decimal: 3
Disk offset in decimal 591456
0000000 00 04 00 00 04 06 00 00 00 01 00 00 21 03 05 01
0000010 00 04 00 00 04 06 00 00 00 01 00 00 11 02 04 02
0000020 04 00 00 00 14 02 00 00 00 01 00 00 02 04 01 03
0000030
Personality: Vervet
ConnectorInfo count in decimal: 4
Disk offset in decimal 591504
0000000 00 04 00 00 00 04 00 00 00 71 00 00 12 04 04 02
0000010 04 00 00 00 14 00 00 00 00 71 00 00 01 12 01 04
0000020 00 02 00 00 14 00 00 00 00 71 00 00 00 00 06 03
0000030 00 08 00 00 00 02 00 00 00 71 00 00 22 05 05 01
0000040
Personality: Baboon
ConnectorInfo count in decimal: 3
Disk offset in decimal 591568
0000000 04 00 00 00 14 00 00 00 00 01 00 00 01 02 01 03
0000010 00 08 00 00 00 02 00 00 00 71 00 00 22 05 02 01
0000020 10 00 00 00 10 00 00 00 00 01 00 00 00 10 00 02
0000030
Personality: Eulemur
ConnectorInfo count in decimal: 3
Disk offset in decimal 591616
0000000 04 00 00 00 14 00 00 00 00 01 00 00 01 02 01 04
0000010 00 08 00 00 00 02 00 00 00 71 00 00 12 04 04 02
0000020 10 00 00 00 10 00 00 00 00 00 00 00 00 10 00 01
0000030
Personality: Galago
ConnectorInfo count in decimal: 2
Disk offset in decimal 591664
0000000 02 00 00 00 00 01 00 00 09 03 00 00 21 03 02 02
0000010 00 04 00 00 04 06 00 00 00 73 00 00 11 02 01 01
0000020
Personality: Colobus
ConnectorInfo count in decimal: 2
Disk offset in decimal 591712
0000000 02 00 00 00 00 01 00 00 09 03 00 00 21 03 02 02
0000010 00 04 00 00 04 06 00 00 00 73 00 00 11 02 01 01
0000020
Personality: Mangabey
ConnectorInfo count in decimal: 2
Disk offset in decimal 591760
0000000 02 00 00 00 40 00 00 00 09 01 00 00 00 00 00 03
0000010 00 04 00 00 04 06 00 00 00 73 00 00 11 02 01 01
0000020
Personality: Nomascus
ConnectorInfo count in decimal: 4
Disk offset in decimal 591808
0000000 02 00 00 00 40 00 00 00 09 01 00 00 00 00 00 05
0000010 02 00 00 00 00 01 00 00 09 03 00 00 12 04 03 03
0000020 00 04 00 00 04 06 00 00 00 73 00 00 11 02 01 01
0000030 00 04 00 00 04 07 00 00 00 73 00 00 21 03 02 02
0000040
Personality: Orangutan
ConnectorInfo count in decimal: 2
Disk offset in decimal 591888
0000000 02 00 00 00 40 00 00 00 09 01 00 00 00 00 00 05
0000010 00 04 00 00 04 06 00 00 00 73 00 00 11 02 01 01
0000020
Kext /System/Library/Extensions/ATI6000Controller.kext/Contents/MacOS/AMD6000Controller
Personality: Pithecia
ConnectorInfo count in decimal: 2
Disk offset in decimal 604736
0000000 00 04 00 00 04 03 00 00 00 01 00 00 21 03 02 04
0000010 04 00 00 00 14 02 00 00 00 01 00 00 00 00 04 03
0000020
Personality: Bulrushes
ConnectorInfo count in decimal: 6
Disk offset in decimal 604768
0000000 00 04 00 00 04 03 00 00 00 01 00 00 11 02 01 01
0000010 00 04 00 00 04 03 00 00 00 01 00 00 21 03 02 02
0000020 00 04 00 00 04 03 00 00 00 01 00 00 12 04 03 03
0000030 00 04 00 00 04 03 00 00 00 01 00 00 22 05 04 04
0000040 00 04 00 00 04 03 00 00 00 01 00 00 10 00 05 05
0000050 00 04 00 00 04 03 00 00 00 01 00 00 20 01 06 06
0000060
Personality: Cattail
ConnectorInfo count in decimal: 4
Disk offset in decimal 604864
0000000 02 00 00 00 40 00 00 00 29 05 00 00 00 00 00 05
0000010 00 04 00 00 04 03 00 00 00 01 00 00 11 02 01 01
0000020 00 04 00 00 00 01 00 00 00 09 10 00 21 03 02 02
0000030 00 04 00 00 00 01 00 00 00 09 10 00 12 04 03 03
0000040
Personality: Hydrilla
ConnectorInfo count in decimal: 5
Disk offset in decimal 604928
0000000 02 00 00 00 00 01 00 00 09 01 00 00 12 04 03 03
0000010 00 04 00 00 04 03 00 00 00 01 00 00 11 02 01 01
0000020 00 04 00 00 00 01 00 00 00 09 10 00 21 03 02 02
0000030 00 04 00 00 00 01 00 00 00 09 10 00 22 05 05 04
0000040 00 04 00 00 04 03 00 00 00 01 00 00 10 00 04 05
0000050
Personality: Duckweed
ConnectorInfo count in decimal: 4
Disk offset in decimal 605008
0000000 00 04 00 00 04 03 00 00 00 01 00 00 12 04 04 01
0000010 00 04 00 00 04 03 00 00 00 01 00 00 22 05 05 02
0000020 00 08 00 00 04 02 00 00 00 01 00 00 11 02 03 04
0000030 00 02 00 00 14 02 00 00 00 01 00 00 00 00 06 05
0000040
Personality: Fanwort
ConnectorInfo count in decimal: 4
Disk offset in decimal 605072
0000000 02 00 00 00 40 00 00 00 29 05 00 00 00 00 00 04
0000010 00 04 00 00 04 03 00 00 00 01 00 00 11 02 01 01
0000020 00 04 00 00 00 01 00 00 00 09 10 00 21 03 02 02
0000030 00 04 00 00 00 01 00 00 00 09 10 00 12 04 03 03
0000040
Personality: Elodea
ConnectorInfo count in decimal: 5
Disk offset in decimal 605136
0000000 02 00 00 00 00 01 00 00 09 01 00 00 12 04 03 03
0000010 00 04 00 00 04 03 00 00 00 01 00 00 10 00 05 05
0000020 00 04 00 00 04 03 00 00 00 01 00 00 11 02 01 01
0000030 00 04 00 00 00 01 00 00 00 09 10 00 21 03 02 02
0000040 00 04 00 00 00 01 00 00 00 09 10 00 22 05 04 04
0000050
Personality: Kudzu
ConnectorInfo count in decimal: 2
Disk offset in decimal 605216
0000000 00 04 00 00 04 03 00 00 00 01 00 00 12 04 03 03
0000010 00 08 00 00 04 02 00 00 00 01 00 00 11 02 01 01
0000020
Personality: Gibba
ConnectorInfo count in decimal: 5
Disk offset in decimal 605248
0000000 00 04 00 00 04 03 00 00 00 01 00 00 12 04 05 01
0000010 00 04 00 00 04 03 00 00 00 01 00 00 22 05 04 02
0000020 00 08 00 00 04 02 00 00 00 01 00 00 11 02 06 04
0000030 00 02 00 00 14 02 00 00 00 01 00 00 00 00 03 05
0000040 04 00 00 00 04 02 00 00 00 01 00 00 11 02 01 03
0000050
Personality: Lotus
ConnectorInfo count in decimal: 3
Disk offset in decimal 605328
0000000 00 04 00 00 04 03 00 00 00 01 00 00 11 02 01 01
0000010 00 08 00 00 04 02 00 00 00 01 00 00 22 05 04 04
0000020 00 04 00 00 00 01 00 00 00 01 00 00 21 03 02 02
0000030
Personality: Ipomoea
ConnectorInfo count in decimal: 3
Disk offset in decimal 605376
0000000 00 04 00 00 04 03 00 00 00 01 00 00 12 04 01 05
0000010 00 08 00 00 04 02 00 00 00 01 00 00 11 02 04 03
0000020 10 00 00 00 10 00 00 00 00 01 00 00 00 00 00 02
0000030
Personality: Muskgrass
ConnectorInfo count in decimal: 4
Disk offset in decimal 605424
0000000 00 04 00 00 04 03 00 00 00 01 01 00 11 02 01 01
0000010 00 04 00 00 00 01 00 00 00 09 12 00 21 03 02 02
0000020 00 04 00 00 00 01 00 00 00 09 13 00 22 05 04 04
0000030 00 08 00 00 04 02 00 00 00 01 04 00 12 04 03 03
0000040
Personality: Juncus
ConnectorInfo count in decimal: 4
Disk offset in decimal 605488
0000000 00 04 00 00 04 03 00 00 00 01 00 00 12 04 03 03
0000010 00 04 00 00 04 03 00 00 00 01 00 00 10 00 04 05
0000020 00 04 00 00 04 03 00 00 00 01 00 00 11 02 01 01
0000030 00 04 00 00 04 03 00 00 00 01 00 00 21 03 02 02
0000040
Personality: Osmunda
ConnectorInfo count in decimal: 4
Disk offset in decimal 605552
0000000 02 00 00 00 00 01 00 00 29 05 01 00 10 00 05 05
0000010 00 04 00 00 04 03 00 00 00 09 02 00 11 02 01 01
0000020 00 04 00 00 04 03 00 00 00 09 03 00 21 03 02 02
0000030 00 08 00 00 04 02 00 00 00 01 04 00 12 04 03 03
0000040
Personality: Pondweed
ConnectorInfo count in decimal: 3
Disk offset in decimal 605616
0000000 02 00 00 00 00 01 00 00 09 01 01 00 10 00 05 05
0000010 00 04 00 00 04 03 00 00 00 01 02 00 11 02 01 01
0000020 00 04 00 00 04 03 00 00 00 01 03 00 21 03 02 02
0000030
Personality: Spikerush
ConnectorInfo count in decimal: 4
Disk offset in decimal 605664
0000000 02 00 00 00 40 00 00 00 29 05 01 00 00 00 00 05
0000010 00 04 00 00 04 03 00 00 00 01 02 00 11 02 01 01
0000020 00 04 00 00 00 01 00 00 00 09 02 00 21 03 02 02
0000030 00 04 00 00 00 01 00 00 00 09 03 00 12 04 03 03
0000040
Personality: Typha
ConnectorInfo count in decimal: 5
Disk offset in decimal 605728
0000000 00 04 00 00 04 03 00 00 00 01 01 00 11 02 04 01
0000010 00 04 00 00 04 03 00 00 00 01 02 00 21 03 05 02
0000020 00 04 00 00 00 01 00 00 00 09 03 00 10 00 02 05
0000030 00 04 00 00 00 01 00 00 00 09 04 00 20 01 03 06
0000040 04 00 00 00 14 02 00 00 00 01 05 00 02 04 01 03
0000050
Kext /System/Library/Extensions/ATI7000Controller.kext/Contents/MacOS/AMD7000Controller
Personality: Aji
ConnectorInfo count in decimal: 4
Disk offset in decimal 608736
0000000 00 04 00 00 04 03 00 00 00 01 01 00 12 04 05 01
0000010 00 04 00 00 04 03 00 00 00 01 02 00 22 05 04 02
0000020 04 00 00 00 14 02 00 00 00 01 03 00 00 00 03 06
0000030 00 08 00 00 04 02 00 00 00 01 04 00 11 02 01 04
0000040
Personality: Buri
ConnectorInfo count in decimal: 4
Disk offset in decimal 608800
0000000 02 00 00 00 00 01 00 00 29 05 01 00 10 00 05 05
0000010 00 04 00 00 04 03 00 00 00 09 02 00 11 02 01 01
0000020 00 04 00 00 04 03 00 00 00 09 03 00 21 03 02 02
0000030 00 08 00 00 04 02 00 00 00 01 04 00 12 04 03 03
0000040
Personality: Chutoro
ConnectorInfo count in decimal: 5
Disk offset in decimal 608864
0000000 02 00 00 00 00 01 00 00 09 01 01 00 12 04 03 03
0000010 00 04 00 00 04 03 00 00 00 01 02 00 11 02 01 01
0000020 00 04 00 00 00 01 00 00 00 09 03 00 21 03 02 02
0000030 00 04 00 00 00 01 00 00 00 09 04 00 22 05 04 04
0000040 00 04 00 00 04 03 00 00 00 01 05 00 10 00 05 05
0000050
Personality: Dashimaki
ConnectorInfo count in decimal: 4
Disk offset in decimal 608944
0000000 00 04 00 00 04 03 00 00 00 01 01 00 12 04 02 02
0000010 00 04 00 00 04 03 00 00 00 01 02 00 22 05 03 05
0000020 04 00 00 00 14 02 00 00 00 01 03 00 00 00 04 04
0000030 00 08 00 00 04 02 00 00 00 01 04 00 11 02 01 01
0000040
Personality: Ebi
ConnectorInfo count in decimal: 5
Disk offset in decimal 609008
0000000 02 00 00 00 00 01 00 00 09 01 01 00 12 04 03 03
0000010 00 04 00 00 04 03 00 00 00 01 02 00 11 02 01 01
0000020 00 04 00 00 00 01 00 00 00 09 03 00 21 03 02 02
0000030 00 04 00 00 00 01 00 00 00 09 04 00 22 05 04 04
0000040 00 04 00 00 04 03 00 00 00 01 05 00 10 00 05 05
0000050
Personality: Gari
ConnectorInfo count in decimal: 5
Disk offset in decimal 609088
0000000 02 00 00 00 00 01 00 00 09 01 01 00 12 04 03 03
0000010 00 04 00 00 04 03 00 00 00 01 02 00 11 02 01 01
0000020 00 04 00 00 00 01 00 00 00 09 03 00 21 03 02 02
0000030 00 04 00 00 00 01 00 00 00 09 04 00 22 05 04 04
0000040 00 04 00 00 04 03 00 00 00 01 05 00 10 00 05 05
0000050
Personality: Futomaki
ConnectorInfo count in decimal: 4
Disk offset in decimal 609168
0000000 00 04 00 00 04 03 00 00 00 01 01 00 12 04 04 01
0000010 00 04 00 00 04 03 00 00 00 01 02 00 22 05 05 02
0000020 04 00 00 00 14 02 00 00 00 01 03 00 00 00 06 06
0000030 00 08 00 00 04 02 00 00 00 01 04 00 11 02 01 03
0000040
Personality: Hamachi
ConnectorInfo count in decimal: 4
Disk offset in decimal 609232
0000000 00 04 00 00 04 03 00 00 00 01 01 00 12 04 05 01
0000010 00 04 00 00 04 03 00 00 00 01 02 00 22 05 04 02
0000020 04 00 00 00 14 02 00 00 00 01 03 00 00 00 03 06
0000030 00 08 00 00 04 02 00 00 00 01 04 00 11 02 01 04
0000040
Personality: OPM
ConnectorInfo count in decimal: 6
Disk offset in decimal 609296
0000000 00 04 00 00 04 03 00 00 00 01 00 00 11 02 01 01
0000010 00 04 00 00 04 03 00 00 00 01 00 00 21 03 02 02
0000020 00 04 00 00 04 03 00 00 00 01 00 00 12 04 03 03
0000030 00 04 00 00 04 03 00 00 00 01 00 00 22 05 04 04
0000040 00 04 00 00 04 03 00 00 00 01 00 00 10 00 05 05
0000050 00 04 00 00 14 03 00 00 00 01 00 00 20 01 06 06
0000060
Personality: Ikura
ConnectorInfo count in decimal: 6
Disk offset in decimal 609392
0000000 00 04 00 00 04 03 00 00 00 01 01 00 11 02 01 03
0000010 00 04 00 00 04 03 00 00 00 01 02 00 21 03 02 04
0000020 00 04 00 00 04 03 00 00 00 01 83 00 12 04 03 01
0000030 00 04 00 00 04 03 00 00 00 01 04 00 22 05 04 02
0000040 00 04 00 00 04 03 00 00 00 01 05 00 10 00 05 05
0000050 00 04 00 00 04 03 00 00 00 01 06 00 20 01 06 06
0000060
Personality: IkuraS
ConnectorInfo count in decimal: 1
Disk offset in decimal 609488
0000000 00 08 00 00 04 02 00 00 00 01 01 00 12 04 03 01
0000010


#5
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,056 posts
  • Gender:Male
Look at my all in one guide here:

http://rampagedev.wo...er-personality/

You do not need to do every single step just what you need to do to get the card working so keep that in mind.

#6
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,179 posts
  • Gender:Male
  • Location:Moscow
Hi bcc9,
Did you know ati-personality.pl script is no more working? (since 10.8.3?)
Count instruction: Kext /System/Library/Extensions/ATI7000Controller.kext/Contents/MacOS/AMD7000Controller
Personality: Aji
ConnectorInfo count in decimal: 0
Effective address for ConnectorInfo table in hex: 183a2
Disk offset in decimal 99234
Prep Store instruction: 000000000001839b leaq 509502(%rip), %rcx
Count instruction: Personality: Buri
ConnectorInfo count in decimal: 0
Effective address for ConnectorInfo table in hex: 1871c
Disk offset in decimal 100124
Prep Store instruction: 0000000000018715 leaq 508676(%rip), %rcx
Count instruction: Personality: Chutoro
ConnectorInfo count in decimal: 0
Effective address for ConnectorInfo table in hex: 18754
Disk offset in decimal 100180
Prep Store instruction: 000000000001874d leaq 508684(%rip), %rcx
I am trying to understand what is the reason but I don't know the key idea of the script.

#7
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,179 posts
  • Gender:Male
  • Location:Moscow
Old tool output (XCode 4.4.1) for which the script works
BuriInfo::createInfo(unsigned char, PlatformParameters&)
    +0  00000000000186fc  55					    pushq	   %rbp
    +1  00000000000186fd  4889e5				    movq	    %rsp,%rbp
    +4  0000000000018700  488d05a4660600		    leaq	    0x000666a4(%rip),%rax		 Buri
   +11  0000000000018707  48894608				  movq	    %rax,0x08(%rsi)
   +15  000000000001870b  c6460304				  movb	    $0x04,0x03(%rsi)
   +19  000000000001870f  c6460400				  movb	    $0x00,0x04(%rsi)
   +23  0000000000018713  31c0					  xorl	    %eax,%eax
   +25  0000000000018715  488d0d04c30700		    leaq	    0x0007c304(%rip),%rcx		 CONNECTORS
   +32  000000000001871c  48894cc610			    movq	    %rcx,0x10(%rsi,%rax,8)
   +37  0000000000018721  4883c110				  addq	    $0x10,%rcx
   +41  0000000000018725  0fb65603				  movzbl	  0x03(%rsi),%edx
   +45  0000000000018729  48ffc0				    incq	    %rax
   +48  000000000001872c  39d0					  cmpl	    %edx,%eax
   +50  000000000001872e  7cec					  jl		  0x0001871c
   +52  0000000000018730  31c0					  xorl	    %eax,%eax
   +54  0000000000018732  5d					    popq	    %rbp
   +55  0000000000018733  c3					    ret
new otool output (XCode 4.6.2)
BuriInfo::createInfo(unsigned char, PlatformParameters&)
    +0  00000000000186fc  55					    pushq	   %rbp
    +1  00000000000186fd  4889e5				    movq	    %rsp,						 %rbp
    +4  0000000000018700  488d05a4660600		    leaq	    419492(%rip),				 %rax
   +11  0000000000018707  48894608				  movq	    %rax,						 8(%rsi)
   +15  000000000001870b  c6460304				  movb	    $4,						   3(%rsi)
   +19  000000000001870f  c6460400				  movb	    $0,						   4(%rsi)
   +23  0000000000018713  31c0					  xorl	    %eax,						 %eax
   +25  0000000000018715  488d0d04c30700		    leaq	    508676(%rip),				 %rcx
   +32  000000000001871c  48894cc610			    movq	    %rcx,						 16(%rsi,%rax,8)
   +37  0000000000018721  4883c110				  addq	    $16,						  %rcx
   +41  0000000000018725  0fb65603				  movzbl	  3(%rsi),					  %edx
   +45  0000000000018729  48ffc0				    incq	    %rax
   +48  000000000001872c  39d0					  cmpl	    %edx,						 %eax
   +50  000000000001872e  7cec					  jl		  0x1871c
   +52  0000000000018730  31c0					  xorl	    %eax,						 %eax
   +54  0000000000018732  5d					    popq	    %rbp
   +55  0000000000018733  c3					    ret
I am not famous with Perl. Can someone correct ati-personality.pl for the new Xcode?

Hi guys,
This is corrected script working in ML 10.8.3 with XCode 4.6.2
Attached File  ati-personality.pl.0.11.zip   6.63KB   425 downloads

#8
manor

manor

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 319 posts
  • Gender:Male
#7
thanks man its worked for me 10.8.2 with Xcode 4.6.2

#9
Deridjian

Deridjian

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
  • Gender:Male
  • Location:Berlin, Germany
Just wanted to give this a bump and a big thank you sir! Was already worried if I had done somethin wrong. Thanks for the updated script! (Used on OSX 10.8.3 / Xcode 4.6.2)

#10
plsh2me

plsh2me

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 183 posts
  • Gender:Male
  • Location:Bangladesh
Hi Slice,
Is this a bug of the tool???

localhost:~ palash$ /Volumes/Mac\ OSX/Users/palash/Downloads/ati-personality.pl.0.11/ati-personality.pl
Kext /System/Library/Extensions/ATI4600Controller.kext/Contents/MacOS/AMD4600Controller
Cannot open otool -arch x86_64 -l -Q /System/Library/Extensions/ATI4600Controller.kext/Contents/MacOS/AMD4600Controller for input
localhost:~ palash$

Thanks

#11
ghajini08

ghajini08

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts
I am having the same problem as above.

Cannot open otool -arch x86_64 -l -Q /System/Library/Extensions/ATI2400Controller.kext/Contents/MacOS/AMD2400Controller for input

#12
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,179 posts
  • Gender:Male
  • Location:Moscow

Hi Slice,
Is this a bug of the tool???

localhost:~ palash$ /Volumes/Mac\ OSX/Users/palash/Downloads/ati-personality.pl.0.11/ati-personality.pl
Kext /System/Library/Extensions/ATI4600Controller.kext/Contents/MacOS/AMD4600Controller
Cannot open otool -arch x86_64 -l -Q /System/Library/Extensions/ATI4600Controller.kext/Contents/MacOS/AMD4600Controller for input
localhost:~ palash$

Thanks

Did you have OTOOL installed?

#13
plsh2me

plsh2me

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 183 posts
  • Gender:Male
  • Location:Bangladesh

Did you have OTOOL installed?


I have Xcode 4.6.2 installed on OSX 10.8.3, no idea about otool :( .
What is & where to get it?

Thank you

#14
Alex Mac

Alex Mac

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts

I have Xcode 4.6.2 installed on OSX 10.8.3, no idea about otool :( .
What is & where to get it?

Thank you

I
Hi, I've downloaded from inside Xcode 4.6.2 (about 100+ megs for all)
Download the command line tools through xcode preferences :)

#15
plsh2me

plsh2me

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 183 posts
  • Gender:Male
  • Location:Bangladesh

I
Hi, I've downloaded from inside Xcode 4.6.2 (about 100+ megs for all)
Download the command line tools through xcode preferences :)

Ok, Thank you :D .

#16
bcc9

bcc9

    InsanelyMac Legend

  • Coders
  • 1,281 posts
  • Gender:Male
Just found this thread. I've updated ati-personality to version 0.11 in the main thread http://www.insanelym...radeon-hd45xxx/ to address the breakage from the new version of otool that came with xcode 4.6. Fix is basically just as slice had it; (use otool -Q to get the old backend that outputs hex). The new default behavior for otool is not very good IMO, where some of the numbers are in decimal and some are in hex.

PS: You don't need to download all of xcode anymore to use otool; just the 'Command Line Tools' for xcode package is sufficient.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy