From 179894d3dc9511c2a6d9d74e0af812e5378b3a42 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Wed, 21 Jun 2006 00:45:20 +0000 Subject: Show vendor full name and URL in USB, storage and PCI device info --- hardinfo2/arch/linux/common/storage.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'hardinfo2/arch/linux/common/storage.h') diff --git a/hardinfo2/arch/linux/common/storage.h b/hardinfo2/arch/linux/common/storage.h index 4fb682a9..7321f70e 100644 --- a/hardinfo2/arch/linux/common/storage.h +++ b/hardinfo2/arch/linux/common/storage.h @@ -120,6 +120,7 @@ scan_scsi(void) gchar *strhash = g_strdup_printf("[Device Information]\n" "Model=%s\n" + "Vendor=%s (%s)\n" "Type=%s\n" "Revision=%s\n" "[SCSI Controller]\n" @@ -127,6 +128,8 @@ scan_scsi(void) "Channel=%d\n" "ID=%d\n" "LUN=%d\n", model, + vendor_get_name(model), + vendor_get_url(model), type, revision, scsi_controller, @@ -242,9 +245,15 @@ scan_ide(void) gchar *strhash = g_strdup_printf("[Device Information]\n" "Model=%s\n" + "Vendor=%s (%s)\n" "Device Name=hd%c\n" "Media=%s\n" "Cache=%dkb\n", - model, iface, media, cache); + model, + vendor_get_name(model), + vendor_get_url(model), + iface, + media, + cache); if (pgeometry && lgeometry) strhash = g_strdup_printf("%s[Geometry]\n" "Physical=%s\n" -- cgit v1.2.3