From d2d3ac016308705c62bd9fceccf4e63fe2b3f375 Mon Sep 17 00:00:00 2001 From: Awin Huang Date: Mon, 24 Nov 2025 14:48:57 +0800 Subject: [PATCH] vault backup: 2025-11-24 14:48:57 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Affected files: 30. 工作 - Logitech/project - Lanky.md --- 30. 工作 - Logitech/project - Lanky.md | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/30. 工作 - Logitech/project - Lanky.md b/30. 工作 - Logitech/project - Lanky.md index 7afd53a..2c622a7 100644 --- a/30. 工作 - Logitech/project - Lanky.md +++ b/30. 工作 - Logitech/project - Lanky.md @@ -12,4 +12,32 @@ description: 3. USB-C connect to PC, Power on the DUT,DUT will into fastboot mode. 4. Run "turbox_flash_fastboot.bat" from the firmware folder. +## Replace custom build `.ko` driver +### 版號確認 +用 `uname -a` 查看目前 kernel 版本。 +用 `modinfo tcxxx_pcie_eth.ko` 檢查 vermagic 版本。 +ko 版本與 kernel 版本必須一致。 +``` +1|KM1:/ # uname -r +5.15.78-qki-consolidate-android13-8-gf5cf1391b188 +``` + +``` +KM1:/ # modinfo /storage/emulated/0/Documents/tc956x_pcie_eth.ko +filename: /storage/emulated/0/Documents/tc956x_pcie_eth.ko +license: GPL v2 +author: Toshiba Electronic Devices & Storage Corporation +description: TC956X PCI Express Ethernet Network Driver +srcversion: 5F197F74D301D4F6ADC6A72 +depends: +name: tc956x_pcie_eth +vermagic: 5.15.167-g94a5a0e4b3fa SMP preempt mod_unload modversions aarch64 +``` + +### Unload old driver +#### Old driver is a module +用 `lsmod | grep tc956x` 確認原本的 module 已安裝。 +用 rmmod 移除原本的 module:`sudo rmmod tc956x_pcie_eth` + + # 參考來源 \ No newline at end of file