Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Touchpad not working lenovo legion y530 dual boot

Help for Current Versions of MX
Message
Author
stefano
Forum Novice
Forum  Novice
Posts: 24
Joined: Sun Mar 25, 2018 4:04 am

Re: Touchpad not working lenovo legion y530 dual boot

#31 Post by stefano » Sat Dec 08, 2018 3:41 pm

Ok just inslalled dd-mx
Now found in mx-tools the nvidia driver installer after "ddm-mx -i nvidia" command:

Code: Select all

$ sudo ddm-mx -i nvidia
[sudo] password di stefano: 
creazione lock ...
===================================
Installa drivers per: nvidia
Avvia il (m/g/anno): 12/08/2018 20:36:11
===================================


Questo è un sistema NVIDIA/INTEL Optimus?
  1) sì (default)
  2) no
Premi <Invio> per il predefinito la voce
Usa 'q' su esci
1

Candidato è: 3.2.1-17~mx17+1
Installato é: 3.2.1-17~mx17+1

Vuoi controllare i debian-backports per una versione successiva?

Si o No?

1: Sì
2: No

Enter Number of selection
1
Ok...
Abilitazione del repo backports
Esecuzione di apt-get update in corso...
Scaricamento di:1 http://security.debian.org stretch/updates InRelease [94,3 kB]
Scaricamento di:2 http://ftp.it.debian.org/debian stretch-updates InRelease [91,0 kB]
Scaricamento di:3 http://ftp.debian.org/debian stretch-backports InRelease [91,8 kB]
Scaricamento di:4 http://ftp.cc.uoc.gr/mirrors/linux/mx/antix/stretch stretch InRelease [27,4 kB]
Ign:5 http://ftp.it.debian.org/debian stretch InRelease
Scaricamento di:6 http://mxrepo.com/mx/testrepo mx18 InRelease [3.735 B]
Ign:7 https://dl.bintray.com/aluxian/deb beta InRelease
Trovato:8 http://ftp.it.debian.org/debian stretch Release
Trovato:9 https://dl.bintray.com/aluxian/deb beta Release
Scaricamento di:10 http://security.debian.org stretch/updates/main i386 Packages [463 kB]
Scaricamento di:11 http://ftp.debian.org/debian stretch-backports/main amd64 Packages [523 kB]
Scaricamento di:12 http://ftp.cc.uoc.gr/mirrors/linux/mx/mx/repo stretch InRelease [8.136 B]
Scaricamento di:15 http://mxrepo.com/mx/testrepo mx18/dev i386 Packages [123 kB]
Scaricamento di:16 http://ftp.cc.uoc.gr/mirrors/linux/mx/antix/stretch stretch/main i386 Packages [175 kB]
Scaricamento di:17 http://security.debian.org stretch/updates/main amd64 Packages [461 kB]
Scaricamento di:18 http://mxrepo.com/mx/testrepo mx18/dev amd64 Packages [122 kB]
Scaricamento di:19 http://ftp.cc.uoc.gr/mirrors/linux/mx/antix/stretch stretch/main amd64 Packages [169 kB]
Scaricamento di:20 http://security.debian.org stretch/updates/contrib i386 Packages [1.764 B]
Scaricamento di:21 http://security.debian.org stretch/updates/contrib amd64 Packages [1.764 B]
Scaricamento di:22 http://ftp.debian.org/debian stretch-backports/main i386 Packages [517 kB]
Scaricamento di:23 http://ftp.cc.uoc.gr/mirrors/linux/mx/mx/repo stretch/main amd64 Packages [368 kB]
Scaricamento di:24 http://ftp.cc.uoc.gr/mirrors/linux/mx/mx/repo stretch/main i386 Packages [369 kB]
Scaricamento di:25 http://ftp.debian.org/debian stretch-backports/main Translation-en [400 kB]
Scaricamento di:26 http://ftp.debian.org/debian stretch-backports/contrib amd64 Packages [7.620 B]
Scaricamento di:27 http://ftp.debian.org/debian stretch-backports/contrib i386 Packages [7.252 B]
Scaricamento di:28 http://ftp.debian.org/debian stretch-backports/contrib Translation-en [6.233 B]
Scaricamento di:29 http://ftp.debian.org/debian stretch-backports/non-free i386 Packages [19,4 kB]
Scaricamento di:30 http://ftp.debian.org/debian stretch-backports/non-free amd64 Packages [29,1 kB]
Scaricamento di:31 http://ftp.debian.org/debian stretch-backports/non-free Translation-en [33,8 kB]
Recuperati 4.113 kB in 13s (314 kB/s)
Lettura elenco dei pacchetti...

Si installa l'ultimo pacchetto nvidia-detect

Lettura elenco dei pacchetti...
Generazione albero delle dipendenze...
Lettura informazioni sullo stato...
I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
  libbsd0:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386
  libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexpat1:i386
  libffi6:i386 libgl1:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386
  libglapi-mesa:i386 libglvnd0:i386 libglx-mesa0:i386 libglx0:i386
  libgpm2:i386 libllvm7:i386 libncurses5:i386 libpciaccess0:i386
  libsensors4:i386 libstdc++6:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386
  libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386
  libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxdamage1:i386
  libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxshmfence1:i386
  libxxf86vm1:i386
