Mageia Bugzilla – Attachment 6462 Details for
Bug 5810
No RAM is shown in harddrake
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
display "Memory Device" too
5810.diff (text/plain), 1.30 KB, created by
Thierry Vignaud
on 2015-05-07 11:52:40 CEST
(
hide
)
Description:
display "Memory Device" too
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-05-07 11:52:40 CEST
Size:
1.30 KB
patch
obsolete
>diff -up ./harddrake/data.pm.tv4 ./harddrake/data.pm >--- ./harddrake/data.pm.tv4 2015-05-07 05:39:45.899998627 -0400 >+++ ./harddrake/data.pm 2015-05-07 05:42:57.895993258 -0400 >@@ -433,7 +433,7 @@ our @tree = > string => N("Memory"), > icon => "hw-memory.png", > configurator => "", >- detector => sub { grep { member($_->{name}, 'Cache', 'Memory Module') } detect_devices::dmidecode() }, >+ detector => sub { grep { member($_->{name}, 'Cache', 'Memory Module') || $_->{name} eq 'Memory Device' && $_->{Size} ne 'No Module Installed' } detect_devices::dmidecode() }, > checked_on_boot => 0, > }, > >diff -up ./standalone/harddrake.tv4 ./standalone/harddrake >--- ./standalone/harddrake.tv4 2015-05-07 05:40:37.143997194 -0400 >+++ ./standalone/harddrake 2015-05-07 05:49:23.351970363 -0400 >@@ -114,6 +114,10 @@ channel number, a target id and a logica > 'Current Speed' => [ N("Speed"), N("Speed of the memory bank") ], > 'Bank Connections' => [ N("Bank connections"), '' ], > 'Socket Designation' => [ N("Name"), N("Socket designation of the memory bank") ], >+ # for Memory Device: >+ 'Locator' => [ N("Location"), ], >+ 'Size' => [ N("Size"), N("Size of the memory device") ], >+ 'Speed' => [ N("Speed"), N("Speed of the memory bank") ], > }, > MOUSE => > {
diff -up ./harddrake/data.pm.tv4 ./harddrake/data.pm --- ./harddrake/data.pm.tv4 2015-05-07 05:39:45.899998627 -0400 +++ ./harddrake/data.pm 2015-05-07 05:42:57.895993258 -0400 @@ -433,7 +433,7 @@ our @tree = string => N("Memory"), icon => "hw-memory.png", configurator => "", - detector => sub { grep { member($_->{name}, 'Cache', 'Memory Module') } detect_devices::dmidecode() }, + detector => sub { grep { member($_->{name}, 'Cache', 'Memory Module') || $_->{name} eq 'Memory Device' && $_->{Size} ne 'No Module Installed' } detect_devices::dmidecode() }, checked_on_boot => 0, }, diff -up ./standalone/harddrake.tv4 ./standalone/harddrake --- ./standalone/harddrake.tv4 2015-05-07 05:40:37.143997194 -0400 +++ ./standalone/harddrake 2015-05-07 05:49:23.351970363 -0400 @@ -114,6 +114,10 @@ channel number, a target id and a logica 'Current Speed' => [ N("Speed"), N("Speed of the memory bank") ], 'Bank Connections' => [ N("Bank connections"), '' ], 'Socket Designation' => [ N("Name"), N("Socket designation of the memory bank") ], + # for Memory Device: + 'Locator' => [ N("Location"), ], + 'Size' => [ N("Size"), N("Size of the memory device") ], + 'Speed' => [ N("Speed"), N("Speed of the memory bank") ], }, MOUSE => {
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 5810
:
2270
|
2271
|
2349
|
5820
| 6462 |
6463
|
6512