diff --git a/I-Nex/i-nex/.src/MAIN/Finfosys.class b/I-Nex/i-nex/.src/MAIN/Finfosys.class index 0b6542b..6f78251 100644 --- a/I-Nex/i-nex/.src/MAIN/Finfosys.class +++ b/I-Nex/i-nex/.src/MAIN/Finfosys.class @@ -36,8 +36,7 @@ Public Sub Form_Open() Dim sLine As String Dim MTRR As New String[] Label74.Text = "I-Nex " & Application.Version - Logs("Starting log", Logger.Info) - ComboBox10.Visible = False + ''Okno na środku '' If Settings["Window/X"] = Null Then diff --git a/I-Nex/i-nex/.src/MAIN/Finfosys.form b/I-Nex/i-nex/.src/MAIN/Finfosys.form index 91342c2..c8130f4 100644 --- a/I-Nex/i-nex/.src/MAIN/Finfosys.form +++ b/I-Nex/i-nex/.src/MAIN/Finfosys.form @@ -73,6 +73,67 @@ ToolTip = "Generate report" Picture = Picture["AppIcons/printer.png"] } + { ComboBox1 ComboBox + Move(322,511,91,28) + #Translate = False + Font = Font["Bold,8"] + ReadOnly = True + Text = "Select core" + } + { ComboBox8 ComboBox + Move(322,511,91,28) + #Translate = False + Visible = False + ReadOnly = True + Text = "ComboBox8" + } + { Button11 Button + Move(245,511,77,28) + Visible = False + Font = Font["Bold,8"] + ToolTip = ("Force detect EDID information from xrandr --verbose") + Text = ("Force") + Picture = Picture["AppIcons/application-default-icon.png"] + } + { !HBox19 HBox + Move(210,511,203,28) + #Public = True + Visible = False + { ComboBox4 ComboBox + Move(77,0,63,28) + #Translate = False + Expand = True + ReadOnly = True + } + { ComboBox3 ComboBox + Move(140,0,63,28) + #Translate = False + Expand = True + ReadOnly = True + } + } + { Label25 Label + Move(112,511,98,28) + #Translate = False + Font = Font["Bold,10"] + Foreground = &HFF0000& + Padding = 3 + Alignment = Align.Center + Border = Border.Plain + } + { Button6 Button + Move(315,511,98,28) + Font = Font["8,Bold"] + Text = ("Show modules") + } + { MenuButton1 MenuButton + Move(210,511,112,28) + Font = Font["Bold,8"] + Foreground = &H0000FF& + Text = ("Validate") + Picture = Picture["AppIcons/gnome-network-properties.png"] + Menu = "Menu2" + } { TabStrip1 TabStrip Move(0,0,476,511) #Translate = False @@ -2140,65 +2201,4 @@ } Index = 0 } - { ComboBox1 ComboBox - Move(322,511,91,28) - #Translate = False - Font = Font["Bold,8"] - ReadOnly = True - Text = "Select core" - } - { ComboBox8 ComboBox - Move(322,511,91,28) - #Translate = False - Visible = False - ReadOnly = True - Text = "ComboBox8" - } - { Button11 Button - Move(245,511,77,28) - Visible = False - Font = Font["Bold,8"] - ToolTip = ("Force detect EDID information from xrandr --verbose") - Text = ("Force") - Picture = Picture["AppIcons/application-default-icon.png"] - } - { !HBox19 HBox - Move(210,511,203,28) - #Public = True - Visible = False - { ComboBox4 ComboBox - Move(77,0,63,28) - #Translate = False - Expand = True - ReadOnly = True - } - { ComboBox3 ComboBox - Move(140,0,63,28) - #Translate = False - Expand = True - ReadOnly = True - } - } - { Label25 Label - Move(112,511,98,28) - #Translate = False - Font = Font["Bold,10"] - Foreground = &HFF0000& - Padding = 3 - Alignment = Align.Center - Border = Border.Plain - } - { Button6 Button - Move(315,511,98,28) - Font = Font["8,Bold"] - Text = ("Show modules") - } - { MenuButton1 MenuButton - Move(210,511,112,28) - Font = Font["Bold,8"] - Foreground = &H0000FF& - Text = ("Validate") - Picture = Picture["AppIcons/gnome-network-properties.png"] - Menu = "Menu2" - } } diff --git a/I-Nex/i-nex/.src/MStart.module b/I-Nex/i-nex/.src/MStart.module index 7d6512d..3cc5127 100644 --- a/I-Nex/i-nex/.src/MStart.module +++ b/I-Nex/i-nex/.src/MStart.module @@ -14,11 +14,24 @@ ' ' You should have received a copy of the GNU General Public License ' along with this program. If not, see . - +Public Logs As New Logger Public CPUINFO_FILE As String Public Sub Main() Dim PrintErr As Boolean = True - MDecode_dimms.List_EEPROM() + + ''Check eeprom for SPD + Logs("Starting log", Logger.Info) + Logs("Checking if eeprom module is loaded", Logger.Info) + If Exist("/sys/bus/i2c/drivers/eeprom/") Then + MDecode_dimms.List_EEPROM() + Finfosys.TabStrip2[1].Visible = True + Logs("I found the eeprom module in the system", Logger.Info) + Else + Finfosys.TabStrip2[1].Visible = False + Logs("I did not find the eeprom module in the system", Logger.Error) + Endif + '' End Check eeprom for SPD + Finfosys.MenuButton1.Delete Select Case Application.Args[1] Case "--help"