Is there an easy way to switch between usb 2.0 and 3.0?

Is there some luci package to flip the usb port of the router between 2.0 and 3.0? The only way I know so far is to whether install the 3.0 driver.

It would be great to have an easy method to choose either fast usb data transfer or less wifi 2.4 interference.

You can't change the hw specs of the USB port. And from a sw point of view, the port will comply to the USB device plugged (assuming packages are installed).

I somehow see a customized OpenWrt firmware has this function.

That may be an on/off switch, rather than a USB 3 / USB 2 switch.

However, ask the maintainers of that firmware what it is supposed to do and how it is implemented. As stated before, the hardware specs are not going to change... if you have USB 3 devices on both ends and you want to use USB 2, you could change the cable so that you're using an older USB 2.0 cable.

3 Likes

No, I own that router and it does swtich between usb 2.0 and 3.0. I don't think their dev from a commercial product will share the details with me, unlike such an open community here...

I've used MiWifi mini, R1D and R3G. They all support the function. I just recently flashed R3G to OpenWrt though.

We wouldn't know about a switch in another firmware.

You'll have to inquire with them regarding their features.

That's fine. All I need to know is whether OpenWrt supports the function.

As of right now, no, it is not possible to use software to switch a USB 3 port to operate as a USB 2.0 port.

However, if you find out what the other firmware does (and assuming it actually works), it might be possible for you to write some code to achieve the same thing in official OpenWrt.

However, I am curious what your motivation is here and what you hope to achieve? If you have USB 3.0 ports and a USB 3.0 device, it will work at those speeds by default. You can, of course, use a USB 2.0 cable to throttle it back to USB 2.0 speeds. But I'm not sure why this would be of interest. Maybe you can shed some light on that?

As indicated above, I'd like to flip the mode to choose between high speed data transfer (3.0) and less wifi 2.4 interference(2.0).

And yes, I've tested it actually works. I used to flip to 3.0 when backuping large amount of data to the disk attached, 2.0 for most of the time to ensure wifi 2.4 signal coverage.

1 Like

In general it is possible to disable usb3 function and limit port to usb2

Be using only the kmod-usb2 package? Hence only ehci (USB2) and no xhci (USB3).

That's the option I mentioned in the begining. I would still like to find an easy way to use 3.0 from time to time.

You need usb3 connector, then you can remove(rmmod) xhci and degrade it to USB2

2 Likes