leviathan icon indicating copy to clipboard operation
leviathan copied to clipboard

Permission Denied on echo/cat

Open bkovacev opened this issue 8 years ago • 1 comments

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.

bkovacev avatar Aug 09 '18 08:08 bkovacev

Closing this issue as it's not related to leviathan, but rather to the way I have called the command due to the redirect >.

bkovacev avatar Aug 12 '18 13:08 bkovacev