2024-03-26 Android8.1 px30 WI-FI 模块rtl8821cu调试记录

news2024/12/26 6:04:22

一、kernel 驱动,我这里使用v5.8.1.2_35530.20191025_COEX20191014-4141这个版本,下载这个版本的驱动可以参考下面的文章。

2021-04-12 RK3288 Android7.1 USB wifi bluetooth 模块RTL8821CU 调试记录_rk平台rtl8821cu蓝牙调试-CSDN博客

二、Makefile文件需要修改下面的内容。

三、加载wifi模块ko文件,ifconfig wlan0 up后发现执行wpa_cli -i wlan0 scan是会提示Failed to connect to non-global ctrl_ifname: wlan0  error: Connection refused的。insmod模块的时候会打印一些串口信息,有一些error,但是不影响。

$ [   78.786022] type=1400 audit(1711362065.983:75): avc: denied { write } for pid=1753 comm="grep" path="pipe:[28664]" dev="pipefs" ino=28664 scontext=u:r:shell:s0 tcontext=u:r:adbd:s0 tclass=fifo_file permissive=1
[   78.786071] type=1400 audit(1711362080.473:76): avc: denied { module_load } for pid=1764 comm="insmod" path="/vendor/lib/modules/wifi/8821cu.ko" dev="mmcblk1p13" ino=219 scontext=u:r:su:s0 tcontext=u:object_r:vendor_file:s0 tclass=system permissive=1
[   78.843111] RTW: module init start
[   78.843159] RTW: rtl8821cu v5.8.1.2_35530.20191025_COEX20191014-4141
[   78.843167] RTW: build time: Mar 25 2024 18:14:42
[   78.843174] RTW: rtl8821cu BT-Coex version = COEX20191014-4141
[   78.843232] RTW: rtw_inetaddr_notifier_register
[   78.843357] RTW:
[   78.843357] usb_endpoint_descriptor(0):
[   78.843377] RTW: bLength=7
[   78.843384] RTW: bDescriptorType=5
[   78.843390] RTW: bEndpointAddress=84
[   78.843396] RTW: wMaxPacketSize=512
[   78.843402] RTW: bInterval=0
[   78.843409] RTW: RT_usb_endpoint_is_bulk_in = 4
[   78.843415] RTW:
[   78.843415] usb_endpoint_descriptor(1):
[   78.843423] RTW: bLength=7
[   78.843429] RTW: bDescriptorType=5
[   78.843435] RTW: bEndpointAddress=5
[   78.843441] RTW: wMaxPacketSize=512
[   78.843447] RTW: bInterval=0
[   78.843453] RTW: RT_usb_endpoint_is_bulk_out = 5
[   78.843459] RTW:
[   78.843459] usb_endpoint_descriptor(2):
[   78.843468] RTW: bLength=7
[   78.843474] RTW: bDescriptorType=5
[   78.843480] RTW: bEndpointAddress=6
[   78.843491] RTW: wMaxPacketSize=512
[   78.843497] RTW: bInterval=0
[   78.843503] RTW: RT_usb_endpoint_is_bulk_out = 6
[   78.843509] RTW:
[   78.843509] usb_endpoint_descriptor(3):
[   78.843517] RTW: bLength=7
[   78.843523] RTW: bDescriptorType=5
[   78.843529] RTW: bEndpointAddress=87
[   78.843535] RTW: wMaxPacketSize=64
[   78.843541] RTW: bInterval=3
[   78.843548] RTW: RT_usb_endpoint_is_int_in = 7, Interval = 3
[   78.843554] RTW:
[   78.843554] usb_endpoint_descriptor(4):
[   78.843562] RTW: bLength=7
[   78.843568] RTW: bDescriptorType=5
[   78.843574] RTW: bEndpointAddress=8
[   78.843580] RTW: wMaxPacketSize=512
[   78.843586] RTW: bInterval=0
[   78.843592] RTW: RT_usb_endpoint_is_bulk_out = 8
[   78.843599] RTW: nr_endpoint=5, in_num=2, out_num=3
[   78.843599]
[   78.843608] RTW: USB_SPEED_HIGH
[   78.843615] RTW: CHIP TYPE: RTL8821C
[   78.843670] RTW: loadparam, Select P2P interface: iface_id:1
[   78.843721] RTW: [HALMAC]11692M
[   78.843721] HALMAC_MAJOR_VER = 1
[   78.843721] HALMAC_PROTOTYPE_VER = 6
[   78.843721] HALMAC_MINOR_VER = 5
[   78.843721] HALMAC_PATCH_VER = 5
[   78.844995] RTW: Chip Version Info: CHIP_8821C_U5_1T1R_RomVer(4)
[   78.845014] RTW: config_chip_out_EP OutEpQueueSel(0x07), OutEpNumber(3)
[   78.845246] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.103557] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_LOGICAL_EFUSE
[   79.103719] RTW: HW EFUSE
[   79.103768] RTW: 0x000: 29 81 00 BC  09 00 21 00  6E 04 A4 34  10 00 30 0B
[   79.103941] RTW: 0x010: FF FF FF FF  FF FF FF FF  FF FF FF 02  FF FF FF FF
[   79.104108] RTW: 0x020: FF FF 26 26  26 28 27 27  27 26 26 26  25 25 25 26
[   79.104289] RTW: 0x030: 02 FF FF FF  FF FF 00 FF  FF FF 23 22  22 22 23 23
[   79.104473] RTW: 0x040: 2B 2B 2C 2C  2C 02 FF FF  FF FF FF FF  FF FF FF FF
[   79.104657] RTW: 0x050: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.104841] RTW: 0x060: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.105011] RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.105176] RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.105413] RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.105686] RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.105852] RTW: 0x0B0: FF FF FF FF  FF FF FF FF  7F 29 20 00  FF FF FF FF
[   79.106042] RTW: 0x0C0: FF 21 00 41  00 00 00 00  00 FF 22 FF  FF FF FF FF
[   79.106224] RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.106404] RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.106588] RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.106754] RTW: 0x100: DA 0B 20 C8  E3 46 02 14  F5 F9 D4 E6  74 09 03 52
[   79.106938] RTW: 0x110: 65 61 6C 74  65 6B 0E 03  38 30 32 2E  31 31 61 63
[   79.107147] RTW: 0x120: 20 4E 49 43  08 03 31 32  33 34 35 36  FF FF FF FF
[   79.107377] RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.107556] RTW: 0x140: FF FF FF FF  00 00 31 0F  FF FF FF FF  FF FF FF FF
[   79.107740] RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.107923] RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.108107] RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.108273] RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.108498] RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.108737] RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.108929] RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.109114] RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.109280] RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.109497] RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.109682] RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.109874] RTW: EEPROM ID = 0x8129
[   79.109895] RTW: EEPROM Version = 0
[   79.109918] RTW: EEPROM Regulatory=0x01
[   79.109937] RTW: EEPROM Board Type=0x01
[   79.110299] RTW: EEPROM Enable BT-coex, ant_num=1
[   79.110346] RTW: hal_com_config_channel_plan chplan:0x7F
[   79.110366] RTW: EEPROM crystal_cap=0x29
[   79.110385] RTW: EEPROM ThermalMeter=0x20
[   79.110404] RTW: EEPROM Customer ID=0x00
[   79.110423] RTW: EEPROM SupportRemoteWakeup=0
[   79.110441] RTW: EEPROM rfe_type=0x22
[   79.110462] RTW: EEPROM PAType_2G is 0x0, ExternalPA_2G = 0
[   79.110483] RTW: EEPROM PAType_5G is 0x0, external_pa_5g = 0
[   79.110504] RTW: EEPROM LNAType_2G is 0x0, ExternalLNA_2G = 0
[   79.110525] RTW: EEPROM LNAType_5G is 0x0, external_lna_5g = 0
[   79.110557] RTW: EEPROM TypeGPA = 0x0
[   79.110576] RTW: EEPROM TypeAPA = 0x0
[   79.110595] RTW: EEPROM TypeGLNA = 0x0
[   79.110613] RTW: EEPROM TypeALNA = 0x0
[   79.110632] RTW: EEPROM tx_bbswing_24G =0x00
[   79.110650] RTW: EEPROM tx_bbswing_5G =0x00
[   79.110669] RTW: EEPROM USB Switch=0
[   79.110689] RTW: EEPROM VID = 0x0BDA, PID = 0xC820
[   79.124038] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[   79.125487] RTW: SetHwReg: bMacPwrCtrlOn=1
[   79.230933] RTW: _rtw_hal_set_fw_rsvd_page((null)) Get [ NOR ] RsvdPageNUm  ==>
[   79.231000] RTW: LocPsPoll: 4
[   79.231031] RTW: LocNullData: 5
[   79.231098] RTW: LocQosNull: 6
[   79.231123] RTW: LocBTQosNull: 7
[   79.231152] RTW: _rtw_hal_set_fw_rsvd_page((null)) Get [ NOR ] RsvdPageNUm <==
[   79.246539] RTW: WARN [HALMAC][WARN]the H2C ver. does not match halmac
[   79.248029] RTW: rtl8821c_fw_dl Download Firmware from array success
[   79.248077] RTW: NIC FW Version:24 SubVersion:5
[   79.250410] RTW: SetHwReg: bMacPwrCtrlOn=0
[   79.259289] RTW: hal_read_mac_hidden_rpt OK! (1, 13ms), fwdl:1, id:0x19
[   79.259351] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.259657] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.259716] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.260027] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.260082] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.260401] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.260455] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.260776] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.260814] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.261151] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.261206] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.261530] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.261583] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.261901] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.261953] RTW: rtw_hal_read_chip_info in 416 ms
[   79.262079] RTW: init_channel_set((null)) ChannelPlan ID:0x7f, ch num:37
[   79.262170] RTW: [RF_PATH] IC's RF PATH:RF_1T1R, max_tx_cnt:1
[   79.262239] RTW: [RF_PATH] PG's trx_path_bmp:0x00, max_tx_cnt:0
[   79.262282] RTW: [RF_PATH] Registry's RF PATH:UNKNOWN
[   79.262318] RTW: [RF_PATH] HALDATA's trx_path_bmp:0x11, max_tx_cnt:1
[   79.262337] RTW: [RF_PATH] HALDATA's RF PATH:RF_1T1R
[   79.262356] RTW: [RF_PATH] NumTotalRFPath:1
[   79.262382] RTW: rtw_hal_rfpath_init trx_path_bmp:0x11(RF_1T1R), NumTotalRFPath:1, max_tx_cnt:1
[   79.262406] RTW: [TRX_Nss] HALSPEC - tx_nss :1, rx_nss:1
[   79.262441] RTW: [TRX_Nss] Registry - tx_nss :0, rx_nss:0
[   79.262462] RTW: [TRX_Nss] HALDATA - tx_nss :1, rx_nss:1
[   79.262484] RTW: rtw_hal_trxnss_init tx_nss:1, rx_nss:1
[   79.262765] RTW: init_mlme_default_rate_set: support CCK
[   79.262802] RTW: init_mlme_default_rate_set: support OFDM
[   79.263474] RTW: NR_RECVBUFF: 8
[   79.263516] RTW: MAX_RECVBUF_SZ: 32768
[   79.263545] RTW: NR_PREALLOC_RECV_SKB: 8
[   79.263924] RTW: rtw_alloc_macid((null)) if1, mac_addr:ff:ff:ff:ff:ff:ff macid:1
[   79.263976] RTW: rtw_init_pwrctrl_priv: IPS_mode=1, LPS_mode=2, LPS_level=0
[   79.264020] RTW: IQK FW offload:enable
[   79.264053] RTW: init_phydm_cominfo: Fv=1 Cv=4
[   79.264166] RTW: [A] 2G G00 CCK-1T base:45 from IC_DEF
[   79.264207] RTW: [A] 2G G01 CCK-1T base:45 from IC_DEF
[   79.264232] RTW: [A] 2G G02 CCK-1T base:45 from IC_DEF
[   79.264254] RTW: [A] 2G G03 CCK-1T base:45 from IC_DEF
[   79.264277] RTW: [A] 2G G04 CCK-1T base:45 from IC_DEF
[   79.264299] RTW: [A] 2G G05 CCK-1T base:45 from IC_DEF
[   79.264323] RTW: [A] 2G G00 BW40-1S base:45 from IC_DEF
[   79.264358] RTW: [A] 2G G01 BW40-1S base:45 from IC_DEF
[   79.264381] RTW: [A] 2G G02 BW40-1S base:45 from IC_DEF
[   79.264403] RTW: [A] 2G G03 BW40-1S base:45 from IC_DEF
[   79.264426] RTW: [A] 2G G04 BW40-1S base:45 from IC_DEF
[   79.264505] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[   79.264625] RTW: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array!
[   79.264690] RTW: default power by rate loaded
[   79.264723] RTW: phy_txpwr_by_rate_chk_for_path_dup duplicate 2.4G [A] to [B]
[   79.264765] RTW: can't get autopm:
[   79.264813] RTW: rtw_macaddr_cfg mac addr:14:f5:f9:d4:e6:74
[   79.264841] RTW: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[   79.264914] RTW: loadparam, Select P2P interface: iface_id:1
[   79.265259] RTW: init_mlme_default_rate_set: support CCK
[   79.265404] RTW: init_mlme_default_rate_set: support OFDM
[   79.266100] RTW: NR_RECVBUFF: 8
[   79.266145] RTW: MAX_RECVBUF_SZ: 32768
[   79.266176] RTW: NR_PREALLOC_RECV_SKB: 8
[   79.266573] RTW: rtw_alloc_macid((null)) if2, mac_addr:ff:ff:ff:ff:ff:ff macid:1
[   79.266643] RTW: rtw_drv_add_vir_if if2 mac_addr : 16:f5:f9:d4:e6:74
[   79.266734] RTW: rtw_cfg80211_preinit_wiphy iface_id:0- don't set p2p capability
[   79.266784] RTW: rtw_wiphy_alloc(phy0)
[   79.266810] RTW: rtw_wdev_alloc(padapter=ffffff80097a9000)
[   79.266877] RTW: rtw_wiphy_alloc(phy1)
[   79.266901] RTW: rtw_wdev_alloc(padapter=ffffff8009fd2000)
[   79.266928] RTW: rtw_wiphy_register(phy0)
[   79.266952] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[   79.269623] RTW: rtw_reg_notifier: NL80211_REGDOM_SET_BY_CORE
[   79.271565] RTW: rtw_ndev_init(wlan0) if1 mac_addr=14:f5:f9:d4:e6:74
[   79.272529] RTW: rtw_ndev_notifier_call(wlan0) state:16
[   79.277351] RTW: rtw_ndev_notifier_call(wlan0) state:5
[   79.277516] RTW: rtw_wiphy_register(phy1)
[   79.277545] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[   79.278307] RTW: rtw_reg_notifier: NL80211_REGDOM_SET_BY_CORE
[   79.279670] RTW: rtw_ndev_init(p2p0) if2 mac_addr=16:f5:f9:d4:e6:74
[   79.280558] RTW: rtw_ndev_notifier_call(p2p0) state:16
[   79.286214] RTW: rtw_ndev_notifier_call(p2p0) state:5
[   79.287311] usbcore: registered new interface driver rtl8821cu
[   79.287353] RTW: module init ret=0
[  123.964271] healthd: battery l=100 v=160 t=18.8 h=2 st=5 c=0 fc=1500000 chg=a
[  183.964244] healthd: battery l=100 v=160 t=18.8 h=2 st=5 c=0 fc=1500000 chg=a

四、上一步wpa_cli -i wlan0 scan会提示Failed to connect to non-global ctrl_ifname: wlan0  error: Connection refused,Android 平台需要先使用 svc wifi enable打开wifi。这样就可以使用 wpa_cli -i wlan0 scan wpa_cli -i wlan0 scan_results扫描到wifi设备。

五、到这里在Android settings里面就会自动的打开WiFi了。

六、使用v5.14.2-32-gbab9939fd.20220913_COEX20210319-5555版本有下面的提示,略微有点不一样,执行svc wifi enable后还是可以工作。

七、参考文章:

PX30 android8.1添加RTL8723DU_config_resume_in_workqueue-CSDN博客

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1547312.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

基于nodejs+vue考试信息报名系统python-flask-django-php

本文拟采用nodejs技术和express 搭建系统框架&#xff0c;后台使用MySQL数据库进行信息管理&#xff0c;设计开发的考试信息报名系统。通过调研和分析&#xff0c;系统拥有管理员、学生和教师三个角色&#xff0c;主要具备登录注册、个人信息修改、对系统首页、个人中心、学生管…

在项目中数据库如何优化?【MySQL主从复制(创建一个从节点复制备份数据)】【数据库读写分离ShardingJDBC(主库写,从库读)】

MySQL主从复制 MySQL主从复制介绍MySQL复制过程分成三步&#xff1a;1). MySQL master 将数据变更写入二进制日志( binary log)2). slave将master的binary log拷贝到它的中继日志&#xff08;relay log&#xff09;3). slave重做中继日志中的事件&#xff0c;将数据变更反映它自…

JS等比压缩图片方法

AI给出来的答案&#xff0c;AI真的能改变世界&#xff0c;以后程序员这个职业真的有可能不存在了。 function compressImage(image, callback) {// 创建一个 canvas 元素const canvas document.createElement(canvas);canvas.width 48;canvas.height 48;// 获取 canvas 的绘…

【学海拾贝】| 关于Python的 PEP 484规则了解:类型提示,函数注解

在实际的工厂在实际的工程代码的开发中&#xff0c;常常可以碰到这种情况 上网查了之后发现这是PEP484规则~ 文章目录 1 Type Hints for Variables&#xff08;变量在这里插入图片描述2 Function Annotations&#xff08;函数注解&#xff09;3 Type Checking Tools&#xff08…

【比特币】比特币的奥秘、禁令的深层逻辑与风云变幻

导语&#xff1a; 比特币(Bitcoin)&#xff0c;这个充满神秘色彩的数字货币&#xff0c;自诞生以来便成为各界瞩目的焦点。它背后所蕴含的Mining机制、禁令背后的深层逻辑以及市场的风云变幻&#xff0c;都让人欲罢不能。今天&#xff0c;我们将深入挖掘比特币的每一个角落&…

视觉图像处理与FPGA实现第七次作业——生成512深度、8位宽度的双端口存储器IP,并分析IP包资料构成

一、生成IP 打开Vivado&#xff0c;点击IP Catalog&#xff0c;搜索memory&#xff0c;双击对应IP核 调整参数为——512深度、8位宽度&#xff0c;双端口&#xff0c;然后一直默认点击OK 二、分析IP构成 查看IP细节&#xff0c;查看设计资源和仿真资源 双击打开文件 设计文件…

代码随想录 图论-并查集

代码随想录 (programmercarl.com) 寻找图中是否存在路径这道题中的类可看做并查集的标准类 目录 1971.寻找图中是否存在路径 684.冗余连接 685.冗余连接II 1971.寻找图中是否存在路径 1971. 寻找图中是否存在路径 已解答 简单 相关标签 相关企业 有一个具有 n 个顶…

NOIP,CSP-J,CSP-S——输入输出进阶

一、输入scanf 格式&#xff1a; int a,b; scanf("%d%d", &a, &b) 类似于 int a,b; cin>>a,b; 双引号里面的两个“%d”表示要输入两个int类型的变量的占位符。然后是要输入的变量名&#xff0c;前面要加“&”&#xff0c;如果有多个变量则用…

SystemUI修改系统状态栏右边的ICON背景颜色

文件在 status_bar.xml 。 如下&#xff1a; <com.android.keyguard.AlphaOptimizedLinearLayout android:id"id/system_icon_area"android:layout_width"0dp"android:layout_height"match_parent"android:background"#ff0000"andr…

我的 Android 性能书上架了!内附书籍介绍

大家好&#xff0c;我是拭心。 很高兴地向大家宣布&#xff0c;我的新书《Android 性能优化入门与实战》上架了&#xff01; 点击下面的小程序进行购买&#xff1a; 封面介绍 这本书的封面来自之前的投票文章 # 投票啦&#xff01;最新安卓进阶书籍封面由你来定&#xff0c;从四…

基于SIR模型的疫情发展趋势预测算法matlab仿真

目录 1.程序功能描述 2.测试软件版本以及运行结果展示 3.核心程序 4.本算法原理 5.完整程序 1.程序功能描述 基于SIR模型的疫情发展趋势预测算法.对病例增长进行SIR模型拟合分析&#xff0c;并采用模型参数拟合结果对疫情防控力度进行比较。整体思路为采用SIR微分方程模型…

小迪安全48WEB 攻防-通用漏洞Py 反序列化链构造自动审计 bandit魔术方法

#知识点&#xff1a; 1、Python-反序列化函数使用 2、Python-反序列化魔术方法 3、Python-反序列化 POP 链构造&#xff08;payload构造&#xff09; 4、Python-自动化审计 bandit 使用 #前置知识&#xff1a; 函数使用&#xff1a; pickle.dump(obj, file) : 将对…

pdfjs 实现给定pdf数据切片高亮并且跳转

pdfjs 实现给定pdf数据切片高亮并且跳转 pdfjs 类的改写基本展示需求的实现高亮功能的实现查询功能分析切片数据处理 pdfjs 类的改写 需求&#xff1a; pdf文件被解析成多个分段&#xff0c;每个分段需要能够展示&#xff0c;并且通过点击分段实现源pdf内容的高亮以及跳转需求…

深度学习十大算法之图神经网络(GNN)

一、图神经网络的基础 图的基本概念 图是数学中的一个基本概念&#xff0c;用于表示事物间复杂的关系。在图论中&#xff0c;图通常被定义为一组节点&#xff08;或称为顶点&#xff09;以及连接这些节点的边。每个边可以有方向&#xff0c;称为有向边&#xff0c;或者没有方向…

分布式系统面试全集通第一篇(dubbo+redis+zookeeper----分布式+CAP+BASE+分布式事务+分布式锁)

目录 分布式系统面试全集通第一篇什么是分布式?和微服务的区别什么是分布式分布式与微服务的区别 什么是CAP?为什么不能三者同时拥有分区容错性一致性可用性 Base理论了解吗基本可用软状态最终一致性 什么是分布式事务分布式事务有哪些常见的实现方案?2PC&#xff08;Two Ph…

【javaWeb 第六篇】后端-Tomcat服务器

Tomcat服务器基础入门 TomCat服务器Tomcat使用 TomCat服务器 web服务器是一个软件程序&#xff0c;对HTTP协议的操作进行封装&#xff0c;使得程序员不必直接对协议进行操作&#xff0c;让web开发更加的便捷 如何手动部署 如何手动部署一个web应用到Tomcat服务器中&#xff…

Element-Plus 实现动态渲染图标教程

&#x1f31f; 前言 欢迎来到我的技术小宇宙&#xff01;&#x1f30c; 这里不仅是我记录技术点滴的后花园&#xff0c;也是我分享学习心得和项目经验的乐园。&#x1f4da; 无论你是技术小白还是资深大牛&#xff0c;这里总有一些内容能触动你的好奇心。&#x1f50d; &#x…

网络编程(1)写一个简单的UDP网络通信程序【回显服务器】,并且实现一个简单的翻译功能

使用 JAVA 自带的api 目录 一、回显服务器 UdpEchoServer 服务器代码 客户端代码 二、翻译功能 UdpDictServer 在UdpDictServer里重写process方法 一、回显服务器 UdpEchoServer /*** 回显服务器* 写一个简单的UDP的客户端/服务器 通信的程序* 这个程序没有啥业务逻辑&am…

Windows版 CUDA安装

目录 一、说明 二、安装工具下载 三、CUDA安装 四、cuDNN配置 五、验证安装是否成功 一、说明 windows10 版本安装 CUDA &#xff0c;首先需要下载两个安装包 CUDA toolkitcuDNN 官方教程 CUDA&#xff1a;https://docs.nvidia.com/cuda/cuda-installation-guide-micro…

1.4.1 着色器

着色器&#xff08;Shader&#xff09;是运行在GPU上的小程序&#xff0c;这些小程序为图形渲染管线的某个特定部分而运行&#xff0c;从基本意义上来说&#xff0c;着色器只是一种把输入转化为输出的程序。 一、着色器类QOpenGLShaderProgram QOpenGLShaderProgram是Qt中对着…