FUjr / luci-app-4gmodem

2 stars 1 forks source link

bug反馈 #1

Open yaoyue12548 opened 9 months ago

yaoyue12548 commented 9 months ago

编译出来插件页面会无限刷新页面

FUjr commented 9 months ago

你好,你可以尝试在/etc/config/luci-app-4gmodem 下 将option usb_port '/sys/devices/platform/101c0000.ehci/usb1/1-2' 修改为正确的usb端口 如果需要更多帮助,请贴上模组型号信息,并在访问网页后 附上下面命令的返回 lsusb -t lsusb ls /sys/class/usb/ cat /tmp/cpe*


From: yaoyue12548 @.> Sent: January 26, 2024 18:36 To: FUjr/luci-app-4gmodem @.> Cc: Subscribed @.***> Subject: [FUjr/luci-app-4gmodem] bug反馈 (Issue #1)

编译出来插件页面会无限刷新页面

― Reply to this email directly, view it on GitHubhttps://github.com/FUjr/luci-app-4gmodem/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM3JWC7GNVTUCF2HWAYCEHTYQOBMPAVCNFSM6AAAAABCL6BHF6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDCOJYGE2TMNQ. You are receiving this because you are subscribed to this thread.

yaoyue12548 commented 9 months ago

root@XiGuaPi:~# lsusb -t /: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M | Port 1: Dev 2, If 0, Class=, Driver=option, 5000M | Port 1: Dev 2, If 1, Class=, Driver=option, 5000M | Port 1: Dev 2, If 2, Class=, Driver=option, 5000M | Port 1: Dev 2, If 3, Class=, Driver=option, 5000M |__ Port 1: Dev 2, If 4, Class=, Driver=qmi_wwan_q, 5000M /: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M | Port 1: Dev 2, If 0, Class=, Driver=btusb, 480M | Port 1: Dev 2, If 1, Class=, Driver=btusb, 480M |__ Port 1: Dev 2, If 2, Class=, Driver=, 480M root@XiGuaPi:~# lsusb Bus 007 Device 001: ID 1d6b:0002 Linux 5.15.138 xhci-hcd xHCI Host Controller Bus 002 Device 001: ID 1d6b:0002 Linux 5.15.138 ehci_hcd EHCI Host Controller Bus 004 Device 001: ID 1d6b:0001 Linux 5.15.138 ohci_hcd Generic Platform OHCI controller Bus 001 Device 002: ID 13d3:3563 MediaTek Inc. Wireless_Device Bus 006 Device 001: ID 1d6b:0003 Linux 5.15.138 xhci-hcd xHCI Host Controller Bus 008 Device 002: ID 2c7c:0800 Quectel RM500Q-GL Bus 008 Device 001: ID 1d6b:0003 Linux 5.15.138 xhci-hcd xHCI Host Controller Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.138 ehci_hcd EHCI Host Controller Bus 003 Device 001: ID 1d6b:0001 Linux 5.15.138 ohci_hcd Generic Platform OHCI controller Bus 005 Device 001: ID 1d6b:0002 Linux 5.15.138 xhci-hcd xHCI Host Controller root@XiGuaPi:~# ls /sys/class/usb/ ls: /sys/class/usb/: No such file or directory root@XiGuaPi:~# cat /tmp/cpe cat: can't open '/tmp/cpe': No such file or directory root@XiGuaPi:~#

yaoyue12548 commented 9 months ago

改为正确端口后,也会一直刷新页面

FUjr commented 9 months ago

你好,这个主要适配的是4g模组,rm500q暂时没有适配。这是屎山,如果你感兴趣的话我可以大致告诉你 首先可能要改/usr/libexec/modem/get_vendor地45行附近 增加一个case,将tty_driver_if 改成正确的 第二就是/usr/libexec/modem/Quectel 里面的几个函数需要增加5G信息的获取和处理


From: yaoyue12548 @.> Sent: January 26, 2024 19:06 To: FUjr/luci-app-4gmodem @.> Cc: FUjr @.>; Comment @.> Subject: Re: [FUjr/luci-app-4gmodem] bug反馈 (Issue #1)

@.:# lsusb -t /: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M | Port 1: Dev 2, If 0, Class=, Driver=option, 5000M | Port 1: Dev 2, If 1, Class=, Driver=option, 5000M | Port 1: Dev 2, If 2, Class=, Driver=option, 5000M | Port 1: Dev 2, If 3, Class=, Driver=option, 5000M |__ Port 1: Dev 2, If 4, Class=, Driver=qmi_wwan_q, 5000M /: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M | Port 1: Dev 2, If 0, Class=, Driver=btusb, 480M | Port 1: Dev 2, If 1, Class=, Driver=btusb, 480M |__ Port 1: Dev 2, If 2, Class=, Driver=, 480M @.:# lsusb Bus 007 Device 001: ID 1d6b:0002 Linux 5.15.138 xhci-hcd xHCI Host Controller Bus 002 Device 001: ID 1d6b:0002 Linux 5.15.138 ehci_hcd EHCI Host Controller Bus 004 Device 001: ID 1d6b:0001 Linux 5.15.138 ohci_hcd Generic Platform OHCI controller Bus 001 Device 002: ID 13d3:3563 MediaTek Inc. Wireless_Device Bus 006 Device 001: ID 1d6b:0003 Linux 5.15.138 xhci-hcd xHCI Host Controller Bus 008 Device 002: ID 2c7c:0800 Quectel RM500Q-GL Bus 008 Device 001: ID 1d6b:0003 Linux 5.15.138 xhci-hcd xHCI Host Controller Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.138 ehci_hcd EHCI Host Controller Bus 003 Device 001: ID 1d6b:0001 Linux 5.15.138 ohci_hcd Generic Platform OHCI controller Bus 005 Device 001: ID 1d6b:0002 Linux 5.15.138 xhci-hcd xHCI Host Controller @.:# ls /sys/class/usb/ ls: /sys/class/usb/: No such file or directory @.:# cat /tmp/cpe cat: can't open '/tmp/cpe': No such file or directory @.***:~#

― Reply to this email directly, view it on GitHubhttps://github.com/FUjr/luci-app-4gmodem/issues/1#issuecomment-1911897705, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM3JWC2CS5EG7N6WC35CMHTYQOE3ZAVCNFSM6AAAAABCL6BHF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJRHA4TONZQGU. You are receiving this because you commented.Message ID: @.***>