[SOLVED] Wifi not working on new HP Envy 13t with LMDE2

Questions about networking
Forum rules
Before you post please read this
jgsutton
Level 1
Level 1
Posts: 10
Joined: Wed Jul 15, 2015 5:38 pm
Location: New Mexico, US

[SOLVED] Wifi not working on new HP Envy 13t with LMDE2

Postby jgsutton » Wed Jun 14, 2017 6:25 pm

I recently purchased a shiny new HP Envy 13t laptop. I endeavored to install LMDE2 which I have been using on my desktop and my older laptop for 4 years. I have unfortunately run into a couple of serious problems. Both the wireless and sound do not function. I had a similar wifi problem last fall while installing LMDE2 on a cheap Lenovo laptop, but found the solution to my problem on this forum. Using the same approach for the HP was not successful. I'm hoping someone can help so I don't end up with a shiny new brick.

Here's the wifi particulars:
lmde-2-201701-mate-64bit
network manager does not show any wifi
rfkill list only shows the bluetooth

Code: Select all

rfkill list
0: hci0: Bluetooth
   Soft blocked: no
   Hard blocked: no

lspci -nn | grep -i network
01:00.0 Network controller [0280]: Intel Corporation Wireless 8265 / 8275 [8086:24fd] (rev 78)

Code: Select all

inxi -Fxz
System:    Host: bespin Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
           Desktop: N/A Distro: LinuxMint 2 betsy
Machine:   System: HP product: HP ENVY Notebook 13-ab0XX v: Type1ProductConfigId
           Mobo: HP model: 82B9 v: KBC Version 03.18
           Bios: Insyde v: F.11 date: 12/09/2016
