msi-rgb icon indicating copy to clipboard operation
msi-rgb copied to clipboard

could not open /dev/port; try sudo?

Open crblackw opened this issue 5 years ago • 5 comments

I get the following error message when running sudo ./target/release/msi-rgb 00000000 FFFFFFFF 00000000 # for green on Ubuntu 19.04 with a B450 TOMAHAWK. Has anyone else experienced this?

error: could not open /dev/port; try sudo?
    caused by: Operation not permitted (os error 1)

crblackw avatar Apr 23 '19 01:04 crblackw

i got same problem error: could not open /dev/port; try sudo? caused by: Operation not permitted (os error 1

aliengrey80 avatar May 19 '19 21:05 aliengrey80

This may be caused by some sort of sandboxing mechanism enabled on your installation.

nagisa avatar May 19 '19 21:05 nagisa

Thanks for fast reply. I accually did some experiments with firejail but i thought i completely removed it.

This may be caused by some sort of sandboxing mechanism enabled on your installation.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nagisa/msi-rgb/issues/60?email_source=notifications&email_token=AL2MKDAA75GXD3UEXOSXFQTPWHCTHA5CNFSM4HHT2342YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVXLG4I#issuecomment-493794161, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2MKDCVAXXSC24766EZB7TPWHCTHANCNFSM4HHT234Q .

aliengrey80 avatar May 19 '19 21:05 aliengrey80

Same issue here - cloned and built msi-rgb immediately after a fresh install of Ubuntu 20.04. I had to enable secure boot for LivePatch, would that have affected it?

bzoracler avatar May 23 '20 14:05 bzoracler

It used to work for me when I was using the "legacy bios" mode on my desktop. It is though not working after that I switched to a new installation with UEFI + Secure boot enabled. I get:

error: could not open /dev/port; try sudo?
caused by: Permission denied (os error 1)

I don't know if it would work with UEFI but without Secure Boot. I am probably going to come back and report if I try it.

loveisfoss avatar Jul 05 '20 07:07 loveisfoss