USB 3.0 #24

Closed
opened 2026-02-05 17:57:52 +00:00 by Sirherobrine23 · 29 comments
Owner

@lilmayofuksu could you test the USB 3.0 so I know if it's working before marking it as completed on ToDo?

@lilmayofuksu could you test the USB 3.0 so I know if it's working before marking it as completed on ToDo?
Member

Neither USB2 or USB3 works right now (eth logs are unrelated)

[ 4453.309800] usb 1-1: USB disconnect, device number 2
[ 4453.756955] usb 1-1: new high-speed USB device number 3 using xhci-mtk
[ 4465.537079] mt7530-mmio 1fb58000.switch lan3: Link is Down
[ 4465.542670] br-lan: port 3(lan3) entered disabled state
[ 4467.076976] usb usb1-port1: attempt power cycle
[ 4475.416848] usb usb1-port1: unable to enumerate USB device
[ 4475.546696] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[ 4495.697690] mt7530-mmio 1fb58000.switch lan3: Link is Up - 100Mbps/Full - flow control rx/tx
[ 4495.706194] br-lan: port 3(lan3) entered blocking state
[ 4495.711462] br-lan: port 3(lan3) entered forwarding state
Neither USB2 or USB3 works right now (eth logs are unrelated) ``` [ 4453.309800] usb 1-1: USB disconnect, device number 2 [ 4453.756955] usb 1-1: new high-speed USB device number 3 using xhci-mtk [ 4465.537079] mt7530-mmio 1fb58000.switch lan3: Link is Down [ 4465.542670] br-lan: port 3(lan3) entered disabled state [ 4467.076976] usb usb1-port1: attempt power cycle [ 4475.416848] usb usb1-port1: unable to enumerate USB device [ 4475.546696] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk [ 4495.697690] mt7530-mmio 1fb58000.switch lan3: Link is Up - 100Mbps/Full - flow control rx/tx [ 4495.706194] br-lan: port 3(lan3) entered blocking state [ 4495.711462] br-lan: port 3(lan3) entered forwarding state
Member

Perhaps related?

[    2.561034] airoha-usb-phy 1fac0000.phy: Frequency not detected, using default SR calibration.
[    2.574234] xhci-mtk 1fab0000.usb: xHCI Host Controller
[    2.579551] xhci-mtk 1fab0000.usb: new USB bus registered, assigned bus number 1
[    2.590962] xhci-mtk 1fab0000.usb: hcc params 0x01400f98 hci version 0x110 quirks 0x0000000000200010
[    2.600183] xhci-mtk 1fab0000.usb: irq 46, io mem 0x1fab0000
[    2.606016] xhci-mtk 1fab0000.usb: xHCI Host Controller
[    2.611279] xhci-mtk 1fab0000.usb: new USB bus registered, assigned bus number 2
[    2.618732] xhci-mtk 1fab0000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    2.626569] hub 1-0:1.0: USB hub found
[    2.630516] hub 1-0:1.0: 2 ports detected
[    2.635341] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.644167] hub 2-0:1.0: USB hub found
[    2.648063] hub 2-0:1.0: 1 port detected
[    2.660457] xhci-mtk 1fad0000.usb: xHCI Host Controller
[    2.665726] xhci-mtk 1fad0000.usb: new USB bus registered, assigned bus number 3
[    2.693270] xhci-mtk 1fad0000.usb: clocks are not stable (0x0)
[    2.699140] xhci-mtk 1fad0000.usb: can't setup: -110
[    2.704117] xhci-mtk 1fad0000.usb: USB bus 3 deregistered
[    2.712580] xhci-mtk 1fad0000.usb: probe with driver xhci-mtk failed with error -110
[    2.721266] i2c-mt7621 1fbf8000.i2c0: clock 100 kHz
[    2.739494] en7523-audio 1fbe2200.audio-controller: mtk_afe_combine_sub_dai(), num of dai 2
[    2.748406] debugfs: Directory '1fbe2200.audio-controller' with parent 'en7523-i2s' already present!
[    2.759137] NET: Registered PF_INET6 protocol family
[    2.766205] Segment Routing with IPv6
[    2.770000] In-situ OAM (IOAM) with IPv6
[    2.774024] NET: Registered PF_PACKET protocol family
[    2.779372] 8021q: 802.1Q VLAN Support v1.8
[    2.783655] Registering SWP/SWPB emulation handler
[    2.874479] mt7530-mmio 1fb58000.switch: configuring for fixed/internal link mode
[    2.882256] mt7530-mmio 1fb58000.switch lan1 (uninitialized): PHY [mt7530-0:09] driver [Airoha EN7523 PHY] (irq=POLL)
[    2.893887] mt7530-mmio 1fb58000.switch lan2 (uninitialized): PHY [mt7530-0:0a] driver [Airoha EN7523 PHY] (irq=POLL)
[    2.905363] mt7530-mmio 1fb58000.switch lan3 (uninitialized): PHY [mt7530-0:0b] driver [Airoha EN7523 PHY] (irq=POLL)
[    2.916942] mt7530-mmio 1fb58000.switch wan (uninitialized): PHY [mt7530-0:0c] driver [Airoha EN7523 PHY] (irq=POLL)
[    2.928378] airoha_eth 1fb50000.ethernet eth0: entered promiscuous mode
[    2.935062] DSA: tree 0 setup
[    2.938362] mt7530-mmio 1fb58000.switch: Link is Up - 10Gbps/Full - flow control rx/tx
[    2.947146] clk: Disabling unused clocks
[    2.951091] PM: genpd: Disabling unused power domains
[    2.956144] ALSA device list:
[    2.959176]   #0: en7523-i2s
[    3.026040] Freeing unused kernel image (initmem) memory: 63488K
[    3.032466] Run /init as init process
[    3.036143]   with arguments:
[    3.036149]     /init
[    3.036154]   with environment:
[    3.036159]     HOME=/
[    3.036164]     TERM=linux
[    3.056598] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[    3.719337] init: Console is alive
Perhaps related? ``` [ 2.561034] airoha-usb-phy 1fac0000.phy: Frequency not detected, using default SR calibration. [ 2.574234] xhci-mtk 1fab0000.usb: xHCI Host Controller [ 2.579551] xhci-mtk 1fab0000.usb: new USB bus registered, assigned bus number 1 [ 2.590962] xhci-mtk 1fab0000.usb: hcc params 0x01400f98 hci version 0x110 quirks 0x0000000000200010 [ 2.600183] xhci-mtk 1fab0000.usb: irq 46, io mem 0x1fab0000 [ 2.606016] xhci-mtk 1fab0000.usb: xHCI Host Controller [ 2.611279] xhci-mtk 1fab0000.usb: new USB bus registered, assigned bus number 2 [ 2.618732] xhci-mtk 1fab0000.usb: Host supports USB 3.2 Enhanced SuperSpeed [ 2.626569] hub 1-0:1.0: USB hub found [ 2.630516] hub 1-0:1.0: 2 ports detected [ 2.635341] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.644167] hub 2-0:1.0: USB hub found [ 2.648063] hub 2-0:1.0: 1 port detected [ 2.660457] xhci-mtk 1fad0000.usb: xHCI Host Controller [ 2.665726] xhci-mtk 1fad0000.usb: new USB bus registered, assigned bus number 3 [ 2.693270] xhci-mtk 1fad0000.usb: clocks are not stable (0x0) [ 2.699140] xhci-mtk 1fad0000.usb: can't setup: -110 [ 2.704117] xhci-mtk 1fad0000.usb: USB bus 3 deregistered [ 2.712580] xhci-mtk 1fad0000.usb: probe with driver xhci-mtk failed with error -110 [ 2.721266] i2c-mt7621 1fbf8000.i2c0: clock 100 kHz [ 2.739494] en7523-audio 1fbe2200.audio-controller: mtk_afe_combine_sub_dai(), num of dai 2 [ 2.748406] debugfs: Directory '1fbe2200.audio-controller' with parent 'en7523-i2s' already present! [ 2.759137] NET: Registered PF_INET6 protocol family [ 2.766205] Segment Routing with IPv6 [ 2.770000] In-situ OAM (IOAM) with IPv6 [ 2.774024] NET: Registered PF_PACKET protocol family [ 2.779372] 8021q: 802.1Q VLAN Support v1.8 [ 2.783655] Registering SWP/SWPB emulation handler [ 2.874479] mt7530-mmio 1fb58000.switch: configuring for fixed/internal link mode [ 2.882256] mt7530-mmio 1fb58000.switch lan1 (uninitialized): PHY [mt7530-0:09] driver [Airoha EN7523 PHY] (irq=POLL) [ 2.893887] mt7530-mmio 1fb58000.switch lan2 (uninitialized): PHY [mt7530-0:0a] driver [Airoha EN7523 PHY] (irq=POLL) [ 2.905363] mt7530-mmio 1fb58000.switch lan3 (uninitialized): PHY [mt7530-0:0b] driver [Airoha EN7523 PHY] (irq=POLL) [ 2.916942] mt7530-mmio 1fb58000.switch wan (uninitialized): PHY [mt7530-0:0c] driver [Airoha EN7523 PHY] (irq=POLL) [ 2.928378] airoha_eth 1fb50000.ethernet eth0: entered promiscuous mode [ 2.935062] DSA: tree 0 setup [ 2.938362] mt7530-mmio 1fb58000.switch: Link is Up - 10Gbps/Full - flow control rx/tx [ 2.947146] clk: Disabling unused clocks [ 2.951091] PM: genpd: Disabling unused power domains [ 2.956144] ALSA device list: [ 2.959176] #0: en7523-i2s [ 3.026040] Freeing unused kernel image (initmem) memory: 63488K [ 3.032466] Run /init as init process [ 3.036143] with arguments: [ 3.036149] /init [ 3.036154] with environment: [ 3.036159] HOME=/ [ 3.036164] TERM=linux [ 3.056598] usb 1-1: new high-speed USB device number 2 using xhci-mtk [ 3.719337] init: Console is alive ```
Owner

