Adding OpenWrt support for Linksys MR6350

Hi Denisr, can you post your config for your wireless repeater? is it the first radio act as a client to the parent router and the (other) second radio acting as an AP? I am looking for something like this setup for my airplay (music) network.

Good evening, do you also have the mr6350? I have it configured as a wireless repeater for the 5.0 band through a neighbor and at the same time as an AP on both bands 5.0 and 2.4

Any progress for the merge in the master branch of openwrt?

Unfortunately not, still waiting for the merge in qca wireless, then for the merge in opernwrt

1 Like

Thank you very much, I have been using the build for more than 1 month and it is very stable without problems.

1 Like

Hello @denisr24 . I have seen that you are active with this router model and that you are also from Venezuela. Does this OpenWRT build work without any negative news in terms of WiFi speed/range? I just bought it to use as a main router and I don't want it to fail or have worse performance than the Linksys fw. Additionally, did you test if the USB port works as a print port? Thanks for your excellent work, @RolandoMagico

P.D.: Is there an easy possibility (other than manipulating the device internally, since it has a 6-month warranty) to return to the Linksys fw in case it is necessary for some reason? And finally... Can you help me flash OpenWRT for the first time? I am extremely tangled and confused as I do not understand the mixed instructions well. Is it possible to flash for the first time from GUI? Or what is the process really like?

Good evening, if I am from Venezuela, the stock firmware actually works very well and stable, but with openwrt you can unlock your router and do many things that you cannot do with the linksys firmware, I bought it in December and installed openwrt following the steps carefully With success, which I use until now and it is very stable, I have it configured as a WiFi repeater and at the same time as an access point with a 100 megabyte fiber optic connection and it is excellent.

The Linksys routers have 2 partitions so in the other partition there is the factory firmware through which you can go back whenever you want without problems in case it fails due to warranty issues I bought it and they gave me a one year warranty and in the other partition it would be openwrt.

I have not tried the USB port, according to @RolandoMagico it works without problems, and I would be happy to support you, write to me privately and we will be in contact via WhatsApp

ok anyway :grinning:

@RolandoMagico, Is there any chance you can help me with this? It's really the only thing I need (and if it's easy to add, the prioritization of bandwidth by device, QoS) to be completely comfortable. I almost necessarily need to use the USB port to connect my USB laser print...

I have tried the rest of the functions and they seem to work especially well, on Saturday I will help by creating a tutorial for installing OpenWRT on the MR6530.

I can try USB printing in the next days. That’s all you need? The IPQ40xx was already migrated to kernel 6.6. That’s what I can use for testing. I can also provide an image, if required. Do you know if a kernel module is required for QoS? Until there is no official build from OpenWrt, I have to include them in the build.
Regarding the howto: the basic steps are already described in the pull request:

Good afternoon, if you could create a new updated image it would be excellent. :grinning:

Update from my side: I tried to create images with the current main branch with kernel 6.6. Network in general seems to be fine but USB doesn't work anymore. Error message:

root@OpenWrt:~# lsusb
unable to initialize libusb: -99

So I tried the last build with kernel 6.1 again:

There USB works out of the box. Same for a build based on OpenWrt v23.05.3:

root@OpenWrt:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux 5.15.150 xhci-hcd xHCI Host Controller
Bus 004 Device 001: ID 1d6b:0003 Linux 5.15.150 xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 04f9:00a4 Brother HL-L3270CDW series
Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.150 xhci-hcd xHCI Host Controller
Bus 003 Device 001: ID 1d6b:0002 Linux 5.15.150 xhci-hcd xHCI Host Controller

Have to investigate more why USB isn't working anymore.

@Ansuel: As you switched the main branch to kernel 6.6 for ipq40xx, do you have any idea what can go wrong here?

Latest build with kernel 6.1:

1 Like

can you check if usb device are at least detected with dmesg or nothing at all?

@robimarko any clue?

With kernel 6.1, dmesg gives me this info when connecting the printer:

[  138.439547] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[  138.622933] usblp 1-1:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04F9 pid 0x00A4

With kernel 6.6, there is no message in dmesg.

In the system log, I see that the following block is present with 6.1, but missing with kernel 6.6:

Sat May  4 12:27:33 2024 kern.info kernel: [    5.330804] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
Sat May  4 12:27:33 2024 kern.info kernel: [    5.330888] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
Sat May  4 12:27:33 2024 kern.info kernel: [    5.335436] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100 quirks 0x0000008002010010
Sat May  4 12:27:33 2024 kern.info kernel: [    5.342895] xhci-hcd xhci-hcd.0.auto: irq 62, io mem 0x08a00000
Sat May  4 12:27:33 2024 kern.info kernel: [    5.352382] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
Sat May  4 12:27:33 2024 kern.info kernel: [    5.358050] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
Sat May  4 12:27:33 2024 kern.info kernel: [    5.363630] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
Sat May  4 12:27:33 2024 kern.info kernel: [    5.371892] hub 1-0:1.0: USB hub found
Sat May  4 12:27:33 2024 kern.info kernel: [    5.377783] hub 1-0:1.0: 1 port detected
Sat May  4 12:27:33 2024 kern.info kernel: [    5.381992] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
Sat May  4 12:27:33 2024 kern.info kernel: [    5.386158] hub 2-0:1.0: USB hub found
Sat May  4 12:27:33 2024 kern.info kernel: [    5.396452] hub 2-0:1.0: 1 port detected
Sat May  4 12:27:33 2024 kern.info kernel: [    5.397725] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
Sat May  4 12:27:33 2024 kern.info kernel: [    5.401331] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
Sat May  4 12:27:33 2024 kern.info kernel: [    5.406774] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports
Sat May  4 12:27:33 2024 kern.info kernel: [    5.414149] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f665 hci version 0x100 quirks 0x0000008002010010
Sat May  4 12:27:33 2024 kern.info kernel: [    5.420466] xhci-hcd xhci-hcd.1.auto: irq 63, io mem 0x06000000
Sat May  4 12:27:33 2024 kern.info kernel: [    5.430426] hub 3-0:1.0: USB hub found
Sat May  4 12:27:33 2024 kern.info kernel: [    5.435425] hub 3-0:1.0: 1 port detected

kmod-usb-xhci-hcd is included in the 6.6 build, according to lsmod it's also loaded (as far as i understood):
xhci_hcd 118784 2 xhci_plat_hcd,xhci_pci

1 Like

Try with this pr on top https://github.com/openwrt/openwrt/pull/15392

Thanks! Applying the changes (especially the ones in qcom-ipq4019-xx8300.dtsi) fixed the problem. USB is now also working with kernel 6.6

1 Like

Excellent, you could create an updated image with kernel 6.6. thank you.,You could include the sqm, nftables packages

:grinning: :grinning: :grinning: :grinning: :smiley: :smiley: :smiley:

Do you know the OpenWrt package names?

1 Like