Giter Site home page Giter Site logo

Comments (8)

1Revenger1 avatar 1Revenger1 commented on May 31, 2024

Hrm, I thought I fixed that a while ago.

Do you mind providing a log as the template said to provide?
You may want to use log stream | grep -i voodoormi > ~/Desktop/voodoormi.txt, and then use the middle button to try and scroll, before ending that log command.

from voodoormi.

conorbergin avatar conorbergin commented on May 31, 2024

Sorry, here is log show --last boot

2020-08-16 06:13:35.524031+0100 0xde       Default     0x0                  0      0    kernel: (VoodooSMBus) Debug: Publishing nub for slave device at address 0x2c
2020-08-16 06:13:35.535612+0100 0xde       Default     0x0                  0      0    kernel: (VoodooSMBus) Debug: Publishing nub for slave device at address 0x15
2020-08-16 06:13:35.587226+0100 0xe5       Default     0x0                  0      0    kernel: (VoodooSMBus) Debug: No response
2020-08-16 06:13:35.685429+0100 0x11a      Default     0x0                  0      0    kernel: (VoodooPS2Controller) ApplePS2Controller: Notification consumer published: ApplePS2Controller
2020-08-16 06:13:35.696328+0100 0x11b      Default     0x0                  0      0    kernel: (VoodooPS2Controller) ApplePS2Controller: Notification consumer published: ApplePS2Keyboard
2020-08-16 06:13:41.976557+0100 0x5e4      Default     0x0                  0      0    kernel: (VoodooSMBus) Debug: No response
2020-08-16 06:13:41.980785+0100 0x5e4      Default     0x0                  0      0    kernel: (VoodooRMI) Error: Unable to read IRQ
2020-08-16 06:13:42.118114+0100 0x62a      Default     0x0                  0      0    kernel: (VoodooSMBus) Debug: Lost arbitration
2020-08-16 06:13:42.578099+0100 0x6de      Default     0x0                  0      0    kernel: (VoodooSMBus) Debug: Lost arbitration
2020-08-16 06:18:11.301005+0100 0x43e2     Default     0x0                  0      0    kernel: (VoodooSMBus) Debug: Lost arbitration
2020-08-16 06:20:14.351193+0100 0x5634     Default     0x0                  0      0    kernel: (VoodooSMBus) Debug: Lost arbitration
2020-08-16 06:25:04.525661+0100 0x8ba2     Default     0x0                  0      0    kernel: (VoodooSMBus) Debug: Lost arbitration
2020-08-16 06:28:00.462235+0100 0xad09     Default     0x0                  0      0    kernel: (VoodooSMBus) Debug: No response
2020-08-16 06:28:00.462251+0100 0xad09     Default     0x0                  0      0    kernel: (VoodooRMI) Error: Could not read F11 attention data: -6
2020-08-16 06:28:02.143113+0100 0xada5     Default     0x0                  0      0    kernel: (VoodooSMBus) Debug: Lost arbitration

Looks like I need to patch my IRQ?

No output in log stream | grep -i voodoo

from voodoormi.

1Revenger1 avatar 1Revenger1 commented on May 31, 2024

Try using the debug version of VoodooRMI, it gives a lot more info. Most of the debug info isn't needed and just wastes CPU cycles so it's left out of the release build.
No need to patch IRQ, it just wasn't able to read it once. If it continued working, it likely isn't an issue. This is the IRQ register within the sensor itself, not IRQ like with HPET/TMR, etc.

Edit: Looking at the code, looks like that message is just trying to get the IRQ status when an interrupts happens. First time I've seen it, though it looks like it only happened once

from voodoormi.

conorbergin avatar conorbergin commented on May 31, 2024

Using the debug version seems to reduce the probability of two clicks being sent for one press, it now seems to happen 50% of the time, but not in a truly random fashion, it seems to get 'stuck' on either sending one click or two, I'm not sure what triggers this yet.

When it is working properly, i.e only opening a link when I release the middle button it will still open a link when I start to scroll over a link. Like this:

