Code: Select all
Looking for Fine Offset station
Fine Offset station found
Moderator: mcrossley
Code: Select all
Looking for Fine Offset station
Fine Offset station found
Code: Select all
mono ./CumulusMX/CumulusMX.exe -debug
If you follow all the steps in the link @mcrossley provided (changing the references to suit your specific device) then you will be able to run unprivileged. However it is much easier just to run privileged - i.e. using sudo. What is your argument for not doing this?mcrossley wrote: ↑Thu 19 May 2022 5:02 pm I'm not really the man for this - maybe @freddie?
But a quick search shows pages like - https://ramonh.dev/2020/09/22/usb-device-linux-startup/
If you run Cumulus as a service then that does away with having to enter a password.throwaway123 wrote: ↑Thu 19 May 2022 6:38 pm First is the fact, that it needs to enter password everytime Cumulus starts. I know it should not get shut down often, but the computer is a temporarry solution, because it sometimes unexpectedly crashes. Even though that may be automated.
Next is just giving superuser privileges to a program that can do anything after that.
Also is there a way for me to find which device is used by Cumulus?
Thank you
I would use udev to do this rather than changing perms manually on anything under /dev. lsusb should give you output like this (as an example):throwaway123 wrote: ↑Thu 19 May 2022 7:28 pm Well, I might just give in to your arguments.
I used lsusb myself and the weather station shows up, but there is no info about which file represents it in the /dev folder. Or how to refere to it in any other way.
Code: Select all
Bus 001 Device 003: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Code: Select all
SUBSYSTEM=="usb", ATTRS{idVendor}=="090c", ATTR{idProduct}=="1000", MODE:="0666"