Jump to content

toine44

Members
  • Content Count

    51
  • Joined

  • Last visited

Everything posted by toine44

  1. The Asus U3S6 is a PCIe 4x card with Marvell 88SE9120 AHCI SATAIII + NEC uPD720200 USB 3.0 interconnected via a PLX PCIe switch. Here are the kext injectors (simply plist xml files to inject properties for existing drivers) for use with 10.7.5 (native USB3 support) Injectors.zip Here is the patch to add to your DSDT. You will have to locate under which device node the card is visible with IORegistryExplorer (searching AHCI shall help). Then past this code inside this device declaration (between Device(wxyz) { and }). /* ASUS U3S6 addon */ Device (PLX0) { Name (_ADR, Zero) Method (_DSM, 4, NotSerialized) { Store (Package () { "AAPL,slot-name", Buffer () { "Slot-4" }, "device_type", Buffer () { "PCI bridge" }, "name", Buffer () { "PLX Technology, Inc. PEX 8608 8-lane PCI Express Gen 2 Switch" }, "subsystem-vendor-id", Buffer (0x04) { 0x6B, 0x10, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } Device (PLX1) { Name (_ADR, 0x00010000) Device (XHC1) { Name (_ADR, Zero) Method (_DSM, 4, NotSerialized) { Store (Package () { "AAPL,slot-name", Buffer (0x09) { "Built in" }, "device_type", Buffer () { "USB controller" }, "name", Buffer () { "NEC Corporation uPD720200 USB 3.0 Host Controller" }, "subsystem-vendor-id", Buffer (0x04) { 0x6B, 0x10, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } } Device (PLX5) { Name (_ADR, 0x00050000) Device (ATA6) { Name (_ADR, Zero) Method (_DSM, 4, NotSerialized) { Store (Package () { "AAPL,slot-name", Buffer (0x09) { "Built in" }, "device_type", Buffer () { "SATA controller" }, "name", Buffer () { "Marvell 88SE9120 2 port SATA AHCI 1.0 Controller" }, "subsystem-vendor-id", Buffer (0x04) { 0x6B, 0x10, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } Device (PRT0) { Name (_ADR, Zero) Method (_DSM, 4, NotSerialized) { Store (Package () { "io-device-location", Buffer (0x06) { "Bay 6" }, "Physical Interconnect Location", Buffer () { "Internal" } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (PRT1) { Name (_ADR, Zero) Method (_DSM, 4, NotSerialized) { Store (Package () { "io-device-location", Buffer (0x06) { "Bay 7" }, "Physical Interconnect Location", Buffer () { "Internal" } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } } } /* unused PLX port */ Device (PLX7) { Name (_ADR, 0x00070000) Method (_STA, 0, NotSerialized) { Return (0x0B) } } /* unused PLX port */ Device (PLX9) { Name (_ADR, 0x00090000) Method (_STA, 0, NotSerialized) { Return (0x0B) } } } /* end ASUS U3S6 */ I ve not tested USB3 but the driver loads. It is reported to only support USB3 devices. Happy hack !
  2. toine44

    Fusion drive on older Macs? YES!

    I'm wondering if it is possible to built a setup with 1 SSD + 2 HDD
  3. I've use otx to disassemble the kext. +257 0000f915 0fb7401e movzwl 0x1e(%eax),%eax +261 0000f919 663d9f05 cmpw $0x059f,%ax +265 0000f91d 746a je 0x0000f989 +267 0000f91f 0fb7c0 movzwl %ax,%eax +270 0000f922 8944240c movl %eax,0x0c(%esp) +274 0000f926 89542408 movl %edx,0x08(%esp) +278 0000f92a c74424049c950100 movl $0x0001959c,0x04(%esp) %p::UIMCreateControlTransfer - Super Speed device other than LaCie is not supported - Vendor ID[%x]\n +286 0000f932 c7042401000000 movl $0x00000001,(%esp) 059F is lacie usb id. the instruction then jump to offset 6A if the comparaison is OK (cmpw $0x059f,%ax) 0x0000f989 = 0000f91d + 2 + 6A in an old patch driver, the JE op 74 is replaced by unconditional short jump JMP op EB So open an hex editor, find 663d9f05 2 times (32 and 64 bit exe) and replace the following 74 by EB.
  4. toine44

    Asus 1201N Installation and support

    Hello mondi, Which patched kernel do you use with 10.7.3 ? (On 10.7.2 I'm still with xnu-1699.22.64 instead of xnu-1699.24.8) Edit: It works keeping this kernel.
  5. I've read in an other topic to press the power button twice to wake up the computer, and it works !! On the second time, the monitor wakes.
  6. toine44

    Chameleon Wizard - Utility for Chameleon.

    That's OK. For Raid volumes, we have to use EFI partition for /Extra and boot, so every things are yet here to work. I can see EFI partitions on the combo box but the mount menu did not work (even on my USB key). Fr translation update: fr.lproj.zip
  7. toine44

    Chameleon Wizard - Utility for Chameleon.

    It doesn't hurt ? It could be more useful to add MacBookAir ones. Here is the French translation.
  8. toine44

    Chameleon Wizard - Utility for Chameleon.

    No, it does not. I think you have a substring exception because my system is on disk2 and not on disk0s2 for example because it is a Raid volume. If you can send me the code, I can solve that problem easily.
  9. toine44

    Chameleon Wizard - Utility for Chameleon.

    And I've this log in the Console: Chameleon Wizard[421] *** -[NSCFString substringWithRange:]: Range or index out of bounds
  10. toine44

    Chameleon Wizard - Utility for Chameleon.

    Very nice app. Unfortunately, I can't install chameleon with it on a USB key on my desktop which is on an AppleRaid volume : the combo box containing all the rev available did not appear.
  11. toine44

    Asus 1201N Installation and support

    If you have a bluetooth injector, try removing it. I didn't use it anymore and BT is working for me with 10.6.8
  12. toine44

    Asus 1201N Installation and support

    It is not necessary, add this to the "Kernel Flags" (in com.apple.Boot.plist) : npci=0x2000 Tea kernel works in 32 and 64 bits http://tdev.me/2011/07/mach-kernel-atom-10...10-6-8/?lang=en As usual, you will have to restore your working AppleHDA.kext and IOAudioFamily.kext. When I update to 10.6.8 my desktop, I've networking problems since I didn't have a board-id defined in smbios. So for 1201N, I've added this to my smbios.plist: <key>SMboardproduct</key> <string>Mac-F42D88C8</string> (taken from MBAir2,1) Old version of chameleon did not put this property, to verify it works type: ioreg -l | grep board-id you should get: | "board-id" = <"Mac-F42D88C8">
  13. toine44

    Asus 1201N Installation and support

    There are no drivers in 10.5.0 for nvidia 9400M chipset. 10.5.6 should works : http://en.wikipedia.org/wiki/Macbook#Model_specifications
  14. toine44

    Asus 1201N Installation and support

    It can be linked to SleepEnabler.kext if you use it : it needs a boot parameter depending on the kernel version. (I can't say more as I didn't use it : a DSDT hack exists thats always works...)
  15. toine44

    Asus 1201N Installation and support

    I've tried on usb disk. It did not boot after install & reboot : kernel patcher is KO for this kernel.
  16. toine44

    Asus 1201N Installation and support

    Yep, for the restart, I have also a BIOS CMOS reset if the backlight has been dimmed up/down AND is not put at 100% before rebooting. I also encounter the same problem if I program an RTC wake up in the system preferences / energy saver : it works and wakes the computer but the bios asks to reset settings There are no issues when doing dim adjustment in win7 but I don't see in the DSDT what can be the difference. The simpler is to disable the code that writes the dim current value in CMOS, but you loose the dim memorization between reboot. I don't know if it is possible to program the RTC for wake up in windows. It would be smart to compare the behaviour. Notice: All this problems also applies with linux. I'm also wondering if this problem could be related with the method which is used to reboot. Unfortunately, I did not found the sources for evoReboot.kext Edit: I've disassemble the kext : it is hooking on the kernel PEHaltRestart function and it is doing a reboot by keyboard controller : outb(0xFE, 0x64). I've modified the version of chameleon I'm using to patch FADT table with this values and it is working : I've suppressed evoReboot.kext and halt and restart are working great // Patch FADT to fix restart if (fix_restart) { /* fadt_mod->Flags|= 0x400; fadt_mod->Reset_SpaceID = 0x01; // System I/O fadt_mod->Reset_BitWidth = 0x08; // 1 byte fadt_mod->Reset_BitOffset = 0x00; // Offset 0 fadt_mod->Reset_AccessWidth = 0x01; // Byte access fadt_mod->Reset_Address = 0x0cf9; // Address of the register fadt_mod->Reset_Value = 0x06; // Value to write to reset the system */ fadt_mod->Flags|= 0x400; fadt_mod->Reset_SpaceID = 0x01; // System I/O fadt_mod->Reset_BitWidth = 0x08; // 1 byte fadt_mod->Reset_BitOffset = 0x00; // Offset 0 fadt_mod->Reset_AccessWidth = 0x01; // Byte access fadt_mod->Reset_Address = 0x64; // Address of the register fadt_mod->Reset_Value = 0xfe; // Value to write to reset the system verbose("FADT: Restart Fix applied!\n"); }
  17. toine44

    Asus 1201N Installation and support

    1) remove the bt on/off kext 2) reboot 3) clean the file /Library/Preferences/com.apple.Bluetooth.plist 4) reboot
  18. toine44

    Asus 1201N Installation and support

    I'm working on that, go to the specific controller subject : http://www.insanelymac.com/forum/index.php?showtopic=181343
  19. toine44

    Atheros AR8131/AR8132

    diff.txt
  20. toine44

    Atheros AR8131/AR8132

    OK. Give me the good command line please, I'm not diff Xpert
  21. toine44

    Atheros AR8131/AR8132

    Hello, starting from 101010 I've made proper cable detection, multicast and sleep to work. Here is the diff. diff atl1c/AtherosL1cEthernet.cpp new_atl1c/AtherosL1cEthernet.cpp 509a510,512 > // initialise linkStatus - link changes will be done by interrupt handler > atGetAndUpdateLinkStatus(); > 512,514c515,516 < // atGetAndUpdateLinkStatus(); // Link state not always restored on enable < < // set FPGA vesion --- > > // set FPGA version 521a524 > 918c921 < DbgPrint("systemWillShutdown(), %#x\n", specifier); --- > DbgPrint("systemWillShutdown(), %#x\n", (unsigned int)specifier); 985,986c988,989 < mac_ctrl_data |= MAC_CTRL_MC_ALL_EN; < mac_ctrl_data &= ~MAC_CTRL_PROMIS_EN; --- > mac_ctrl_data |= MAC_CTRL_MC_ALL_EN; > mac_ctrl_data &= ~ MAC_CTRL_PROMIS_EN; 1001a1005 > 1004c1008 < DbgPrint("setMulticastList()\n"); --- > DbgPrint("setMulticastList(count = %u)\n",(unsigned int)count); 1007a1012,1017 > > /* restart from scratch */ > DbgPrint("setMulticastList : Reset\n"); > setMulticastMode(0); > setMulticastMode(1); > 1009a1020,1021 > DbgPrint("setMulticastList(%x:%x:%x:%x:%x:%x)\n", addrs->bytes[0],addrs->bytes[1], > addrs->bytes[2],addrs->bytes[3],addrs->bytes[4],addrs->bytes[5]); 1013c1025 < --- > Common subdirectories: atl1c/AtherosL1cEthernet.xcodeproj and new_atl1c/AtherosL1cEthernet.xcodeproj Common subdirectories: atl1c/English.lproj and new_atl1c/English.lproj diff atl1c/at_hw.cpp new_atl1c/at_hw.cpp 274c274 < * 1. calcu 32bit CRC for multicast address --- > * 1. calcul 32bit CRC for multicast address
  22. toine44

    Asus 1201N Installation and support

    I've made a test to see how my setup was working. Battery charged at 100%, backlight at 50%, wifi off, no apps running; I've got : Before : 3h54, CPU 33°C, GPU 47°C After : 4h42, CPU 30°C, GPU 44°C
  23. toine44

    Asus 1201N Installation and support

    it is simpler to use IGPU as device identifier (taken from dsdt instead of pci config space)
  24. toine44

    Asus 1201N Installation and support

    Good news, I've got a working agpm I've merged the entries specifics found in the legacy kext in the stock kext (from 10.6.5). It was not working well with MB61 profile : only state 0 and 1, but with MBA21 it works : 3 in idle, 0 with openCL tests, and 2 or 1 with an HD movie in QTX. Next step would be to make an injector from that. Here is my modified plist, I've put a copy of the whole kext in EE Info.plist.zip Autonomy seems better, at least 10min but it's hard to bench it.
  25. toine44

    Asus 1201N Installation and support

    In your log you dont have the same Subvendor id than me: you have apple, me asus. Do you use a custom video bios file injected by chameleon ?
×