FENVI AXE5400
EnoSat 14 Jan 2024
I'm trying to use this USB WiFi,
FU-AX5400
but it consists of two parts,
a USB disk and a USB WiFi.
hd51 login: root root@hd51:~# lsusb Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC Bus 001 Device 004: ID 0bda:1a2b Realtek Semiconductor Corp. DISK Bus 001 Device 003: ID 04a3:0101 Trident Microsystems, Inc. BRCM OHCI USB2.0 Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@hd51:~#
Is it possible to switch it to WiFi right away?
ID should be:
0bda:c812
WanWizard 14 Jan 2024
Those sticks are always a bloody pain, even on a standard linux desktop distro.
You need to use usb-modeswitch, which can switch the modes when the box boots, it is in the feed but I have never used it on a box, I used it a few times with GSM/3G sticks, it requires a lot of internet searching.
EnoSat 14 Jan 2024
Disk device dected as sr0
root@hd51:~# blkid /dev/mmcblk0p9: UUID="b4cd7d4d-66ac-46b1-8766-6763f21dd0e6" TYPE="ext4" /dev/mmcblk0p7: UUID="bd7e93ca-d0f5-4fee-b9a0-87801e8264e0" TYPE="ext4" /dev/mmcblk0p5: UUID="ab8d3c23-cd5b-4e9b-8898-31aa78e3da73" TYPE="ext4" /dev/mmcblk0p3: UUID="3d20a057-57f9-4a1a-a126-e41698c5b64c" TYPE="ext4" /dev/mmcblk0p1: UUID="F303-6CD7" TYPE="vfat" /dev/sda1: UUID="5d1cd947-9ea7-4049-8c59-1ed7b22f0f53" TYPE="ext4" root@hd51:~# blkid /dev/sr0: LABEL="20230727_123247" TYPE="iso9660" /dev/mmcblk0p9: UUID="b4cd7d4d-66ac-46b1-8766-6763f21dd0e6" TYPE="ext4" /dev/mmcblk0p7: UUID="bd7e93ca-d0f5-4fee-b9a0-87801e8264e0" TYPE="ext4" /dev/mmcblk0p5: UUID="ab8d3c23-cd5b-4e9b-8898-31aa78e3da73" TYPE="ext4" /dev/mmcblk0p3: UUID="3d20a057-57f9-4a1a-a126-e41698c5b64c" TYPE="ext4" /dev/mmcblk0p1: UUID="F303-6CD7" TYPE="vfat" /dev/sda1: UUID="5d1cd947-9ea7-4049-8c59-1ed7b22f0f53" TYPE="ext4" root@hd51:~#
Edited by EnoSat, 14 January 2024 - 18:20.
WanWizard 14 Jan 2024
How can usb-modeswitch be installed from the feed ?
opkg install usb-modeswitch
WanWizard 14 Jan 2024
Disk device dected as sr0
It is a CD emulation, most likely containing installation software. Typical Windows junk...
EnoSat 14 Jan 2024
thanks
root@hd51:/usr/sbin# usb_modeswitch -K -v 0bda -p 1a2b Look for default devices ... Found devices in default mode (1) Access device 004 on bus 001 Get the current device configuration ... Current configuration number is 1 Use interface number 0 with class 8 Use endpoints 0x05 (out) and 0x84 (in) Sending standard EJECT sequence Looking for active drivers ... OK, driver detached Set up interface 0 Use endpoint 0x05 for message sending ... Trying to send message 1 to endpoint 0x05 ... OK, message successfully sent Read the response to message 1 (CSW) ... Response successfully read (13 bytes), status 0 Trying to send message 2 to endpoint 0x05 ... OK, message successfully sent Read the response to message 2 (CSW) ... Response successfully read (13 bytes), status 0 Trying to send message 3 to endpoint 0x05 ... Sending the message returned error -1. Try to continue Read the response to message 3 (CSW) ... Response reading failed (error -1) Device is gone, skip any further commands -> Run lsusb to note any changes. Bye! root@hd51:/usr/sbin# lsusb Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC Bus 001 Device 006: ID 0bda:c832 Realtek Semiconductor Corp. 802.11ax WLAN Adapter Bus 001 Device 003: ID 04a3:0101 Trident Microsystems, Inc. BRCM OHCI USB2.0 Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@hd51:/usr/sbin#
this device is:
ID 0bda:c832 Realtek Semiconductor Corp. 802.11ax WLAN Adapter
WanWizard 15 Jan 2024
Cool.
Next challenge is finding a driver for it, I don't think we have an 8832CU driver in the image.
WanWizard 15 Jan 2024
I have added the RTL8852CU driver to the develop build, for testing. which does support this USB ID.
WanWizard 15 Jan 2024
Build still has to start, so you have to wait until both the current build and the next build is finished.