Fan Controller for Acer Aspire 5750G/5755G on Linux needs access to /dev/port
I recently decided to get rid of windows and install Linux mint 17.3 Cinammon on my Computer. So far it has been a good experience.
However, one of the main things that was worrying me was the fact that I maybe could not control the fan speed as I was able to with Windows 10. Acer had released some time ago a utility to control the fan speed and it worked wonderfully. Thankfully however, I managed to find a perl script that does the exact same thing on Linux, and it works like a charm when I run it with sudo, however, whenever I simply run it without sudo, it gives me an access denied message about /dev/port. http://i.imgur.com/y2HTcTc.png I want to be able to run this script without root access and even write a bash script for it (Maybe even a complete port with a GUI like the original Acer app), but as long as this /dev/port issue remains, I can't do anything because I will always need to enter my password. I have searched and I am indeed a member of the dialout group, having restarted and relogging multiple times, but even that doesn't help me. I have also tried looking at the source code of this perl script but I just can't wrap my head around it, seeing as it has a lot of assembly magic. http://i.imgur.com/UwoA0tD.png So my question is this: I want to execute a perl script that requires access to /dev/port without running it using sudo, but even if I am in the dialout group, it still gives me the error. What am I doing wrong? My guess is that the ports that this script needs do not belong to the dialout group but some other group, like tty, but I can't add myself to the tty group. Regardless, thanks. |
Do a ls -la to check for users/groups on /dev/port and rights.
Read man chgrp |
All times are GMT -5. The time now is 06:14 PM. |