Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ram bank ID not equal ram slot index #26

Open
RanlyX opened this issue Jun 30, 2024 · 8 comments
Open

Ram bank ID not equal ram slot index #26

RanlyX opened this issue Jun 30, 2024 · 8 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@RanlyX
Copy link

RanlyX commented Jun 30, 2024

Hi,

My motherboard is Asus ROG STRIX Z790-I GAMING WIFI.
This motherboard only has 2 ram slots, but only slot 1 can be changed.

I found root cause, for my case, the script cannot recognize another DIMM because the ram bank ID not equal the ram slot index.
There is the debug message:

- i2cdetect -l (check i2c-buses):                                                                                                                                                                                                                                                 
i2c-0   smbus           SMBus I801 adapter at efa0              SMBus adapter                                                                                                                                                                                                     
i2c-1   i2c             Synopsys DesignWare I2C adapter         I2C adapter                                                                                                                                                                                                       
i2c-2   i2c             Synopsys DesignWare I2C adapter         I2C adapter                                                                                                                                                                                                       
i2c-3   i2c             Synopsys DesignWare I2C adapter         I2C adapter                                                                                                                                                                                                       
i2c-4   i2c             i915 gmbus dpa                          I2C adapter                                                                                                                                                                                                       
i2c-5   i2c             i915 gmbus dpb                          I2C adapter                                                                                                                                                                                                       
i2c-6   i2c             i915 gmbus dpc                          I2C adapter                                                                                                                                                                                                       
i2c-7   i2c             i915 gmbus tc1                          I2C adapter                                                                                                                                                                                                       
i2c-8   i2c             i915 gmbus tc2                          I2C adapter                                                                                                                                                                                                       
i2c-9   i2c             i915 gmbus tc3                          I2C adapter                                                                                                                                                                                                       
i2c-10  i2c             i915 gmbus tc4                          I2C adapter                                                                                                                                                                                                       
i2c-11  i2c             i915 gmbus tc5                          I2C adapter                                                                                                                                                                                                       
i2c-12  i2c             i915 gmbus tc6                          I2C adapter                                                                                                                                                                                                       
i2c-13  i2c             AUX USBC3/DDI TC3/PHY D                 I2C adapter                                                                                                                                                                                                       
i2c-14  i2c             AUX USBC4/DDI TC4/PHY E                 I2C adapter                                                                                                                                                                                                       
i2c-15  i2c             NVIDIA i2c adapter 1 at 1:00.0          I2C adapter                                                                                                                                                                                                       
i2c-16  i2c             NVIDIA i2c adapter 2 at 1:00.0          I2C adapter                                                                                                                                                                                                       
i2c-17  i2c             NVIDIA i2c adapter 4 at 1:00.0          I2C adapter                                                                                                                                                                                                       
i2c-18  i2c             NVIDIA i2c adapter 6 at 1:00.0          I2C adapter                                                                                                                                                                                                       
i2c-19  i2c             NVIDIA i2c adapter 7 at 1:00.0          I2C adapter                                                                                                                                                                                                       
i2c-20  i2c             NVIDIA i2c adapter 8 at 1:00.0          I2C adapter                                                                                                                                                                                                       
i2c-21  i2c             NVIDIA i2c adapter 9 at 1:00.0          I2C adapter                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                  
-----------------------------------------------------------------------------------------------------------------                                                                                                                                                                 
-----------------------------------------------------------------------------------------------------------------

- i2cdetect -y 0 (check SMBus i2c-0):                                                                                                                                                                                                                                             
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f                                                                                                                                                                                                                               
00:                         08 -- -- -- -- -- -- --                                                                                                                                                                                                                               
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --                                                                                                                                                                                                                               
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --                                                                                                                                                                                                                               
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --                                                                                                                                                                                                                               
40: -- -- -- -- 44 -- -- -- 48 -- 4a -- -- -- -- --                                                                                                                                                                                                                               
50: 50 -- 52 -- -- -- -- -- -- -- -- -- -- -- -- --                                                                                                                                                                                                                               
60: 60 -- 62 -- -- -- -- -- -- -- -- -- -- -- -- --                                                                                                                                                                                                                               
70: -- -- -- -- -- -- -- --                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                  
-----------------------------------------------------------------------------------------------------------------
                                                                                                                                                                                                                                                                                  