Button Press -> nothing
Move Trackpoint -> Opens link AND begins scrolling
Button Release -> Ends Scroll (won't open a link if scroll ends over one)

I've also notices this sometimes happens with the primary buttons, but very rarely, it might send a double left click for a single press 1% of the time.

log stream output during scroll

2020-08-16 15:04:50.121332+0100 0xfb04     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.121357+0100 0xfb04     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.121365+0100 0xfb04     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: fe
2020-08-16 15:04:50.121413+0100 0xfb04     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Sending event 3825174530 to F11/F12: 0
2020-08-16 15:04:50.121424+0100 0xfb04     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 1, Buttons: 0
2020-08-16 15:04:50.122089+0100 0xfb04     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Key 1 is Up
2020-08-16 15:04:50.122098+0100 0xfb04     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Key 2 is Up
2020-08-16 15:04:50.122103+0100 0xfb04     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Key 3 is Down
2020-08-16 15:04:50.122128+0100 0xfb04     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Sending trackpoint button to F03: 4
2020-08-16 15:04:50.151842+0100 0xfb08     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.151867+0100 0xfb08     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.151876+0100 0xfb08     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: ff
2020-08-16 15:04:50.151943+0100 0xfb08     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 0, Buttons: 0
2020-08-16 15:04:50.165134+0100 0xfb0a     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.165145+0100 0xfb0a     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.165148+0100 0xfb0a     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: ff
2020-08-16 15:04:50.165165+0100 0xfb0a     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 0, Buttons: 0
2020-08-16 15:04:50.202730+0100 0xfb0c     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.202757+0100 0xfb0c     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.202761+0100 0xfb0c     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: fe
2020-08-16 15:04:50.202834+0100 0xfb0c     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Sending event 3825174530 to F11/F12: 0
2020-08-16 15:04:50.202841+0100 0xfb0c     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 1, Buttons: 0
2020-08-16 15:04:50.217502+0100 0xfb0e     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.217516+0100 0xfb0e     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.217518+0100 0xfb0e     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: fe
2020-08-16 15:04:50.217555+0100 0xfb0e     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Sending event 3825174530 to F11/F12: 0
2020-08-16 15:04:50.217561+0100 0xfb0e     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 1, Buttons: 0
2020-08-16 15:04:50.224439+0100 0xfb0f     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 38
2020-08-16 15:04:50.224450+0100 0xfb0f     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: ff
2020-08-16 15:04:50.224452+0100 0xfb0f     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: fe
2020-08-16 15:04:50.224490+0100 0xfb0f     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Sending event 3825174530 to F11/F12: 0
2020-08-16 15:04:50.224495+0100 0xfb0f     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 1, Buttons: 0
2020-08-16 15:04:50.232092+0100 0xfb10     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.232103+0100 0xfb10     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.232105+0100 0xfb10     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: ff
2020-08-16 15:04:50.232119+0100 0xfb10     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 0, Buttons: 0
2020-08-16 15:04:50.246764+0100 0xfb11     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.246797+0100 0xfb11     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.246808+0100 0xfb11     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: ff
2020-08-16 15:04:50.246851+0100 0xfb11     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 0, Buttons: 0
2020-08-16 15:04:50.253927+0100 0xfb12     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.253939+0100 0xfb12     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.253943+0100 0xfb12     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: ff
2020-08-16 15:04:50.253962+0100 0xfb12     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 0, Buttons: 0
2020-08-16 15:04:50.261887+0100 0xfb13     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.261899+0100 0xfb13     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.261903+0100 0xfb13     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: fd
2020-08-16 15:04:50.261942+0100 0xfb13     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Sending event 3825174530 to F11/F12: 0
2020-08-16 15:04:50.261949+0100 0xfb13     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 2, Buttons: 0
2020-08-16 15:04:50.276447+0100 0xfb14     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.276474+0100 0xfb14     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.276476+0100 0xfb14     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: ff
2020-08-16 15:04:50.276502+0100 0xfb14     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 0, Buttons: 0
2020-08-16 15:04:50.283867+0100 0xfb15     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.283879+0100 0xfb15     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.283881+0100 0xfb15     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: fe
2020-08-16 15:04:50.283913+0100 0xfb15     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Sending event 3825174530 to F11/F12: 0
2020-08-16 15:04:50.283918+0100 0xfb15     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 1, Buttons: 0
2020-08-16 15:04:50.299625+0100 0xfb16     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.299636+0100 0xfb16     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.299638+0100 0xfb16     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: fd
2020-08-16 15:04:50.299672+0100 0xfb16     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Sending event 3825174530 to F11/F12: 0
2020-08-16 15:04:50.299677+0100 0xfb16     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 2, Buttons: 0
2020-08-16 15:04:50.299681+0100 0xfb16     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.299684+0100 0xfb16     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.305748+0100 0xfb17     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: fc
2020-08-16 15:04:50.305914+0100 0xfb17     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Sending event 3825174530 to F11/F12: 0
2020-08-16 15:04:50.305923+0100 0xfb17     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 3, Buttons: 0
2020-08-16 15:04:50.313503+0100 0xfb18     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.313515+0100 0xfb18     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.313517+0100 0xfb18     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: fe
2020-08-16 15:04:50.313549+0100 0xfb18     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Sending event 3825174530 to F11/F12: 0
2020-08-16 15:04:50.313554+0100 0xfb18     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 1, Buttons: 0
2020-08-16 15:04:50.328209+0100 0xfb19     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.328247+0100 0xfb19     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.328255+0100 0xfb19     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: fe
2020-08-16 15:04:50.328392+0100 0xfb19     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Sending event 3825174530 to F11/F12: 0
2020-08-16 15:04:50.328405+0100 0xfb19     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 1, Buttons: 0
2020-08-16 15:04:50.342855+0100 0xfb1a     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.342896+0100 0xfb1a     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.342899+0100 0xfb1a     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: fd
2020-08-16 15:04:50.343025+0100 0xfb1a     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Sending event 3825174530 to F11/F12: 0
2020-08-16 15:04:50.343035+0100 0xfb1a     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 2, Buttons: 0
2020-08-16 15:04:50.372412+0100 0xfb1b     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.372426+0100 0xfb1b     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.372429+0100 0xfb1b     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: ff
2020-08-16 15:04:50.372452+0100 0xfb1b     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 0, Buttons: 0
2020-08-16 15:04:50.387556+0100 0xfb1c     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.387578+0100 0xfb1c     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.387581+0100 0xfb1c     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: ff
2020-08-16 15:04:50.387625+0100 0xfb1c     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 0, Buttons: 0
2020-08-16 15:04:50.476430+0100 0xfb1d     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 28
2020-08-16 15:04:50.476454+0100 0xfb1d     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: 0
2020-08-16 15:04:50.476461+0100 0xfb1d     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: F03 - Recieved data over PS2: ff
2020-08-16 15:04:50.476491+0100 0xfb1d     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Dx: 0 Dy : 0, Buttons: 0
2020-08-16 15:04:50.637638+0100 0xfb1e     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Key 1 is Up
2020-08-16 15:04:50.637661+0100 0xfb1e     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Key 2 is Up
2020-08-16 15:04:50.637665+0100 0xfb1e     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Key 3 is Up
2020-08-16 15:04:50.637678+0100 0xfb1e     Default     0x0                  0      0    kernel: (VoodooRMI) Debug: Sending trackpoint button to F03: 0

from voodoormi.

conorbergin avatar conorbergin commented on May 31, 2024

I've been looking at the log stream outputs a lot, trying to catch something odd, but it always seems to agree with my inputs, no extra button presses anywhere, time between button presses is consistent, no delay etc.
Could it be something further down the input stack?

from voodoormi.

1Revenger1 avatar 1Revenger1 commented on May 31, 2024

Oh, I see what the issue is - generally trackstick buttons are sent over the PS2 passthrough, but sometimes they are instead sent through a different function. Mine functions as the former, so I unfortunately wasn't able to catch it. When the buttons are sent to the function which handles the PS2 passthrough, it also sends a pointer event w/ buttons to macOS which by passes logic I had in place to avoid it...oops.

from voodoormi.

1Revenger1 avatar 1Revenger1 commented on May 31, 2024

Do you mind trying this version out? Should be fixed.
VoodooRMI.kext.zip

from voodoormi.

conorbergin avatar conorbergin commented on May 31, 2024

Working perfectly. Thank you for your efforts.

from voodoormi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.