[ 2.693270] xhci-mtk 1fad0000.usb: clocks are not stable (0x0)
[ 2.699140] xhci-mtk 1fad0000.usb: can't setup: -110

That was new. It looks like the mux should be properly set for usb mode. Can you run:

devmem 0x1FB00094

bit 29 is the usb3 mux. It needs to be set for usb3 mode.

[ 2.693270] xhci-mtk 1fad0000.usb: clocks are not stable (0x0) [ 2.699140] xhci-mtk 1fad0000.usb: can't setup: -110 That was new. It looks like the mux should be properly set for usb mode. Can you run: devmem 0x1FB00094 bit 29 is the usb3 mux. It needs to be set for usb3 mode.
Author
Owner

There is only one USB port (usb0), we don't have a usb1 port

777a90a2cd/target/linux/airoha/dts/en7523.dtsi (L528-L538)

There is only one USB port (`usb0`), we don't have a `usb1` port https://sirherobrine23.com.br/airoha_en7523/openwrt/src/commit/777a90a2cdc72b0da0f7bc44ff2d5b408c7157df/target/linux/airoha/dts/en7523.dtsi#L528-L538
Author
Owner
https://sirherobrine23.com.br/airoha_en7523/docs/src/branch/main/en7523/en7529ct_datasheet.md#:~:text=One%20USB3.0%20interface%20and%20one%20USB%202.0%20interface
Owner

Yes, there are 2 usb2 interfaces with one that can be muxed into a usb3 interface.

Yes, there are 2 usb2 interfaces with one that can be muxed into a usb3 interface.
Member

[ 2.693270] xhci-mtk 1fad0000.usb: clocks are not stable (0x0)
[ 2.699140] xhci-mtk 1fad0000.usb: can't setup: -110

That was new. It looks like the mux should be properly set for usb mode. Can you run:

devmem 0x1FB00094

bit 29 is the usb3 mux. It needs to be set for usb3 mode.

root@OpenWrt:~# devmem 0x1FB00094

0xE0002820

> [ 2.693270] xhci-mtk 1fad0000.usb: clocks are not stable (0x0) > [ 2.699140] xhci-mtk 1fad0000.usb: can't setup: -110 > > That was new. It looks like the mux should be properly set for usb mode. Can you run: > > devmem 0x1FB00094 > > bit 29 is the usb3 mux. It needs to be set for usb3 mode. root@OpenWrt:~# devmem 0x1FB00094 0xE0002820
Author
Owner

It wouldn't just be usb0, without usb1?

777a90a2cd/target/linux/airoha/dts/en7523.dtsi (L494-L539)

