thinkpad x1 carbon 7th无线网卡和显卡驱动问题

笔记本/便携移动设备,手机平板等软硬件
回复
michael0929
帖子: 7
注册时间: 2020-04-21 0:28
系统: ubuntu 18.04.4 LTS

thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#1

帖子 michael0929 » 2020-04-21 0:49

各位大佬:

我的笔记本为thinkpad x1 carbon 7th,装有win 10和Ubuntu 18.04.4 LTS双系统。在Win 10系统下一切正常,但是Ubuntu系统内找不到显卡和无线网卡驱动,有没有大神知道如何解决?谢谢!
头像
astolia
论坛版主
帖子: 6398
注册时间: 2008-09-18 13:11

Re: thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#2

帖子 astolia » 2020-04-21 11:24

我查了一下这款的配置。显卡是Intel UHD Graphics 620,网卡是Intel Wireless-AC 9560,18.04.4应该是能够直接支持的,不需要安装额外驱动。
你是这两个硬件用不起还是怎么的?
michael0929
帖子: 7
注册时间: 2020-04-21 0:28
系统: ubuntu 18.04.4 LTS

Re: thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#3

帖子 michael0929 » 2020-04-21 17:16

astolia 写了: 2020-04-21 11:24 我查了一下这款的配置。显卡是Intel UHD Graphics 620,网卡是Intel Wireless-AC 9560,18.04.4应该是能够直接支持的,不需要安装额外驱动。
你是这两个硬件用不起还是怎么的?
谢谢大神,显卡和无线网卡是上面两个型号。
无线网卡问题是找不到热点,显示未发现Wi-Fi适配器,另外,在软件和更新的附加驱动里显示“Intel Corporation:未知,该设备没有工作”;
显卡的问题是无法调节亮度和分辨率,目前分辨率只能通过修改/etc/default/grub文件进行手动调整。
头像
astolia
论坛版主
帖子: 6398
注册时间: 2008-09-18 13:11

Re: thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#4

帖子 astolia » 2020-04-21 23:16

关于网卡,先执行rfkill list,看看里面无线部分有没有blocked。有的话把结果发上来,没有的话再执行sudo lshw -C network,并把结果发上来
显卡这个,你运行一下 dmesg | egrep "i915|drm",把结果发上来
michael0929
帖子: 7
注册时间: 2020-04-21 0:28
系统: ubuntu 18.04.4 LTS

Re: thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#5

帖子 michael0929 » 2020-04-22 10:23

astolia 写了: 2020-04-21 23:16 关于网卡,先执行rfkill list,看看里面无线部分有没有blocked。有的话把结果发上来,没有的话再执行sudo lshw -C network,并把结果发上来
显卡这个,你运行一下 dmesg | egrep "i915|drm",把结果发上来
执行rfkill list的结果:
1: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: yes
Hard blocked: no
2: tpacpi_wwan_sw: Wireless WAN
Soft blocked: no
Hard blocked: no

执行sudo lshw -C network的结果:
*-network:0
description: Network controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 14.3
bus info: pci@0000:00:14.3
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list
configuration: driver=iwlwifi latency=0
resources: irq:16 memory:ea338000-ea33bfff
*-network:1
description: Ethernet interface
product: Intel Corporation
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: enp0s31f6
version: 00
serial: 98:fa:9b:db:b8:bd
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.5-4 latency=0 link=no multicast=yes port=twisted pair
resources: irq:147 memory:ea300000-ea31ffff
*-network
description: Ethernet interface
physical id: 2
logical name: enp0s20f0u4
serial: b6:60:29:a6:a8:73
capabilities: ethernet physical
configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.119 link=yes multicast=yes

执行 dmesg | egrep "i915|drm"的结果:
[ 3.496461] snd_hda_intel 0000:00:1f.3: failed to add i915 component master (-19)
[ 3.606613] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
[ 3.606753] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
msw19
帖子: 1
注册时间: 2020-04-22 20:33
系统: x1c+ubuntu20.04

Re: thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#6

帖子 msw19 » 2020-04-22 20:39

没有驱动直接用啊,我就是直接用的
michael0929
帖子: 7
注册时间: 2020-04-21 0:28
系统: ubuntu 18.04.4 LTS

Re: thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#7

帖子 michael0929 » 2020-04-23 9:26

msw19 写了: 2020-04-22 20:39 没有驱动直接用啊,我就是直接用的
用也是能用,就是不方便 。因为X1没有有线网口,上网只能用USB无线网卡或手机桥接联网,另外没法调整屏幕亮度,也不是个事
michael0929
帖子: 7
注册时间: 2020-04-21 0:28
系统: ubuntu 18.04.4 LTS

Re: thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#8

帖子 michael0929 » 2020-04-23 9:30

msw19 写了: 2020-04-22 20:39 没有驱动直接用啊,我就是直接用的
另外,我看你装的是Ubuntu 20.04,体验如何?显卡和网卡驱动也装不上吗?
头像
astolia
论坛版主
帖子: 6398
注册时间: 2008-09-18 13:11

Re: thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#9

帖子 astolia » 2020-04-23 10:35

lshw的输出结果显示网卡驱动iwlwifi已经加载了,但却没有生成网络设备。运行下面的命令看看是什么原因

代码: 全选

lsmod | grep iwl
dmesg | grep iwl
lspci -nnk | grep 8086 -A3
或者你先试一下20.04的,内核新一点点,也许对它们的支持会好一些
michael0929
帖子: 7
注册时间: 2020-04-21 0:28
系统: ubuntu 18.04.4 LTS

Re: thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#10

帖子 michael0929 » 2020-04-24 9:55

astolia 写了: 2020-04-23 10:35 lshw的输出结果显示网卡驱动iwlwifi已经加载了,但却没有生成网络设备。运行下面的命令看看是什么原因

代码: 全选

lsmod | grep iwl
dmesg | grep iwl
lspci -nnk | grep 8086 -A3
或者你先试一下20.04的,内核新一点点,也许对它们的支持会好一些
好的,谢谢热心版主!

lsmod | grep iwl结果:
iwlmvm 368640 0
mac80211 786432 1 iwlmvm
iwlwifi 290816 1 iwlmvm
cfg80211 634880 4 wl,iwlmvm,iwlwifi,mac80211

dmesg | grep iwl结果:
[ 3.415265] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[ 3.430345] iwlwifi 0000:00:14.3: loaded firmware version 34.3125811985.0 op_mode iwlmvm
[ 3.474250] iwlwifi 0000:00:14.3: Detected Intel(R) Dual Band Wireless AC 9560, REV=0x354
[ 8.673161] iwlwifi 0000:00:14.3: Failed to load firmware chunk!
[ 8.673165] iwlwifi 0000:00:14.3: iwlwifi transaction failed, dumping registers
[ 8.673166] iwlwifi 0000:00:14.3: iwlwifi device config registers:
[ 8.673195] iwlwifi 0000:00:14.3: 00000000: 02f08086 00100406 02800000 00800000 ea338004 00000000 00000000 00000000
[ 8.673197] iwlwifi 0000:00:14.3: 00000020: 00000000 00000000 00000000 00308086 00000000 000000c8 00000000 000001ff
[ 8.673197] iwlwifi 0000:00:14.3: iwlwifi device memory mapped registers:
[ 8.673228] iwlwifi 0000:00:14.3: 00000000: 18489004 00000040 00000000 00000000 00000000 00000000 00000000 00000000
[ 8.673229] iwlwifi 0000:00:14.3: 00000020: 00000011 0c040005 00000351 d55555d5 d55555d5 d55555d5 80008040 001f0040
[ 8.673248] iwlwifi 0000:00:14.3: Could not load the [0] uCode section
[ 8.673254] iwlwifi 0000:00:14.3: Failed to start INIT ucode: -110
[ 8.685664] iwlwifi 0000:00:14.3: Failing on timeout while stopping DMA channel 8 [0x0bad1122]
[ 8.698881] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110

