Jump to content
6 posts in this topic

Recommended Posts

Attached is my modified version of akbarmoradi's Graphics Enabler script (Akbarmoradi's Script).

 

I use this along with the Shrike Framebuffer Chameleon on Smarties post (Smarties Post for Ati4650 mobility)

 

This is for use with an MSI AE 2400 all in one PC. Its screen is attached via an internal HDMI connector.

 

Thanks to Smartie and Akbarmoradi, along with the info from bcc9 that helped me work out the settings.

 

You use this script by modifying the path to your volume name (read the above posts for how to modify to run on your own machine). Mac OS X 10.6.8 has built in support for the 4670 mobility, ID 0x9488, so you don't need to add the ID to the info.plist.

 

Hope this helps someone else.

 

I modified the script to adjust all 3 frame buffers in the ATI4600 kext, Gliff, Shrike and Flicker.

 

I have uploaded my Lion 10.7.1 kext file incase anyone wants to use a pre modified one, but I can't guarantee it will work for you unless you have the same setup as me. I also know that the VGA port settings are not 100% right as if I attach an external screen Lion crashes on boot.

EnableGraphicAti4670mobility.zip

ATI4600Controller.kext.zip

Attached is my modified version of akbarmoradi's Graphics Enabler script (Akbarmoradi's Script).

 

I use this along with the Shrike Framebuffer Chameleon on Smarties post (Smarties Post for Ati4650 mobility)

 

This is for use with an MSI AE 2400 all in one PC. Its screen is attached via an internal HDMI connector.

 

Thanks to Smartie and Akbarmoradi, along with the info from bcc9 that helped me work out the settings.

 

You use this script by modifying the path to your volume name (read the above posts for how to modify to run on your own machine). Mac OS X 10.6.8 has built in support for the 4670 mobility, ID 0x9488, so you don't need to add the ID to the info.plist.

 

Hope this helps someone else.

 

I modified the script to adjust all 3 frame buffers in the ATI4600 kext, Gliff, Shrike and Flicker.

its great that you share your work with other it really help other people that have card like you.I think we can make topic with all of the enabler post on it.this can help to contribution and making the graphics support better .also help to newbie .

its great that you share your work with other it really help other people that have card like you.I think we can make topic with all of the enabler post on it.this can help to contribution and making the graphics support better .also help to newbie .

 

Hi my friend,

here is a better Lion Aty_init for 4650m ( device 1002 9480 ) using shrike. just like the one you did, but targeting especially Lion and bind it to its kernel version. this one loads from /S/L/E under x64 boot no problem in Lion GM. Making patched booted obsolete just like for Snow Leo. :2

Hi my friend,

here is a better Lion Aty_init for 4650m ( device 1002 9480 ) using shrike. just like the one you did, but targeting especially Lion and bind it to its kernel version. this one loads from /S/L/E under x64 boot no problem in Lion GM. Making patched booted obsolete just like for Snow Leo. :2

 

hi smatie77

thanks for your kexts i am report the ati mobility radeon 4650 support to azimutz and he currently work on it to bring support for the mobility to chameleon trunk version(using the code that kabyl posted) i think if he can do it -its better than the previous GE and AtY_Init.kext.and we can update our chameleon without worrying about our graphics.

I purchased Mac OS X lion from the Apple app store and it runs perfectly fine with the same modification script.

 

The only problem I have now under lion is that I can't log in to the app store. I was able to fix this problem with Snow Leopard (10.6.8) by deleting the Network Preferences file under the Library/Preferences/SystemConfiguration.

 

I might try post this problem in another forum and see if someone has a solution.

 

Edit: I just fixed my problem, I read some where else that someone installed the Ethernet driver for the onboard wired lan and then deleted the preferences file and reboot and it fixed it for them. I installed the Realtek driver from [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] and did the same and I can now login to the App Store

  • 2 weeks later...

Been working to try help another user get his video card going

 

His ATI mobility 4670 rom produces the following output using bios dump tool

 

./radeon_bios_decode < 1002_9488.rom

ATOM BIOS Rom:

SubsystemVendorID: 0x1028 SubsystemID: 0x0272

IOBaseAddress: 0x2000

