death7654 / Chrultrabook-Tools

User-friendly configuration utility for Chromebooks running an alternate OS
GNU General Public License v3.0
46 stars 11 forks source link

Are ectool commands supposed to work in Linux? #66

Closed ChocolateLoverRaj closed 2 months ago

ChocolateLoverRaj commented 3 months ago

I'm trying to package this for NixOS. I got npm run tuari dev to run, and the window opens up. However, clicking on the fan control buttons doesn't do anything. I do have ectool available in PATH. I'm not sure if this is a NixOS thing or just not implemented yet for Linux.

I'm guessing the 99-cros-ec.rules files gives the user permission to access the EC withoth sudo or something, but I'm not sure what I should do with it.

death7654 commented 2 months ago

Ectools requires admin permissions, try starting the app as admin

ChocolateLoverRaj commented 2 months ago

Ideally it would work similar to gparted where it is opened as a normal user and uses polkit to gain sudo access.

death7654 commented 1 month ago

The latest version of the app gives the user a prompt