aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hardinfo2/arch/linux/common/modules.h2
-rw-r--r--hardinfo2/report.c6
-rw-r--r--hardinfo2/vendor.c1
3 files changed, 8 insertions, 1 deletions
diff --git a/hardinfo2/arch/linux/common/modules.h b/hardinfo2/arch/linux/common/modules.h
index ce012b70..933823d7 100644
--- a/hardinfo2/arch/linux/common/modules.h
+++ b/hardinfo2/arch/linux/common/modules.h
@@ -64,7 +64,7 @@ scan_modules(void)
sscanf(buf, "%s %ld", modname, &memory);
hashkey = g_strdup_printf("MOD%s", modname);
- buf = g_strdup_printf("/sbin/modinfo %s", modname);
+ buf = g_strdup_printf("/sbin/modinfo %s 2>/dev/null", modname);
modi = popen(buf, "r");
while (fgets(buffer, 1024, modi)) {
diff --git a/hardinfo2/report.c b/hardinfo2/report.c
index 4b29827e..e6b3a08f 100644
--- a/hardinfo2/report.c
+++ b/hardinfo2/report.c
@@ -306,11 +306,17 @@ report_create_inner_from_module_list(ReportContext *ctx, GSList *modules)
ShellModule *module = (ShellModule *) modules->data;
GSList *entries;
+ if (!gui_running)
+ fprintf(stderr, "%s\n", module->name);
+
report_title(ctx, module->name);
for (entries = module->entries; entries; entries = entries->next) {
ShellModuleEntry *entry = (ShellModuleEntry *) entries->data;
+ if (!gui_running)
+ fprintf(stderr, " * %s\n", entry->name);
+
ctx->entry = entry;
report_subtitle(ctx, entry->name);
report_table(ctx, entry->func(entry->number));
diff --git a/hardinfo2/vendor.c b/hardinfo2/vendor.c
index 610f33d3..74f56847 100644
--- a/hardinfo2/vendor.c
+++ b/hardinfo2/vendor.c
@@ -29,6 +29,7 @@ static const Vendor vendors[] = {
{ "Intel" , "Intel Corp.", "www.intel.com" },
{ "Cirrus Logic", "Cirrus Logic", "www.cirrus.com" },
{ "VIA Technologies", "VIA Technologies", "www.via.com.tw" },
+ { "VIA", "VIA Technologies", "www.via.com.tw" },
{ "hp", "Hewlett-Packard", "www.hp.com" },
{ "NEC Corporation", "NEC Coporation", "www.nec.com" },
{ "MAXTOR", "MAXTOR", "www.maxtor.com" },