It wouldn't just be usb0, without usb1? https://sirherobrine23.com.br/airoha_en7523/openwrt/src/commit/777a90a2cdc72b0da0f7bc44ff2d5b408c7157df/target/linux/airoha/dts/en7523.dtsi#L494-L539
Member

With a usb2 device, this is the only kernel log
[ 7040.535589] usb 1-1: new high-speed USB device number 7 using xhci-mtk

With a usb2 device, this is the only kernel log [ 7040.535589] usb 1-1: new high-speed USB device number 7 using xhci-mtk
Author
Owner

@merbanan so it wouldn't just be usb0, without usb1, that's my question

USB0

[    2.574234] xhci-mtk 1fab0000.usb: xHCI Host Controller
[    2.579551] xhci-mtk 1fab0000.usb: new USB bus registered, assigned bus number 1
[    2.590962] xhci-mtk 1fab0000.usb: hcc params 0x01400f98 hci version 0x110 quirks 0x0000000000200010
[    2.600183] xhci-mtk 1fab0000.usb: irq 46, io mem 0x1fab0000
[    2.606016] xhci-mtk 1fab0000.usb: xHCI Host Controller
[    2.611279] xhci-mtk 1fab0000.usb: new USB bus registered, assigned bus number 2
[    2.618732] xhci-mtk 1fab0000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    2.626569] hub 1-0:1.0: USB hub found
[    2.630516] hub 1-0:1.0: 2 ports detected
[    2.635341] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.644167] hub 2-0:1.0: USB hub found
[    2.648063] hub 2-0:1.0: 1 port detected

777a90a2cd/target/linux/airoha/dts/en7523.dtsi (L494-L503)

777a90a2cd/target/linux/airoha/dts/en7523.dtsi (L516-L526)


USB1

[    2.660457] xhci-mtk 1fad0000.usb: xHCI Host Controller
[    2.665726] xhci-mtk 1fad0000.usb: new USB bus registered, assigned bus number 3
[    2.693270] xhci-mtk 1fad0000.usb: clocks are not stable (0x0)
[    2.699140] xhci-mtk 1fad0000.usb: can't setup: -110
[    2.704117] xhci-mtk 1fad0000.usb: USB bus 3 deregistered
[    2.712580] xhci-mtk 1fad0000.usb: probe with driver xhci-mtk failed with error -110

777a90a2cd/target/linux/airoha/dts/en7523.dtsi (L505-L514)

777a90a2cd/target/linux/airoha/dts/en7523.dtsi (L528-L538)

@merbanan so it wouldn't just be `usb0`, without `usb1`, that's my question ## USB0 ``` [ 2.574234] xhci-mtk 1fab0000.usb: xHCI Host Controller [ 2.579551] xhci-mtk 1fab0000.usb: new USB bus registered, assigned bus number 1 [ 2.590962] xhci-mtk 1fab0000.usb: hcc params 0x01400f98 hci version 0x110 quirks 0x0000000000200010 [ 2.600183] xhci-mtk 1fab0000.usb: irq 46, io mem 0x1fab0000 [ 2.606016] xhci-mtk 1fab0000.usb: xHCI Host Controller [ 2.611279] xhci-mtk 1fab0000.usb: new USB bus registered, assigned bus number 2 [ 2.618732] xhci-mtk 1fab0000.usb: Host supports USB 3.2 Enhanced SuperSpeed [ 2.626569] hub 1-0:1.0: USB hub found [ 2.630516] hub 1-0:1.0: 2 ports detected [ 2.635341] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.644167] hub 2-0:1.0: USB hub found [ 2.648063] hub 2-0:1.0: 1 port detected ``` https://sirherobrine23.com.br/airoha_en7523/openwrt/src/commit/777a90a2cdc72b0da0f7bc44ff2d5b408c7157df/target/linux/airoha/dts/en7523.dtsi#L494-L503 https://sirherobrine23.com.br/airoha_en7523/openwrt/src/commit/777a90a2cdc72b0da0f7bc44ff2d5b408c7157df/target/linux/airoha/dts/en7523.dtsi#L516-L526 ---- ## USB1 ``` [ 2.660457] xhci-mtk 1fad0000.usb: xHCI Host Controller [ 2.665726] xhci-mtk 1fad0000.usb: new USB bus registered, assigned bus number 3 [ 2.693270] xhci-mtk 1fad0000.usb: clocks are not stable (0x0) [ 2.699140] xhci-mtk 1fad0000.usb: can't setup: -110 [ 2.704117] xhci-mtk 1fad0000.usb: USB bus 3 deregistered [ 2.712580] xhci-mtk 1fad0000.usb: probe with driver xhci-mtk failed with error -110 ``` https://sirherobrine23.com.br/airoha_en7523/openwrt/src/commit/777a90a2cdc72b0da0f7bc44ff2d5b408c7157df/target/linux/airoha/dts/en7523.dtsi#L505-L514 https://sirherobrine23.com.br/airoha_en7523/openwrt/src/commit/777a90a2cdc72b0da0f7bc44ff2d5b408c7157df/target/linux/airoha/dts/en7523.dtsi#L528-L538
Member

Stock FW USB2:

usb 1-1: new high-speed USB device number 2 using xhci-hcd
usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
add_ep parameters: rh_port_num 2, dev_speed 3, is_in 1, isTT 0, ep_type 2, maxp 512, interval 128, burst 0, mult 0, ep 0xd3330c00, ep_ctx 0xe7cfe080
[DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[DBG] BOFFSET: 0, BREPEAT: 0
usb 1-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
add_ep parameters: rh_port_num 2, dev_speed 3, is_in 0, isTT 0, ep_type 2, maxp 512, interval 128, burst 0, mult 0, ep 0xd3330c30, ep_ctx 0xe7cfe0a0
[DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[DBG] BOFFSET: 0, BREPEAT: 0
usb-storage 1-1:1.0: USB Mass Storage device detected
scsi host0: usb-storage 1-1:1.0
[214.166][cmgr] 779 - WARN: container not running, skip query data
[214.167][cos] 1386 - ERROR: Can not find ee whoes name is EE_wifispot
scsi 0:0:0:0: Direct-Access     TOSHIBA  TransMemory      1.00 PQ: 0 ANSI: 4
sd 0:0:0:0: [sda] 15155200 512-byte logical blocks: (7.76 GB/7.23 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 45 00 00 00
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2
hotplug_storage.c#hotplusd 0:0:0:0: [sda] Attached SCSI removable disk

USB3:

/var # usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
add_ep parameters: rh_port_num 1, dev_speed 5, is_in 1, isTT 0, ep_type 2, maxp 1024, interval 1, burst 15, mult 0, ep 0xd3570880, ep_ctx 0xe7cfc080
[DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[DBG] BOFFSET: 0, BREPEAT: 0
add_ep parameters: rh_port_num 1, dev_speed 5, is_in 0, isTT 0, ep_type 2, maxp 1024, interval 1, burst 15, mult 0, ep 0xd35708b0, ep_ctx 0xe7cfc0a0
[DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[DBG] BOFFSET: 0, BREPEAT: 0
usb-storage 2-1:1.0: USB Mass Storage device detected
scsi host1: usb-storage 2-1:1.0
scsi 1:0:0:0: Direct-Access     TO Exter nal USB 3.0      0204 PQ: 0 ANSI: 6
sd 1:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 47 00 00 08
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 1:0:0:0: [sda] Attached SCSI disk
/var # ./busybox-armv7l lsusb
Bus 002 Device 002: ID 0080:a001
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
/var # ./busybox-armv7l lspci
00:00.0 Class 0604: 14c3:0810
00:01.0 Class 0604: 14c3:0811
01:00.0 Class 0280: 14c3:790a
02:00.0 Class 0280: 14c3:7906
Stock FW USB2: ``` usb 1-1: new high-speed USB device number 2 using xhci-hcd usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes add_ep parameters: rh_port_num 2, dev_speed 3, is_in 1, isTT 0, ep_type 2, maxp 512, interval 128, burst 0, mult 0, ep 0xd3330c00, ep_ctx 0xe7cfe080 [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1 [DBG] BOFFSET: 0, BREPEAT: 0 usb 1-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes add_ep parameters: rh_port_num 2, dev_speed 3, is_in 0, isTT 0, ep_type 2, maxp 512, interval 128, burst 0, mult 0, ep 0xd3330c30, ep_ctx 0xe7cfe0a0 [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1 [DBG] BOFFSET: 0, BREPEAT: 0 usb-storage 1-1:1.0: USB Mass Storage device detected scsi host0: usb-storage 1-1:1.0 [214.166][cmgr] 779 - WARN: container not running, skip query data [214.167][cos] 1386 - ERROR: Can not find ee whoes name is EE_wifispot scsi 0:0:0:0: Direct-Access TOSHIBA TransMemory 1.00 PQ: 0 ANSI: 4 sd 0:0:0:0: [sda] 15155200 512-byte logical blocks: (7.76 GB/7.23 GiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 45 00 00 00 sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sda2 hotplug_storage.c#hotplusd 0:0:0:0: [sda] Attached SCSI removable disk ``` USB3: ``` /var # usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd add_ep parameters: rh_port_num 1, dev_speed 5, is_in 1, isTT 0, ep_type 2, maxp 1024, interval 1, burst 15, mult 0, ep 0xd3570880, ep_ctx 0xe7cfc080 [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1 [DBG] BOFFSET: 0, BREPEAT: 0 add_ep parameters: rh_port_num 1, dev_speed 5, is_in 0, isTT 0, ep_type 2, maxp 1024, interval 1, burst 15, mult 0, ep 0xd35708b0, ep_ctx 0xe7cfc0a0 [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1 [DBG] BOFFSET: 0, BREPEAT: 0 usb-storage 2-1:1.0: USB Mass Storage device detected scsi host1: usb-storage 2-1:1.0 scsi 1:0:0:0: Direct-Access TO Exter nal USB 3.0 0204 PQ: 0 ANSI: 6 sd 1:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB) sd 1:0:0:0: [sda] Write Protect is off sd 1:0:0:0: [sda] Mode Sense: 47 00 00 08 sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sd 1:0:0:0: [sda] Attached SCSI disk ``` ``` /var # ./busybox-armv7l lsusb Bus 002 Device 002: ID 0080:a001 Bus 001 Device 001: ID 1d6b:0002 Bus 002 Device 001: ID 1d6b:0003 /var # ./busybox-armv7l lspci 00:00.0 Class 0604: 14c3:0810 00:01.0 Class 0604: 14c3:0811 01:00.0 Class 0280: 14c3:790a 02:00.0 Class 0280: 14c3:7906 ```
Author
Owner

only usb0

docs/en7523/en7562ct.log Lines 316 to 336 in 6eb233224f
xhci-hcd 1fab0000.xhci: xHCI Host Controller
xhci-hcd 1fab0000.xhci: new USB bus registered, assigned bus number 1
xhci-hcd 1fab0000.xhci: irq 111, io mem 0x1fab0000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
xhci-hcd 1fab0000.xhci: xHCI Host Controller
xhci-hcd 1fab0000.xhci: new USB bus registered, assigned bus number 2
usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver cypress_m8
usbserial: USB Serial support registered for DeLorme Earthmate USB
usbserial: USB Serial support registered for HID->COM RS232 Adapter
usbserial: USB Serial support registered for Nokia CA-42 V2 Adapter
usbcore: registered new interface driver ftdi_sio
usbserial: USB Serial support registered for FTDI USB Serial Device

only `usb0` https://sirherobrine23.com.br/airoha_en7523/docs/src/commit/6eb233224f1010df72b511aa7d9f2362059aaf4a/en7523/en7562ct.log#L316-L336
Owner

@Sirherobrine23 On the EN7523 there is only one AIROHA_SCU_SERDES_USB. I'm not sure we have working SCU muxing driver yet.

This is the only available usb3 phy:

usb_phy@1fad0000 {
	compatible = "econet,ecnt-usb_phy";
	reg = <0x1fad0000 0x1fff>;		
};

I think the an7581 driver should work for it.

Here should the usb3 mac be:

xhci_hcd: xhci@1fab0000 {
	compatible = "econet,ecnt-xhci";
	reg = <0x1fab0000 0x3e00>,      //MAC base address
		<0x1fab3e00 0x100>;     //IPPC base address
	interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
};

The mtk driver should be working.

I think we have a hub with 2 ports and one port is usb3 capable. I can only find one mac. This could be the same setup as the EN751221. The AN7581 has 2 USB3 capable ports and for that you need 2 XHCI MACs.

https://github.com/merbanan/openwrt/blob/457075f8435d67b175c9bf92f05b1d1bcf67fd1b/target/linux/econet/dts/en751221.dtsi#L161

That is how my version of the usb support for the EN751221 looks like. Pretty sure the EN7523 should be similar but with some AN7581 logic sprinkled in it.

@Sirherobrine23 On the EN7523 there is only one AIROHA_SCU_SERDES_USB. I'm not sure we have working SCU muxing driver yet. This is the only available usb3 phy: usb_phy@1fad0000 { compatible = "econet,ecnt-usb_phy"; reg = <0x1fad0000 0x1fff>; }; I think the an7581 driver should work for it. Here should the usb3 mac be: xhci_hcd: xhci@1fab0000 { compatible = "econet,ecnt-xhci"; reg = <0x1fab0000 0x3e00>, //MAC base address <0x1fab3e00 0x100>; //IPPC base address interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; }; The mtk driver should be working. I think we have a hub with 2 ports and one port is usb3 capable. I can only find one mac. This could be the same setup as the EN751221. The AN7581 has 2 USB3 capable ports and for that you need 2 XHCI MACs. https://github.com/merbanan/openwrt/blob/457075f8435d67b175c9bf92f05b1d1bcf67fd1b/target/linux/econet/dts/en751221.dtsi#L161 That is how my version of the usb support for the EN751221 looks like. Pretty sure the EN7523 should be similar but with some AN7581 logic sprinkled in it.
Author
Owner

xx230v

root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.12.68 xhci-hcd xHCI Host Controller
Bus 002 Device 001: ID 1d6b:0003 Linux 6.12.68 xhci-hcd xHCI Host Controller
xx230v ``` root@OpenWrt:~# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux 6.12.68 xhci-hcd xHCI Host Controller Bus 002 Device 001: ID 1d6b:0003 Linux 6.12.68 xhci-hcd xHCI Host Controller ```
Author
Owner
[  156.195311] usb 1-1: new high-speed USB device number 2 using xhci-mtk

root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.12.68 xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 346d:5678 USB Disk 20
Bus 002 Device 001: ID 1d6b:0003 Linux 6.12.68 xhci-hcd xHCI Host Controller
``` [ 156.195311] usb 1-1: new high-speed USB device number 2 using xhci-mtk root@OpenWrt:~# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux 6.12.68 xhci-hcd xHCI Host Controller Bus 001 Device 002: ID 346d:5678 USB Disk 20 Bus 002 Device 001: ID 1d6b:0003 Linux 6.12.68 xhci-hcd xHCI Host Controller ```
Author
Owner

@lilmayofuksu you have usb 3.0 device?

@lilmayofuksu you have usb 3.0 device?
Member

@lilmayofuksu you have usb 3.0 device?

Yes, see: ("SuperSpeed")

/var # usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
add_ep parameters: rh_port_num 1, dev_speed 5, is_in 1, isTT 0, ep_type 2, maxp 1024, interval 1, burst 15, mult 0, ep 0xd3570880, ep_ctx 0xe7cfc080
[DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[DBG] BOFFSET: 0, BREPEAT: 0
add_ep parameters: rh_port_num 1, dev_speed 5, is_in 0, isTT 0, ep_type 2, maxp 1024, interval 1, burst 15, mult 0, ep 0xd35708b0, ep_ctx 0xe7cfc0a0
[DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1
[DBG] BOFFSET: 0, BREPEAT: 0
usb-storage 2-1:1.0: USB Mass Storage device detected
scsi host1: usb-storage 2-1:1.0
scsi 1:0:0:0: Direct-Access     TO Exter nal USB 3.0      0204 PQ: 0 ANSI: 6
sd 1:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 47 00 00 08
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 1:0:0:0: [sda] Attached SCSI disk
> @lilmayofuksu you have usb 3.0 device? Yes, see: ("SuperSpeed") ``` /var # usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd add_ep parameters: rh_port_num 1, dev_speed 5, is_in 1, isTT 0, ep_type 2, maxp 1024, interval 1, burst 15, mult 0, ep 0xd3570880, ep_ctx 0xe7cfc080 [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1 [DBG] BOFFSET: 0, BREPEAT: 0 add_ep parameters: rh_port_num 1, dev_speed 5, is_in 0, isTT 0, ep_type 2, maxp 1024, interval 1, burst 15, mult 0, ep 0xd35708b0, ep_ctx 0xe7cfc0a0 [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1 [DBG] BOFFSET: 0, BREPEAT: 0 usb-storage 2-1:1.0: USB Mass Storage device detected scsi host1: usb-storage 2-1:1.0 scsi 1:0:0:0: Direct-Access TO Exter nal USB 3.0 0204 PQ: 0 ANSI: 6 sd 1:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB) sd 1:0:0:0: [sda] Write Protect is off sd 1:0:0:0: [sda] Mode Sense: 47 00 00 08 sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sd 1:0:0:0: [sda] Attached SCSI disk ```
Author
Owner

I just enabled the modules to mount USB storage, in addition to enabling exFAT and FAT

I just enabled the modules to mount USB storage, in addition to enabling exFAT and FAT
Author
Owner

@lilmayofuksu try new build

root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.12.68 xhci-hcd xHCI Host Controller
Bus 002 Device 001: ID 1d6b:0003 Linux 6.12.68 xhci-hcd xHCI Host Controller
root@OpenWrt:~# [   56.306433] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[   56.468660] usb-storage 1-1:1.0: USB Mass Storage device detected
[   56.475826] scsi host0: usb-storage 1-1:1.0
[   57.516940] scsi 0:0:0:0: Direct-Access     VendorC  ProductCode      3.20 PQ: 0 ANSI: 4
[   57.527953] sd 0:0:0:0: [sda] 245760000 512-byte logical blocks: (126 GB/117 GiB)
[   57.535802] sd 0:0:0:0: [sda] Write Protect is off
[   57.541093] sd 0:0:0:0: [sda] No Caching mode page found
[   57.546455] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   57.606681]  sda: sda1 sda2
[   57.609910] sd 0:0:0:0: [sda] Attached SCSI removable disk

root@OpenWrt:~# lsblk
NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda         8:0    1 117.2G  0 disk 
├─sda1      8:1    1 117.2G  0 part 
└─sda2      8:2    1    32M  0 part 
mtdblock0  31:0    0   512K  1 disk 
mtdblock1  31:1    0   640K  1 disk 
mtdblock2  31:2    0   1.6M  1 disk 
mtdblock3  31:3    0    16M  0 disk 
mtdblock4  31:4    0     0B  1 disk 
mtdblock5  31:5    0  99.4M  0 disk 
mtdblock6  31:6    0  83.5M  0 disk 
mtdblock7  31:7    0    11M  1 disk 
@lilmayofuksu try new build ``` root@OpenWrt:~# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux 6.12.68 xhci-hcd xHCI Host Controller Bus 002 Device 001: ID 1d6b:0003 Linux 6.12.68 xhci-hcd xHCI Host Controller root@OpenWrt:~# [ 56.306433] usb 1-1: new high-speed USB device number 2 using xhci-mtk [ 56.468660] usb-storage 1-1:1.0: USB Mass Storage device detected [ 56.475826] scsi host0: usb-storage 1-1:1.0 [ 57.516940] scsi 0:0:0:0: Direct-Access VendorC ProductCode 3.20 PQ: 0 ANSI: 4 [ 57.527953] sd 0:0:0:0: [sda] 245760000 512-byte logical blocks: (126 GB/117 GiB) [ 57.535802] sd 0:0:0:0: [sda] Write Protect is off [ 57.541093] sd 0:0:0:0: [sda] No Caching mode page found [ 57.546455] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 57.606681] sda: sda1 sda2 [ 57.609910] sd 0:0:0:0: [sda] Attached SCSI removable disk root@OpenWrt:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 1 117.2G 0 disk ├─sda1 8:1 1 117.2G 0 part └─sda2 8:2 1 32M 0 part mtdblock0 31:0 0 512K 1 disk mtdblock1 31:1 0 640K 1 disk mtdblock2 31:2 0 1.6M 1 disk mtdblock3 31:3 0 16M 0 disk mtdblock4 31:4 0 0B 1 disk mtdblock5 31:5 0 99.4M 0 disk mtdblock6 31:6 0 83.5M 0 disk mtdblock7 31:7 0 11M 1 disk ```
Member

Yeah, usb storage seems to work this time. I can't test my USB 3.0 device though as the drive is formatted to NTFS
I also no longer get the weird errors in dmesg

(no idea why NPU failed to get version)

[    1.664648] spi-nand spi0.0: Micron SPI NAND was found.
[    1.669943] spi-nand spi0.0: 512 MiB, block size: 256 KiB, page size: 4096, OOB size: 256
[    1.691089] 4 fixed-partitions partitions found on MTD device spi0.0
[    1.697536] Creating 4 MTD partitions on "spi0.0":
[    1.702344] 0x000000000000-0x000000080000 : "boot"
[    1.708768] 0x000000080000-0x0000000c0000 : "romfile"
[    1.715230] 0x0000000c0000-0x0000004c0000 : "misc"
[    1.728586] 0x0000004c0000-0x0000054c0000 : "firmware"
[    2.035703] no rootfs found after FIT image in "firmware"
[    2.118165] airoha-npu 1e900000.npu: L2C sram size: 0x00
[    2.123498] airoha-npu 1e900000.npu: FPGA Stage: 1
[    2.638720] airoha-npu 1e900000.npu: Cannot get NPU Version
[C1][C2]core freq at 333000000 Hz
[C2]timer_init: Timer clk[is run ing at 125 Mhz
[ 2]core2_mai
 2.658193] airoha-usb-phy 1fad0000.phy: Frequency not detected, using default SR calibration.
[C2]timer_isr  Store Value 1e903000, val[    2.675082] xhci-mtk 1fab0000.usb: xHCI Host Controller
[    2.680380] xhci-mtk 1fab0000.usb: new USB bus registered, assigned bus number 1
[    2.691757] xhci-mtk 1fab0000.usb: hcc params 0x01400f98 hci version 0x110 quirks 0x0000000000200010
[    2.700981] xhci-mtk 1fab0000.usb: irq 47, io mem 0x1fab0000
[    2.706820] xhci-mtk 1fab0000.usb: xHCI Host Controller
[    2.712067] xhci-mtk 1fab0000.usb: new USB bus registered, assigned bus number 2
[    2.719517] xhci-mtk 1fab0000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    2.727297] hub 1-0:1.0: USB hub found
[    2.731207] hub 1-0:1.0: 2 ports detected
[    2.735941] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.744708] hub 2-0:1.0: USB hub found
[    2.748593] hub 2-0:1.0: 1 port detected
[    2.753287] i2c-mt7621 1fbf8000.i2c0: clock 100 kHz
[    2.771559] en7523-audio 1fbe2200.audio-controller: mtk_afe_combine_sub_dai(), num of dai 2
[    2.780400] debugfs: Directory '1fbe2200.audio-controller' with parent 'en7523-i2s' already present!
[    2.790463] NET: Registered PF_INET6 protocol family
[    2.796808] Segment Routing with IPv6
[    2.800518] In-situ OAM (IOAM) with IPv6
[    2.804511] NET: Registered PF_PACKET protocol family
[    2.809827] 8021q: 802.1Q VLAN Support v1.8
[    2.814125] Registering SWP/SWPB emulation handler
[    2.906154] mt7530-mmio 1fb58000.switch: configuring for fixed/internal link mode
[    2.913767] mt7530-mmio 1fb58000.switch lan1 (uninitialized): PHY [mt7530-0:09] driver [Airoha EN7523 PHY] (irq=POLL)
[    2.925262] mt7530-mmio 1fb58000.switch lan2 (uninitialized): PHY [mt7530-0:0a] driver [Airoha EN7523 PHY] (irq=POLL)
[    2.936789] mt7530-mmio 1fb58000.switch lan3 (uninitialized): PHY [mt7530-0:0b] driver [Airoha EN7523 PHY] (irq=POLL)
[    2.948249] mt7530-mmio 1fb58000.switch wan (uninitialized): PHY [mt7530-0:0c] driver [Airoha EN7523 PHY] (irq=POLL)
[    2.959665] airoha_eth 1fb50000.ethernet eth0: entered promiscuous mode
...
...
[   86.015735] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[   86.367820] usb-storage 1-1:1.0: USB Mass Storage device detected
[   86.375604] scsi host0: usb-storage 1-1:1.0
[   87.490339] scsi 0:0:0:0: Direct-Access     General  UDisk            5.00 PQ: 0 ANSI: 2
[   87.500498] sd 0:0:0:0: [sda] 3891200 512-byte logical blocks: (1.99 GB/1.86 GiB)
[   87.508286] sd 0:0:0:0: [sda] Write Protect is off
[   87.513307] sd 0:0:0:0: [sda] No Caching mode page found
[   87.518705] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   88.294422]  sda: sda1
[   88.297128] sd 0:0:0:0: [sda] Attached SCSI removable disk
...
...
[  130.566539] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[  130.588489] usb-storage 2-1:1.0: USB Mass Storage device detected
[  130.595533] scsi host0: usb-storage 2-1:1.0
[  131.750695] scsi 0:0:0:0: Direct-Access     TO Exter nal USB 3.0      0204 PQ: 0 ANSI: 6
[  131.782873] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[  131.790803] sd 0:0:0:0: [sda] Write Protect is off
[  131.796006] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  131.857546]  sda: sda1
[  131.860197] sd 0:0:0:0: [sda] Attached SCSI disk
Yeah, usb storage seems to work this time. I can't test my USB 3.0 device though as the drive is formatted to NTFS I also no longer get the weird errors in dmesg (no idea why NPU failed to get version) ``` [ 1.664648] spi-nand spi0.0: Micron SPI NAND was found. [ 1.669943] spi-nand spi0.0: 512 MiB, block size: 256 KiB, page size: 4096, OOB size: 256 [ 1.691089] 4 fixed-partitions partitions found on MTD device spi0.0 [ 1.697536] Creating 4 MTD partitions on "spi0.0": [ 1.702344] 0x000000000000-0x000000080000 : "boot" [ 1.708768] 0x000000080000-0x0000000c0000 : "romfile" [ 1.715230] 0x0000000c0000-0x0000004c0000 : "misc" [ 1.728586] 0x0000004c0000-0x0000054c0000 : "firmware" [ 2.035703] no rootfs found after FIT image in "firmware" [ 2.118165] airoha-npu 1e900000.npu: L2C sram size: 0x00 [ 2.123498] airoha-npu 1e900000.npu: FPGA Stage: 1 [ 2.638720] airoha-npu 1e900000.npu: Cannot get NPU Version [C1][C2]core freq at 333000000 Hz [C2]timer_init: Timer clk[is run ing at 125 Mhz [ 2]core2_mai 2.658193] airoha-usb-phy 1fad0000.phy: Frequency not detected, using default SR calibration. [C2]timer_isr Store Value 1e903000, val[ 2.675082] xhci-mtk 1fab0000.usb: xHCI Host Controller [ 2.680380] xhci-mtk 1fab0000.usb: new USB bus registered, assigned bus number 1 [ 2.691757] xhci-mtk 1fab0000.usb: hcc params 0x01400f98 hci version 0x110 quirks 0x0000000000200010 [ 2.700981] xhci-mtk 1fab0000.usb: irq 47, io mem 0x1fab0000 [ 2.706820] xhci-mtk 1fab0000.usb: xHCI Host Controller [ 2.712067] xhci-mtk 1fab0000.usb: new USB bus registered, assigned bus number 2 [ 2.719517] xhci-mtk 1fab0000.usb: Host supports USB 3.2 Enhanced SuperSpeed [ 2.727297] hub 1-0:1.0: USB hub found [ 2.731207] hub 1-0:1.0: 2 ports detected [ 2.735941] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.744708] hub 2-0:1.0: USB hub found [ 2.748593] hub 2-0:1.0: 1 port detected [ 2.753287] i2c-mt7621 1fbf8000.i2c0: clock 100 kHz [ 2.771559] en7523-audio 1fbe2200.audio-controller: mtk_afe_combine_sub_dai(), num of dai 2 [ 2.780400] debugfs: Directory '1fbe2200.audio-controller' with parent 'en7523-i2s' already present! [ 2.790463] NET: Registered PF_INET6 protocol family [ 2.796808] Segment Routing with IPv6 [ 2.800518] In-situ OAM (IOAM) with IPv6 [ 2.804511] NET: Registered PF_PACKET protocol family [ 2.809827] 8021q: 802.1Q VLAN Support v1.8 [ 2.814125] Registering SWP/SWPB emulation handler [ 2.906154] mt7530-mmio 1fb58000.switch: configuring for fixed/internal link mode [ 2.913767] mt7530-mmio 1fb58000.switch lan1 (uninitialized): PHY [mt7530-0:09] driver [Airoha EN7523 PHY] (irq=POLL) [ 2.925262] mt7530-mmio 1fb58000.switch lan2 (uninitialized): PHY [mt7530-0:0a] driver [Airoha EN7523 PHY] (irq=POLL) [ 2.936789] mt7530-mmio 1fb58000.switch lan3 (uninitialized): PHY [mt7530-0:0b] driver [Airoha EN7523 PHY] (irq=POLL) [ 2.948249] mt7530-mmio 1fb58000.switch wan (uninitialized): PHY [mt7530-0:0c] driver [Airoha EN7523 PHY] (irq=POLL) [ 2.959665] airoha_eth 1fb50000.ethernet eth0: entered promiscuous mode ... ... [ 86.015735] usb 1-1: new high-speed USB device number 2 using xhci-mtk [ 86.367820] usb-storage 1-1:1.0: USB Mass Storage device detected [ 86.375604] scsi host0: usb-storage 1-1:1.0 [ 87.490339] scsi 0:0:0:0: Direct-Access General UDisk 5.00 PQ: 0 ANSI: 2 [ 87.500498] sd 0:0:0:0: [sda] 3891200 512-byte logical blocks: (1.99 GB/1.86 GiB) [ 87.508286] sd 0:0:0:0: [sda] Write Protect is off [ 87.513307] sd 0:0:0:0: [sda] No Caching mode page found [ 87.518705] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 88.294422] sda: sda1 [ 88.297128] sd 0:0:0:0: [sda] Attached SCSI removable disk ... ... [ 130.566539] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk [ 130.588489] usb-storage 2-1:1.0: USB Mass Storage device detected [ 130.595533] scsi host0: usb-storage 2-1:1.0 [ 131.750695] scsi 0:0:0:0: Direct-Access TO Exter nal USB 3.0 0204 PQ: 0 ANSI: 6 [ 131.782873] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB) [ 131.790803] sd 0:0:0:0: [sda] Write Protect is off [ 131.796006] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 131.857546] sda: sda1 [ 131.860197] sd 0:0:0:0: [sda] Attached SCSI disk ```
Author
Owner

okay, need add ntfs support

okay, need add ntfs support
Member

Not relevant here, but I noticed that the max speed for wifi 5ghz seems to cap at 1200mbps with the openwrt fw, however I can get 2400mbps with the stock fw

Not relevant here, but I noticed that the max speed for wifi 5ghz seems to cap at 1200mbps with the openwrt fw, however I can get 2400mbps with the stock fw
Owner

1200mbps

Throughput or link rate ?

> 1200mbps Throughput or link rate ?
Author
Owner

okay, need add ntfs support

try new build

Not relevant here, but I noticed that the max speed for wifi 5ghz seems to cap at 1200mbps with the openwrt fw, however I can get 2400mbps with the stock fw

we haven't yet activated the NPU for the mt7915/mt7916, so we don't have wireless acceleration

> okay, need add ntfs support try new build > Not relevant here, but I noticed that the max speed for wifi 5ghz seems to cap at 1200mbps with the openwrt fw, however I can get 2400mbps with the stock fw we haven't yet activated the `NPU` for the mt7915/mt7916, so we don't have wireless acceleration
Member

1200mbps

Throughput or link rate ?

Link rate

> > 1200mbps > > Throughput or link rate ? Link rate
Author
Owner

1200mbps

Throughput or link rate ?

I have the same problem with my laptop.

> > 1200mbps > > Throughput or link rate ? I have the same problem with my laptop.
Author
Owner
[  453.452353] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[  453.605442] usb-storage 1-1:1.0: USB Mass Storage device detected
[  453.613075] scsi host0: usb-storage 1-1:1.0
[  454.632959] scsi 0:0:0:0: Direct-Access     VendorC  ProductCode      3.20 PQ: 0 ANSI: 4
[  454.643970] sd 0:0:0:0: [sda] 245760000 512-byte logical blocks: (126 GB/117 GiB)
[  454.651910] sd 0:0:0:0: [sda] Write Protect is off
[  454.657632] sd 0:0:0:0: [sda] No Caching mode page found
[  454.663027] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  454.722519]  sda: sda1 sda2
[  454.725696] sd 0:0:0:0: [sda] Attached SCSI removable disk

root@OpenWrt:~# lsusb -tv
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/2p, 480M
    ID 1d6b:0002  
    |__ Port 001: Dev 002, If 0, Class=[unknown], Driver=usb-storage, 480M
        ID 346d:5678  
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/1p, 20000M/x2
    ID 1d6b:0003  
root@OpenWrt:~# lsblk
NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda         8:0    1 117.2G  0 disk 
├─sda1      8:1    1 117.2G  0 part 
└─sda2      8:2    1    32M  0 part 
mtdblock0  31:0    0   512K  1 disk 
mtdblock1  31:1    0   640K  1 disk 
mtdblock2  31:2    0   1.6M  1 disk 
mtdblock3  31:3    0    16M  0 disk 
mtdblock4  31:4    0     0B  1 disk 
mtdblock5  31:5    0  99.4M  0 disk 
mtdblock6  31:6    0  83.5M  0 disk 
mtdblock7  31:7    0    11M  1 disk 
``` [ 453.452353] usb 1-1: new high-speed USB device number 2 using xhci-mtk [ 453.605442] usb-storage 1-1:1.0: USB Mass Storage device detected [ 453.613075] scsi host0: usb-storage 1-1:1.0 [ 454.632959] scsi 0:0:0:0: Direct-Access VendorC ProductCode 3.20 PQ: 0 ANSI: 4 [ 454.643970] sd 0:0:0:0: [sda] 245760000 512-byte logical blocks: (126 GB/117 GiB) [ 454.651910] sd 0:0:0:0: [sda] Write Protect is off [ 454.657632] sd 0:0:0:0: [sda] No Caching mode page found [ 454.663027] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 454.722519] sda: sda1 sda2 [ 454.725696] sd 0:0:0:0: [sda] Attached SCSI removable disk root@OpenWrt:~# lsusb -tv /: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/2p, 480M ID 1d6b:0002 |__ Port 001: Dev 002, If 0, Class=[unknown], Driver=usb-storage, 480M ID 346d:5678 /: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/1p, 20000M/x2 ID 1d6b:0003 root@OpenWrt:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 1 117.2G 0 disk ├─sda1 8:1 1 117.2G 0 part └─sda2 8:2 1 32M 0 part mtdblock0 31:0 0 512K 1 disk mtdblock1 31:1 0 640K 1 disk mtdblock2 31:2 0 1.6M 1 disk mtdblock3 31:3 0 16M 0 disk mtdblock4 31:4 0 0B 1 disk mtdblock5 31:5 0 99.4M 0 disk mtdblock6 31:6 0 83.5M 0 disk mtdblock7 31:7 0 11M 1 disk ```
Member

Seems to work fine.

root@OpenWrt:~/a# lsusb -t
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/2p, 480M
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/1p, 20000M/x2
    |__ Port 001: Dev 004, If 0, Class=[unknown], Driver=usb-storage, 5000M/x2

root@OpenWrt:~/a# lsblk
NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda         8:0    0 298.1G  0 disk
└─sda1      8:1    0 298.1G  0 part /root/a
mtdblock0  31:0    0   512K  1 disk
mtdblock1  31:1    0   256K  1 disk
mtdblock2  31:2    0     4M  1 disk
mtdblock3  31:3    0    80M  0 disk
Seems to work fine. ``` root@OpenWrt:~/a# lsusb -t /: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/2p, 480M /: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/1p, 20000M/x2 |__ Port 001: Dev 004, If 0, Class=[unknown], Driver=usb-storage, 5000M/x2 root@OpenWrt:~/a# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 298.1G 0 disk └─sda1 8:1 0 298.1G 0 part /root/a mtdblock0 31:0 0 512K 1 disk mtdblock1 31:1 0 256K 1 disk mtdblock2 31:2 0 4M 1 disk mtdblock3 31:3 0 80M 0 disk ```
Owner

If you only get 1134mbit I think only one antenna is in use for some reason.

If you only get 1134mbit I think only one antenna is in use for some reason.
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: airoha_en7523/kernel#24