halorrr Posted January 20, 2018 Share Posted January 20, 2018 So a bit more trivial of a question than my last post (and once again, I'm a noob so trying to figure out how things work). I have an MSI X370 Gaming Pro Carbon, and can not for the life of me figure out how to get mystic light working on unRAID. It looks like it is typically controlled by the MSI Gaming App which is windows only. So I tried installed a windows VM to use the app from but it does not detect the hardware. So I assumed that maybe inside of a VM it wouldn't have a way of talking to the board. I did find this https://github.com/nagisa/msi-rgb but was not sure how to add it on an unRAID server. Any help is appreciated. Thanks! Quote Link to comment
imthekuni Posted February 8, 2018 Share Posted February 8, 2018 This may be a stretch, but could you somehow pass RGB through to VM? Does it show up as a separate IOMMU group? (Tools > System Devices) Quote Link to comment
halorrr Posted February 9, 2018 Author Share Posted February 9, 2018 12 hours ago, imthekuni said: This may be a stretch, but could you somehow pass RGB through to VM? Does it show up as a separate IOMMU group? (Tools > System Devices) I don't think so? From what I can see at least. Quote Link to comment
imthekuni Posted February 11, 2018 Share Posted February 11, 2018 A cursory Google search is not providing much. Not sure you can access the chip required to control RGB through a VM, but you might be able to get away using this tool and creating a docker container for it? Quote Link to comment
imthekuni Posted February 16, 2018 Share Posted February 16, 2018 (edited) On 2/8/2018 at 8:40 PM, halorrr said: I don't think so? From what I can see at least. So I was curious and I made Docker container that has a linux utility to adjust RGB on MSI motherboards. Possible it will work on yours. Give it a shot, just search for my name (imthekuni) on the community app store, it won't show up so search Docker Hub from the link, and install docker-msi-rgb. Install as a privileged docker. You can then telnet or ssh into your server, or if you are on 6.4, you can use the terminal from the web GUI. To change color settings: For Green /msi-rgb/target/release/msi-rgb 00000000 FFFFFFFF 00000000 For Heartbeat /msi-rgb/target/release/msi-rgb 206487a9 206487a9 10325476 -ir -ig -ib -d 5 For Police /msi-rgb/target/release/msi-rgb -d15 FF00FF00 0 00FF00FF Documentation can be found here. Notice that the path is different (starts as /msi-rgb/target/... instead of ./target/...) and that you do not need to sudo. Edited February 16, 2018 by imthekuni Quote Link to comment
halorrr Posted February 16, 2018 Author Share Posted February 16, 2018 So I am amazed you made a docker so quickly as I've been trying for 3 weeks to try and learn docker to make one for this I ended up getting it working (until I restart of course) installing it through the webgui terminal and was only getting it to work for pattern of 2 of the tiny lights. Maybe this will work better though. What ports/variables/etc to I need to set up when adding the container. Quote Link to comment
imthekuni Posted February 16, 2018 Share Posted February 16, 2018 (edited) 1 hour ago, halorrr said: So I am amazed you made a docker so quickly as I've been trying for 3 weeks to try and learn docker to make one for this I ended up getting it working (until I restart of course) installing it through the webgui terminal and was only getting it to work for pattern of 2 of the tiny lights. Maybe this will work better though. What ports/variables/etc to I need to set up when adding the container. Its a little janky (I am not the best at making docker containers) but hopefully it works! You should only need to set the docker to privileged. No need to open ports, variables, etc. Not as user friendly as an app with a GUI, but hopefully useful enough that you don't have to constantly run a VM. Also, there is probably a way to have the code run on restart so that the lights are set if you ever reboot your unraid server Edited February 16, 2018 by imthekuni Quote Link to comment
halorrr Posted February 16, 2018 Author Share Posted February 16, 2018 Should it just be used via the unRAID webgui Terminal? I'm getting "No such file or directory" Quote Link to comment
imthekuni Posted February 16, 2018 Share Posted February 16, 2018 Oh, you'll have to get into your docker container first. So once you're logged into the server (telnet, ssh, or webgui terminal): docker exec -it docker-msi-rgb bash Quote Link to comment
halorrr Posted February 17, 2018 Author Share Posted February 17, 2018 I just tried that and I'm getting this: root@Cerberus:~# docker exec -it docker-msi-rgb bash Error: No such container: docker-msi-rgb Quote Link to comment
saarg Posted February 17, 2018 Share Posted February 17, 2018 35 minutes ago, halorrr said: I just tried that and I'm getting this: root@Cerberus:~# docker exec -it docker-msi-rgb bash Error: No such container: docker-msi-rgb You have to substitute docker-msi-rgb with the name you gave the container when you created it. Quote Link to comment
imthekuni Posted February 18, 2018 Share Posted February 18, 2018 8 hours ago, saarg said: You have to substitute docker-msi-rgb with the name you gave the container when you created it. Oh yes, should have mentioned this. It should default to docker-msi-rgb. I did have another docker container called msi-rgb that I have since deleted, so be sure to install docker-msi-rgb Quote Link to comment
halorrr Posted February 19, 2018 Author Share Posted February 19, 2018 Perfect the docker works now. For me is still only allows me to change the pattern of 2 of the smaller lights and none of the colours, but I think that has to do with my board in particular. This docker will definitely work for people with the right boards. I'll have to see if I can find a way to get it to work on my lights. Quote Link to comment
imthekuni Posted February 19, 2018 Share Posted February 19, 2018 5 hours ago, halorrr said: Perfect the docker works now. For me is still only allows me to change the pattern of 2 of the smaller lights and none of the colours, but I think that has to do with my board in particular. This docker will definitely work for people with the right boards. I'll have to see if I can find a way to get it to work on my lights. Darn. I was hoping since your MB has the same SuperI/O chip that it would just work. I tried looking at the source code, but it is a little over my head at that point. Quote Link to comment
halorrr Posted February 19, 2018 Author Share Posted February 19, 2018 (edited) Yeah when I had done this manually outside of the docker I got the same result. There is an issue opened for my board that I had commented on. But I haven't gotten any responses on it https://github.com/nagisa/msi-rgb/issues/5 The dev has a great article on his git-hub on how he originally reverse engineered his board. Since you have some more docker experience, do you the official MSI Gaming App could be made into a docker? Edited February 19, 2018 by halorrr Quote Link to comment
imthekuni Posted February 19, 2018 Share Posted February 19, 2018 29 minutes ago, halorrr said: Yeah when I had done this manually outside of the docker I got the same result. There is an issue opened for my board that I had commented on. But I haven't gotten any responses on it https://github.com/nagisa/msi-rgb/issues/5 The dev has a great article on his git-hub on how he originally reverse engineered his board. Since you have some more docker experience, do you the official MSI Gaming App could be made into a docker? Someone can correct me if I'm wrong, but I think docker containers must run some *nix OS. Unfortunately it does not look like MSI makes a compatible application (Windows only) which limits you to a VM, however I am not sure if it possible to access SuperI/O from a VM... Quote Link to comment
halorrr Posted February 19, 2018 Author Share Posted February 19, 2018 Yeah that's want I ran into with trying in a VM, it couldn't find it. So I guess I am SOL unless I learn to reverse engineer the board like that dev did. But that requires having a version of windows outside of a VM to access with motherboard with haha. Quote Link to comment
imthekuni Posted February 19, 2018 Share Posted February 19, 2018 1 hour ago, halorrr said: Yeah that's want I ran into with trying in a VM, it couldn't find it. So I guess I am SOL unless I learn to reverse engineer the board like that dev did. But that requires having a version of windows outside of a VM to access with motherboard with haha. Might be a long shot, but if you have an extra SSD, or can get one cheap, you could boot Windows off that to debug the board Quote Link to comment
mikeyosm Posted November 30, 2018 Share Posted November 30, 2018 Curious whether this works for anyone on 6.6.5? I just tried it on my MSI x399 board and I can't even start the docker. I set it previlige etc but no luck. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.