Laptop wifi and sound AWOL with Debian Buster.

Help with issues regarding installation of Debian

Laptop wifi and sound AWOL with Debian Buster.

Postby globetrotterdk » 2021-01-12 09:03

I just purchased a Lenovo Legion 5i laptop that I am trying to get sorted out with a Debian Buster KDE Plasma minimal netinstall. Here is all of the output that I have:
Code: Select all
$ lspci -v
00:00.0 Host bridge: Intel Corporation Device 9b54 (rev 02)
        Subsystem: Lenovo Device 3803
        Flags: bus master, fast devsel, latency 0
        Capabilities: <access denied>

00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 121
        Bus: primary=00, secondary=01, subordinate=05, sec-latency=0
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: b3000000-b50fffff
        Prefetchable memory behind bridge: 00000000a0000000-00000000b20fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 02)
        Subsystem: Lenovo Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at b2590000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device

00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
        Subsystem: Lenovo Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at b25a4000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:12.0 Signal processing controller: Intel Corporation Device 06f9
        Subsystem: Lenovo Device 3802
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at b25a5000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:14.0 USB controller: Intel Corporation Device 06ed (prog-if 30 [XHCI])
        Subsystem: Lenovo Device 3801
        Flags: bus master, medium devsel, latency 0, IRQ 127
        Memory at b2580000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

00:14.2 RAM memory: Intel Corporation Device 06ef
        Subsystem: Lenovo Device 3826
        Flags: bus master, fast devsel, latency 0
        Memory at b25a0000 (64-bit, non-prefetchable) [size=8K]
        Memory at b25a6000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:14.3 Network controller: Intel Corporation Device 06f0
        Subsystem: Intel Corporation Device 0074
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at b2598000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>

00:15.0 Serial bus controller [0c80]: Intel Corporation Device 06e8
        Subsystem: Lenovo Device 3803
        Flags: bus master, fast devsel, latency 0, IRQ 255
        Memory at b2500000 (64-bit, non-prefetchable) [disabled] [size=4K]
        Capabilities: <access denied>

00:15.1 Serial bus controller [0c80]: Intel Corporation Device 06e9
        Subsystem: Lenovo Device 3804
        Flags: bus master, fast devsel, latency 0, IRQ 255
        Memory at b2501000 (64-bit, non-prefetchable) [disabled] [size=4K]
        Capabilities: <access denied>

00:16.0 Communication controller: Intel Corporation Device 06e0
        Subsystem: Lenovo Device 380b
        Flags: bus master, fast devsel, latency 0, IRQ 143
        Memory at b25a9000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Device 06d3 (prog-if 01 [AHCI 1.0])
        Subsystem: Lenovo Device 3808
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 128
        Memory at b25a2000 (32-bit, non-prefetchable) [size=8K]
        Memory at b25ad000 (32-bit, non-prefetchable) [size=256]
        I/O ports at 5040 [size=8]
        I/O ports at 5048 [size=4]
        I/O ports at 5020 [size=32]
        Memory at b25ac000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: <access denied>
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1d.0 PCI bridge: Intel Corporation Device 06b0 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 122
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        Memory behind bridge: b2400000-b24fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1d.6 PCI bridge: Intel Corporation Device 06b6 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 123
        Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: b2300000-b23fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1d.7 PCI bridge: Intel Corporation Device 06b7 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 124
        Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
        Memory behind bridge: b2200000-b22fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Device 068d
        Subsystem: Lenovo Device 380d
        Flags: bus master, medium devsel, latency 0

00:1f.3 Audio device: Intel Corporation Device 06c8 (prog-if 80)
        Subsystem: Lenovo Device 380f
        Flags: fast devsel, IRQ 11
        Memory at b259c000 (64-bit, non-prefetchable) [disabled] [size=16K]
        Memory at b2100000 (64-bit, non-prefetchable) [disabled] [size=1M]
        Capabilities: <access denied>

00:1f.4 SMBus: Intel Corporation Device 06a3
        Subsystem: Lenovo Device 3810
        Flags: medium devsel, IRQ 11
        Memory at b25aa000 (64-bit, non-prefetchable) [size=256]
        I/O ports at efa0 [size=32]

