Jump to content

Leon

Administrators
  • Posts

    1235
  • Joined

  • Last visited

  • Days Won

    58

Posts posted by Leon

  1. Something is weird with that script....

     

    root@x:/home/lsb# ./ssdtPRGen.sh
    ./ssdtPRGen.sh: 17: ./ssdtPRGen.sh: Syntax error: "(" unexpected 

     

    .. running it under bash ..

     

    root@x:/home/lsb# bash ssdtPRGen.sh 17 2500
    sysctl: cannot stat /proc/sys/hw/logicalcpu: No such file or directory
    ssdtPRGen.sh: line 264: let: logicalCPUs=: syntax error: operand expected (error token is "=")
    sysctl: cannot stat /proc/sys/hw/cpufrequency: No such file or directory
    ssdtPRGen.sh: line 266: let: frequency=: syntax error: operand expected (error token is "=")
    ssdtPRGen.sh: line 267: let: frequency=( / 1000000): syntax error: operand expected (error token is "/ 1000000)")
    (standard_in) 1: syntax error
    ssdtPRGen.sh: line 269: let: turboStates=: syntax error: operand expected (error token is "=")
    ssdtPRGen.sh: line 47: [: 0: unary operator expected
    ssdtPRGen.sh: line 76: let: frequency=: syntax error: operand expected (error token is "=")
    ssdtPRGen.sh: line 77: let: max_ratio=(/100): syntax error: operand expected (error token is "/100)")
    ssdtPRGen.sh: line 79: [: -gt: unary operator expected
    ssdtPRGen.sh: line 216: [: 1: unary operator expected

  2. Actually.. tested on ubuntu 10.x+12.x and CentOS .. get the same error on both.

     

    Would you mind:

     

    1. Send me (or attach) the version of the script you were using.. thinking the one you attached to the post might be corrupt

     

    2. What linux distro did you use ?

  3. Hi, 
     
      As we know that some of you might have an unsupported WiFi and Bluetooth Combo in your notebooks and the only way to get the WiFi and Bluetooth working is by replacing it with a supported card. Here, we are going to present you the perfect WiFi and Bluetooth Combo which works very well in OSX.
     
    There are two three models which works:
    1. Atheros AR5B195 (Specifications)

    • AR9285 WiFi b/g/n (1x)
    • AR3011 Bluetooth 3.0

    2. Atheros AR5B197 (Specifications)

    • AR9287 WiFi b/g/n (2x)
    • AR3011 Bluetooth 3.0

    3. Broadcom BCM94352HMB (Specifications)

    • BCM4352 WiFi a/b/g/n/ac (2x)
    • BCM20702A1 Bluetooth 4.0
    • Research post: Link

     

    Known issues in Bluetooth:

    • Atheros AR3011 has some stability issues with Magic mouse

     

    WiFi:
    In order to get the WiFi working we need either DSDT (or) kext patch. Add the below DSDT method to the your WiFi device in DSDT (or) use the attached patch files/manual patch method to patch the WiFi Kext in SLE.
     
    Patching DSDT: 
    Needed:

    • DSDT Editor 
    • IORegistryExploere

    For this, you need to find where the wifi card is detected by Mac OSX which can be done by going through the ioregfile.

    •  First, look at the section "IOService:/AppleACPIPlatformExpert/PCI0@0" in ioregfile and find the device starting with the name "RPXX".
    •  Next, find your WiFi card  by looking at the name "AirPort_xxx" (if you have patched kext installed) (or) look at the device ids from the RPXX section.
    • After locating the device "RPXX", add the below method to that Device in your DSDT and install it.

    Note:This is located mostly at one of those Devices of the DSDT: RP01/RP02/RP03/RP04/RP05/RP06/RP07/RP08 (some notebooks might have this name differently, so find and confirm it from ioregfile using the above steps).
     
    Atheros AR5B195 and AR5B197 WiFi DSDT Patch:

    Method (_DSM, 4, NotSerialized)
     {
       Store (Package (0x0C)
       {
        "AAPL,slot-name", 
        Buffer (0x05)
        {
          "PCIe"
        }, 
        "name", 
        "pci168c,2a", 
        "device-id", 
         Unicode ("*"), 
        "IOName", 
        "pci168c,2a", 
        "device_type", 
         Buffer (0x11)
         {
              "Wi-Fi Controller"
         }, 
         "model", 
         Buffer (0x34)
         {
               "Atheros AR9285 802.11b/g/n Wireless Network Adapter"
         }
         }, Local0)
       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
       Return (Local0)
    }

     
    Broadcom BCM94352HMB WiFi dsdt patch:

    Method (_DSM, 4, NotSerialized)
    {
     Store (Package (0x0C)
     {
        "AAPL,slot-name", 
        Buffer (0x05)
        {
        "PCIe"
        }, 
        "name",      
         Buffer (0x0D)
         {
            "pci14e4,43a0"      
         }, 
        "device-id",      
         Buffer (0x04)
         {
             0xA0, 0x43, 0x00, 0x00      
         }, 
        "IOName", 
        "pci14e4,43a0", 
        "device_type", 
        Buffer (0x11)
         {
              "Wi-Fi Controller"
         }, 
        "model", 
        Buffer (0x33)
        {
              "Broadcom BCM4352 802.11ac Wireless Network Adapter"
        }
      }, Local0)
      DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
      Return (Local0)
    }

    Patching Kext:
    For this, we need to inject our card's ids to the Apple WiFi Kext. You can use the attached script to patch (or) can manually patch using the below steps.
     

    Manual patch:
    For Atheros AR5B195 and AR5B197, we need to patch the kext "AirPortAtheros40.kext" located at System/Library/Extensions/IO80211Family.kext/Contents/Plugins/".
     
    For Broadcom BCM94352HMB, we need to patch the kext "AirPortBrcm4360.kext" located at System/Library/Extensions/IO80211Family.kext/Contents/Plugins/".

     
    Copy the kext to Desktop and Open the file "Info.plist" using text editor located inside the kext we are patching and add the bolded line below to the section "IOKitPersonalities->IONameMatch" as shown below.
     

    Atheros WiFi:
    IONameMatch

    pci168c,30
    pci168c,2a
    pci168c,2b
    pci168c,2e
    pci106b,0086
    pci168c,1c
    pci168c,23
    pci168c,24

     

    Broadcom WiFi:

    IONameMatch
    pci14e4,43b1
    pci14e4,43a0
     

    After editing, save the file.

     BCM4352 5Ghz Fix:

    You can use the attached BCM4352 WiFi 5Ghz Patch script to patch (or) use the manual patch explained below.

    If you use script then you need to fix permissions and caches after running the script.(Optional)

     

    1. Download the app hexfiend

    2. Copy the kext "IO80211Family.kext" from System/Library/Extensions to Desktop

    3. Copy the file "AirPortBrcm4360" from "IO80211Family.kext/Contents/PlugIns/AirPortBrcm4360.kext/Contents/MacOS/" to working folder

    4. Open the "AirPortBrcm4360" in hexfiend app

    5. Press Command + F to search

    6. Enter the following hex codes in Find and replace box

     

    Credits goes to SKVO (applelife.ru) Link to his post for this Country code fix discovery.

    Changing the Country code from XT to US:
    Find box
    01 58 54 00
    
    Replace box
    01 55 53 00

    Credits goes to EMlyDinesH for the below patches and scripts.

    Making the card to be detected as Apple card:
    Patch 1:
    Find box
    30 6B 10 00 00 75
    
    Replace box
    30 6B 10 00 00 74
    
    Patch 2:
    Find box
    6B 10 00 00 0F 85
    
    Replace box
    6B 10 00 00 0F 84

    7. Click on Replace All button to replace.

    8. Install the kext.

     

    Bluetooth:
    For bluetooth, you need to use the kext from here: Bluetooth Kext

     

     

     

    Hope this helps. Let us know if you have any doubts.

     

     

    Update: Updated the BCM4352 WiFi patch script with additional patch for the card to be detected as Apple.

    Patch Atheros WiFi Kext.zip

    Patch Broadcom WiFi kext.zip

    BCM4352 WiFi 5Ghz Patch.zip

    BCM4352 WiFi 5Ghz Patch (updated).zip

    • Like 2
  4. OK! SSD delivered. Now the funny part begins! :)

     

    Thank you for pointing me in the right direction (Mountain Lion no go). On this occasion I would like to ask one more time for advice: which flavour of OS X?

     

    My goal: do it fairly quickly, save time by not solving impossible problems but just by getting things done.

     

    Which flavour should I use?

     

    http://www.macgeekblog.com/blog/archive/2009/02/15/osx86-live-dvd-ipc-x-dl-1056.html

     

    Here is a guide using this ditro: http://robaldred.co.uk/2009/06/dell-latitude-d430-osx86-install-guide-using-ipc-ppf5-final/

     

    Any suggestions? Please help... :)

     

    Dont use a flavour.. look in the menus .. there is guides.. right here.. that will give you vanilla installation.. your machine is one of the best supported for SL and Lion :)

  5. Today we have started to research installing OSX On a Acer Travelmate 3010 / 3012WMTi

     

    Credits: JaavrOS (Jason) & Leon

     

    Current status: Running Snow Leopard 10.6.7

     

    Issues:

    1. No battery indicator
    2. Unable to Install Lion, 32bit CPU - might have to play around with legacy kernels
    3. Needs nullcpu not to KP durring boot
    4. Sleep does not work
    5. Internal wifi does not work because it have to be "trickered" via the frontpanel button
    6. Firewire is detected, but dosent work
    7. Lan dosent work
    8. Audio works, but not microphone
    9. Webcam is deteced but does not work

     

    acer-travelmate-3010_2.jpg

     

    LSPCI:

    00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
    00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
    00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
    00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
    00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
    00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
    00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
    00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 02)
    00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
    00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
    00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
    00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
    00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
    00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
    00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
    02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
    03:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5789 Gigabit Ethernet PCI Express (rev 11)
    0a:09.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
    0a:09.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
    0a:09.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
    

     

    Le'story:

    We were able to use the default method with myhack and the newly created bootpack, the synaptics trackpad worked OOB

     

    Notes:

  6. 12523668435_91aaa0eea2_z.jpg

    Specifications:

    Processor [X4C]         : Intel® Coreâ„¢ i5-3337U Processor (3M Cache, up to 2.70 GHz)
    Processor [X3C]         : Intel® Coreâ„¢ i7-3517U Processor (3M Cache, up to 3.00 GHz)
    Graphics Processor(GPU) : Intel® HD Graphics 4000
    Chipset                 : Intel® HM75 Express Chipset
    Hard disk               : Samsung 128GB SSD
    RAM                     : 4GB DDR3 1600MHZ (X3C) / 8GB DDR3 1600MHZ (X4C)
    Wifi                    : Intel Centrino Advanced-N 6235 WiFi Adapter
    Bluetooth               : Intel Centrino Advanced-N 6235 Integrated Bluetooth 4.0
    Ethernet                : Realtek RTL8168/8111 PCI-E Gigabit Ethernet Adapter
    Audio                   : Realtek® High Definition Audio ALC269VC
    USB 3.0                 : Renesas uPD720202 USB 3.0 Host Controller
    Touchpad                : Elan Touchpad v4 Hardware
    Webcam                  : Webcam SC-13HDL11624N 1.3MP
    Card reader             : Realtek USB2.0 card reader
    Monitor                 : 13.3 LED HD+ 1600x900
    Optical Drive           : None
    Battery                 : 4Cells 54 Whrs (X3C) / 8Cells 62 Whrs(X4C)
    Interface :
    1 x Microphone/Headphone combo jack 
    1 x VGA Mini
    1 x USB 2.0 port(s)
    1 x USB 3.0 port(s)
    1 x RJ45 LAN Jack for LAN insert 
    1 x HDMI

     
    Working:
    Graphics with QE/CI on Intel HD4000 GPU
    Audio with AppleHDA
    Bluetooth
    Ethernet
    USB2.0 and USB3.0
    HDMI (With Audio)
    Webcam
    Battery
    Elan Touchpad with multi touch
    Sleep, Processor P&C-States with Native power management
     
    Not working:
    Intel Centrino Advanced-N 6235 WiFi
    Realtek USB2.0 card reader

    LID Sleep
     
    Unknown:
    VGA  
     
    Issues:
    Plug-in the network cable on boot - then it will work.
     
    For Installation:
    Follow the Steps in the link below, starting with Pre installation, Installation and Post Installation: 
     
    http://www.osxlatitude.com/edp/documentation/pre-installation/

     

    I will from time to time delete all comments and merge all good info into the main post - this is to make sure newcomers dont have to read for hours before finding what they need.

    Credits: Bronxteck, iMick, Dinesh & Leon


    Current status:
    Running ML 10.8.x and Mavericks perfectly, bootpack is on site and well supported with Latest EDP
     
    Fixes:

    Reset NVram to get native power management and key backlit work

    • Boot into chameleon
    • Unplug the power adapter
    • Use a small pen to press the reset key on the underside of the machine, keep it press until it turn off
    • Plug in the power cord and start it

     

    Attached usefull files:
    Samsung 900x3c Bios update P05ACC: ITEM_20121126_861_WIN_P05AAC.exe.zip

    • Like 1
  7. is there no body able to help me???

     

    I install EDP to the usb, the usb boots, installs, boot after reboot OS X DOESNT BOOT!

    i cant install edp, i cant install kexts, os x doesnt boot!

     

    WHAT TO DO? HOW DO I INSTALL THOSE KEXTS IN MY OS X INSTALLATION TO LET OS X BOOT???

    IM ALREADY WAITING TOO LONG!!

     

     

    Dude!!.. wtf.. how hard it is ?

     

    1. Install OSX using the guides

    2. Boot via your usb pen

    3. Download this: http://www.osxlatitude.com/edp/download/

    4. Follow the instructions

     

    Done.

     

    If you spend more time on reading the guides that is less than 10cm away from your mouse cursor and spend less time complaining about people who do this out of kindness then maybe you would have been done by now - and if that isent good enough for you - then go buy a mac for f*** sake.

×
×
  • Create New...