lspci -nnk | grep 8086 -A3结果:
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:9b51]
Subsystem: Lenovo Device [17aa:2292]
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9bca] (rev 04)
Subsystem: Lenovo Device [17aa:2292]
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903]
Subsystem: Lenovo Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [17aa:2292]
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model [8086:1911]
Subsystem: Lenovo Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model [17aa:2292]
00:12.0 Signal processing controller [1180]: Intel Corporation Device [8086:02f9]
Subsystem: Lenovo Device [17aa:2292]
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:02ed]
Subsystem: Lenovo Device [17aa:2292]
Kernel driver in use: xhci_hcd
00:14.2 RAM memory [0500]: Intel Corporation Device [8086:02ef]
Subsystem: Lenovo Device [17aa:2292]
00:14.3 Network controller [0280]: Intel Corporation Device [8086:02f0]
Subsystem: Intel Corporation Device [8086:0030]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi, wl
00:15.0 Serial bus controller [0c80]: Intel Corporation Device [8086:02e8]
Subsystem: Lenovo Device [17aa:2292]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:15.1 Serial bus controller [0c80]: Intel Corporation Device [8086:02e9]
Subsystem: Lenovo Device [17aa:2292]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:15.2 Serial bus controller [0c80]: Intel Corporation Device [8086:02ea]
Subsystem: Lenovo Device [17aa:2292]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:02e0]
Subsystem: Lenovo Device [17aa:2292]
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:02b8] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:02b0] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.4 PCI bridge [0604]: Intel Corporation Device [8086:02b4] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1e.0 Communication controller [0780]: Intel Corporation Device [8086:02a8]
Subsystem: Lenovo Device [17aa:2292]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:0284]
Subsystem: Lenovo Device [17aa:2292]
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:02c8]
Subsystem: Lenovo Device [17aa:2292]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:02a3]
Subsystem: Lenovo Device [17aa:2292]
Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:02a4]
Subsystem: Lenovo Device [17aa:2292]
00:1f.6 Ethernet controller [0200]: Intel Corporation Device [8086:0d4f]
Subsystem: Lenovo Device [17aa:2292]
Kernel driver in use: e1000e
Kernel modules: e1000e
02:00.0 Wireless controller [0d40]: Intel Corporation Device [8086:7360] (rev 01)
Subsystem: Device [1cf8:8505]
03:00.0 Non-Volatile memory controller [0108]: Intel Corporation SSD Pro 7600p/760p/E 6100p Series [8086:f1a6] (rev 03)
Subsystem: Intel Corporation Device [8086:390b]
Kernel driver in use: nvme
Kernel modules: nvme
05:00.0 PCI bridge [0604]: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] [8086:15d3] (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
06:00.0 PCI bridge [0604]: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] [8086:15d3] (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
06:01.0 PCI bridge [0604]: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] [8086:15d3] (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
06:02.0 PCI bridge [0604]: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] [8086:15d3] (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
06:04.0 PCI bridge [0604]: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] [8086:15d3] (rev 02)
Kernel driver in use: pcieport
Kernel modules: shpchp
07:00.0 System peripheral [0880]: Intel Corporation JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] [8086:15d2] (rev 02)
Subsystem: Lenovo JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] [17aa:2292]
Kernel driver in use: thunderbolt
Kernel modules: thunderbolt
2d:00.0 USB controller [0c03]: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] [8086:15d4] (rev 02)
Subsystem: Lenovo JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] [17aa:2292]
Kernel driver in use: xhci_hcd
头像
astolia
论坛版主
帖子: 6398
注册时间: 2008-09-18 13:11

Re: thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#11

帖子 astolia » 2020-04-24 10:28

错误信息显示是系统里的网卡固件有问题,导致驱动初始化失败。
你下载个 https://wireless.wiki.kernel.org/_media ... 8819.0.tgz,解压出来,把里面的iwlwifi-*.ucode放到/lib/firmware下覆盖掉同名文件
michael0929
帖子: 7
注册时间: 2020-04-21 0:28
系统: ubuntu 18.04.4 LTS

Re: thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#12

帖子 michael0929 » 2020-04-28 8:06

astolia 写了: 2020-04-24 10:28 错误信息显示是系统里的网卡固件有问题,导致驱动初始化失败。
你下载个 https://wireless.wiki.kernel.org/_media ... 8819.0.tgz,解压出来,把里面的iwlwifi-*.ucode放到/lib/firmware下覆盖掉同名文件
覆盖了,还是不行,估计是Ubuntu18.04驱动不支持。另外,请问有没有办法强制更改屏幕亮度?
handyw
帖子: 352
注册时间: 2007-06-11 13:06

Re: thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#13

帖子 handyw » 2020-11-25 14:17

那就重新装ubuntu 20.04不就行了吗
funicorn
帖子: 1318
注册时间: 2005-09-13 4:56
系统: Ubuntu Jammy Jellyfi

Re: thinkpad x1 carbon 7th无线网卡和显卡驱动问题

#14

帖子 funicorn » 2020-11-25 14:53

对于Intel 9560驱动,解决办法自行编译backport-iwlwifi驱动后加载

代码: 全选

sudo apt update
sudo apt install git build-essential
git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
cd backport-iwlwifi/
make defconfig-iwlwifi-public
sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config
make -j4
sudo make install
sudo modprobe iwlwifi
原帖:https://askubuntu.com/questions/1182722 ... -18-04-lts

对于N卡,我觉得用NVIDIA官网的专有驱动一定最好。
回复