Jump to content

Slice

Members
  • Posts

    117
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Slice

  1. I confirm this driver is not good.

    VoodooPS2Controller prevents computer from sleep/wake. With ApplePS2Controller sleep/wake fine.

    Keyboard driver needs some improvements with some unused keys. Namely with my D420 I see a key ">

    Trackpad driver needs many improvements:

    1. Now buttons is not working.

    2. Dragging should be switched on/off.

    3. DragLock implementation? Dunno how.

    4. Scroll sensitivity. It was set at minimum in the driver but it very high. An idea is to drop events 1,2,3,4 and perform event 5.

    5. Trackstick is not working.

    Any propositions?

     

    Help me, please. I am not clear how Dragging and DragLock should work.

    1. If I check "Dragging" then...

    2. If I check "DragLock" then...

    3. If both NO then ...

  2. I have two reports that very bad for me "with your bootloader the computer can't sleep while with trunk yes".

    I really loose sleep capability and perform tests why. I deleted all modules except

    modules:
    GUI.dylib
    klibc.dylib
    Memory.dylib
    Resolution.dylib
    

     

    All others is not needed.

    Then I change back from VoodooPS2 to ApplePS2.

    Now sleep/wake works!

    Then I replace IOPCIFamily with v263 and have fully working system after wakebiggrin.gif

     

    So I didn't confirm that my bootloader has something bad for sleep. It has no relation to the problem.

  3. History.The vanilla driver is not good for most non-Apple laptops. Why? Reading documentation on PCCard/PCMCIA I found that PrimaryBus/SecondaryBus/SubordinaryBus of CardBus bridge should be assigned by external driver of OS. Namely IOPCIFamily.

    This tuning was in Apple's driver v1.7 but since 2.x version the CardBus support is dropped by Apple.

    So why Chun-Nan and me made our versions of IOPCIFamily with Bus renumerations algo. Chun-Nan abandon the ship at Leo era and now only my version can works in Snow.

    My algo is verified in Tiger with Samsung P29 and gave me working PCCard with vanilla IOPCCardFamily.kext. I also have some grateful reports from other users of Tiger. Later I remake the same way Leo's driver and Snow's. They work as is but I never checked PCCard because of lack of hardware.

     

    Now in Snow.

    I created IOPCIFamily v263 for Snow 10.6.0. It was good. Only with it I got USB working! Side effect. I also have report from other users with good influence of the kext.

    Now I have the hardware, namely Dell D420 with PCCard slot with Snow installed and.... PCCard is not working. I see good messages from IOPCIFamily in kernel.log

    IOPCI2PCIBridge: cardbus memory range 524288 bytes @ 0xefb01000

     

    It means that CardBridge is properly initialized. Looks fine, nonetheless PCCard is not working.

    Version 263 was created from 113 Apple's sources. Since 10.6.5 Apple rewrote the driver and publish 115 sources.

    I made IOPCIFamily v265 based on 115 sources. After some testing I found it is not good.

    Wake after sleep with 265:

    Feb 22 13:54:36 sergey kernel[0]: System Sleep
    Feb 22 13:54:45 sergey kernel[0]: pci restore waited for GIGE (8204) fail
    Feb 22 13:54:45 sergey kernel[0]: pci restore waited for ARPT (8215) fail
    Feb 22 13:54:45 sergey kernel[0]: Wake reason = PWRB LID
    Feb 22 13:54:45 sergey kernel[0]: System Wake
    Feb 22 13:54:45 sergey kernel[0]: USB (EHCI):Port 1 on bus 0xfa connected or disconnected: portSC(0x301002)
    Feb 22 13:54:45 sergey kernel[0]: The USB device Laptop Integrated Webcam (Port 1 of Hub at 0xfa000000) may have caused a wake by being disconnected
    Feb 22 13:54:45 sergey kernel[0]: no card!
    Feb 22 13:54:47: --- last message repeated 1 time ---
    Feb 22 13:54:45 sergey kernel[0]: AppleYukon2: 00000000,24907000 sky2 - HardwareNotResponding, marking offline
    Feb 22 13:54:45 sergey kernel[0]: AppleYukon2: error - FATAL: SkGeStopPort() does not terminate (Rx)
    Feb 22 13:54:45 sergey kernel[0]: AppleYukon2: error - SkGeInitPort(): invalid Queue Size specified
    Feb 22 13:54:45 sergey kernel[0]: AppleYukon2: error - SkGeInitPort(): Queue Size illegal configured
    Feb 22 13:54:45 sergey kernel[0]: AppleYukon2: SkGeInitPort A failed.
    Feb 22 13:54:45 sergey kernel[0]: AppleYukon2: 00000000,00000000 sk98nif - enable - IFEnable failed
    

     

    And ethernet not working sad.gif

    Then I revert back to IOPCIFamily 263

    Feb 22 14:03:16 sergey kernel[0]: System Sleep
    Feb 22 14:03:28 sergey kernel[0]: Wake reason = PWRB LID
    Feb 22 14:03:28 sergey kernel[0]: System Wake
    Feb 22 14:03:28 sergey kernel[0]: USB (EHCI):Port 1 on bus 0xfa connected or disconnected: portSC(0x301002)
    Feb 22 14:03:28 sergey kernel[0]: The USB device Laptop Integrated Webcam (Port 1 of Hub at 0xfa000000) may have caused a wake by being disconnected
    Feb 22 14:03:30 MacBook kernel[0]: Ethernet [AppleYukon2]: Link up on en0, 100-Megabit, Full-duplex, Symmetric flow-control, Debug [78ed,6c00,0de1,0000,45e1,0000]
    

     

    Fine! tongue.gif

     

    It means that final version of IOPCIFamily is not yet created. Here I propose the most working version

    IOPCIFamily.kext-v263.zip

     

    I hope on more testing from other hardware configuration and will create the best version.

  4. Thank you for the good reports. There are some new informations for me.

    As I see from these logs DMA is no go. sad.gif

    Take me also your ioreg with VoodooSDHC.kext started.

    ioreg -lxw0 >ioregROBI62.txt

     

     

    Tell me, please, how can you insert two cards? Do you have two slots?

  5. Slice does the sdhc kext not load at all on your d420???

     

    I just tried on my d430 kext loads at start up if i put a card in it says card found but then it says many error codes then i have to restart laptop....

     

     

    This is my device and kext with system info app

    device.tiff

    kexts.tiff

     

    I asked to provide kernel.log information. And please attach pictures as png but not tiff.

     

    Yes, on D420 almost the same behavior. At Inspiron it just works, card inserted automatically mounted and I can read and write with a speed about 10Mb/s.

  6. The question is offcourse, is there a need for this ? :)

     

    Btw.. try and click FN+Z on your keyboard.. did you cooler stop ?

    As well as any monitoring.

     

    My cooler became silent after Fn+Z but why? It is without I8kfan!

    How to revert?

     

    Now I start I8k and look

    6300rpm

    Fn+Z -> 5400rpm, but the temperature is high so, after few seconds 6300rpm again.

    Secret Dell's trick? Will check on 1525 tomorrow.

  7. Hi,

     

    Ok, so it works and we have fan control.. however, i also see that the machine is heating up.. quite alot...

     

    Yes, I also notice it heated CPU. So I am not using it at regular base. Some day I rewrite this driver but it is not nearest future.

  8. Do you want to have a look at my card reader in inspiron d640m????

     

    Problem so far work for some sd card but prevents me from waking from sleep.....

     

     

    Let me know If you need any info from my card reader....

     

    Try this version. It works on Dell Inspiron 1525 with correct sleep/wake.

    VoodooSDHC.kext.zip

     

     

    This is debug version with many messages in kernel.log.

    Report, please, with this messages.

     

    It seems Inspiron has more recent SDController rev2.2 that works with this driver while D420 has rev1.8 that is quirky and some workaround in driver needed. I still not found the trick in any Linux/FreeBSD/Nintendo sources.

    Is there anybody can confirm that the SDCardReader works in Linux? I doubt.

  9. slice is it true that with new compiler you do not need dtgp methode anymore from what i read?

     

    Easy to check

    sergey:NewFolder slice$ iasl -ta dsdt.dsl
    
    Intel ACPI Component Architecture
    ASL Optimizing Compiler version 20110211-32 [Feb 12 2011]
    Copyright (c) 2000 - 2011 Intel Corporation
    
    dsdt.dsl   4832:                     DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
    Error    4064 -   Object does not exist ^  (DTGP)
    
    ASL Input:  dsdt.dsl - 5986 lines, 210789 bytes, 1818 keywords
    Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 3 Optimizations
    sergey:NewFolder slice$ 
    
    

     

    So the answer: NO, we need DTGP

  10. Next problem.

    I compared PCI bus setting for working Dell 1525 and non-working Dell D420

    PCI addr 	1525		420
    (00)=08221180   	08221180   	DeviceID the same
    (08)=08050122   	08050118	kIOPCIConfigRevisionID
    (0c)=00804010		00804000	kIOPCIConfigCacheLineSize
    (3c)=00000212		00000312	kIOPCIConfigInterruptPin
    (b0)=00020004		00020000	
    (c0)=00003000   	00000000	
    (f8)=002100c0		022000c3   	
    
    

     

    The problem that I can't find information about this PCI addresses specific for Ricoh SDController.

    Can anybody find a datasheet for it?

  11. Hey all,

     

    I am a developer of drivers for MacOSX and my success is depended on good testing.

    I can test with Dell Inspiron 1525 and with Dell Latitude D420. In both cases it is my software configuration. At other hardware and at other software configuration there may be different results. So test please all my solutions and report as detailed as possible.

     

    For example I8kfan.kext

    1. Download a driver. I always give you zip archive containing kext and may be something else mentioned separately. Unpack zip by any methods you know. Simplest way is double-click. By default it is in ~/Download/ folder .

    2. All action with drivers should be performed from Terminal under root account.

    Launch /Applications/Utilities/Terminal.app by double click on it's icon.

    3. Enter root account

    sudo -s

    Password:

    enter your password

    4. Create /Test folder at the root of your hard drive.

    mkdir /Test

    5. Copy the kext into this folder

    cp -r -v ~/Downloads/I8kfan.kext /Test

    6. Set right permissions to the kext.

    chown -R root:wheel /Test/I8kfan.kext

    chmod -R 755 /Test/I8kfan.kext

    7. Now we should launch Console application /Applications/Utilities/Console.app

    by double click on it's icon. In the opened windows you should click on Show Log List button.

    At the left column you must choose kernel.log. See screenshot.

    Screen shot 2011-02-19 at 18.53.31.png

     

    Move the screen so you can see both the Terminal window and Console window simultaneously.

    8. Return to Terminal and start the driver:

    kextutil -v /Test/I8kfan.kext

    9. You see messages in terminal windows AND messages in Console.

    bash-3.2# kextutil -v /Test/I8kfan.kext/
    /Test/I8kfan.kext appears to be loadable (not including linkage for on-disk libraries).
    Loading /Test/I8kfan.kext.
    /Test/I8kfan.kext successfully loaded (or already loaded).
    bash-3.2# 
    

     

    10. If the driver started then you can start related application to see what it can show.

    11. If Kernel Panic is happened then don't give up, please. Restart computer in Single User Mode.

    Type in this mode the same command

    kextutil -v /Test/I8kfan.kext

    In this case you may see more messages before KP that you can report me.

     

    If you are interesting in a driver works for you then please show me messages from Terminal, from Console, or make a photo if KP.

  12. Here is my installation

    http://forum.osxlati...y-installation/

    DSDT I uploaded at DSDT Reseach

    New kexts at KEXT Research

     

    VoodooSDHC is not working yet.

    ApplePS2Controller is buggy, will return to it soon.

    PCMCIA is not working with any kexts.

    Voodoo3945 is not working, wait for mercurysquad works.

    Sleep is not working now, since new PS2 installed.

    I8kfan works but I didn't place it at s/l/e. I will later to rewrite it after some testing if occured. It show me unreal temperature (+15) and twice RPM FAN, while on Inspiron all is good. Later I plan to create famesmc plugin based on this kext.

    I have good speedstep with two states: 800MHz and 1067MHz as it should be.

    But IntelCPUMonitor show me wrong voltage so it should be rewritten for Yonah CPU. I have no feedback about Merom CPU.

     

    Still many many works here.

     

    Where can I place instructions "How to test drivers?"?

  13. Running EDP 1.5 Final

     

    .. dosent work...

     

    Couldent you make a new thread and post all the details about your installation.. since it seems like alot of a neat things you get to work dosent work for anyone else ?

    I am at stage of tests so I can't say that my installation is the best.

    - my bootloader RC5m-721 with modules GraphicsEnabler.dylib, GUI.dylib, klibc.dylib, Memory.dylib, Resolution.dylib, USBFix.dylib

    - boot.plist: arch=i386 cpus=1

    - smbios.plist for model MacBook1,1

    - dsdt I uploaded

    - non-native kexts; IOPCIFamily, BCM5751, VoodooHDA, AppleACPIBatteryManager.kext, ACPIMonitor.kext,

    AppleACPIPS2Nub.kext, AppleHDADisabler.kext, ApplePS2Controller.kext, FakeSMC.kext, IntelCPUMonitor.kext

    all of them into s/l/e

     

    ok slice tried it but also didn't work.. but what do i do with the daemon file? maybe thats why its not working?

    daemon seems to be useless. Only GUI needed.

     

    But if the GUI is not working then are you sure that kext is loaded? Did you ever see into kernel.log and system.log?

    SIRS, did you able to test anything?

     

     

  14. Now my best DSDT for D420. Initial version from Mariusz. Corrections of constants from native DSDT. My corrections.

    Changes vs native:

    1. DefinitionBlock ("DSDT.aml", "DSDT", 1, "Apple ", "MacBook ", 0x00010001)

    2. OS identification Store (0x10, MIS3)

    3. Method (DTGP, 5, NotSerialized)

    4. Apple's naming convention:

    PWRB, ARPT, LPCB, IPIC, FRWR

    except AZALHDEF because I afraid of AppleHDA to be started.

    That's why I have no audio injection.

    5. Waiking USB. Not sure in this patch.

            Method (_L03, 0, NotSerialized)
           {
               Notify (\_SB.PCI0.USB0, 0x02)
               Notify (\_SB.PWRB, 0x02)
           }
    

     

    6. Wake up for Power Adapter as well as Battery.

            Device (AC)
           {
               Name (_HID, "ACPI0003")
               Name (_PRW, Package (0x02)
               {
                   0x16, 
                   0x03
               })
    

     

    7. Device (PNLF)

    8. Exclude IO 0x20, 0xA0, 0x4D0 and IRQ0 from abstract device MB2 and add these addresses to IPIC.

    9. Add a device FSAM for ACPImonitor to see CPU Heatsink temperature with iStat. Works not stable :(

    10. Exclude IRQ from RTC and TMR.

    11. Exclude devices SPKR, ECP. No drivers in OSX.

    12. Add IRQ2 to IPIC (brightness problem).

    13. Add IRQ 0,8,11 to HPET. IRQ0,8 for speedstep, IRQ11 for USB problem.

    14. _DSM injections for all USB devices.

    15. IOATAFamily panic patch.

    16. Method UDMA same as origin but differ from Mariusz.

    17. Device (SBUS) definition. Don't know but it really presents in the hardware.

    18. _DSM injection for VID device. Dunno how many fields is obligatory and what is extra.

    19. Exclude Device (DVI) - black screen problem. Do not change VID2 device.

    20. _SUN unjection for PCI devices to see they in System Profiler

    21. _DSM for Firewire. Can't check if it helps.

    22. Exclude Device (CRD1) { Name (_ADR, 0x00010005) as non-existant at this address.

    23. Definition for Device (CRD2) //SD Controller 0x0822

    24. Device (ARPT) definitions.

    25. Initial errors and warning corrections to make dsdt compilable.

     

     

    TODO:

    1. As MacOSX always set GPIC=1 then we can reduce DSDT by all PICx packages. Only APIx needed

                Method (_PRT, 0, NotSerialized)
               {
                   Store (API0, Local0)
                   If (LNot (GPIC))
                   {
                       Store (PIC0, Local0)
                   }
    
                   Return (Local0)
               }
    

     

    2. Sound cosmetics?

    3. Sleep problem is still unresolved.

    4. What about MECI implementation as did in Dell Inspiron 1530?

    5. Still the question about SMBD. Not implemented for now.

        Method (_PTS, 1, NotSerialized)
       {
           SMI (0x8A, Arg0)
    //   	Store (One, SMBD)
       }
    

     

    6. Where is FAN? Where is WiFi LED?

     

    dsdt-D420-v19-02-2011.zip

     

×
×
  • Create New...