joseluis / huion-linux-drivers

Linux user-space drivers for Huion Graphic Tablets
MIT License
168 stars 95 forks source link

uclogic-probe/uclogic-decode : No such file or directory #73

Closed lululock71 closed 4 years ago

lululock71 commented 4 years ago

Hi, I've downloaded the latest version but when I launch it, I've got this issue :


sudo python '/home/[...]/huion-tablet-driver.py'

Finding USB device. . . Done!
Reading configuration. . . Done!
hid_uclogic            32768  0
/bin/sh: /usr/local/bin/uclogic-probe: Aucun fichier ou dossier de ce type
/bin/sh: /usr/local/bin/uclogic-decode: Aucun fichier ou dossier de ce type
Preparing driver. . . ERROR running the following comand:
    "/usr/local/bin/uclogic-probe" "3" "2" | "/usr/local/bin/uclogic-decode"
RETURN CODE: 127

The older version still works.

Maybe I'm missing something about the dependencies but it worked before... uclogic-tools is the only uclogic related package available for Arch.

joseluis commented 4 years ago

For now you can write in terminal: which uclogic-probe in order to find out the path of uclogic, and you'll have to update the uclogic_bins settings in config.ini file. E.g.:

$ which uclogic-probe
/usr/bin/uclogic-probe

config.ini:

# Miscellaneus
uclogic_bins            = /usr/bin

I should probably make that part more automatic...

lululock71 commented 4 years ago

Thank you, it works now !

What I don't get, is why the old version worked...

It should be easy to implement a automatic detection, given that a system command already exists to get the path.