• [deleted]

Hello!

I want to install this: https://github.com/dmitry-s93/MControlCenter which requires the following modules: ec_sys module with option write_support=1 or the acpi_ec module.

How can I check to see if these are included in Solus?

Thank you!

Either start the Software Center GUI and search for the application you want, or in a terminal use the command sudo eopkg sr <your app name>. For example, sudo eopkg sr mcontrolcenter. When I just did that, there was no result found, so apparently that application isn't in the repository. I didn't check for its dependencies.

If you want, you could go the the Dev Tracker (link at the top of this screen) and request that the team add that application to the repositories. Unless there's a good reason not to - and they'll tell you if there is - they're really good about adding requested packages.

  • [deleted]

Yeah well, there's a thing, these are kernel modules, I'm not sure you if can find them as packages. I already did sudo eopkg sr <search string> and I did not find them.

I also don't want to bug the Solus team with what might be a somewhat useless request, they probably have a lot to do already. Some time ago I asked if anyone else would want to add KTorrent to the repositories, there was no one else so I moved on. I'm not sure how many Solus users would use an MSI control center, it's something specific.

These two things list loaded modules only

https://github.com/orhun/kmon (I use this and like it)
lsmod | awk '{if (NR != 1) print $1}'

Or
Example to show info on module modinfo ec_sys

So modinfo ec_sys (Not Loaded)

I find this easier or you can do a file search of /lib/modules
Solus Budgie
Hope it helps

Ooops yes solus has that module....lol

  • [deleted]

  • Edited

Right, I found ec_sys in the /lib/modules folders but I'm not sure if it has write_support=1, acpi_ec is not present.

I'll install the MSI Control Center and see if it works.

edit: Nope! Failed to load the ec_sys kernel module. : (

edit 2: Now how do I load this module? : )

    [deleted] Try modprobe ec_sys from terminal
    May have to reboot not sure

    • [deleted]

    Just did modprobe ec_sys and when I load the Control Center all options are grayed out.

    I'll reboot, brb.

    • [deleted]

    I just did a reboot and the module is not loaded. I have to add it to autorun. I'll figure out how to do this and brb.

      [deleted] You will have to get the module stay loaded and maybe sounds
      like will need set module pramas with a conf file for write

      And I am note sure how do that right now but at least your few steps ahead.
      Maybe somebody will chime in that knows about that

      Ooops try sudo modprobe ec_sys

      • [deleted]

      I did try sudo modprobe ec_sys and I'm getting the failed to load message.

      I think I have to make a new .conf file here /usr/lib/modprobe.d/ but I'm not sure how. I can't create anything from Dolphin file manager (I think I need admin privileges and I don't know how to do that there) and if I try it from Double Commander file manager I'm getting a bad file number error.

      I'll keep reading.

        [deleted] I hope that helps some I have never had to add a module before
        But I know how find stuff
        It appears doable tho with some refinement

        • [deleted]

        Yeah, maybe I'll find a way to load this module later.

        sudo modprobe ec_sys and sudo modprobe ec_sys write_support=1 don't seem to do anything because when I start MControlCenter I keep getting an error message saying that the module failed to load and all text and options are grayed out in the app.

        Strange, I checked the Issues section of the GitHub project and the developer says that if the module is present there should be no errors and no user intervention needed, in other words I shouldn't have to write anything in the terminal.

        : (

          [deleted] This is what fedora docs say
          On modern systems, kernel modules are automatically loaded by various mechanisms when the conditions call for it. However, there are occasions when it is necessary to load or unload modules manually, such as when one module is preferred over another although either could provide basic functionality, or when a module is misbehaving
          Their are no dependents of ec_sys and the sudo modprobe ec_sys write_support=1
          should have done it so not sure why its not loading.

          Maybe check out dmesg when trying to run it see if it shows anything

          Does anybody know if we have libqt5widgets5 installed with qt5 or what package has it?

          • [deleted]

          Thank you Axios!

          I never thought about checking if the libqt5widgets5 is installed. I always assumed it was (I'm running Solus Plasma).

          The Arch wiki has a great doc on kernel modules. You've already found the kernel module you need. In order to load it automatically at every boot, take a look at "Automatic module loading", 2.1 systemd.

          To pass the parameter you want for ec_sys, see the "Setting module options" section 4.2. Once you've set up the file with your module and parameters, reboot the system. Make sure it's loaded with

          lsmod | grep ec_sys

          If the module is returned, you know it's loaded. Once it's loaded, you should be able to run the installer for MControlCenter and run the program itself. Let us know how it goes.

          • [deleted]

          Hmm..

          I made a file ec_sys.conf with the contents ec_sys and I placed it in /etc/modules-load.d/.
          I made a file ec_sys.conf with the contents options ec_sys write_support=1 and I placed it in /etc/modprobe.d/.
          I did a reboot.
          After login I opened the terminal and I did lsmod | grep ec_sys. This is the result: ec_sys 12288 0.

          MControlCenter still doesn't work as intended. When I start the program I get this:

          And this is how MControlCenter looks:

            [deleted] Up to this point I would say you did everything you know of properly
            I did notice on his github somebody posted same issue but with debian if it was you ignore.
            Not sure whos at fault when you run it will call the (ec_sys and we know its loaded now) looks like issue between the two.
            Just thinking

            • [deleted]

            • Edited

            @Axios I did not post anything about this on GitHub.

            edit: Hmm.. Should I ask for assistance with this issue on the MControlCenter GitHub's page? I'm thinking not because it seems to be a distribution issue but I'm asking what you think anyway.

            edit 2: Just for confirmation Secure Boot is disabled on my system!

              [deleted] It wouldnt do any good to post on his github issue is brought up
              even tho its debian. Maybe they will get a reply.
              So close yet so far prob something simple.
              I dont think anything is being done out of the ordinary so I would think it should work.

              • [deleted]

              I'll take a wait and see approach then. : )