Filename: BR034414.001

BIOS Bootup Message:

BR034414-001 M96 DDR3 128bit 400e/800m

 

PCI ID: 1002:9488

Connector at index 0

Type [@offset 46038]: VGA (1)

Encoder [@offset 46042]: INTERNAL_KLDSCP_DAC1 (0x15)

i2cid [@offset 46118]: 0x95, OSX senseid: 0x6

Connector at index 1

Type [@offset 46048]: HDMI-A (11)

Encoder [@offset 46052]: INTERNAL_UNIPHY (0x1e)

i2cid [@offset 46141]: 0x90, OSX senseid: 0x1

Connector at index 2

Type [@offset 46058]: LVDS (7)

Encoder [@offset 46062]: INTERNAL_UNIPHY2 (0x21)

i2cid [@offset 46168]: 0x94, OSX senseid: 0x5

Connector at index 3

Type [@offset 46068]: DisplayPort (10)

Encoder [@offset 46072]: INTERNAL_UNIPHY (0x1e)

i2cid [@offset 46191]: 0x91, OSX senseid: 0x2

On 05/08/2011, at 12:27 AM, Toan Nguyen wrote:

 

I have emailed him this reply to try work out his connector strings.

 

Here is a more detailed version of what I found - how to decode your bios dump below

http://www.insanelymac.com/forum/index.php...00#entry1716860

 

Based on your information (I don't know what io registry explorer in Mac OSX shows for your ATY Control flags so I am going to guess its the same as mine

 

I'll work through the list from the back end

 

The very last digit is the the Sense ID, so you'll notice I have made them 06, 01, 05, 02 as your list shows

 

The number before that is the index numbers 0, 1, 2, 3 in your case

 

The 3rd last group of numbers is the Encoder number, My card only has two encoders, 00 and 01, so I made your HDMI 00 and your LVDS 01, but left the display port as 00, supposedly only ati 5000 and laters use 02, 03, 04, but I think I read somewhere that someone had an ATI 4600 and 02 was need, so the Display port might need 02 in that location.

 

The 4th last group is the Transmitor, two of yours are Uniphy (00) hdmi & display port, and one is Uniphy2 (02) LVDS

 

The 5th and 6th number from the back are unknown (so I will leave them at 00)

 

The 7th and 8th bits from the end refers to features list ( 01 means internal) and the 09 bit before that means LVDS mode (my HDMI display operates in LVDS mode for some reason, but normally HDMI and Display Ports use 00, so I set your display port string to 00, but left the HDMI on 09, you could try 00 if you have an issue). LVDS displays are 09, so I left the LVDS string as 09.

 

Now back to the beginning bits

 

The first numbers 10 00 00 00 - VGA, 00 08 00 00 - HDMI, 02 00 00 00 - LVDS, 00 04 00 00 - Display Port

 

Now the next two digits after the connector type

I left your VGA at the normal VGA connector values for the ATY,ControlFlags, hopefully they are right. I have left your HDMI the same as mine is, but normally they would be 00 02, but my HDMI runs with 04 02, your LVDS I set it to the defaults that I have seen, but there are other possibilities according to the main post I directed to you at the top of this email, and as for display port, I set you to the first possible Control Flag 0100 (01 being the second number , 00 the first - bit positions are reversed)

 

Vga

10 00 00 00 10 00 00 00 00 01 00 00 00 10 00 06

Hdmi

00 08 00 00 04 02 00 00 09 01 00 00 00 00 01 01

LVDS

02 00 00 00 40 00 00 00 09 01 00 00 02 01 02 05

DisplayPort

00 04 00 00 00 01 00 00 00 01 00 00 00 01 03 02

 

So for you to test the above theory, you need to get an original, unmodified ATI4600controller.kext file, and modify the EnableGraphics script to modify the connector strings.

 

The script contains the following entries.

 

You need to replace the 1st lines values, between the two | | pipe characters with the above connector strings I have made up with the vga values, the seconds lines ones with the HDMI values and the 3rd line with the LVDS ones, there is only 3 connectors, so your Display port line won't be able to be added. But if thats how your display is connected, then put its values inplace of the LVDS ones.

 

Unmodified script

 

sudo perl -pi -e 's|\x02\x00\x00\x00\x40\x00\x00\x00\x09\x01\x00\x00\x02\x01\x00\x03|\x02\x00\x00\x00\x40\x00\x00\x00\x09\x01\x00\x00\x12\x00\x00\x07|g' "/Volumes/Macintosh HD/System/Library/Extensions/ATI4600Controller.kext/Contents/MacOS/ATI4600Controller"

sudo perl -pi -e 's|\x02\x00\x00\x00\x00\x01\x00\x00\x09\x01\x00\x00\x20\x01\x02\x02|\x10\x00\x00\x00\x10\x00\x00\x00\x00\x01\x00\x00\x00\x10\x01\x06|g' "/Volumes/Macintosh HD/System/Library/Extensions/ATI4600Controller.kext/Contents/MacOS/ATI4600Controller"

sudo perl -pi -e 's|\x00\x04\x00\x00\x04\x03\x00\x00\x00\x01\x00\x00\x10\x00\x01\x01|\x00\x08\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x20\x01\x02\x01|g' "/Volumes/Macintosh HD/System/Library/Extensions/ATI4600Controller.kext/Contents/MacOS/ATI4600Controller"

 

Modified script would be

sudo perl -pi -e 's|\x02\x00\x00\x00\x40\x00\x00\x00\x09\x01\x00\x00\x02\x01\x00\x03| VGA values - need to put \x before each number as above |g' "/Volumes/Macintosh HD/System/Library/Extensions/ATI4600Controller.kext/Contents/MacOS/ATI4600Controller"

sudo perl -pi -e 's|\x02\x00\x00\x00\x00\x01\x00\x00\x09\x01\x00\x00\x20\x01\x02\x02| HDMI values |g' "/Volumes/Macintosh HD/System/Library/Extensions/ATI4600Controller.kext/Contents/MacOS/ATI4600Controller"

sudo perl -pi -e 's|\x00\x04\x00\x00\x04\x03\x00\x00\x00\x01\x00\x00\x10\x00\x01\x01| LVDS values |g' "/Volumes/Macintosh HD/System/Library/Extensions/ATI4600Controller.kext/Contents/MacOS/ATI4600Controller"

 

And once you have done that, use a Chameleon Boot Loader that enables Shrike, and reboot and cross your fingers….

 

Hope that gets you started…

 

Peter

 

On 05/08/2011, at 7:04 PM, Peter Board wrote:

 

Here is the initial bios decode, so you have 4 connectors. I'll try work out a rough connector string. But if you post this on the insanelymac forum someone should be able to decode it for you as well (I went through the steps so if you follow my posts in the ati mobility 4650 page you'll see how to decode that)

 