- Kingston Fury DDR5 RAM in slot 1 found on SMBus i2c-0! (Please MAKE REALLY SURE this is a Kingston Fury BEAST DDR5 RGB!)                                                                                                                                                        
                                                                                                                                                                                                                                                                                  
 * lshw (check bank 0):
     *-bank:0 UNCLAIMED
          description: DIMM Synchronous 6000 MHz (0.2 ns)
          product: KF560C36-32
          vendor: Kingston
          physical id: 0
          serial: B30A3655
          slot: Controller0-DIMM0
          size: 32GiB
          width: 64 bits
          clock: 1705MHz (0.6ns)

  * Address 0x60 found in SMBus i2c-0
  * Address 0x48 found in SMBus i2c-0
  * Address 0x50 found in SMBus i2c-0

 * i2cdump 0 0x60 i (check blocks 0x02, 0x03, 0x04, 0x05, 0x07):
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 5a 00 46 55 52 59 05 10 00 44 01 00 01 01 00 19    Z.FURY??.D?.??.?
10: 00 20 00 01 2c 05 dc 20 05 05 0f 01 64 40 01 00    . .?,?? ????d@?.
20: 5a 20 00 00 10 10 10 0c 04 00 00 00 00 00 64 50    Z ..?????.....dP
30: 55 0a ff 00 00 00 ff 00 ff 64 00 00 00 ff ef ef    U?.......d....??
40: 5a 40 00 80 00 6d 77 ff c8 00 ff 55 ff 3c 7d ff    Z@.?.mw.?..U.<}.
50: 00 ff 00 00 ff 00 00 ff 00 00 ff 00 00 ff 00 00    ................
60: 5a 60 00 ff 00 00 ff 00 00 ff 00 00 ff 00 00 ff    Z`..............
70: 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 5a 80 00 00 ff 00 ff 00 ff 00 00 64 ff 00 00 00    Z?.........d....
90: ff ef ef 00 00 40 80 6d 00 77 c8 ff 00 55 ff ff    .??..@?m.w?..U..
a0: 5a a0 ff 01 00 01 00 01 50 a0 00 00 00 00 00 00    Z?.?.?.?P?......
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
c0: 5a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    Z...............
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
  * block 0x02: 0x46 (expected 0x46)
  * block 0x03: 0x55 (expected 0x55)
  * block 0x04: 0x52 (expected 0x52)
  * block 0x05: 0x59 (expected 0x59)
  * block 0x07: 0x10 (expected 0x10/0x12 for BEAST or 0x11 for RENEGADE)

 * model: FURY BEAST

-----------------------------------------------------------------------------------------------------------------

- Kingston Fury DDR5 RAM in slot 2 not found on SMBus i2c-0.

 * lshw (check bank 1):
     *-bank:1 UNCLAIMED
          description: DIMM Synchronous 6000 MHz (0.2 ns)
          product: KF560C36-32
          vendor: Kingston
          physical id: 1
          serial: 3C0A328C
          slot: Controller1-DIMM0
          size: 32GiB
          width: 64 bits
          clock: 1705MHz (0.6ns)

  * Address 0x61 not found in SMBus i2c-0
  * Address 0x49 not found in SMBus i2c-0
  * Address 0x51 not found in SMBus i2c-0

 * i2cdump 0 0x61 i (check blocks 0x02, 0x03, 0x04, 0x05, 0x07):
  * block 0x02: 0x (expected 0x46)
  * block 0x03: 0x (expected 0x55)
  * block 0x04: 0x (expected 0x52)
  * block 0x05: 0x (expected 0x59)
  * block 0x07: 0x (expected 0x10/0x12 for BEAST or 0x11 for RENEGADE)

 * model: UNKNOWN

-----------------------------------------------------------------------------------------------------------------

- Kingston Fury DDR5 RAM in slot 3 not found on SMBus i2c-0.

 * lshw (check bank 2):

  * Address 0x62 found in SMBus i2c-0
  * Address 0x4a found in SMBus i2c-0
  * Address 0x52 found in SMBus i2c-0

 * i2cdump 0 0x62 i (check blocks 0x02, 0x03, 0x04, 0x05, 0x07):
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 5a 00 46 55 52 59 05 10 00 00 01 00 00 01 00 19    Z.FURY??..?..?.?
10: 00 00 00 01 2c 05 dc 0f 05 05 0f 01 64 40 01 00    ...?,???????d@?.
20: 5a 50 00 00 10 10 10 0c 04 00 00 00 00 00 64 50    ZP..?????.....dP
30: 55 0a ff 00 00 00 ff 00 ff 64 00 00 00 ff ef ef    U?.......d....??
40: 5a 80 00 80 00 6d 77 ff c8 00 ff 55 ff 3c 7d ff    Z?.?.mw.?..U.<}.
50: 00 ff 00 00 ff 00 00 ff 00 00 ff 00 00 ff 00 00    ................
60: 5a 00 00 ff 00 00 ff 00 00 ff 00 00 ff 00 00 ff    Z...............
70: 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 5a 00 00 00 ff 00 ff 00 ff 00 00 64 ff 00 00 00    Z..........d....
90: ff ef ef 00 00 80 80 6d 00 77 c8 ff 00 55 ff ff    .??..??m.w?..U..
a0: 5a 3c ff 00 00 00 00 01 50 a0 00 00 00 00 00 00    Z<.....?P?......
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
c0: 5a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    Z...............
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 5a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    Z...............
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
  * block 0x02: 0x46 (expected 0x46)
  * block 0x03: 0x55 (expected 0x55)
  * block 0x04: 0x52 (expected 0x52)
  * block 0x05: 0x59 (expected 0x59)
  * block 0x07: 0x10 (expected 0x10/0x12 for BEAST or 0x11 for RENEGADE)

 * model: FURY BEAST

-----------------------------------------------------------------------------------------------------------------

- Kingston Fury DDR5 RAM in slot 4 not found on SMBus i2c-0.

 * lshw (check bank 3):

  * Address 0x63 not found in SMBus i2c-0
  * Address 0x4b not found in SMBus i2c-0
  * Address 0x53 not found in SMBus i2c-0

 * i2cdump 0 0x63 i (check blocks 0x02, 0x03, 0x04, 0x05, 0x07):
  * block 0x02: 0x (expected 0x46)
  * block 0x03: 0x (expected 0x55)
  * block 0x04: 0x (expected 0x52)
  * block 0x05: 0x (expected 0x59)
  * block 0x07: 0x (expected 0x10/0x12 for BEAST or 0x11 for RENEGADE)

 * model: UNKNOWN

-----------------------------------------------------------------------------------------------------------------

- Kingston Fury DDR5 RAM in slot 5 not found on SMBus i2c-0.
...
...
@KeyofBlueS
Copy link
Owner

KeyofBlueS commented Jun 30, 2024

Hello there,

Could you test the script from the dev branch to ensure it's functioning correctly?
Make sure to treat the RAM in slot 2 as if it were in slot 3. For example, use the following command:
kfrgb --ramslots 1,3 --smbus 0 --color 255,255,0

@RanlyX
Copy link
Author

RanlyX commented Jul 1, 2024

I checkout to dev branch, and use example command, but still show not detect:

- RAM in slot 1 on SMBus i2c-0 doesn't seems to be a Kingston Fury BEAST\RENEGADE DDR5!
- Kingston Fury DDR5 RAM in slot 3 not found on SMBus i2c-0.

- Please select an SMBus (or type 'quit' to exit from /home/ranly/projects/kfrgb/kfrgb.sh:
 0) i2c-0	smbus     	SMBus I801 adapter at efa0      	SMBus adapter
 choose>

I use i2c tool command to off DIMM led of slot 3, it work:

sudo i2cset -y 0 0x62 0x08 0x53
sudo i2cset -y 0 0x62 0x09 0x00
sudo i2cset -y 0 0x62 0x31 0x00
sudo i2cset -y 0 0x62 0x32 0x00
sudo i2cset -y 0 0x62 0x33 0x00
sudo i2cset -y 0 0x62 0x20 0x00
sudo i2cset -y 0 0x62 0x08 0x44

I pretty sure my ram slots is 1 and 3.

@KeyofBlueS
Copy link
Owner

If it doesn't work it mean I did not correctly understood something...
Post the complete debug log of the script from the dev branch please.

@RanlyX
Copy link
Author

RanlyX commented Jul 2, 2024

This is debug log from the dev branch

-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------

### ABOUT DETECTION ###

 Setting register &0x0b to 0x04 on addresses 0x5[0-7] allows to read the DIMM model name, but
 very often address 0x5 is write protected (as in my system), which makes this method useless.

 /home/ranly/projects/kfrgb/kfrgb.sh will:
 - lshw: check for 'vendor: Kingston' and 'product: KF5*'.
  - i2cdetect: check if addresses 0x6[0-7], 0x5[0-7] and 0x4[8-f] exist on an smbus that support Quick Command.
   - i2cdump (mode b): on address 0x4[8-f] check if registers &0x21 and &0x25 are both =78 OR =b4 and &0x27=78.
    - i2cdump (mode i): on address 0x6[0-7] check if blocks 0x02=0x46, 0x03=0x55, 0x04=0x52, 0x05=0x59,
      0x07=0x10 (for BEAST) OR =0x11 (for RENEGADE).

 The detection passes if all checks are true.
 The detection fails at the first error in the chain.

-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------

- i2cdetect -l (check i2c-buses):
i2c-0	smbus     	SMBus I801 adapter at efa0      	SMBus adapter
i2c-1	i2c       	Synopsys DesignWare I2C adapter 	I2C adapter
i2c-2	i2c       	Synopsys DesignWare I2C adapter 	I2C adapter
i2c-3	i2c       	Synopsys DesignWare I2C adapter 	I2C adapter
i2c-4	i2c       	i915 gmbus dpa                  	I2C adapter
i2c-5	i2c       	i915 gmbus dpb                  	I2C adapter
i2c-6	i2c       	i915 gmbus dpc                  	I2C adapter
i2c-7	i2c       	i915 gmbus tc1                  	I2C adapter
i2c-8	i2c       	i915 gmbus tc2                  	I2C adapter
i2c-9	i2c       	i915 gmbus tc3                  	I2C adapter
i2c-10	i2c       	i915 gmbus tc4                  	I2C adapter
i2c-11	i2c       	i915 gmbus tc5                  	I2C adapter
i2c-12	i2c       	i915 gmbus tc6                  	I2C adapter
i2c-13	i2c       	AUX USBC3/DDI TC3/PHY D         	I2C adapter
i2c-14	i2c       	AUX USBC4/DDI TC4/PHY E         	I2C adapter
i2c-15	i2c       	NVIDIA i2c adapter 1 at 1:00.0  	I2C adapter
i2c-16	i2c       	NVIDIA i2c adapter 2 at 1:00.0  	I2C adapter
i2c-17	i2c       	NVIDIA i2c adapter 4 at 1:00.0  	I2C adapter
i2c-18	i2c       	NVIDIA i2c adapter 6 at 1:00.0  	I2C adapter
i2c-19	i2c       	NVIDIA i2c adapter 7 at 1:00.0  	I2C adapter
i2c-20	i2c       	NVIDIA i2c adapter 8 at 1:00.0  	I2C adapter
i2c-21	i2c       	NVIDIA i2c adapter 9 at 1:00.0  	I2C adapter

-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------

- i2cdetect -y 0 (check SMBus i2c-0):
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         08 -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- 44 -- -- -- 48 -- 4a -- -- -- -- -- 
50: 50 -- 52 -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: 60 -- 62 -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         

-----------------------------------------------------------------------------------------------------------------

- RAM in slot 1 on SMBus i2c-0 doesn't seems to be a Kingston Fury BEAST\RENEGADE DDR5!

 * lshw (check bank 0):
     *-bank:0 UNCLAIMED
          description: DIMM Synchronous 6000 MHz (0.2 ns)
          product: KF560C36-32
          vendor: Kingston
          physical id: 0
          serial: B30A3655
          slot: Controller0-DIMM0
          size: 32GiB
          width: 64 bits
          clock: 1705MHz (0.6ns)

  * Address 0x60 found in SMBus i2c-0.
  * Address 0x48 found in SMBus i2c-0.
  * Address 0x50 found in SMBus i2c-0.

 * i2cdump 0 0x48 b (check registers 0x21, 0x25, 0x27):
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
10: 00 00 00 00 00 2c 20 00 00 04 00 05 60 00 60 60    ....., ..?.?`.``
20: cf dc 63 00 00 dc 63 78 63 80 88 42 20 22 b4 5e    ??c..?cxc??B "?^
30: 00 00 80 00 0e 00 00 00 00 00 00 12 8a 8c 00 00    ..?.?......???..
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
  * register 0x21: 0xdc (expected 0x78 or 0xb4)
  * register 0x25: 0xdc (expected 0x78 or 0xb4)
  * register 0x27: 0x78 (expected 0x78)

 * i2cdump 0 0x60 i (check blocks 0x02, 0x03, 0x04, 0x05, 0x07):
  * block 0x02: 0x (expected 0x46)
  * block 0x03: 0x (expected 0x55)
  * block 0x04: 0x (expected 0x52)
  * block 0x05: 0x (expected 0x59)
  * block 0x07: 0x (expected 0x10/0x12 for BEAST or 0x11 for RENEGADE)

 * model: UNKNOWN

-----------------------------------------------------------------------------------------------------------------

- Kingston Fury DDR5 RAM in slot 2 not found on SMBus i2c-0.

 * lshw (check bank 1):
     *-bank:1 UNCLAIMED
          description: DIMM Synchronous 6000 MHz (0.2 ns)
          product: KF560C36-32
          vendor: Kingston
          physical id: 1
          serial: 3C0A328C
          slot: Controller1-DIMM0
          size: 32GiB
          width: 64 bits
          clock: 1705MHz (0.6ns)

  * Address 0x61 not found in SMBus i2c-0.
  * Address 0x49 not found in SMBus i2c-0.
  * Address 0x51 not found in SMBus i2c-0.

 * i2cdump 0 0x49 b (check registers 0x21, 0x25, 0x27):
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
  * register 0x21: 0xXX (expected 0x78 or 0xb4)
  * register 0x25: 0xXX (expected 0x78 or 0xb4)
  * register 0x27: 0xXX (expected 0x78)

 * i2cdump 0 0x61 i (check blocks 0x02, 0x03, 0x04, 0x05, 0x07):
  * block 0x02: 0x (expected 0x46)
  * block 0x03: 0x (expected 0x55)
  * block 0x04: 0x (expected 0x52)
  * block 0x05: 0x (expected 0x59)
  * block 0x07: 0x (expected 0x10/0x12 for BEAST or 0x11 for RENEGADE)

 * model: UNKNOWN

-----------------------------------------------------------------------------------------------------------------

- Kingston Fury DDR5 RAM in slot 3 not found on SMBus i2c-0.

 * lshw (check bank 2):

  * Address 0x62 found in SMBus i2c-0.
  * Address 0x4a found in SMBus i2c-0.
  * Address 0x52 found in SMBus i2c-0.

 * i2cdump 0 0x4a b (check registers 0x21, 0x25, 0x27):
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
10: 00 00 00 00 00 2c 20 00 00 04 00 05 60 00 60 60    ....., ..?.?`.``
20: cf dc 63 00 00 dc 63 78 63 80 88 42 20 22 b4 5e    ??c..?cxc??B "?^
30: 00 00 80 00 0e 00 00 00 00 00 00 12 8a 8c 00 00    ..?.?......???..
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
  * register 0x21: 0xdc (expected 0x78 or 0xb4)
  * register 0x25: 0xdc (expected 0x78 or 0xb4)
  * register 0x27: 0x78 (expected 0x78)

 * i2cdump 0 0x62 i (check blocks 0x02, 0x03, 0x04, 0x05, 0x07):
  * block 0x02: 0x (expected 0x46)
  * block 0x03: 0x (expected 0x55)
  * block 0x04: 0x (expected 0x52)
  * block 0x05: 0x (expected 0x59)
  * block 0x07: 0x (expected 0x10/0x12 for BEAST or 0x11 for RENEGADE)

 * model: UNKNOWN

-----------------------------------------------------------------------------------------------------------------

- Kingston Fury DDR5 RAM in slot 4 not found on SMBus i2c-0.

 * lshw (check bank 3):

  * Address 0x63 not found in SMBus i2c-0.
  * Address 0x4b not found in SMBus i2c-0.
  * Address 0x53 not found in SMBus i2c-0.

 * i2cdump 0 0x4b b (check registers 0x21, 0x25, 0x27):
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
  * register 0x21: 0xXX (expected 0x78 or 0xb4)
  * register 0x25: 0xXX (expected 0x78 or 0xb4)
  * register 0x27: 0xXX (expected 0x78)

 * i2cdump 0 0x63 i (check blocks 0x02, 0x03, 0x04, 0x05, 0x07):
  * block 0x02: 0x (expected 0x46)
  * block 0x03: 0x (expected 0x55)
  * block 0x04: 0x (expected 0x52)
  * block 0x05: 0x (expected 0x59)
  * block 0x07: 0x (expected 0x10/0x12 for BEAST or 0x11 for RENEGADE)

 * model: UNKNOWN

-----------------------------------------------------------------------------------------------------------------

- Kingston Fury DDR5 RAM in slot 5 not found on SMBus i2c-0.

 * lshw (check bank 4):

  * Address 0x64 not found in SMBus i2c-0.
  * Address 0x4c not found in SMBus i2c-0.
  * Address 0x54 not found in SMBus i2c-0.

 * i2cdump 0 0x4c b (check registers 0x21, 0x25, 0x27):
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
  * register 0x21: 0xXX (expected 0x78 or 0xb4)
  * register 0x25: 0xXX (expected 0x78 or 0xb4)
  * register 0x27: 0xXX (expected 0x78)

 * i2cdump 0 0x64 i (check blocks 0x02, 0x03, 0x04, 0x05, 0x07):
  * block 0x02: 0x (expected 0x46)
  * block 0x03: 0x (expected 0x55)
  * block 0x04: 0x (expected 0x52)
  * block 0x05: 0x (expected 0x59)
  * block 0x07: 0x (expected 0x10/0x12 for BEAST or 0x11 for RENEGADE)

 * model: UNKNOWN

-----------------------------------------------------------------------------------------------------------------

- Kingston Fury DDR5 RAM in slot 6 not found on SMBus i2c-0.

 * lshw (check bank 5):

  * Address 0x65 not found in SMBus i2c-0.
  * Address 0x4d not found in SMBus i2c-0.
  * Address 0x55 not found in SMBus i2c-0.

 * i2cdump 0 0x4d b (check registers 0x21, 0x25, 0x27):
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
  * register 0x21: 0xXX (expected 0x78 or 0xb4)
  * register 0x25: 0xXX (expected 0x78 or 0xb4)
  * register 0x27: 0xXX (expected 0x78)

 * i2cdump 0 0x65 i (check blocks 0x02, 0x03, 0x04, 0x05, 0x07):
  * block 0x02: 0x (expected 0x46)
  * block 0x03: 0x (expected 0x55)
  * block 0x04: 0x (expected 0x52)
  * block 0x05: 0x (expected 0x59)
  * block 0x07: 0x (expected 0x10/0x12 for BEAST or 0x11 for RENEGADE)

 * model: UNKNOWN

-----------------------------------------------------------------------------------------------------------------

- Kingston Fury DDR5 RAM in slot 7 not found on SMBus i2c-0.

 * lshw (check bank 6):

  * Address 0x66 not found in SMBus i2c-0.
  * Address 0x4e not found in SMBus i2c-0.
  * Address 0x56 not found in SMBus i2c-0.

 * i2cdump 0 0x4e b (check registers 0x21, 0x25, 0x27):
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
  * register 0x21: 0xXX (expected 0x78 or 0xb4)
  * register 0x25: 0xXX (expected 0x78 or 0xb4)
  * register 0x27: 0xXX (expected 0x78)

 * i2cdump 0 0x66 i (check blocks 0x02, 0x03, 0x04, 0x05, 0x07):
  * block 0x02: 0x (expected 0x46)
  * block 0x03: 0x (expected 0x55)
  * block 0x04: 0x (expected 0x52)
  * block 0x05: 0x (expected 0x59)
  * block 0x07: 0x (expected 0x10/0x12 for BEAST or 0x11 for RENEGADE)

 * model: UNKNOWN

-----------------------------------------------------------------------------------------------------------------

- Kingston Fury DDR5 RAM in slot 8 not found on SMBus i2c-0.

 * lshw (check bank 7):

  * Address 0x67 not found in SMBus i2c-0.
  * Address 0x4f not found in SMBus i2c-0.
  * Address 0x57 not found in SMBus i2c-0.

 * i2cdump 0 0x4f b (check registers 0x21, 0x25, 0x27):
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX    XXXXXXXXXXXXXXXX
  * register 0x21: 0xXX (expected 0x78 or 0xb4)
  * register 0x25: 0xXX (expected 0x78 or 0xb4)
  * register 0x27: 0xXX (expected 0x78)

 * i2cdump 0 0x67 i (check blocks 0x02, 0x03, 0x04, 0x05, 0x07):
  * block 0x02: 0x (expected 0x46)
  * block 0x03: 0x (expected 0x55)
  * block 0x04: 0x (expected 0x52)
  * block 0x05: 0x (expected 0x59)
  * block 0x07: 0x (expected 0x10/0x12 for BEAST or 0x11 for RENEGADE)

 * model: UNKNOWN

-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------

@KeyofBlueS
Copy link
Owner

Something seems off. The RAM in slots 1 and 3 is showing incorrect values compared to the previous log. This issue occurred while I was experimenting with i2c-tools. I can't recall exactly how I fixed it last time, but here are a few suggestions:

  • Perform a complete power cycle of the PC. This means turning it off completely, not just restarting it. Also, try unplugging the power cord before turning it back on.
  • Use the official app.

What puzzles me is why the script checks RAM slot 3 but still looks at bank 2 instead of bank 1. It might be that the code I implemented in the dev branch to determine the number of RAM slots on the motherboard is incorrect. Could you please post the output of the following command:
sudo lshw -disable device-tree -disable spd -disable memory -disable cpuinfo -disable cpuid -disable pci -disable isapnp -disable pcmcia -disable ide -disable usb -disable scsi -disable network -C memory

@KeyofBlueS
Copy link
Owner

KeyofBlueS commented Jul 3, 2024

I think I fixed the bank issue. Please try the updated script in the dev branch, if the code to determine the number of RAM slots on the motherboard is correct, it should work now.

EDIT: no, I dont think the updated script changes anything. So as I said before, please post the output of the following command:
sudo lshw -disable device-tree -disable spd -disable memory -disable cpuinfo -disable cpuid -disable pci -disable isapnp -disable pcmcia -disable ide -disable usb -disable scsi -disable network -C memory

@KeyofBlueS KeyofBlueS added enhancement New feature or request question Further information is requested labels Jul 3, 2024
@RanlyX
Copy link
Author

RanlyX commented Jul 3, 2024

This is sudo lshw -disable device-tree -disable spd -disable memory -disable cpuinfo -disable cpuid -disable pci -disable isapnp -disable pcmcia -disable ide -disable usb -disable scsi -disable network -C memory output:

  *-firmware
       description: BIOS
       vendor: American Megatrends Inc.
       physical id: 0
       version: 0703
       date: 11/01/2022
       size: 64KiB
       capacity: 16MiB
       capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer int10video acpi usb biosbootspecification uefi
  *-memory
       description: System Memory
       physical id: c
       slot: System board or motherboard
     *-bank:0 UNCLAIMED
          description: DIMM Synchronous 6000 MHz (0.2 ns)
          product: KF560C36-32
          vendor: Kingston
          physical id: 0
          serial: B30A3655
          slot: Controller0-DIMM0
          size: 32GiB
          width: 64 bits
          clock: 1705MHz (0.6ns)
     *-bank:1 UNCLAIMED
          description: DIMM Synchronous 6000 MHz (0.2 ns)
          product: KF560C36-32
          vendor: Kingston
          physical id: 1
          serial: 3C0A328C
          slot: Controller1-DIMM0
          size: 32GiB
          width: 64 bits
          clock: 1705MHz (0.6ns)
  *-cache:0
       description: L1 cache
       physical id: 19
       slot: L1 Cache
       size: 384KiB
       capacity: 384KiB
       capabilities: synchronous internal write-back data
       configuration: level=1
  *-cache:1
       description: L1 cache
       physical id: 1a
       slot: L1 Cache
       size: 256KiB
       capacity: 256KiB
       capabilities: synchronous internal write-back instruction
       configuration: level=1
  *-cache:2
       description: L2 cache
       physical id: 1b
       slot: L2 Cache
       size: 16MiB
       capacity: 16MiB
       capabilities: synchronous internal write-back unified
       configuration: level=2
  *-cache:3
       description: L3 cache
       physical id: 1c
       slot: L3 Cache
       size: 36MiB
       capacity: 36MiB
       capabilities: synchronous internal write-back unified
       configuration: level=3
  *-cache:4
       description: L1 cache
       physical id: 1d
       slot: L1 Cache
       size: 512KiB
       capacity: 512KiB
       capabilities: synchronous internal write-back data
       configuration: level=1
  *-cache:5
       description: L1 cache
       physical id: 1e
       slot: L1 Cache
       size: 1MiB
       capacity: 1MiB
       capabilities: synchronous internal write-back instruction
       configuration: level=1
  *-cache:6
       description: L2 cache
       physical id: 1f
       slot: L2 Cache
       size: 16MiB
       capacity: 16MiB
       capabilities: synchronous internal write-back unified
       configuration: level=2
  *-cache:7
       description: L3 cache
       physical id: 20
       slot: L3 Cache
       size: 36MiB
       capacity: 36MiB
       capabilities: synchronous internal write-back unified
       configuration: level=3
  *-memory UNCLAIMED
       description: RAM memory
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 14.2
       bus info: pci@0000:00:14.2
       version: 11
       width: 64 bits
       clock: 33MHz (30.3ns)
       capabilities: pm cap_list
       configuration: latency=0
       resources: iomemory:65228600-6522c5ff iomemory:65231600-652325ff

@RanlyX
Copy link
Author

RanlyX commented Jul 3, 2024

I updated dev branch, and it worked. Slot 3 memory led color can be change, thanks :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants