talonvoice / talon

Issue Tracker for the main Talon app
85 stars 0 forks source link

Eye tracking doesn't work on Windows 10 #192

Closed theoractice closed 3 years ago

theoractice commented 3 years ago
==== Log: C:\Users\Administrator\AppData\Roaming\talon\talon.log ====

    5:            talon\usb.py:55 |
    4:    talon\track\tobii.py:523|
    3:    talon\track\tobii.py:242|
    2:    talon\track\tobii.py:255|
    1:    talon\track\tobii.py:309|
talon.track.tobii.EyeOpenErr: Eye Tracker open failed with error: error opening device
2020-12-27 15:49:45 DEBUG Talon Version: 0.1.3
2020-12-27 15:49:45 DEBUG UI responsive at 2.9380s
2020-12-27 15:49:45 DEBUG [+] D:\talon\talon_plugins\00_repl.py
2020-12-27 15:49:45 DEBUG [+] D:\talon\talon_plugins\01_init.py
2020-12-27 15:49:45 DEBUG [+] D:\talon\talon_plugins\engines\dragon.py
2020-12-27 15:49:45 DEBUG [+] D:\talon\talon_plugins\eye_keyboard.py
2020-12-27 15:49:45 DEBUG [ ] D:\talon\talon_plugins\eye_mouse.py
2020-12-27 15:49:45 DEBUG [+] D:\talon\talon_plugins\eye_zoom_mouse.py
2020-12-27 15:49:45 DEBUG [+] D:\talon\talon_plugins\main.py
2020-12-27 15:49:46 DEBUG [+] D:\talon\talon_plugins\menu.py
2020-12-27 15:49:46 DEBUG [+] D:\talon\talon_plugins\record.py
2020-12-27 15:49:46 DEBUG [+] D:\talon\talon_plugins\speech.py
2020-12-27 15:49:46 DEBUG Talon modules loaded at 3.2660s
2020-12-27 15:49:46 DEBUG User modules loaded at 3.2820s
theoractice commented 3 years ago

If I reconnect the eye tracker it says:

==== Log: C:\Users\Administrator\AppData\Roaming\talon\talon.log ====

2020-12-27 15:53:23 DEBUG Talon modules loaded at 3.2180s
2020-12-27 15:53:23 DEBUG User modules loaded at 3.2180s
2020-12-27 15:53:35    IO [+] USB: Tobii 4C v2 attached
2020-12-27 15:53:35 ERROR cb error topic="cron" cb=<function USBManager.on_hotplug.<locals>.async_cb at 0x000000000BE55B80>
   15:            threading.py:912|
   14:            threading.py:954|
   13:            threading.py:892|
   12:           talon\cron.py:110|
   11: ---------------------------# cron thread
   10:           talon\cron.py:75 |
    9: talon\scripting\rctx.py:203|
    8: ---------------------------# 'cron' main:async_cb()
    7: ---------------------------# stack splice
    6: talon\scripting\rctx.py:201|
    5:            talon\usb.py:55 |
    4:    talon\track\tobii.py:523|
    3:    talon\track\tobii.py:242|
    2:    talon\track\tobii.py:255|
    1:    talon\track\tobii.py:309|
talon.track.tobii.EyeOpenErr: Eye Tracker open failed with error: error opening device

My tobii driver version is 2.5.0.5602.

lunixbochs commented 3 years ago

This is not a bug in Talon. You need to disable the Tobii services before using a Tobii eye tracker in Talon on Windows. I recommend joining the Slack at https://talonvoice.com/chat and asking in #help if you have further questions.