Usare "sudo apt autoremove" per rimuoverli.
I seguenti pacchetti saranno aggiornati:
  nvidia-detect
1 aggiornati, 0 installati, 0 da rimuovere e 147 non aggiornati.
                                                                È necessario scaricare 0 B/193 kB di archivi.
         Dopo quest'operazione, verranno occupati 0 B di spazio su disco.
(Lettura del database... 389444 file e directory attualmente installati.)(Lettura del database... 
Preparativi per estrarre .../nvidia-detect_390.87-2~bpo9+1_amd64.deb...
Estrazione di nvidia-detect (390.87-2~bpo9+1) su (390.87-2~bpo9+1~mx17+2)...
Configurazione di nvidia-detect (390.87-2~bpo9+1)...

Candidato è: 3.2.1-17~mx17+1
Il candidato di debian backports è:   3.2.1-17~mx17+1
Installato é: 3.2.1-17~mx17+1

il driver nvidia è già installato

Reinstallare o uscire?

1: Reinstallare
2: uscire

Inserisci il numero di selezione
2
si esce...


Trovato:1 http://security.debian.org stretch/updates InRelease
Trovato:2 http://ftp.it.debian.org/debian stretch-updates InRelease                                
Ign:3 http://ftp.it.debian.org/debian stretch InRelease                                            
Trovato:4 http://ftp.it.debian.org/debian stretch Release                                          
Ign:5 https://dl.bintray.com/aluxian/deb beta InRelease                                            
Trovato:6 http://ftp.cc.uoc.gr/mirrors/linux/mx/antix/stretch stretch InRelease                  
Trovato:7 https://dl.bintray.com/aluxian/deb beta Release                                       
Trovato:9 http://mxrepo.com/mx/testrepo mx18 InRelease                                             
Trovato:11 http://ftp.cc.uoc.gr/mirrors/linux/mx/mx/repo stretch InRelease                         
Lettura elenco dei pacchetti... Fatto                 

Premi <Enter> per uscire

stefano
Forum Novice
Forum  Novice
Posts: 24
Joined: Sun Mar 25, 2018 4:04 am

Re: Touchpad not working lenovo legion y530 dual boot

#32 Post by stefano » Sat Dec 08, 2018 3:45 pm

Cannot see any nvidia driver installed.

Code: Select all

stefano@mx:~
$ inxi -F
System:    Host: mx Kernel: 4.18.7-antix.1-amd64-smp x86_64 bits: 64 Desktop: Xfce 4.12.3 
           Distro: MX-18_x64 Continuum March 14  2018 
Machine:   Type: Laptop System: LENOVO product: 81FV v: Lenovo Legion Y530-15ICH 
           serial: <root required> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <root required> 
           UEFI: LENOVO v: 8JCN44WW date: 08/13/2018 
Battery:   ID-1: BAT0 charge: 51.8 Wh condition: 52.4/52.5 Wh (100%) 
CPU:       Topology: Quad Core model: Intel Core i5-8300H bits: 64 type: MT MCP 
           L2 cache: 8192 KiB 
           Speed: 1000 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 1097 2: 1040 3: 1043 
           4: 1079 5: 1078 6: 1042 7: 1081 8: 1099 
Graphics:  Device-1: Intel driver: i915 v: kernel 
           Device-2: NVIDIA driver: N/A 
           Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1360x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) 
           v: 4.5 Mesa 18.2.6 
Audio:     Device-1: Intel driver: snd_hda_intel 
           Sound Server: ALSA v: k4.18.7-antix.1-amd64-smp 
Network:   Device-1: Intel Dual Band Wireless-AC 3165 Plus Bluetooth driver: iwlwifi 
           IF: wlan0 state: up mac: 04:d3:b0:9e:1b:00 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: eth0 state: down mac: e8:6a:64:16:09:10 
Drives:    Local Storage: total: 1.03 TiB used: 7.41 GiB (0.7%) 
           ID-1: /dev/nvme0n1 model: RPFTJ128PDD2EWX size: 119.24 GiB 
           ID-2: /dev/sda vendor: Western Digital model: WD10SPZX-24Z10 size: 931.51 GiB 
Partition: ID-1: / size: 226.79 GiB used: 7.38 GiB (3.3%) fs: ext4 dev: /dev/sda2 
           ID-2: swap-1 size: 16.35 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 49.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 230 Uptime: 1h 39m Memory: 7.67 GiB used: 990.9 MiB (12.6%) Shell: bash 
           inxi: 3.0.25 
stefano@mx:~

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 17016
Joined: Fri Dec 15, 2006 8:07 pm

Re: Touchpad not working lenovo legion y530 dual boot

#33 Post by Stevo » Sat Dec 08, 2018 6:00 pm

You should not have tried to install it from backports, but maybe it worked.