00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 06a4
        Subsystem: Lenovo Device 3827
        Flags: bus master, fast devsel, latency 0
        Memory at fe010000 (32-bit, non-prefetchable) [size=4K]

01:00.0 VGA compatible controller: NVIDIA Corporation TU116M (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Lenovo TU116M
        Flags: bus master, fast devsel, latency 0, IRQ 144
        Memory at b4000000 (32-bit, non-prefetchable) [size=16M]
        Memory at a0000000 (64-bit, prefetchable) [size=256M]
        Memory at b0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 4000 [size=128]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nvidia

01:00.1 Audio device: NVIDIA Corporation Device 1aeb (rev a1)
        Subsystem: Lenovo Device 3fc7
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at b5000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

01:00.2 USB controller: NVIDIA Corporation Device 1aec (rev a1) (prog-if 30 [XHCI])
        Subsystem: Lenovo Device 3fc7
        Flags: fast devsel, IRQ 130
        Memory at b2000000 (64-bit, prefetchable) [size=256K]
        Memory at b2040000 (64-bit, prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

01:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1aed (rev a1)
        Subsystem: Lenovo Device 3fc7
        Flags: fast devsel, IRQ 11
        Memory at b5004000 (32-bit, non-prefetchable) [disabled] [size=4K]
        Capabilities: <access denied>

06:00.0 Non-Volatile memory controller: Device 1cc4:17aa (rev 02) (prog-if 02 [NVM Express])
        Subsystem: Device 1cc4:17aa
        Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
        Memory at b2400000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: nvme
        Kernel modules: nvme

07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Flags: bus master, fast devsel, latency 0, IRQ 18
        I/O ports at 3000 [size=256]
        Memory at b2304000 (64-bit, non-prefetchable) [size=4K]
        Memory at b2300000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169

08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
        Subsystem: Lenovo RTS522A PCI Express Card Reader
        Flags: bus master, fast devsel, latency 0, IRQ 125
        Memory at b2200000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: rtsx_pci
        Kernel modules: rtsx_pci

Network and sound are the current issues, but it is probable that there may be other issues that I have yet to discover. In such a case, if you notice something, please give a shout.

----

Here is some more info:
Code: Select all
$ inxi -Frz           
System:    Host: legion Kernel: 4.19.0-13-amd64 x86_64 bits: 64 Desktop: KDE Plasma 5.14.5
           Distro: Debian GNU/Linux 10 (buster)
Machine:   Type: Laptop System: LENOVO product: 81Y8 v: Lenovo Legion 5 17IMH05H serial: <filter>
           Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <filter> UEFI: LENOVO v: EFCN39WW date: 08/03/2020
Battery:   ID-1: BAT0 charge: 81.7 Wh condition: 83.4/80.0 Wh (104%)
CPU:       Topology: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP L2 cache: 12.0 MiB
           Speed: 859 MHz min/max: 800/5000 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800
           9: 800 10: 800 11: 801 12: 800
Graphics:  Device-1: NVIDIA TU116M driver: nvidia v: 418.152.00
           Display: x11 server: X.Org 1.20.4 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa
           resolution: 1920x1080~144Hz
           OpenGL: renderer: GeForce GTX 1660 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 418.152.00
Audio:     Device-1: Intel driver: N/A
           Device-2: NVIDIA driver: snd_hda_intel
           Sound Server: ALSA v: k4.19.0-13-amd64
Network:   Device-1: Intel driver: N/A
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
           IF: enp7s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 1.38 TiB used: 4.74 GiB (0.3%)
           ID-1: /dev/nvme0n1 model: UMIS RPITJ512VME2OWD size: 476.94 GiB
           ID-2: /dev/sda vendor: Western Digital model: WD10SPZX-08Z10 size: 931.51 GiB
Partition: ID-1: / size: 54.75 GiB used: 4.42 GiB (8.1%) fs: ext4 dev: /dev/nvme0n1p2
           ID-2: /home size: 412.96 GiB used: 245.4 MiB (0.1%) fs: ext4 dev: /dev/nvme0n1p3
           ID-3: swap-1 size: 8.19 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda1
Sensors:   System Temperatures: cpu: 44.0 C mobo: N/A gpu: nvidia temp: 41 C
           Fan Speeds (RPM): N/A
Repos:     Active apt repos in: /etc/apt/sources.list
           1: deb http://mirror.one.com/debian/ buster main contrib non-free
           2: deb-src http://mirror.one.com/debian/ buster main contrib non-free
           3: deb http://security.debian.org/debian-security buster/updates main contrib non-free
           4: deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
           5: deb http://mirror.one.com/debian/ buster-updates main contrib non-free
           6: deb-src http://mirror.one.com/debian/ buster-updates main contrib non-free
Info:      Processes: 231 Uptime: 7m Memory: 15.58 GiB used: 1.22 GiB (7.9%) Shell: bash inxi: 3.0.32

Hmm. Interestingly, I am don't see a wifi nic listed, nor are there any specifics on audio device-1.

According to this posting https://www.reddit.com/r/Lenovo/comments/jl0icr/lenovo_legion_5i_keeps_disconnecting_from_wifi/, I would assume that I also have an Intel ax201 wireless card. The wireless works with Fedora 33 and Solus 4.1, but again having difficulty figuring out what the driver is. I have tried:
Code: Select all
$ sudo apt install firmware-iwlwifi
, but still nothing...
Military justice is to justice what military music is to music. - Groucho Marx
globetrotterdk
 
Posts: 86
Joined: 2009-05-07 19:12

Re: Laptop wifi and sound AWOL with Debian Buster.

Postby Head_on_a_Stick » 2021-01-12 15:23

The AX201 needs the kernel & iwl firmware from the buster-backports repository. You might also need firmware-misc-nonfree from there for your sound card.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Laptop wifi and sound AWOL with Debian Buster.

Postby globetrotterdk » 2021-01-12 16:46

Head_on_a_Stick wrote:The AX201 needs the kernel & iwl firmware from the buster-backports repository. You might also need firmware-misc-nonfree from there for your sound card.

Wow. That is great. Thanks. I will give that a try.
Military justice is to justice what military music is to music. - Groucho Marx
globetrotterdk
 
Posts: 86
Joined: 2009-05-07 19:12

Re: Laptop wifi and sound AWOL with Debian Buster.

Postby gdgarris » 2021-02-15 00:20

globetrotterdk - any luck with audio?

I have a Lenovo T14 Gen1 (Intel) and had a similar issues following 10.8.0 install. As recommended above, I was able to fix the WIFI by installing the kernel and firmware from buster-backports.

Code: Select all
apt install -t buster-backports linux-image-amd64 linux-headers-amd64 firmware-iwlwifi firmware-linux-free firmware-linux-nonfree firmware-misc-nonfree


Just make sure you add buster-backports and contrib non-free to /etc/apt/sources.list.

However, I have been unsuccessful in fixing the audio. aplay -l output indicated no soundcards. Does anyone have any suggestions?
gdgarris
 
Posts: 3
Joined: 2021-02-14 23:49

Re: Laptop wifi and sound AWOL with Debian Buster.

Postby stevepusser » 2021-02-15 01:59

Is it supposed to run that discrete nvidia card at all times instead of switching between integrated and discrete?

BTW, currently there is no way to get a tenth gen Intel GPU to work even with buster-backports, so maybe that's why it doesn't show up...
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12345
Joined: 2009-10-06 05:53

Re: Laptop wifi and sound AWOL with Debian Buster.

Postby gdgarris » 2021-02-15 03:41

My machine is running UHD Graphics; I do not have a discrete video card. A little info on the machine:

inxi -Fxz
Code: Select all
System:    Host: debian Kernel: 5.9.0-0.bpo.5-amd64 x86_64 bits: 64 compiler: N/A
           Desktop: Gnome 3.30.2 Distro: Debian GNU/Linux 10 (buster)
Machine:   Type: Laptop System: LENOVO product: 20S0002FUS v: ThinkPad T14 Gen 1 serial: <filter>
           Mobo: LENOVO model: 20S0002FUS v: SDK0J40697 WIN serial: <filter> UEFI: LENOVO
           v: N2XET27W (1.17 ) date: 12/10/2020
Battery:   ID-1: BAT0 charge: 49.7 Wh condition: 50.1/50.5 Wh (99%) model: SMP 5B10W13906
           status: Charging
CPU:       Topology: Quad Core model: Intel Core i5-10210U bits: 64 type: MT MCP arch: Kaby Lake
           rev: C L2 cache: 6144 KiB
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 33599
           Speed: 1355 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 2576 2: 2559 3: 2449 4: 2429
           5: 2593 6: 2568 7: 2575 8: 2538
Graphics:  Device-1: Intel CometLake-U GT2 [UHD Graphics] vendor: Lenovo driver: i915 v: kernel
           bus ID: 00:02.0
           Display: wayland server: X.Org 1.20.4 driver: vesa unloaded: fbdev,modesetting
           resolution: 1920x1080~60Hz
           OpenGL: renderer: llvmpipe (LLVM 7.0 256 bits) v: 3.3 Mesa 18.3.6 direct render: Yes
Audio:     Device-1: Intel Comet Lake PCH-LP cAVS vendor: Lenovo driver: sof-audio-pci
           bus ID: 00:1f.3
           Sound Server: ALSA v: k5.9.0-0.bpo.5-amd64
Network:   Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel port: 4000
           bus ID: 00:14.3
           IF: wlp0s20f3 state: up mac: <filter>
           Device-2: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel port: efa0
           bus ID: 00:1f.6
           IF: enp0s31f6 state: down mac: <filter>
Drives:    Local Storage: total: 506.66 GiB used: 15.28 GiB (3.0%)
           ID-1: /dev/mmcblk0 model: SM32G size: 29.72 GiB
           ID-2: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000L7 size: 476.94 GiB
Partition: ID-1: / size: 22.79 GiB used: 5.27 GiB (23.1%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 472.6 MiB used: 128.5 MiB (27.2%) fs: ext2 dev: /dev/nvme0n1p2
           ID-3: /home size: 284.99 GiB used: 816.6 MiB (0.3%) fs: ext4 dev: /dev/dm-5
           ID-4: /tmp size: 1.80 GiB used: 5.7 MiB (0.3%) fs: ext4 dev: /dev/dm-4
           ID-5: /var size: 9.10 GiB used: 610.6 MiB (6.6%) fs: ext4 dev: /dev/dm-2
           ID-6: swap-1 size: 976.0 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-3
Sensors:   System Temperatures: cpu: 44.0 C mobo: N/A
           Fan Speeds (RPM): cpu: 2355
Info:      Processes: 266 Uptime: 5m Memory: 15.31 GiB used: 1.28 GiB (8.4%) Init: systemd
           runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3 inxi: 3.0.32


pacmd list-sinks
Code: Select all
1 sink(s) available.
  * index: 0
   name: <auto_null>
   driver: <module-null-sink.c>
   flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
   state: IDLE
   suspend cause: (none)
   priority: 1000
   volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
           balance 0.00
   base volume: 65536 / 100% / 0.00 dB
   volume steps: 65537
   muted: no
   current latency: 1118.06 ms
   max request: 344 KiB
   max rewind: 344 KiB
   monitor source: 0
   sample spec: s16le 2ch 44100Hz
   channel map: front-left,front-right
                Stereo
   used by: 0
   linked by: 0
   configured latency: 2000.00 ms; range is 0.50 .. 2000.00 ms
   module: 13
   properties:
      device.description = "Dummy Output"
      device.class = "abstract"
      device.icon_name = "audio-card"


Thank you again for the help!
gdgarris
 
Posts: 3
Joined: 2021-02-14 23:49

Re: Laptop wifi and sound AWOL with Debian Buster.

Postby gdgarris » 2021-02-15 03:53

Welp - it would help if I could read.

Audio fix is here:
http://forums.debian.net/viewtopic.php?f=17&t=148588&p=733089&hilit=10th+generation+Intel#p733089

Thanks everyone!
gdgarris
 
Posts: 3
Joined: 2021-02-14 23:49


Return to Installation

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable