rkaczorek / astroberry-server

Astroberry Server is a ready to use system for Raspberry Pi for controlling all your astronomy equipment
GNU General Public License v3.0
274 stars 19 forks source link

ActiveFocuser has a dependency on libhdiapi-hidraw0 #130

Open AnakChan opened 3 years ago

AnakChan commented 3 years ago

The new Takahashi ActiveFocuser on the latest Astroberry build has a few issues :-

1) dependency on libhidapi-hidraw0 - need to apt install libhidapi-hidraw0

2) Upon installation the /dev/hidraw0 has the wrong permissions which can't be read needing a new udev rule :- crw------- 1 root root 244, 0 Mar 10 09:48 hidraw0 astroberry@astroberry:/etc/udev/rules.d $ cat 51-activefocuser.rules KERNEL=="hidraw*", ATTRS{idVendor}=="20e1", ATTRS{idProduct}=="0002", MODE="0666", GROUP="plugdev" SUBSYSTEM=="usb", ATTR{idVendor}=="20e1", ATTR{idProduct}=="0002", MODE="0666", GROUP="plugdev"