With a normal Optimus system, you don't see the driver with "inxi -G", since the Nvidia card is normally turned off to save power. If you have Bumblebee working,

Code: Select all

optirun inxi -G
will switch on the card just for that command, and will show it taking over the 3D rendering in the last line, like for me:

Code: Select all

$ optirun inxi -G
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: nvidia v: 390.87 
           Display: x11 server: X.Org 1.19.2 driver: intel resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 390.87


But, like I said, some systems need some tweaks to get Bumblebee working.

You can also confirm that the Nvidia and Bumblebee switcher drivers did build by reinstalling them and watching the output:

Code: Select all

sudo apt-get install --reinstall nvidia-kernel-dkms bbswitch-dkms

stefano
Forum Novice
Forum  Novice
Posts: 24
Joined: Sun Mar 25, 2018 4:04 am

Re: Touchpad not working lenovo legion y530 dual boot

#34 Post by stefano » Sat Dec 08, 2018 6:30 pm

Code: Select all

stefano@mx:~
$ optirun inxi -G
Graphics:  Device-1: Intel driver: i915 v: kernel 
           Device-2: NVIDIA driver: nvidia v: 390.87 
           Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1360x768~60Hz 
           Message: No advanced graphics data found on this system. 
stefano@mx:~

stefano
Forum Novice
Forum  Novice
Posts: 24
Joined: Sun Mar 25, 2018 4:04 am

Re: Touchpad not working lenovo legion y530 dual boot

#35 Post by stefano » Sat Dec 08, 2018 6:36 pm

Code: Select all

stefano@mx:~
$ sudo apt-get install --reinstall nvidia-kernel-dkms bbswitch-dkms
[sudo] password di stefano: 
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
La reinstallazione di bbswitch-dkms non è possibile, non può essere scaricato.
0 aggiornati, 0 installati, 1 reinstallati, 0 da rimuovere e 0 non aggiornati.
È necessario scaricare 0 B/8.838 kB di archivi.
Dopo quest'operazione, verranno occupati 0 B di spazio su disco.
Continuare? [S/n] s
(Lettura del database... 389361 file e directory attualmente installati.)
Preparativi per estrarre .../nvidia-kernel-dkms_390.87-2~bpo9+1~mx17+2_amd64.deb...

-------- Uninstall Beginning --------
Module:  nvidia-current
Version: 390.87
Kernel:  4.18.7-antix.1-amd64-smp (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia-current.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.18.7-antix.1-amd64-smp/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-current-modeset.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.18.7-antix.1-amd64-smp/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-current-drm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.18.7-antix.1-amd64-smp/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


nvidia-current-uvm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.18.7-antix.1-amd64-smp/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod.......

DKMS: uninstall completed.

------------------------------
Deleting module version: 390.87
completely from the DKMS tree.
------------------------------
Done.
Estrazione di nvidia-kernel-dkms (390.87-2~bpo9+1~mx17+2) su (390.87-2~bpo9+1~mx17+2)...
Configurazione di nvidia-kernel-dkms (390.87-2~bpo9+1~mx17+2)...
Loading new nvidia-current-390.87 DKMS files...
Building for 4.18.7-antix.1-amd64-smp
Building initial module for 4.18.7-antix.1-amd64-smp
Done.

nvidia-current:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.18.7-antix.1-amd64-smp/updates/dkms/

nvidia-current-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.18.7-antix.1-amd64-smp/updates/dkms/

nvidia-current-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.18.7-antix.1-amd64-smp/updates/dkms/

nvidia-current-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.18.7-antix.1-amd64-smp/updates/dkms/

depmod...

DKMS: install completed.
stefano@mx:~

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 17016
Joined: Fri Dec 15, 2006 8:07 pm

Re: Touchpad not working lenovo legion y530 dual boot

#36 Post by Stevo » Sat Dec 08, 2018 6:38 pm

Your system might need tweaking to get Bumblebee to work, like mine did.

However, I don't know why you don't have bbswitch-dkms available, and how you ended up having the MX nvidia installer removed. Bumblebee won't work without that bbswitch driver! This is very worrisome, and makes me wonder what else has happened to your system to cause that. What do you get with

Code: Select all

apt policy bbswitch-dkms

stefano
Forum Novice
Forum  Novice
Posts: 24
Joined: Sun Mar 25, 2018 4:04 am

Re: Touchpad not working lenovo legion y530 dual boot

#37 Post by stefano » Sat Dec 08, 2018 7:23 pm

Code: Select all

stefano@mx:~
$ apt policy bbswitch-dkms
bbswitch-dkms:
  Installato: 0.8-5~obs1
  Candidato:  0.8-5~obs1
  Tabella versione:
 *** 0.8-5~obs1 100
        100 /var/lib/dpkg/status
     0.8-5~mx17+1 500
        500 http://mxrepo.com/mx/testrepo mx18/dev amd64 Packages
     0.8-4 500
        500 http://ftp.it.debian.org/debian stretch/main amd64 Packages
stefano@mx:~

Post Reply

Return to “MX Help”