kfechter / LegionY530Ubuntu

Guide for installing Ubuntu on the Legion Y530
GNU General Public License v3.0
177 stars 32 forks source link

After blacklisting "ideapad_laptop" wifi don't detect any network #15

Closed skoope closed 5 years ago

skoope commented 6 years ago

After blacklisting "ideapad_laptop" wifi is enabled, but can't detect any network.

kfechter commented 6 years ago

Strange, Mine finds the networks nearly instantly after blacklisting. Are you using 18.04.1 or 18.10?

kfechter commented 6 years ago

Also, trying to figure out if the patch for ideapad_laptop is in Ubuntu's kernel yet there was a patch made that makes it so blacklisting isn't required.

kfechter commented 6 years ago

It is not in 18.x or 19.x daily builds yet. might be possible to install an updated kernel.

EDIT: It's not available in kernel v4.19.

skoope commented 6 years ago

Thank you for your response ! i'm currently using the 18.04 LTS, same result when i blacklist it or when i simply deactivate it with "sudo rmmod ideapad_laptop". Network still fetching endlessly.

kfechter commented 6 years ago

hmmmm, strange. I was unable to reproduce this behavior on 18.04 or 18.10.

looks like the fix for the idepad_laptop module didn't make the merge window for 4.19 or 4.19.1, but it did make it into 4.20-rc1 so it should be in kernel 4.20

popvladaurel commented 6 years ago

My two cents here: got the same issue after blacklisting ideapad_laptop, and managed to solve it by following the answer for this askubuntu question. After making the change, I also had to shutdown the laptop, unplug the charger, leave it alone for a few minutes (5 in my case), plug it back in and, after powering it back on, I was able to see my network and connect to it successfully.

TLDR: echo "options r8822be aspm=0" | sudo tee /etc/modprobe.d/r8822be.conf

skoope commented 6 years ago

Thank you very much @popvladaurel !! it finally resolved my problem !

kfechter commented 6 years ago

Interesting, do your Legion models not have Intel wifi cards?

skoope commented 6 years ago

It's a Realtek for me. I solved the network issue, but still have problem with HDMI that does not detect any monitor if you guys have some ideas for that, i'd really appreciate it !

Thanks again

popvladaurel commented 6 years ago

@SkopeTN I was only able to use the HDMI and miniDP outputs by switching to the nVidia display adapter with prime-select nvidia. These ports do not seem to be active when using the intel integrated graphics, xrander lists them only when using nVidia :(

Edit: also had to run on e an rfkill unblock all to turn on Bluetooth...

@kfechter Realtek here aswell, obviously, using the r8822be driver

kfechter commented 6 years ago

For the HDMI, it makes sense that it only works with the Nvidia dGPU enabled as all of the external connectors are generally connected to the discrete card in an optimus equipped laptop.

I only got nvidia output working by using the nvidia-drivers-390 package with prime-select nvidia.

Didn't realize they were shipping Legions with realtek cards. I have the Intel 9560, so that explains why I don't have any issues after blacklist. I can add a section to the guide when I get a chance.

popvladaurel commented 5 years ago

@kfechter: blacklisting the ideapad_laptop module is no longer needed in kernel 4.20.0... Happy to say that the mute microphone key now works (FN + F4), as well as the disable touchpad key (FN + F11). No joy yet with the airplane mode (FN + F8) or disable webcam (FN + F10) yet...

kfechter commented 5 years ago

yep! I was really hoping that 18.04.2 would have those fixes as well, but it does not appear to be the case.

currently working on a guide that upgrades the 18.04.2 kernel to 4.20.x

Depending on the kernel that 19.04 uses, 18.04.3 may contain those fixes.

kafran commented 5 years ago

@kfechter https://github.com/teejee2008/ukuu

kfechter commented 5 years ago

@kafran the next version of this guide will include using ukuu :D

I am currently running 18.04 with 4.20 manually installed through the .deb files.

kfechter commented 5 years ago

The guide has been updated to include both Updating the kernel with ukuu and the steps to fix realtek wifi cards. Closing this issue as resolved.