Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Lenovo ideapad 330 (15ARR) ubuntu issues and there solutions

Lenovo ideapad 330 (15ARR) ubuntu issues and their solutions

Issue-1: None of the ubuntu distros are getting installed

Solution: Ubuntu distros lower than 18.10 will not work in this laptop, as minimum kernal version required is 4.18.

So install ubuntu 18.10 / xubuntu 18.10 / lubuntu 18.10 / kubuntu 18.10 in UEFI mode

Issue-2: Wifi is not working

Solution: Install drivers seperatly. In most of the cases the wifi network card manufacturer is Elan tech for this model.

So just run the following commands to download and install

git clone https://github.com/tomaspinho/rtl8821ce.git
cd rtl8821ce/
sudo make all
sudo make install
sudo modprobe -a 8821ce

Check your wifi networks!

Issue-3: Touchpad is not working at all

Solution: You need to upgrade kernel to minimum 4.19.15-041915-generic . From this kernal version, the touchpad drivers are present in the kernal.

So just download the kernal files and upgrade. Visit https://kernel.ubuntu.com/~kernel-ppa/mainline/ to choose a kernal version

If you want to download 4.19.15, try the steps

First download the files

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19.15/linux-headers-4.19.15-041915_4.19.15-041915.201901130432_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19.15/linux-headers-4.19.15-041915-generic_4.19.15-041915.201901130432_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19.15/linux-modules-4.19.15-041915-generic_4.19.15-041915.201901130432_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19.15/linux-image-unsigned-4.19.15-041915-generic_4.19.15-041915.201901130432_amd64.deb

Install

dpkg -i linux-headers-4.19.15-041915_4.19.15-041915.201901130432_all.deb
dpkg -i linux-headers-4.19.15-041915-generic_4.19.15-041915.201901130432_amd64.deb
dpkg -i linux-modules-4.19.15-041915-generic_4.19.15-041915.201901130432_amd64.deb
dpkg -i linux-image-unsigned-4.19.15-041915-generic_4.19.15-041915.201901130432_amd64.deb

Reboot

@tmmass

This comment has been minimized.

Copy link

tmmass commented Jan 19, 2019

Works great... Thank you...! (Lenovo Y730)

@shaan2028

This comment has been minimized.

Copy link

shaan2028 commented Jan 23, 2019

thank you very much!!!
now, touchpad and wifi is working perfectly

@anijjohn3

This comment has been minimized.

Copy link

anijjohn3 commented Jan 26, 2019

Thanks mate! the touchpad is now working great, but right click is not working.Could you please help me with this?

@debojyoti

This comment has been minimized.

Copy link
Owner Author

debojyoti commented Jan 26, 2019

Thanks mate! the touchpad is now working great, but right click is not working.Could you please help me with this?

@anijjohn3 I guess you have to enable it from settings of your distro. Which distro are you using?

@CentralForce

This comment has been minimized.

Copy link

CentralForce commented Jan 27, 2019

Thank you for the nice guide!
I still can't realy boot into the kubuntu 18.10 installer.
I have the amd ryzen ideapad 330s version.

I can bootup the installer when i follow the solution of this post:
https://askubuntu.com/questions/1075796/trying-to-install-ubuntu-18-04-on-lenovo-330s-ryzen-5-2500u

After installing the os i have to set the noapic parameter again to be able to boot the os.
After updating the kernel I still have to set the noapic parameter to boot the os.
Touchpad is still not working after the update.
There are more things like: I have to restart the laptop to "wake" it up from standby etc.

Did anybody encouter the same problems??

(sorry for my bad english)

@debojyoti

This comment has been minimized.

Copy link
Owner Author

debojyoti commented Jan 28, 2019

Thank you for the nice guide!
I still can't realy boot into the kubuntu 18.10 installer.
I have the amd ryzen ideapad 330s version.

I can bootup the installer when i follow the solution of this post:
https://askubuntu.com/questions/1075796/trying-to-install-ubuntu-18-04-on-lenovo-330s-ryzen-5-2500u

After installing the os i have to set the noapic parameter again to be able to boot the os.
After updating the kernel I still have to set the noapic parameter to boot the os.
Touchpad is still not working after the update.
There are more things like: I have to restart the laptop to "wake" it up from standby etc.

Did anybody encouter the same problems??

(sorry for my bad english)

Are you installing it UEFI mode? What software are you using to create the live boot disk?

@denali

This comment has been minimized.

Copy link

denali commented Jan 30, 2019

Thanks for the guide,
But cannot download and install the wifi driver b/c without wifi I cannot get online.
Is there a way to download the driver on another machine and then install it from a USB drive?

@debojyoti

This comment has been minimized.

Copy link
Owner Author

debojyoti commented Jan 30, 2019

Thanks for the guide,
But cannot download and install the wifi driver b/c without wifi I cannot get online.
Is there a way to download the driver on another machine and then install it from a USB drive?

Yes, you can download it on another machine, just execute git clone https://github.com/tomaspinho/rtl8821ce.git on that machine and copy the folder rtl8821ec to the target machine.
Then open terminal inside that folder and run

sudo make all
sudo make install
sudo modprobe -a 8821ce
@SepiOz

This comment has been minimized.

Copy link

SepiOz commented Jan 30, 2019

Hi, I have try to install 18.10 with this and the installation work perfecly but when its finish, reboot, and nothing its stopped on a purple screen.. can you help me ? I don't know what to do :/

@debojyoti

This comment has been minimized.

Copy link
Owner Author

debojyoti commented Feb 5, 2019

@SepiOz Are you installing it in UEFI mode?
Also at which point are you removing the installation disk?

@atm-florian

This comment has been minimized.

Copy link

atm-florian commented Feb 8, 2019

I've just install with UEFI mode as explain on the first post with just downlaod ubuntu 18.10 iso, install aside pre-installed windows, everything works well without any tweaks.

@boukeas

This comment has been minimized.

Copy link

boukeas commented Mar 1, 2019

Hi there. I have the AMD Ryzen version of Ideapad 330s (15ARR) but I have encountered problems. Here's what i've done:

  • Disabled Secure Boot
  • Downloaded the standard ubuntu 18.10 desktop version
  • Used Etcher (on another Ubuntu machine) to make a bootable USB drive
  • Booted the Ideapad from the USB drive in UEFI mode. At this stage I was unable to successfully boot from the live USB drive unless I added both noapic and nomodeset.
  • Having booted the live CD, the touchpad would not work, but I completed the installation using the arrow keys.
  • Restarting, I am only able to boot the fresh installation using noapic and nomodeset, and again I only have use of the keyboard, not the touchpad.
  • I downloaded the four .deb files for the 4.19 kernel (on another Ubuntu machine), copied them into the Ideapad and installed them. Unfortunately, again, I am only able to boot the fresh installation using noapic and nomodeset, and again I only have use of the keyboard, not the touchpad.

Any suggestions?

@anuengineer

This comment has been minimized.

Copy link

anuengineer commented Mar 7, 2019

I have Manjaro working on this Laptop after a week of fiddling around with settings. If you are ok with Arch/ Manjaro I can share my config. One of the issues is getting the wifi working, and you can just follow instructions in the doc. Please let me know if you would like to see how to make Arch Linux work on this laptop. I too have an AMD Ryzen 330s.

@Alfcph

This comment has been minimized.

Copy link

Alfcph commented Mar 31, 2019

I have a Lenovo Ideapad 330 and I have no wifi. Tried 7 distros!
The only one that can see my wifi adapter is Manjaro, but Can't find any driver.
The wifi adapter i from Realtek.

@yeold

This comment has been minimized.

Copy link

yeold commented Apr 11, 2019

I use an Ideapad 330s-15AR (Ryzen 3)
Wifi works out of the box but I can't get the touchpad to work.
Kernel updates doesn't make it for me, I even tried the latest which currently is 5.0.7
Any suggestions?
Running Ubuntu 18.04 lts

@czaad

This comment has been minimized.

Copy link

czaad commented Apr 13, 2019

