Author Topic: VoodooPS2Keyboard: unexpected acknowledge PS2Controller  (Read 5570 times)

0 Members and 1 Guest are viewing this topic.

dungbx

  • Entrant
  • Posts: 7
VoodooPS2Keyboard: unexpected acknowledge PS2Controller
« on: April 11, 2009, 06:57:52 PM »
Hi Voodoo.

At first I want to say thanks to the team for considering to fix this old technology.
It's long time I've been waiting for the kext. I even tried to fix source code but...

Okay, this is my problem:
I installed VoodooPS2 and restart.
At boot it said: "VoodooPS2Keyboard: unexpected acknowledge PS2Controller" repeatly and doesnt stop.

Some history about my laptop:
Quote
Leopard 10.5.5 Voodoo Kernel
HP Pavilion DV6205/CT Japanese Keyboard
AMD 1.6GHz Turion64X2
1GB RAM
80GB HDD nForce4 SATA (works, Medevil)
nVidia Geforce 7200 Go (works 100%, NVKush)
Connexant HID sound (works, AzaliaAudio, speakers only)
Broadcom Wifi (works oob)
nForce Network Controller (works, nForce LAN)

PS/2 Keyboard +Trackpad sometimes work

Previously I've tried many PS2 kext but never work.
Since Tiger 10.4 until now Leo 10.5.5. Just sometimes keyboard & touchpad work.

Please take a look at this.
Best regards.
« Last Edit: May 16, 2009, 05:53:48 AM by dungbx »

dungbx

  • Entrant
  • Posts: 7
Re: Fail to load
« Reply #1 on: April 13, 2009, 01:30:21 PM »
Hello.

Can I ask for a debug version of this kext?
Maybe it will help.

mackerintel

  • VoodooLabs
  • Posts: 38
Re: Fail to load
« Reply #2 on: April 14, 2009, 01:26:19 PM »
Source is publicaly available.

dungbx

  • Entrant
  • Posts: 7
Re: Fail to load
« Reply #3 on: May 16, 2009, 05:53:25 AM »
Could it be smt related to DSDT?

trip2me

  • Observer
  • Posts: 21
Re: VoodooPS2Keyboard: unexpected acknowledge PS2Controller
« Reply #4 on: May 16, 2009, 02:50:21 PM »
I installed VoodooPS2 and restart.
At boot it said: "VoodooPS2Keyboard: unexpected acknowledge PS2Controller" repeatly and doesnt stop.

Code: [Select]
void ApplePS2Keyboard::interruptOccurred(UInt8 scanCode)   // PS2InterruptAction
{
    //
    // This will be invoked automatically from our device when asynchronous
    // keyboard data needs to be delivered.  Process the keyboard data.  Do
    // NOT send any BLOCKING commands to our device in this context.
    //

    if (scanCode == kSC_Acknowledge) // 0xFA
        IOLog("%s: Unexpected acknowledge from PS/2 controller.\n", getName());
    else if (scanCode == kSC_Resend)
        IOLog("%s: Unexpected resend request from PS/2 controller.\n", getName());
    else
        dispatchKeyboardEventWithScancode(scanCode);
}

Above function is a keyboard interrupt handler.

That you saw the log message, it means ps/2 kext passed init() and prove() function well.

Code: [Select]
bool ApplePS2Keyboard::start(IOService * provider)
{
 ...
    //
    // Reset and enable the keyboard.
    //

    initKeyboard();

    //
    // Install our driver's interrupt handler, for asynchronous data delivery.
    //

    _device->installInterruptAction(this,
            OSMemberFunctionCast(PS2InterruptAction,this,&ApplePS2Keyboard::interruptOccurred));
    _interruptHandlerInstalled = true;

    //
    // Install our power control handler.
    //

    _device->installPowerControlAction( this,
            OSMemberFunctionCast(PS2PowerControlAction,this, &ApplePS2Keyboard::setDevicePowerState ));
    _powerControlHandlerInstalled = true;

    return true;
}

I don't know well, but I guess there are some mis-initializing or other problem in start() function.
Let's be a realist, however, keep impossible dream in our mind. -Che Guevara
All good that I do or have done is from Allah, and only the mistakes have been mine.  -Malcolm X

dungbx

  • Entrant
  • Posts: 7
Re: VoodooPS2Keyboard: unexpected acknowledge PS2Controller
« Reply #5 on: May 27, 2009, 05:04:28 AM »
Thank you for that information.
I've been looking into the code but it's kind of pointless.

The same problem was found in very previous PS2 kext...
I guess it must be about ACPI. Its behavior is really weird :(