./radeon_bios_decode < 1002_9488.rom

ATOM BIOS Rom:

SubsystemVendorID: 0x1028 SubsystemID: 0x0272

IOBaseAddress: 0x2000

Filename: BR034414.001

BIOS Bootup Message:

BR034414-001 M96 DDR3 128bit 400e/800m

 

PCI ID: 1002:9488

Connector at index 0

Type [@offset 46038]: VGA (1)

Encoder [@offset 46042]: INTERNAL_KLDSCP_DAC1 (0x15)

i2cid [@offset 46118]: 0x95, OSX senseid: 0x6

Connector at index 1

Type [@offset 46048]: HDMI-A (11)

Encoder [@offset 46052]: INTERNAL_UNIPHY (0x1e)

i2cid [@offset 46141]: 0x90, OSX senseid: 0x1

Connector at index 2

Type [@offset 46058]: LVDS (7)

Encoder [@offset 46062]: INTERNAL_UNIPHY2 (0x21)

i2cid [@offset 46168]: 0x94, OSX senseid: 0x5

Connector at index 3

Type [@offset 46068]: DisplayPort (10)

Encoder [@offset 46072]: INTERNAL_UNIPHY (0x1e)

i2cid [@offset 46191]: 0x91, OSX senseid: 0x2

On 05/08/2011, at 12:27 AM, Toan Nguyen wrote:

 

Here is my rom file. Can you use it to mod the kext ATI4600Controler for me. Thanks a lot ;)

×
×
  • Create New...