Permission Denied on echo/cat
Hey @brkalmar,
Thank you for your work. I am using your version of leviathan in order to control the x61.
I followed through all the steps and managed to get the readings in via
cat /sys/bus/usb/drivers/kraken/1-9\:1.0/pump
2760
however, any time I try to do this echo 100 > /sys/bus/usb/drivers/kraken/1-9\:1.0/speed with or without sudo I get bash: /sys/bus/usb/drivers/kraken/1-9:1.0/speed: Permission denied which seems rather odd.
When I run the dmesg command I do see the:
[ 1032.726657] kraken 1-9:1.0: Kraken connected
[ 1032.726701] usbcore: registered new interface driver kraken
Could you please help me debug the issue? I had an attempt of adding the particular kraken device to udev rules, but that didn't help at all. I have zero clue on how to proceed.
Closing this issue as it's not related to leviathan, but rather to the way I have called the command due to the redirect >.