CPU:       Dual core Intel Core i7-7500U (-HT-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11616
           Clock Speeds: 1: 2700 MHz 2: 600 MHz 3: 2600 MHz 4: 2500 MHz
Graphics:  Card: Intel Device 5916 bus-ID: 00:02.0
           Display Server: X.Org 1.16.4 drivers: fbdev,vesa,intel
           Resolution: 1920x1200@59.95hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
           GLX Version: 3.0 Mesa 10.3.2 Direct Rendering: Yes
Audio:     Card Intel Device 9d71 bus-ID: 00:1f.3
Network:   Card: Intel Wireless 8265 / 8275 bus-ID: 01:00.0
           IF: N/A state: N/A mac: N/A
Partition: ID-1: / size: 29G used: 6.7G (25%) fs: ext4 dev: /dev/nvme0n1p1
           ID-2: /home size: 204G used: 15G (8%) fs: ext4 dev: /dev/nvme0n1p3
           ID-3: swap-1 size: 2.10GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p2
Sensors:   System Temperatures: cpu: 51.0C mobo: 0.0C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 170 Uptime: 55 min Memory: 377.6/7762.8MB
           Init: SysVinit runlevel: 2 Gcc sys: 4.9.2
           Client: Shell (tcsh 6.18.01) inxi: 2.1.28

I've tried installing firmware code for the 8265 from the Intel site (iwlwifi-8265-ucode-22.361476.0.tgz) and rebuilding the kernel with backports-20160324.tar.gz which seemed to go okay, but after reboot the wifi interface is still not visible.

Any advice would be appreciated.
Last edited by jgsutton on Fri Jun 16, 2017 11:29 pm, edited 1 time in total.

jgsutton
Level 1
Level 1
Posts: 10
Joined: Wed Jul 15, 2015 5:38 pm
Location: New Mexico, US

Re: Wifi not working on new HP Envy 13t with LMDE2

Postby jgsutton » Thu Jun 15, 2017 11:46 am

Here's some detail on what I have tried so far that didn't solve the problem:

Code: Select all

sudo update-pciids
lspci -nn | grep -i network
 01:00.0 Network controller [0280]: Intel Corporation Wireless 8265 / 8275 [8086:24fd] (rev 78)

Googled debian intel 8265 support to find the site:
https://www.intel.com/content/www/us/en ... 05511.html
Downloaded and installed wlwifi-8265-ucode-22.361476.0.tgz from intel

Code: Select all

tar zxf wlwifi-8265-ucode-22.361476.0.tgz
cd iwlwifi-8265-ucode-22.361476.0
sudo cp iwlwifi-8265-22.ucode /lib/firmware/

Made sure build-essential and headers were installed.

Code: Select all

sudo apt-get install build-essential linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
linux-headers-3.16.0-4-amd64 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Installed backports

Code: Select all

wget https://www.kernel.org/pub/linux/kernel/projects/backports/2016/03/24/backports-20160324.tar.gz
tar zxf backports-20160324.tar.gz
cd backports-20160324
make defconfig-wifi
make
sudo make install
reboot

The make ran without error but I did get these warnings:

Code: Select all

make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'
  Building modules, stage 2.
  MODPOST 122 modules
WARNING: "ath10k_thermal_event_temperature" [/home/js/System-changes-wifi/backports-20160324/drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
WARNING: "ath10k_thermal_set_throttling" [/home/js/System-changes-wifi/backports-20160324/drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
WARNING: "ath10k_thermal_register" [/home/js/System-changes-wifi/backports-20160324/drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
WARNING: "ath10k_thermal_unregister" [/home/js/System-changes-wifi/backports-20160324/drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!

The wifi interface is still not recognized.
I hope someone out there can help me solve this problem.

jgsutton
Level 1
Level 1
Posts: 10
Joined: Wed Jul 15, 2015 5:38 pm
Location: New Mexico, US

Re: Wifi not working on new HP Envy 13t with LMDE2 [SOLVED]

Postby jgsutton » Fri Jun 16, 2017 11:29 pm

I think that I have found a solution to my problem. Thanks to Fred Barclay who answered a question last year about installing a newer kernel, I was able to install the 4.9.0-0.bpo.3-amd64 kernel on my new laptop.
See: viewtopic.php?f=239&t=229216#p1212220
and https://backports.debian.org/Instructions/

Here's the step that I took:

Add the backport repo:

Code: Select all

sudo su
echo -e deb http://httpredir.debian.org/debian jessie-backports main contrib non-free >> /etc/apt/sources.list.d/jessie-backports.list
apt-get update
exit

Install the backported kernel:

Code: Select all

sudo apt-get -t jessie-backports install linux-image-amd64 linux-headers-amd64

reboot

At this point X11 failed to start, complained about being build for 3.16.0-4-amd64.

Install xserver from backports:

Code: Select all

sudo apt-get -t jessie-backports install xserver-xorg-video-intel

Downloaded and installed iwlwifi-8265-22.ucode from wlwifi-8265-ucode-22.361476.0.tgz from intel at
https://www.intel.com/content/www/us/en ... 05511.html

Code: Select all

tar zxf wlwifi-8265-ucode-22.361476.0.tgz
cd iwlwifi-8265-ucode-22.361476.0
sudo cp iwlwifi-8265-22.ucode /lib/firmware/

reboot

Now X11 works as does my wifi and sound, although the sound volume level is too low. I'm not sure this is the best solutions to my problem, and I'm not really comfortable tinkering with the kernel, but I'm up and running.

Anyone have experience with low volume levels with intel sound devices?

youstupiddarkness
Level 1
Level 1
Posts: 13
Joined: Sat Jun 17, 2017 8:29 pm

Re: [SOLVED] Wifi not working on new HP Envy 13t with LMDE2

Postby youstupiddarkness » Sat Jun 17, 2017 8:52 pm

Did you get your graphics working correctly? What does

Code: Select all

inxi -G


sya about it? For Intel, gallium and llvmpipe means you need the mesa stack from jessie-backports, too.

jgsutton
Level 1
Level 1
Posts: 10
Joined: Wed Jul 15, 2015 5:38 pm
Location: New Mexico, US

Re: [SOLVED] Wifi not working on new HP Envy 13t with LMDE2

Postby jgsutton » Sun Jun 18, 2017 12:45 am

The graphics seems to be working fine. All I added was xserver-xorg-video-intel
What does the mesa stack do for me?

Code: Select all

inxi -G

Graphics:  Card: Intel Device 5916
           Display Server: X.Org 1.16.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1200@59.95hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
           GLX Version: 3.0 Mesa 10.3.2

youstupiddarkness
Level 1
Level 1
Posts: 13
Joined: Sat Jun 17, 2017 8:29 pm

Re: [SOLVED] Wifi not working on new HP Envy 13t with LMDE2

Postby youstupiddarkness » Sun Jun 18, 2017 3:28 pm

http://forums.debian.net/viewtopic.php?f=16&t=131611

You can probably get a better readout for your hardware than "5916" by updating the PCI and USB ID databases, too:

Code: Select all

sudo update-pciids
sudo update-usbids


since they date back to 2014, too.

jgsutton
Level 1
Level 1
Posts: 10
Joined: Wed Jul 15, 2015 5:38 pm
Location: New Mexico, US

Re: [SOLVED] Wifi not working on new HP Envy 13t with LMDE2

Postby jgsutton » Sun Jun 18, 2017 6:59 pm

Had already done the sudo update-pciids. Adding sudo update-usbids doesn't change much of what we are looking at here:

Code: Select all

inxi -G
sudo update-usbids
--2017-06-18 16:03:58--  http://www.linux-usb.org/usb.ids
...

Graphics:  Card: Intel Device 5916
           Display Server: X.Org 1.16.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1200@59.95hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
           GLX Version: 3.0 Mesa 10.3.2

As far as adding the mesa stuff, I'm in the "if it ain't broke don't fix it" mode. Unless you can suggest a compelling reason to do so I'm inclined to not install them.

youstupiddarkness
Level 1
Level 1
Posts: 13
Joined: Sat Jun 17, 2017 8:29 pm

Re: [SOLVED] Wifi not working on new HP Envy 13t with LMDE2

Postby youstupiddarkness » Sun Jun 18, 2017 11:11 pm

jgsutton wrote:Had already done the sudo update-pciids. Adding sudo update-usbids doesn't change much of what we are looking at here:

Code: Select all

inxi -G
sudo update-usbids
--2017-06-18 16:03:58--  http://www.linux-usb.org/usb.ids
...

Graphics:  Card: Intel Device 5916
           Display Server: X.Org 1.16.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1200@59.95hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
           GLX Version: 3.0 Mesa 10.3.2


As far as adding the mesa stuff, I'm in the "if it ain't broke don't fix it" mode. Unless you can suggest a compelling reason to do so I'm inclined to not install them.



Most of the hardware inside your computer is on the PCI bus, including the video. If you didn't update those IDs, there's no chance of it changing!

If you don't want any hardware 3D acceleration, or maybe hardware-assisted video playback, but only do some simple word processing and web browsing, you can stick with the somewhat crippled video driver you have now. Most people, as you can see from that thread, were happy to get full functionality. (full disclosure: I wrote that HOWTO)

I have a similar Intel Skylake GPU situation, and with the updates and va-api acceleration can play even 4K mp4 videos with the same CPU use as much lower resolution vids: basically zero. The GPU is handling it. Only tested in mpv 0.25 and QMPlay2, though. I also have a Jessie compatible multimedia backports repo of my own on the OBS where I try to keep stuff current as far as possible... http://forums.debian.net/viewtopic.php?f=6&t=127574

jgsutton
Level 1
Level 1
Posts: 10
Joined: Wed Jul 15, 2015 5:38 pm
Location: New Mexico, US

Re: [SOLVED] Wifi not working on new HP Envy 13t with LMDE2

Postby jgsutton » Mon Jun 19, 2017 2:53 pm

Thanks for your help. I've updated the graphics stack and firmware as you suggested. Everything seems to be working fine now.


Return to “Networking”

Who is online

Users browsing this forum: No registered users and 1 guest