Hi. I have the Lenovo 330 17ch 81bl. Ubuntu 19.04. 5.0.0-8-generic kernel that solved my problem with wi-fi. The touchpad Elan ELAN061F is still dead. I`m complete noob. What to do with it? Thanks

@mkbehera01

This comment has been minimized.

Copy link

mkbehera01 commented Apr 22, 2019

For Installing Wifi - If you get any error so just execute this line before beginning the installation

sudo apt-get install linux-headers-generic build-essential git

Thanks for this great article

@debojyoti

This comment has been minimized.

Copy link
Owner Author

debojyoti commented Apr 27, 2019

Those who are having problems with the touchpad, please try ubuntu version >= 18.10 & kernal version 4.19.15-041915-generic

@r00tusrDE

This comment has been minimized.

Copy link

r00tusrDE commented Apr 27, 2019

@anuengineer I'd appreciate it a lot if you'd share that information on how to get Arch/Manjaro running on the 330s-15ARR

@rupeshknn

This comment has been minimized.

Copy link

rupeshknn commented May 3, 2019

lenovo IdeaPad 330 15 arr
during install (without touchpad) how to change the size allocated for Ubuntu. it asks me to drag to my requirement, but no mouse!

@evilSwanson

This comment has been minimized.

Copy link

evilSwanson commented May 4, 2019

Anyone using the Ideapad 330 with Ubuntu 19.04 and noticing any problems?

@niall430

This comment has been minimized.

Copy link

niall430 commented May 16, 2019

Awesomeness! Wifi working now after weeks of trying everything. Perfection! I was about to send my laptop back

@muhammedkhaled

This comment has been minimized.

Copy link

muhammedkhaled commented May 17, 2019

I have a few issues with Lenovo Ideapad 330-15ICH in Ubuntu:

Lap freez every time i click on restart and shutdown abd the only way to close is to hold the power butten for 5 sec .
There's no battery indicator and management. No way to see battery charge, and no powersave measures.
Brightness hotkeys don't work.
Doesn't hibernate when closing the laptop.
Wi-fi card not detected by default.
1TB HDD not mounted by default
NVidia card not configured by default.
Can't modify monitor settings

.I don't have a solution for the other issues.

Is there any one have model 15 ich and tried this solution and succed
Do you have any other outstanding issues? Did you find the same as me?

@danilo-jlle

This comment has been minimized.

Copy link

danilo-jlle commented May 18, 2019

I have Manjaro working on this Laptop after a week of fiddling around with settings. If you are ok with Arch/ Manjaro I can share my config. One of the issues is getting the wifi working, and you can just follow instructions in the doc. Please let me know if you would like to see how to make Arch Linux work on this laptop. I too have an AMD Ryzen 330s.

Hi. I have a Manjaro install but no touchpad (elan469D). How you solved it?

@carlosalonso

This comment has been minimized.

Copy link

carlosalonso commented May 20, 2019

Anyone using the Ideapad 330 with Ubuntu 19.04 and noticing any problems?

Everything was working properly, until the latest kernel update somehow broke fan control. Now fans are not working.

@evilSwanson

This comment has been minimized.

Copy link

evilSwanson commented May 21, 2019

For anyone interested in installing 19.04 on it: I bought the Lenovo Ideapad 330 yesterday and installed Ubuntu 19.04 (wiped the preinstalled W10, encrypted Ubuntu partition, with secure boot enabled). It seems that everything works out of the box. No Problems with WiFi or the touchpad so far.

@Minzord

This comment has been minimized.

Copy link

Minzord commented May 22, 2019

Have you got a fix for brightness control ? f11 and f12 ?
And in Grub the argument: noapic is require for start.
And the microphone connect in the jack socket don't work.

(Lenovo 330S-15ARR Modèle de type de machine: 81FB007FFR)

Have you got any suggestions?

@mentolrespiral

This comment has been minimized.

Copy link

mentolrespiral commented May 25, 2019

I'm on Ubuntu 18.04.2. I have installed the kernel 5.1.0-050100-generic and now almost everything works fine. The touchpad works well (before it stopped working when it came back to suspend), wifi works and also the microphone connect in the jack socket. The battery is recognized and works well (the fast charging I do not know if it is possible). I have the Nvidia card turned off in the bios. I have tried and it works but the problems continue when trying to restart the laptop.

@naanadr

This comment has been minimized.

Copy link

naanadr commented May 25, 2019

I have Manjaro working on this Laptop after a week of fiddling around with settings. If you are ok with Arch/ Manjaro I can share my config. One of the issues is getting the wifi working, and you can just follow instructions in the doc. Please let me know if you would like to see how to make Arch Linux work on this laptop. I too have an AMD Ryzen 330s.

Can you share this doc, please? I have lost my mind, trying to make this working.

@Sudhish8103

This comment has been minimized.

Copy link

Sudhish8103 commented Jun 1, 2019

I'm on Ubuntu 18.04 and my wi-fi adapter isn't working. I get the following error when i try to tun the command 'Make" on the terminal.
/bin/sh: 1: cc: not found
(standard_in) 1: syntax error
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.0.0-050000-generic/build M=/home/sudhish/rtl8821ce modules
make[1]: *** /lib/modules/5.0.0-050000-generic/build: No such file or directory. Stop.
Makefile:1902: recipe for target 'modules' failed
make: *** [modules] Error 2

Please help

@jurgenizer

This comment has been minimized.

Copy link

jurgenizer commented Jun 18, 2019

Thank you for this. I was having touchpad issues on my Lenovo IdeaPad 330-14IGM (Intel Celeron N4000 CPU), with elementary OS 5.0 Juno. You suggestion to update the kernel resolved my issue. However I used Ukuu instead of the terminal.

@debojyoti

This comment has been minimized.

Copy link
Owner Author

debojyoti commented Jun 22, 2019

I'm on Ubuntu 18.04 and my wi-fi adapter isn't working. I get the following error when i try to tun the command 'Make" on the terminal.
/bin/sh: 1: cc: not found
(standard_in) 1: syntax error
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.0.0-050000-generic/build M=/home/sudhish/rtl8821ce modules
make[1]: *** /lib/modules/5.0.0-050000-generic/build: No such file or directory. Stop.
Makefile:1902: recipe for target 'modules' failed
make: *** [modules] Error 2

Please help

@Sudhish8103, I guess build-essential is not installed in your machine,
try sudo apt-get install build-essential first and then run make

@debojyoti

This comment has been minimized.

Copy link
Owner Author

debojyoti commented Jun 22, 2019

I'm on Ubuntu 18.04.2. I have installed the kernel 5.1.0-050100-generic and now almost everything works fine. The touchpad works well (before it stopped working when it came back to suspend), wifi works and also the microphone connect in the jack socket. The battery is recognized and works well (the fast charging I do not know if it is possible). I have the Nvidia card turned off in the bios. I have tried and it works but the problems continue when trying to restart the laptop.

Backup your data and try 18.10

@xoftware

This comment has been minimized.

Copy link

xoftware commented Jun 24, 2019

I am on 18.04.2 LTS, and have had no issues. This guide also helps: https://www.reddit.com/r/kernel/comments/a82g14/lenovo_330s_amd_ryzen_5_lts_ubuntu_1804/ (Note: Use "ivrs_ioapic[32]=00:14.0" instead of "noapic" to use the trackpad.)

After the most recent update, I also had to add "nomodeset" kernel parameter to grub, otherwise it freezes at the splash screen. (Side Note: I would also recommend saving your drivers from this tutorial in case you need to reinstall them after an update.)

The little Vega 8 GPU is even able to play some Steam games, see my report on protondb: https://www.protondb.com/app/460920. However, it does start to throttle after a short while, lol.

The only issue, which has to do with Ryzen, is rarely it freezes, seemingly when RAM is fully used up. If anybody knows what I'm talking about and any solutions, that would be great! Otherwise, it reboots really fast and it's not even worth complaining about.

@leotada

This comment has been minimized.

Copy link

leotada commented Jun 24, 2019

For me, the touchpad was inconsistent once it worked, but after reboot stopped working. To work every time I have to use the parameter: acpi_osi='Windows 2018' along with ivrs_ioapic[32]=00:14.0 (Fedora 30 64x kernel 5.1.11)

@ingejae

This comment has been minimized.

Copy link

ingejae commented Jul 14, 2019

Lenovo 330S 15ARR - Touchpad Solved

Hello, I solved the touchpad issue for Lenovo 330S 15ARR.

I think, it should work for Lenovo 330 15ARR too.

I'm using Xubuntu 16.04 and works with any kernel.

Follow step 3 on the next link:

https://www.reddit.com/r/kernel/comments/a82g14/lenovo_330s_amd_ryzen_5_lts_ubuntu_1804/

Hope this helps.

@jarrTecn

This comment has been minimized.

Copy link

jarrTecn commented Jul 21, 2019

Hello, About the microphone problem, I found this solution, but the sounds recorded are very tiny.

@igoswamirohit

This comment has been minimized.

Copy link

igoswamirohit commented Jul 27, 2019

getting these error when i use the "make" command :

/bin/sh: 1: bc: not found
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-kali4-amd64/build M=/root/rtl8821ce modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-kali4-amd64'
/bin/sh: 1: bc: not found
CC [M] /root/rtl8821ce/core/rtw_cmd.o
In file included from /root/rtl8821ce/include/drv_types.h:35,
from /root/rtl8821ce/core/rtw_cmd.c:22:
/root/rtl8821ce/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /root/rtl8821ce/include/osdep_service_linux.h:86,
from /root/rtl8821ce/include/osdep_service.h:48,
from /root/rtl8821ce/include/drv_types.h:32,
from /root/rtl8821ce/core/rtw_cmd.c:22:
/usr/src/linux-headers-4.19.0-kali4-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /root/rtl8821ce/core/rtw_security.o
In file included from /root/rtl8821ce/include/drv_types.h:35,
from /root/rtl8821ce/core/rtw_security.c:22:
/root/rtl8821ce/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /root/rtl8821ce/include/osdep_service_linux.h:86,
from /root/rtl8821ce/include/osdep_service.h:48,
from /root/rtl8821ce/include/drv_types.h:32,
from /root/rtl8821ce/core/rtw_security.c:22:
/usr/src/linux-headers-4.19.0-kali4-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /root/rtl8821ce/core/rtw_debug.o
In file included from /root/rtl8821ce/include/drv_types.h:35,
from /root/rtl8821ce/core/rtw_debug.c:22:
/root/rtl8821ce/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /root/rtl8821ce/include/osdep_service_linux.h:86,
from /root/rtl8821ce/include/osdep_service.h:48,
from /root/rtl8821ce/include/drv_types.h:32,
from /root/rtl8821ce/core/rtw_debug.c:22:
/usr/src/linux-headers-4.19.0-kali4-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

/root/rtl8821ce/core/rtw_debug.c: In function ‘dump_drv_version’:
/root/rtl8821ce/core/rtw_debug.c:50:62: error: macro "DATE" might prevent reproducible builds [-Werror=date-time]
RTW_PRINT_SEL(sel, "build time: %s %s\n", DATE, TIME);
^
/root/rtl8821ce/core/rtw_debug.c:50:62: error: macro "TIME" might prevent reproducible builds [-Werror=date-time]
/root/rtl8821ce/core/rtw_debug.c:50:62: error: macro "DATE" might prevent reproducible builds [-Werror=date-time]
/root/rtl8821ce/core/rtw_debug.c:50:62: error: macro "TIME" might prevent reproducible builds [-Werror=date-time]
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.19.0-kali4-common/scripts/Makefile.build:309: /root/rtl8821ce/core/rtw_debug.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.19.0-kali4-common/Makefile:1535: module/root/rtl8821ce] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-kali4-amd64'
make: *** [Makefile:1902: modules] Error 2

i am on kali linux and using kernel 4.19.0

@ingejae

This comment has been minimized.

Copy link

ingejae commented Aug 2, 2019

getting these error when i use the "make" command :

> /bin/sh: 1: bc: not found

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-kali4-amd64/build M=/root/rtl8821ce modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-kali4-amd64'

> /bin/sh: 1: bc: not found

CC [M] /root/rtl8821ce/core/rtw_cmd.o
In file included from /root/rtl8821ce/include/drv_types.h:35,
from /root/rtl8821ce/core/rtw_cmd.c:22:
/root/rtl8821ce/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

i am on kali linux and using kernel 4.19.0

Hello, try:

sudo apt install bc

@igoswamirohit

This comment has been minimized.

Copy link

igoswamirohit commented Aug 2, 2019

@rupeshknn

This comment has been minimized.

Copy link

rupeshknn commented Aug 15, 2019

Hey,

getting these error when i use the "make" command :

/bin/sh: 1: bc: not found
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-kali4-amd64/build M=/root/rtl8821ce modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-kali4-amd64'
/bin/sh: 1: bc: not found
CC [M] /root/rtl8821ce/core/rtw_cmd.o
In file included from /root/rtl8821ce/include/drv_types.h:35,
from /root/rtl8821ce/core/rtw_cmd.c:22:
/root/rtl8821ce/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /root/rtl8821ce/include/osdep_service_linux.h:86,
from /root/rtl8821ce/include/osdep_service.h:48,
from /root/rtl8821ce/include/drv_types.h:32,
from /root/rtl8821ce/core/rtw_cmd.c:22:
/usr/src/linux-headers-4.19.0-kali4-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /root/rtl8821ce/core/rtw_security.o
In file included from /root/rtl8821ce/include/drv_types.h:35,
from /root/rtl8821ce/core/rtw_security.c:22:
/root/rtl8821ce/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /root/rtl8821ce/include/osdep_service_linux.h:86,
from /root/rtl8821ce/include/osdep_service.h:48,
from /root/rtl8821ce/include/drv_types.h:32,
from /root/rtl8821ce/core/rtw_security.c:22:
/usr/src/linux-headers-4.19.0-kali4-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /root/rtl8821ce/core/rtw_debug.o
In file included from /root/rtl8821ce/include/drv_types.h:35,
from /root/rtl8821ce/core/rtw_debug.c:22:
/root/rtl8821ce/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /root/rtl8821ce/include/osdep_service_linux.h:86,
from /root/rtl8821ce/include/osdep_service.h:48,
from /root/rtl8821ce/include/drv_types.h:32,
from /root/rtl8821ce/core/rtw_debug.c:22:
/usr/src/linux-headers-4.19.0-kali4-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

/root/rtl8821ce/core/rtw_debug.c: In function ‘dump_drv_version’:
/root/rtl8821ce/core/rtw_debug.c:50:62: error: macro "DATE" might prevent reproducible builds [-Werror=date-time]
RTW_PRINT_SEL(sel, "build time: %s %s\n", DATE, TIME);
^
/root/rtl8821ce/core/rtw_debug.c:50:62: error: macro "TIME" might prevent reproducible builds [-Werror=date-time]
/root/rtl8821ce/core/rtw_debug.c:50:62: error: macro "DATE" might prevent reproducible builds [-Werror=date-time]
/root/rtl8821ce/core/rtw_debug.c:50:62: error: macro "TIME" might prevent reproducible builds [-Werror=date-time]
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.19.0-kali4-common/scripts/Makefile.build:309: /root/rtl8821ce/core/rtw_debug.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.19.0-kali4-common/Makefile:1535: module/root/rtl8821ce] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-kali4-amd64'
make: *** [Makefile:1902: modules] Error 2

i am on kali linux and using kernel 4.19.0

Hey, were you able to solve it?

@igoswamirohit

This comment has been minimized.

Copy link

igoswamirohit commented Aug 15, 2019

@rupeshknn

This comment has been minimized.

Copy link

rupeshknn commented Aug 16, 2019

Yeah, I was able to solve it as well. Apparently the problem was with my C compiler, it was compiling it as a c++ file. Uninstalled gcc and it works. I also had to sudo Apt install bcc.

@cahandley

This comment has been minimized.

Copy link

cahandley commented Aug 17, 2019

Thanks for these helpful tips. It was frustrating to have so many problems (black screen, WiFi and touchpad) getting Ubuntu working on this laptop. It doesn’t have an Ethernet port which, without WiFi, makes it difficult to get online to obtain packages (like make and bcc) that aren’t included in the Ubuntu 18.04 distribution. I eventually succeeded by connecting via Bluetooth to my Android phone and its WiFi connection.

@igoswamirohit

This comment has been minimized.

Copy link

igoswamirohit commented Aug 17, 2019

@praneethss

This comment has been minimized.

Copy link

praneethss commented Aug 22, 2019

praneeth@praneeth-Lenovo-ideapad-320-15ISK:$ sudo dpkg -i linux-image-unsigned-4.19.15-041915-generic_4.19.15-041915.201901130432_amd64.deb
(Reading database ... 210177 files and directories currently installed.)
Preparing to unpack linux-image-unsigned-4.19.15-041915-generic_4.19.15-041915.201901130432_amd64.deb ...
Unpacking linux-image-unsigned-4.19.15-041915-generic (4.19.15-041915.201901130432) over (4.19.15-041915.201901130432) ...
dpkg: dependency problems prevent configuration of linux-image-unsigned-4.19.15-041915-generic:
linux-image-unsigned-4.19.15-041915-generic depends on linux-base (>= 4.5ubuntu1
16.04.1); however:
Version of linux-base on system is 4.0ubuntu1.

praneeth@praneeth-Lenovo-ideapad-320-15ISK:~$ sudo dpkg -i linux-headers-4.19.15-041915-generic_4.19.15-041915.201901130432_amd64.deb
(Reading database ... 210177 files and directories currently installed.)
Preparing to unpack linux-headers-4.19.15-041915-generic_4.19.15-041915.201901130432_amd64.deb ...
Unpacking linux-headers-4.19.15-041915-generic (4.19.15-041915.201901130432) over (4.19.15-041915.201901130432) ...
dpkg: dependency problems prevent configuration of linux-headers-4.19.15-041915-generic:
linux-headers-4.19.15-041915-generic depends on libssl1.1 (>= 1.1.0); however:
Package libssl1.1 is not installed.
Getting error with dpkg installation of third second and fourth command.., please help someone logs mentioned below

dpkg: error processing package linux-headers-4.19.15-041915-generic (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-4.19.15-041915-generic

dpkg: error processing package linux-image-unsigned-4.19.15-041915-generic (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-unsigned-4.19.15-041915-generic

@twittobal

This comment has been minimized.

Copy link

twittobal commented Aug 31, 2019

Lenovo 330S 15ARR - Touchpad Solved

Hello, I solved the touchpad issue for Lenovo 330S 15ARR.

I think, it should work for Lenovo 330 15ARR too.

I'm using Xubuntu 16.04 and works with any kernel.

Follow step 3 on the next link:

https://www.reddit.com/r/kernel/comments/a82g14/lenovo_330s_amd_ryzen_5_lts_ubuntu_1804/

Hope this helps.

Many thanks! Works fine on Ubuntu 19.04

@kevingatp

This comment has been minimized.

Copy link

kevingatp commented Oct 10, 2019

getting these error when i use the "make" command :

> /bin/sh: 1: bc: not found

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-kali4-amd64/build M=/root/rtl8821ce modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-kali4-amd64'

> /bin/sh: 1: bc: not found

CC [M] /root/rtl8821ce/core/rtw_cmd.o
In file included from /root/rtl8821ce/include/drv_types.h:35,
from /root/rtl8821ce/core/rtw_cmd.c:22:
/root/rtl8821ce/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40
i am on kali linux and using kernel 4.19.0

Hello, try:

sudo apt install bc

I also use Kali Linux 4.19.0 in my Lenovo Ideapad 330, and I also have installed bc, but I got this error.
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-kali4-amd64/build M=/root/rtl8821ce modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-kali4-amd64'
/root/rtl8821ce/Makefile:2171: //rtl8821c.mk: No such file or directory
make[4]: *** No rule to make target '//rtl8821c.mk'. Stop.
make[3]: *** [/usr/src/linux-headers-4.19.0-kali4-common/Makefile:1535: module/root/rtl8821ce] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-kali4-amd64'
make: *** [Makefile:2242: modules] Error 2

I think the variable TopDir in Makefile doesn't get my folder path, I've tried to make it static, but I got another error while include the file from include and core, I've mine in /root/rtl8821ce

@TeAmP0is0N

This comment has been minimized.

Copy link

TeAmP0is0N commented Oct 15, 2019

Anyone have installed ubuntu 18.04 in lenevo ideapad 330-15IKB? If yes then please share me complete process. Please.

@TeAmP0is0N

This comment has been minimized.

Copy link

TeAmP0is0N commented Oct 15, 2019

Hi there, i have the lenevo ideapad 330-15IKB i5 8th gen with DDR4 8gb & 2gb nvidia graphics. Anyone have installed ubuntu in same system. Please guide me. Which software I should use for boot and at what point i should remove my pendrive. That's it! Please help me with this.

@mentolrespiral

This comment has been minimized.

Copy link

mentolrespiral commented Oct 17, 2019

I've done. You can install it normally and it works fine except when the nvidia card is enabled that does not allow you to turn off the laptop properl. Find an ubuntu installation guide and it will help you. You do not need a specific guide for this model.

I forgot: install a kernel of version 5.1.0 or higher. That solves the problems of battery recognition and touchpad. It's in ubuntu repositories but you have to install it manually in synaptic or another package manager

@mohyeh77

This comment has been minimized.

Copy link

mohyeh77 commented Nov 11, 2019

Great work, you did it well, and everything work fine, wish more, and try to tell us how we can install vga correctly.

@obi0ne

This comment has been minimized.

Copy link

obi0ne commented Nov 16, 2019

Thank you for this page :)
Without it I would probably have a 420$ brick, as I could not get the WiFi to work.

I tried to get KaliLinux 2019.3 running on my ideapad 330s-15arr, but gave up after 4 hours of NO-GO.
Eventually installed Ubuntu 19 & the installation was rather smooth, except for the WiFi which was not detected.

Has anyone managed to install KaliLinux on this box & can share the exact steps ?
There I had to use the "ivrs_ioapic[32]=00:14.0" append to line in the kali install screen, and only for USB image that generate as GPT from RUFUS (via DD). any attempt as MBR with iso write gave during install "could not read cd-rom" errors. But trouble is even after GPT boot image, I could not get the partition to work, kept getting FAIL message. Seems there is some issue that installer attempt to create partition as SDA while it was already mounted to USB ??

@HubballiHuli

This comment has been minimized.

Copy link

HubballiHuli commented Nov 29, 2019

Thank You verymuch, Worked like a charm for wifi connections

@piranna

This comment has been minimized.

Copy link

piranna commented Dec 4, 2019

With Ubuntu 19.10, I don't get disconnection of external monitor to be properly noticed, and sometimes connecting it too. The main problem thought, is that laptop doesn't suspend when screen is closed.

@euqueme

This comment has been minimized.

Copy link

euqueme commented Dec 10, 2019

Lenovo 330S 15ARR - Touchpad Solved

Hello, I solved the touchpad issue for Lenovo 330S 15ARR.

I think, it should work for Lenovo 330 15ARR too.

I'm using Xubuntu 16.04 and works with any kernel.

Follow step 3 on the next link:

https://www.reddit.com/r/kernel/comments/a82g14/lenovo_330s_amd_ryzen_5_lts_ubuntu_1804/

Hope this helps.

did this and worked just fine thank you very much my computer is a Lenovo Ideapad 330S

@rriclet

This comment has been minimized.

Copy link

rriclet commented Jan 14, 2020

Lenovo 330S 15ARR - Touchpad Solved

Hello, I solved the touchpad issue for Lenovo 330S 15ARR.

I think, it should work for Lenovo 330 15ARR too.

I'm using Xubuntu 16.04 and works with any kernel.

Follow step 3 on the next link:

https://www.reddit.com/r/kernel/comments/a82g14/lenovo_330s_amd_ryzen_5_lts_ubuntu_1804/

Hope this helps.

I discovered this thread after 2 hours struggling with installation, thank you !
The touchpad fix works great on 19.10 <3

@stoufa

This comment has been minimized.

Copy link

stoufa commented Jan 23, 2020

No luck with LENOVO ideapad 330 (Issue-3) 😢

@obi0ne

This comment has been minimized.

Copy link

obi0ne commented Jan 25, 2020

Anyone got a solution to fact laptop does not hibrenate when screen goes down on Ubuntu ?

@piranna

This comment has been minimized.

Copy link

piranna commented Jan 26, 2020

Anyone got a solution to fact laptop does not hibrenate when screen goes down on Ubuntu ?

Same problem here with ideapad 330. So far, I'm only able to hibernate by selecting shutdown > suspend by hand. Power button doesn't works, too.

@shantanu-tomar

This comment has been minimized.

Copy link

shantanu-tomar commented Feb 12, 2020

Anyone got a solution to fact laptop does not hibrenate when screen goes down on Ubuntu ?

Same problem here with ideapad 330. So far, I'm only able to hibernate by selecting shutdown > suspend by hand. Power button doesn't works, too.

To hibernate you have to make a "swap file" (many tutorials online) of size 1GB more than your RAM size. Hibernating is easy. But my wifi disconnects after waking up, and doesn't reconnect again easily. So keep that in mind.

@piranna

This comment has been minimized.

Copy link

piranna commented Feb 12, 2020

Honestly I don't care too much about hibernation than suspend it when lid is closen or being able to adjust screen brightness, but thank you anyway :-)

@Dominos

This comment has been minimized.

Copy link

Dominos commented Feb 13, 2020

I'm struggling with some charging issues on ideapad 330 on Ubuntu 19.10. What I mean by issues is whenever I plug in charger systems detects it after a while. The same situation occurs when disconnecting a charger. Has any of you already solved this issue?

@pijuzmagnificuz

This comment has been minimized.

Copy link

pijuzmagnificuz commented Mar 12, 2020

Good job, wifi seems work perfectly!!

@kascesar

This comment has been minimized.

Copy link

kascesar commented Apr 1, 2020

Hi, i love this repo. This Solve de WiFi isue in mi Lenovo 330s with AMD ryzen 7. Now i have a question. The driver Will be in the next kernel version ? ...
Thanks a lot for sharing!

@Athena-817

This comment has been minimized.

Copy link

Athena-817 commented Apr 4, 2020

Hi,
Even after trying the below steps, WIFI still not working. Secure Boot is also in Disabled status.
cd rtl8821ce/
sudo make all
sudo make install
sudo modprobe -a 8821ce

@stoufa

This comment has been minimized.

Copy link

stoufa commented Apr 23, 2020

Issue #2 solved (Wifi) but I'm still struggling with Issue #3 (Touchpad)
I'm using version 5.6.6 of the kernel.

I have a problem with my microphone as well.
I tried reducing the Front Right slider under input Devices on PulseAudio Volum Control as explained in this stackoverflow.com thread, however, it works for a couple of minutes then it resets back to its initial state. I have no idea why.

@shantanu-tomar

This comment has been minimized.

Copy link

shantanu-tomar commented Apr 24, 2020

For rtl8821ce wifi driver installation, read the Manual Installation section of the readme file on the original developer's github page. And download the driver from there. It is the latest version, always.

https://github.com/tomaspinho/rtl8821ce/blob/master/README.md

@shantanu-tomar

This comment has been minimized.

Copy link

shantanu-tomar commented Apr 24, 2020

Many drivers stop working when you update linux kernel. You'll have to install them again on the newer kernel. Could be that there is no updated version of that driver for the newer kernel yet. Anyways, follow the many basic instructions available online to make touchpad work.

Btw, I'm still on 5.3 kernel. Everything just works. And personally, latest kernels make no difference to my work.

@Dominos

This comment has been minimized.

Copy link

Dominos commented May 4, 2020

guys do you have any issues with charger on any kernel version? Could anyone provide me output of acpidump?

@debojyoti

This comment has been minimized.

Copy link
Owner Author

debojyoti commented Jun 27, 2020

@Dominos, which model are you using?

@Dominos

This comment has been minimized.

Copy link

Dominos commented Jun 28, 2020

@Dominos, which model are you using?

it was on Lenovo Ideapad 330 17-ICH. I've investigated further and it turned out to be DSDT-related problems, so it required some SSDT patching. Unfortunately I don't own this laptop anymore, so I can no longer share more informations about this issue.

@rockytirajean

This comment has been minimized.

Copy link

rockytirajean commented Jul 5, 2020

Hi, i'm using 330s-15arr (256gb ssd, 8gb ram, vega 8 + radeon 540), the temperature really high even after installing tlp/slimbook battery 3, is there any problem with it?

@debojyoti

This comment has been minimized.

Copy link
Owner Author

debojyoti commented Jul 5, 2020

@rockytirajean what distro are you using?

@rockytirajean

This comment has been minimized.

Copy link

rockytirajean commented Jul 5, 2020

Ubuntu 20.04

@codingtalkie

This comment has been minimized.

Copy link

codingtalkie commented Jul 11, 2020

I have a Lenovo Ideapad 330 and I have no wifi. Tried 7 distros!
The only one that can see my wifi adapter is Manjaro, but Can't find any driver.
The wifi adapter i from Realtek.

Both Mageia 7 / 8 and OpenMandriva LX 4 detect the RealTek wifi adapater by default and works fine. All you have to do is to use the NetWorkManager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.