Add OpenWrt support for Xiaomi "Redmi AX6000"

Pass wall performance = 24 dBm

2 Likes

Hello,

Just did the Attended Sysupgrade to the latest SNAPSHOT, and now I have 4 wireless radios (as you can see on pic below first two are listed as Generic unknown), note that same situation happened with TP-Link XDR6088, is this normal?

Thank you,
Paul

I also just had this happen and fixed it by changing option path 'platform/soc/18000000.wmac and option path 'platform/soc/18000000.wmac+1' in /etc/config/wireless to option path 'platform/soc/18000000.wifi' and option path 'platform/soc/18000000.wifi+1'. Also delete the extra config wifi-device entries that are added. Then do wifi reload.

3 Likes

yeah the latest update really messed things up on my side too. loaded last weeks update but can't get any of the packages now... hopefully today or tomorrows update will fix it. :slight_smile:

1 Like

Yes, had same problem, thanks that helped, needed to update the /etc/config/wifi. By WLAN stopped working, I had to connect using lan. How this can happen? There aren't any PR reviews?

1 Like

Has anyone tried the 23.05.0-rc1 version?

1 Like

So the issue is that the radios are doubled and some renaming is needed? I am confused.

EDIT: OK, I see what is happening. Recent changes:

  • double the number of radios
  • change the name of the path as you mentioned. .wmac is renamed to .wifi

So the user needs to manually edit /etc/config/wireless and change the path as well as delete the superfluous radios.

You can do a quick replace with vim:

:%s/wmac/wifi/gc

The extra radios should be at the bottom of the file and can just be deleted.

2 Likes

I tested. Upgraded from snapshot and everything looks working proper.

2 Likes

Just updated both of my AX6000s to 23.05-rc1. One worked fine, other one seems to have bricked. Will investigate tomorrow.

EDIT: powered on just fine this morning. Dunno what the issue was.

PS: Only not-working piece is, configuring RGB led color via Luci.

Just updated my router for the first time in 3 months and all seems fine. Many thanks to the devs!

1 Like

hello, I'm using version 23.05-rc1 and I have a doubt, is it possible to use the colored leds?

currently, the luci configuration show the rgb:status and rgb:network options

Maybe? You need to tell us what hardware we're talking about.

the original hardware of the device.

even in the oem bootlog that is on his page, there is a mention of the available colors:

[    1.274875] leds-hm0807a spi1.0: led_driver_probe
[    1.279571] leds-hm0807a spi1.0: chip_num:5, led_num:5.
[    1.284782] leds-hm0807a spi1.0: led_driver_probe name:led_red
[    1.290628] leds-hm0807a spi1.0: led_driver_probe name:led_blue
[    1.296809] leds-hm0807a spi1.0: led_driver_probe name:led_yellow
[    1.302912] leds-hm0807a spi1.0: led_driver_probe name:led_white
[    1.308927] leds-hm0807a spi1.0: led_driver_probe name:led_green

with version 23.05-rc1 the two options I mentioned before in luci basically only activate the white color

You can change the color from the shell (or a script). Example:

echo "0 255 31" >/sys/class/leds/rgb:network/multi_intensity
echo "255 0 127" >/sys/class/leds/rgb:status/multi_intensity

But, unfortunately, Linux LED API doesn't support dynamic coloring (i.e. changing the color based on triggers).

3 Likes

it worked, with any rgb color set in these two files.

Now it asks, how can I create a preset with another name, for example red:status, I entered ssh and tried to copy the folder "/sys/devices/platform/soc/1100b000.spi/spi_master/spi1/spi1.0/leds/rgb:status"
to "red:status", but it only returns error: cp: omitting directory 'rgb:status'

/sys is a virtual file system that expose hardware and system characteristics. You cannot add & remove files there as in a regular filesystem. If you want to change the way the led driver works, you'll need to program you own led kernel driver.

which step did you follow? there's no way I can just put an update file in the version I have and click update?

You can update via luci, just get the Sysupgrade file and go to System -> Backup / Flash Firmware -> Flash new firmware image.

And then you can choose to keep the configs and such.

Hello... for now I've only been successful in the white led. I have this doubt too...

Ps: are you from Adrenaline?