Skip to content

Commit

Permalink
Reportm.module add dmesg
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Feb 9, 2012
1 parent fa96a75 commit f6d9b67
Show file tree
Hide file tree
Showing 7 changed files with 72 additions and 29 deletions.
26 changes: 15 additions & 11 deletions src/i-nex/.lang/.pot
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ msgstr ""
msgid "About"
msgstr ""

#: About.form:45 FReport_Gen.form:56 Finfosys.form:1829
#: About.form:45 FReport_Gen.form:57 Finfosys.form:1829
msgid "Close"
msgstr ""

Expand Down Expand Up @@ -114,46 +114,50 @@ msgstr ""
msgid "I-Nex Home page"
msgstr ""

#: FReport_Gen.form:24
#: FReport_Gen.form:25
msgid "Generate report"
msgstr ""

#: FReport_Gen.form:47
#: FReport_Gen.form:48
msgid "Generate"
msgstr ""

#: FReport_Gen.form:67
#: FReport_Gen.form:68
msgid "CPU Tab"
msgstr ""

#: FReport_Gen.form:73
#: FReport_Gen.form:74
msgid "Motherboard / Bios Tab"
msgstr ""

#: FReport_Gen.form:79
#: FReport_Gen.form:80
msgid "Sound Tab"
msgstr ""

#: FReport_Gen.form:85
#: FReport_Gen.form:86
msgid "Graphics Tab"
msgstr ""

#: FReport_Gen.form:91
#: FReport_Gen.form:92
msgid "System Tab"
msgstr ""

#: FReport_Gen.form:101
#: FReport_Gen.form:102
msgid "Include lspci"
msgstr ""

#: FReport_Gen.form:107
#: FReport_Gen.form:108
msgid "Include lsusb"
msgstr ""

#: FReport_Gen.form:113
#: FReport_Gen.form:114
msgid "Include /proc/scsi/scsi"
msgstr ""

#: FReport_Gen.form:120
msgid "Include dmesg"
msgstr ""

#: Finfosys.form:268
msgid "CPU"
msgstr ""
Expand Down
26 changes: 15 additions & 11 deletions src/i-nex/.lang/FReport_Gen.pot
Original file line number Diff line number Diff line change
Expand Up @@ -14,47 +14,51 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: FReport_Gen.form:24
#: FReport_Gen.form:25
msgid "Generate report"
msgstr ""

#: FReport_Gen.form:47
#: FReport_Gen.form:48
msgid "Generate"
msgstr ""

#: FReport_Gen.form:56
#: FReport_Gen.form:57
msgid "Close"
msgstr ""

#: FReport_Gen.form:67
#: FReport_Gen.form:68
msgid "CPU Tab"
msgstr ""

#: FReport_Gen.form:73
#: FReport_Gen.form:74
msgid "Motherboard / Bios Tab"
msgstr ""

#: FReport_Gen.form:79
#: FReport_Gen.form:80
msgid "Sound Tab"
msgstr ""

#: FReport_Gen.form:85
#: FReport_Gen.form:86
msgid "Graphics Tab"
msgstr ""

#: FReport_Gen.form:91
#: FReport_Gen.form:92
msgid "System Tab"
msgstr ""

#: FReport_Gen.form:101
#: FReport_Gen.form:102
msgid "Include lspci"
msgstr ""

#: FReport_Gen.form:107
#: FReport_Gen.form:108
msgid "Include lsusb"
msgstr ""

#: FReport_Gen.form:113
#: FReport_Gen.form:114
msgid "Include /proc/scsi/scsi"
msgstr ""

#: FReport_Gen.form:120
msgid "Include dmesg"
msgstr ""

10 changes: 5 additions & 5 deletions src/i-nex/.settings
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ SearchString=True

[OpenFile]
File[1]=".src/Finfosys.form"
File[2]=".src/Finfosys.class:120.0"
Active=2
File[2]=".src/Finfosys.class:316.38"
File[3]=".src/Global.class:50.56"
File[4]=".src/About.form"
File[5]=".src/About.class:63.30"
Expand All @@ -30,12 +31,11 @@ File[12]=".src/USB_Drives.module:28.30"
File[13]=".src/Asound_Drives.module:36.32"
File[14]=".src/HWmon_coretemp.module:3.18"
File[15]=".src/Input_Devices.module:36.27"
Active=16
File[16]=".src/Reportm.module:160.10"
File[16]=".src/Reportm.module:285.8"
File[17]=".src/FReport_Gen.form"
File[18]=".src/FReport_Gen.class:10.1"
File[18]=".src/FReport_Gen.class:19.0"
File[19]=".src/Start_App_Args.form"
File[20]=".src/Start_App_Args.class:2.22"
File[20]=".src/Start_App_Args.class:34.42"
Count=20

[Watches]
Expand Down
2 changes: 1 addition & 1 deletion src/i-nex/.src/FReport_Gen.class
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Public Sub Button1_Click()
Else
Shell "rm " & ButtonBox1.Text & ""
Reportm._generate(CheckBox1.Value, CheckBox2.Value, CheckBox3.Value, CheckBox4.Value, ButtonBox1.Text)
Reportm.include(CheckBox6.Value, CheckBox7.Value, CheckBox8.Value, ButtonBox1.Text)
Reportm.include(CheckBox6.Value, CheckBox7.Value, CheckBox8.Value, CheckBox9.Value, ButtonBox1.Text)
Me.Close
Endif
End
Expand Down
5 changes: 5 additions & 0 deletions src/i-nex/.src/FReport_Gen.form
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@
Expand = True
Text = ("Include /proc/scsi/scsi")
}
{ CheckBox9 CheckBox
Move(0,72,144,24)
Expand = True
Text = ("Include dmesg")
}
}
{ Separator1 Separator
Move(216,0,6,186)
Expand Down
25 changes: 24 additions & 1 deletion src/i-nex/.src/Reportm.module
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Public Sub PBV(ProgressBar_Value As Float)

End

Public Sub include(lspci As Boolean, lsusb As Boolean, scsi As Boolean, save_dir As String)
Public Sub include(lspci As Boolean, lsusb As Boolean, scsi As Boolean, dmesg As Boolean, save_dir As String)
If lspci = True Then
TextInfo("Include lspci information")
Wait 0.1
Expand Down Expand Up @@ -286,6 +286,29 @@ Public Sub include(lspci As Boolean, lsusb As Boolean, scsi As Boolean, save_dir
PBV(1)
TextInfo("Include SCSI information... ... ... Done")
Endif
If dmesg = True Then
TextInfo("Include dmesg information")
Shell "echo '' >>" & save_dir & ""
Wait 0.1
PBV(0.2)
TextInfo("Include dmesg information...")
Shell "echo '======================== DMESG ===============================' >>" & save_dir & ""
Wait 0.1
PBV(0.4)
TextInfo("Include dmesg information... ...")
Shell "dmesg >>" & save_dir & "" Wait
Wait 0.1
PBV(0.6)
TextInfo("Include dmesg information... ... ...")
Shell "echo '======================== DMESG END ===========================' >>" & save_dir & ""
Wait 0.1
PBV(0.8)
TextInfo("Include dmesg information... ... ... ...")
Shell "echo '' >>" & save_dir & ""
Wait 0.1
PBV(1)
TextInfo("Include dmesg information... ... ... ... Done")
Endif
End


Expand Down
7 changes: 7 additions & 0 deletions src/i-nex/.src/Start_App_Args.class
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,10 @@ Public Sub root()
Me.Close
Endif
End

Public Sub TextLabel1_Enter()

Wait 0.5
Me.Close

End

0 comments on commit f6d9b67

Please sign in to comment.