LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-28-2016, 05:50 AM   #1
jason0597
LQ Newbie
 
Registered: May 2016
Posts: 3

Rep: Reputation: Disabled
Question 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.
 
Old 06-03-2016, 08:44 AM   #2
amilo
Member
 
Registered: Oct 2011
Location: Nederland
Distribution: Debian, Centos, Ubuntu
Posts: 81

Rep: Reputation: Disabled
Do a ls -la to check for users/groups on /dev/port and rights.
Read man chgrp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fan control (noise) in Acer 5755g jotasan Linux - Hardware 3 11-08-2013 12:28 PM
Install video drivers for Acer Aspire 5750G usr345 Linux - Laptop and Netbook 9 06-20-2012 02:31 PM
No way to install Linux on Acer Aspire 5750G helenhews Linux - Newbie 2 03-09-2012 10:33 AM
[SOLVED] Can't configure wireless card Atheros on Acer Aspire 5750G usr345 Linux - Networking 8 01-07-2012 08:40 PM
[SOLVED] Ubuntu 10.04 LTS in laptop Acer Aspire 5750G does not see wired internet igor1102828 Linux - Newbie 4 10-07-2011 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration