![]() |
RGB controller |
Post Reply ![]() |
Page 12> |
Author | |
frostmorn ![]() Newbie ![]() ![]() Joined: 23 Jun 2020 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 23 Jul 2020 at 11:55pm |
do you have the firmware to flash this microcontroller through the programmer?
|
|
![]() |
|
brjhaverkamp ![]() Newbie ![]() Joined: 28 Nov 2019 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Hi all,
Yes, I know. It is a long shot. But sometimes the fora are monitored by support employees, so one can hope, can't he?:-) But a ticket might be worth the effort as well. Back on the topic: I am trying to get one the tools running on my Asrock B450M PRO4 With icetect -l I dont see port 1 at 0b20 unfortunately. Only 3 otherports on 0b00.(I forgot the numbers and am not at that computer right now) In the notes from RattyDAVE you have the instructions you used to update the module, I gather. #sudo pacman -S i2c-tools linux-latest-headers #yay -S --answerclean A --answerdiff N i2c-piix4-aura-dkms #this adds the 0b20 SMBus #sudo modprobe i2c_dev EUA has something similar to apply a patch from what I understand. But how do they translate to ubuntu? I couldn't quickly find the patch to the module that it is applying. Kind regards, Bert |
|
![]() |
|
Ray62 ![]() Groupie ![]() ![]() Joined: 01 Jul 2018 Location: Germany, Berlin Status: Offline Points: 706 |
![]() ![]() ![]() ![]() ![]() |
Guys, there is no official Asrock support in this forum.
If you want support, you have to create a ticket. |
|
Asrock Fatal1ty X370 Professional Gaming Offline
Under test: MSI X570_MEG_ACE | AMD Ryzen 9 3900X | Scythe Mugen5 | 2x16GB F4-3200C14D-32GTZ@3466 | ASUS GeForce GTX 1080 Ti FE |
|
![]() |
|
eddie55 ![]() Newbie ![]() Joined: 02 Feb 2018 Status: Offline Points: 37 |
![]() ![]() ![]() ![]() ![]() |
Bump for Official ASRock support for linux users using RGB
|
|
![]() |
|
brjhaverkamp ![]() Newbie ![]() Joined: 28 Nov 2019 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Hi all,
This looks like tremendous progress on the led control of Asrock MBs. I own a BM450M Pro4. Would this potentially work on this MB as well? And if so, what do I need to do to help make it work:-) I'm happy to do tests/provide traces/logs, etc. I have reasonably developed Linux skills, but little experience in debugging and reverse engineering, so I would need some pointers/instructions. My machine has both windows 10 as Ubuntu 19.10 installed Oh, and maybe some Arock person who reads this can pick up on this and help with info on the programming interface for the LED controler? Please?? This is hardly sensitive information, just the registers and adresses and their function would suffice. Kind regards, Bert |
|
![]() |
|
RattyDAVE ![]() Newbie ![]() Joined: 24 Nov 2019 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() |
I have done some research on this and documented in
https://github.com/RattyDAVE/asrock-leds/blob/master/changeled.sh This has all the funtions of the firmware in my BIOS. |
|
![]() |
|
EUA ![]() Newbie ![]() ![]() Joined: 09 Oct 2019 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
Here is the solution: https://github.com/EUA/AsrLed
It's compatible with nu51_1.10 firmwared N76E885AT20 devices. X/B450 boards are with same MCU but nu51_2.10 firmware. Since our chips are same, you can try to downgrade your firmware with AsrLed tool that's available at Fatality Gaming B350 ITX board download section. http://asrock.pc.cdn.bitgravity.com/Utility/RGB/RGBLED(v1.0.41).zip I upgrade mine to nu51_2.10 fw but AsrPolychrome doesn't work with it. So I can't debug it and downgrade back to nu51_1.10 with this command. C:\Program Files (x86)\ASRock Utility\ASRRGBLED\Bin\wICPFLASH.exe /file=nu51_1.10 Also, at my MoBo, chip connected to SMBus address 0b20. Ryzen >i2cdetect -l i2c-1 unknown SMBus PIIX4 adapter port 2 at 0b00 N/A i2c-2 unknown SMBus PIIX4 adapter port 1 at 0b20 N/A i2c-0 unknown SMBus PIIX4 adapter port 0 at 0b00 N/A You need to update your i2c_piix4 driver. Arch and compatible users could use: yaourt -S aur/i2c-piix4-aura-dkms That's all. :) |
|
![]() |
|
EUA ![]() Newbie ![]() ![]() Joined: 09 Oct 2019 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
Done!
I gain *complete* control on nu51_1.10 firmwared MBs. Unfortunately PolycromeRGB firmware is not compatible with it and don't have MB to reverse it. I can make it if anyone send me B450 board. |
|
![]() |
|
EUA ![]() Newbie ![]() ![]() Joined: 09 Oct 2019 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
Looks like no one interested...
Anyway, I installed AsrPolychromeRGBSetup(v1.0.60). Since it's doesn't work, I made flash update with firmware : nu51_2.10 It flashed properly, make my leds bring white but... Control program doesn't work. Indeed there are no compatibility issue or anything... As a Ms Computer Engineer, I can clearly say that: ASROCK JUST AVOID US TO USE NEW PROGRAM BECAUSE OF NOTHING. Anyway. I verify that 0x6a is the guy. Debug shows that AsrLed connected to the 0xB20 port at 0x790B1022. Control registers at 0xFED80300. So soldering to DDR4 Stick RAM pins to eavesdrop communication trick will not work at least on my AsRock Fatal1ty B350 Gaming-ITX/ac becuse of different smbus used. But direct attaching wire to i2c pins (8 SDA, 13 SCL) of N76E885AT20 will work. Anyone? Well, I think same. Hard to solder this tiny pins and could be worst case scenario. Better, continue to debugging... I think I captured good i2c data but. It doesn't actually work on Linux. Why? Do I miss some initialization communication etc? I don't know. AsRock might use some type of lock mechanism to avoid naughty users. Like us. |
|
![]() |
|
EUA ![]() Newbie ![]() ![]() Joined: 09 Oct 2019 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
I am working on it for a while.
I found that it uses SMBus, because if you disable AMD SMBus device, program doesn't work, proper. I am debugging via IDA and found some transaction variables. Commands send to AsrDrv103.sys I think. Transactions modes are: 0x11 Static 0x12 Breathing 0x13 Strob 0x14 Cycle 0x15 Rand 0x16 Rand?? 0x17 Music 0x18 Wave And RGB send via 3 byte sequence as R-G-B values. I believe that SMBus 0x36 is the nuvoton N76E885AT20. Which give all 0xFF on the i2cdump. Well who want to buy me a beer? |
|
![]() |
Post Reply ![]() |
Page 12> |
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |