您尚未登录。

#1 2021-04-08 09:57:13

chen05_20
会员
注册时间: 2021-04-02
帖子: 123

linux有没有可用的驱动sim卡的内核模块

机器thinkpad x1 nano
当初买5g版本就是希望能够随时随地地写代码,手机是累赘,开热点发热,有时候没电了还要吃笔记本的电,现在安装了arch后,大部分硬件功能都差不多解决了,所以我想集中解决这个问题了,有没有大佬搞过这个,能否提供一些思路?有什么半成品的源码就更好了。。。

离线

#2 2021-04-08 10:07:23

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,368
个人网站

Re: linux有没有可用的驱动sim卡的内核模块

这个东西不是默认就可以用了吗?你遇到了什么问题么?

离线

#3 2021-04-08 10:34:08

chen05_20
会员
注册时间: 2021-04-02
帖子: 123

Re: linux有没有可用的驱动sim卡的内核模块

依云 说:

这个东西不是默认就可以用了吗?你遇到了什么问题么?

额,已经有了么?意思直接下软件包就能用了?wiki上我没找到额,麻烦发我个链接看下

离线

#4 2021-04-08 10:46:41

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,368
个人网站

Re: linux有没有可用的驱动sim卡的内核模块

应该直接拨号联网就行了。networkmanager 好像有支持。wvdial 的话要自己找对应的配置文件。

离线

#5 2021-04-09 09:38:01

chen05_20
会员
注册时间: 2021-04-02
帖子: 123

Re: linux有没有可用的驱动sim卡的内核模块

依云 说:

应该直接拨号联网就行了。networkmanager 好像有支持。wvdial 的话要自己找对应的配置文件。

到win下看了下,5g模块用的是高通x55基带,到5.12才支持,5.12还不是stable版本,我现在可以通过什么方式升级到5.12呢?

离线

#6 2021-04-09 11:28:13

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,368
个人网站

Re: linux有没有可用的驱动sim卡的内核模块

你可以从 archlinuxcn 安装 linux-mainline 内核。注意安装尚未发布的内核可能给你带来严重的 bug,必要的话请先备份数据。

离线

#7 2021-04-10 12:56:18

chen05_20
会员
注册时间: 2021-04-02
帖子: 123

Re: linux有没有可用的驱动sim卡的内核模块

依云 说:

你可以从 archlinuxcn 安装 linux-mainline 内核。注意安装尚未发布的内核可能给你带来严重的 bug,必要的话请先备份数据。

升级了之后lspci并没有发现新的设备,以下是/dev目录5.11->5.12到变化

2d1
< ./hidraw4
3a3
> ./hidraw1
6c6
< ./hidraw1
---
> ./hidraw0
10d9
< ./v4l/by-id/usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-index0
11a11
> ./v4l/by-id/usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-video-index0
13,14d12
< ./v4l/by-path/pci-0000:00:14.0-usb-0:4:1.2-video-index0
< ./v4l/by-path/pci-0000:00:14.0-usb-0:4:1.0-video-index1
15a14
> ./v4l/by-path/pci-0000:00:14.0-usb-0:4:1.2-video-index0
16a16
> ./v4l/by-path/pci-0000:00:14.0-usb-0:4:1.0-video-index1
24c24
< ./hidraw0
---
> ./kvm
27d26
< ./kvm
46d44
< ./acpi_thermal_rel
47a46
> ./acpi_thermal_rel
96,100d94
< ./disk/by-label
< ./disk/by-label/Windows
< ./disk/by-label/WinRE_DRV
< ./disk/by-label/SYSTEM
< ./disk/by-label/开发
105,113c99,103
< ./disk/by-uuid
< ./disk/by-uuid/043016493016425A
< ./disk/by-uuid/D622176922174E3D
< ./disk/by-uuid/4731e92c-3799-41bc-bebf-8320937869e4
< ./disk/by-uuid/e1478136-d457-436e-ba5c-65ea0bec6207
< ./disk/by-uuid/2C13-4F66
< ./disk/by-uuid/5ec58e12-e37a-4c68-be00-8c642ee8108b
< ./disk/by-uuid/C4CE8E0ACE8DF4C8
< ./disk/by-uuid/20336339-3210-4e03-a887-b99e6d593563
---
> ./disk/by-label
> ./disk/by-label/SYSTEM
> ./disk/by-label/开发
> ./disk/by-label/WinRE_DRV
> ./disk/by-label/Windows
115d104
< ./disk/by-partuuid/217ff873-5b00-46cb-b7bb-4a74dbd40395
117d105
< ./disk/by-partuuid/4eb77656-34ec-4544-ac75-50b3fe083d01
118a107
> ./disk/by-partuuid/1e9a9c72-e0f5-4fd7-9053-91130477159c
121d109
< ./disk/by-partuuid/1e9a9c72-e0f5-4fd7-9053-91130477159c
122a111,112
> ./disk/by-partuuid/4eb77656-34ec-4544-ac75-50b3fe083d01
> ./disk/by-partuuid/217ff873-5b00-46cb-b7bb-4a74dbd40395
123a114,122
> ./disk/by-uuid
> ./disk/by-uuid/4731e92c-3799-41bc-bebf-8320937869e4
> ./disk/by-uuid/e1478136-d457-436e-ba5c-65ea0bec6207
> ./disk/by-uuid/5ec58e12-e37a-4c68-be00-8c642ee8108b
> ./disk/by-uuid/2C13-4F66
> ./disk/by-uuid/C4CE8E0ACE8DF4C8
> ./disk/by-uuid/D622176922174E3D
> ./disk/by-uuid/043016493016425A
> ./disk/by-uuid/20336339-3210-4e03-a887-b99e6d593563
125,126d123
< ./disk/by-path/pci-0000:04:00.0-nvme-1-part3
< ./disk/by-path/pci-0000:04:00.0-nvme-1-part5
128a126
> ./disk/by-path/pci-0000:04:00.0-nvme-1-part8
131d128
< ./disk/by-path/pci-0000:04:00.0-nvme-1-part8
132a130,131
> ./disk/by-path/pci-0000:04:00.0-nvme-1-part5
> ./disk/by-path/pci-0000:04:00.0-nvme-1-part3
136,139d134
< ./disk/by-id/nvme-eui.001b444a468dc7b0-part3
< ./disk/by-id/nvme-WDC_PC_SN530_SDBPMPZ-512G-1001_20387T452710-part5
< ./disk/by-id/nvme-eui.001b444a468dc7b0-part5
< ./disk/by-id/nvme-WDC_PC_SN530_SDBPMPZ-512G-1001_20387T452710-part3
144,147d138
< ./disk/by-id/nvme-WDC_PC_SN530_SDBPMPZ-512G-1001_20387T452710-part1
< ./disk/by-id/nvme-eui.001b444a468dc7b0-part1
< ./disk/by-id/nvme-WDC_PC_SN530_SDBPMPZ-512G-1001_20387T452710-part2
< ./disk/by-id/nvme-eui.001b444a468dc7b0-part2
149a141,144
> ./disk/by-id/nvme-eui.001b444a468dc7b0-part1
> ./disk/by-id/nvme-WDC_PC_SN530_SDBPMPZ-512G-1001_20387T452710-part1
> ./disk/by-id/nvme-eui.001b444a468dc7b0-part2
> ./disk/by-id/nvme-WDC_PC_SN530_SDBPMPZ-512G-1001_20387T452710-part2
152c147,150
< ./disk/by-id/nvme-WDC_PC_SN530_SDBPMPZ-512G-1001_20387T452710-part6
---
> ./disk/by-id/nvme-eui.001b444a468dc7b0-part5
> ./disk/by-id/nvme-WDC_PC_SN530_SDBPMPZ-512G-1001_20387T452710-part5
> ./disk/by-id/nvme-WDC_PC_SN530_SDBPMPZ-512G-1001_20387T452710-part3
> ./disk/by-id/nvme-eui.001b444a468dc7b0-part3
153a152
> ./disk/by-id/nvme-WDC_PC_SN530_SDBPMPZ-512G-1001_20387T452710-part6
157d155
< ./block/259:3
159d156
< ./block/259:5
160a158
> ./block/259:8
163d160
< ./block/259:8
164a162,163
> ./block/259:5
> ./block/259:3
189,191d187
< ./drm_dp_aux3
< ./drm_dp_aux2
< ./drm_dp_aux1
193,196c189
< ./char/13:77
< ./char/241:4
< ./char/13:35
< ./char/241:1
---
> ./char/13:75
197a191,193
> ./char/13:33
> ./char/241:0
> ./char/241:1
199,203c195,196
< ./char/13:87
< ./char/241:3
< ./char/13:86
< ./char/13:84
< ./char/13:80
---
> ./char/13:85
> ./char/13:79
206c199,203
< ./char/13:85
---
> ./char/13:84
> ./char/13:80
> ./char/13:81
> ./char/241:3
> ./char/116:13
209c206,207
< ./char/116:13
---
> ./char/116:11
> ./char/116:8
212d209
< ./char/116:2
215a213
> ./char/116:2
217,219d214
< ./char/116:11
< ./char/116:8
< ./char/189:261
220a216
> ./char/189:261
224,226d219
< ./char/13:34
< ./char/13:33
< ./char/13:74
228,235c221
< ./char/13:32
< ./char/13:72
< ./char/13:76
< ./char/241:0
< ./char/13:75
< ./char/236:1
< ./char/81:2
< ./char/81:1
---
> ./char/13:74
236a223
> ./char/81:2
237a225,226
> ./char/81:1
> ./char/236:1
238a228,229
> ./char/13:32
> ./char/13:72
241a233
> ./char/10:232
244d235
< ./char/10:232
248d238
< ./char/7:6
250c240
< ./char/7:69
---
> ./char/7:6
251a242
> ./char/7:69
259d249
< ./char/7:66
260a251
> ./char/7:66
264d254
< ./char/189:258
265a256
> ./char/189:258
266a258
> ./char/189:129
269,270d260
< ./char/189:129
< ./char/10:123
271a262
> ./char/10:123
272a264
> ./char/4:17
320d311
< ./char/4:32
321a313
> ./char/4:32
337d328
< ./char/4:17
378d368
< ./char/203:3
379a370
> ./char/203:3
382a374,375
> ./char/4:69
> ./char/4:71
385c378
< ./char/4:71
---
> ./char/4:94
387d379
< ./char/4:69
390c382
< ./char/4:94
---
> ./char/4:91
394d385
< ./char/4:91
402d392
< ./char/13:67
407a398
> ./char/4:77
410c401,402
< ./char/4:77
---
> ./char/4:74
> ./char/13:67
413d404
< ./char/4:74
431a423,425
> ./drm_dp_aux3
> ./drm_dp_aux2
> ./drm_dp_aux1
435d428
< ./dri/by-path/pci-0000:00:02.0-render
436a430
> ./dri/by-path/pci-0000:00:02.0-render
438a433
> ./cpu_dma_latency
449d443
< ./cpu_dma_latency
452,455c446,447
< ./input/mouse3
< ./input/event13
< ./input/event23
< ./input/event22
---
> ./input/mouse1
> ./input/event11
459a452
> ./input/event17
460a454
> ./input/event15
465d458
< ./input/by-id/usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-event-if02
467,472c460
< ./input/event12
< ./input/event11
< ./input/mouse2
< ./input/mouse1
< ./input/mouse0
< ./input/mice
---
> ./input/by-id/usb-Chicony_Electronics_Co._Ltd._Integrated_Camera_0001-event-if02
474a463,464
> ./input/mouse0
> ./input/mice
479d468
< ./input/by-path/pci-0000:00:14.0-usb-0:6.3:1.0-event-kbd
481,482c470,472
< ./input/by-path/pci-0000:00:15.0-platform-i2c_designware.0-mouse
< ./input/by-path/pci-0000:00:15.0-platform-i2c_designware.0-event-mouse
---
> ./input/by-path/pci-0000:00:14.0-usb-0:6.3:1.0-event-kbd
> ./input/by-path/pci-0000:00:14.0-usb-0:4:1.0-event
> ./input/by-path/pci-0000:00:14.0-usb-0:4:1.2-event
485,486d474
< ./input/by-path/pci-0000:00:14.0-usb-0:4:1.2-event
< ./input/by-path/pci-0000:00:14.0-usb-0:4:1.0-event

好像也没有加入相关到设备进来,现在还有啥往前推进到思路么?

离线

#8 2021-04-10 13:21:03

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,368
个人网站

Re: linux有没有可用的驱动sim卡的内核模块

你那个设备是接在哪里的,去那边先看看有没有识别到?

离线

#9 2021-04-10 23:41:02

chen05_20
会员
注册时间: 2021-04-02
帖子: 123

Re: linux有没有可用的驱动sim卡的内核模块

依云 说:

你那个设备是接在哪里的,去那边先看看有没有识别到?

应该是pci上的吧
11
22

lspci
00:00.0 Host bridge: Intel Corporation Device 9a12 (rev 01)
00:02.0 VGA compatible controller: Intel Corporation Device 9a40 (rev 01)
00:04.0 Signal processing controller: Intel Corporation Device 9a03 (rev 01)
00:06.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller (rev 01)
00:07.0 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #1 (rev 01)
00:07.2 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #2 (rev 01)
00:08.0 System peripheral: Intel Corporation Device 9a11 (rev 01)
00:0a.0 Signal processing controller: Intel Corporation Device 9a0d (rev 01)
00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01)
00:0d.2 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 (rev 01)
00:0d.3 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #1 (rev 01)
00:12.0 Serial controller: Intel Corporation Tiger Lake-LP Integrated Sensor Hub (rev 20)
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
00:15.3 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #3 (rev 20)
00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
00:1c.0 PCI bridge: Intel Corporation Device a0b8 (rev 20)
00:1f.0 ISA bridge: Intel Corporation Device a087 (rev 20)
00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
04:00.0 Non-Volatile memory controller: Sandisk Corp Device 5008 (rev 01)
08:00.0 Wireless controller [0d40]: Foxconn International, Inc. Device e0ab

最近编辑记录 chen05_20 (2021-04-10 23:46:08)

离线

#10 2021-04-11 13:34:31

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,368
个人网站

Re: linux有没有可用的驱动sim卡的内核模块

看来是没识别到呢……

离线

页脚