Optimus laptop issues


#41
cat /etc/X11/xorg.conf.d/*
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "pl"
        Option "XkbModel" "pc105"
EndSection
##
## Generated by mhwd - Manjaro Hardware Detection
##
 
 
Section "Device"
    Identifier  "Device0"
    Driver      "intel"
    BusID       "PCI:0:2:0"
    Option      "AccelMethod" "sna"
	Option      "DRI"    "true"
EndSection
 
 
Section "DRI"
        Group  "video"
        Mode   0666
EndSection
 
 
Section "Extensions"
    Option "Composite" "Enable"
    Option "RENDER"    "Enable"
EndSection
 
 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection


#42

ok now:
sudo /etc/X11/xorg.conf.d/50-touchpad.conf
copy/paste this

Section "InputClass"
       Identifier "tap-by-default"
       MatchIsTouchpad "on"
       MatchDriver "libinput"
       Option "Tapping" "on"
EndSection

save/exit (CTRL+X, then Y, then ENTER)


#43
cat /etc/X11/xorg.conf.d/*
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "pl"
        Option "XkbModel" "pc105"
EndSection
Section "InputClass"
       Identifier "tap-by-default"
       MatchIsTouchpad "on"
       MatchDriver "libinput"
       Option "Tapping" "on"
EndSection
##
## Generated by mhwd - Manjaro Hardware Detection
##
 
 
Section "Device"
    Identifier  "Device0"
    Driver      "intel"
    BusID       "PCI:0:2:0"
    Option      "AccelMethod" "sna"
	Option      "DRI"    "true"
EndSection
 
 
Section "DRI"
        Group  "video"
        Mode   0666
EndSection
 
 
Section "Extensions"
    Option "Composite" "Enable"
    Option "RENDER"    "Enable"
EndSection
 
 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Still nothing after reboot


#44

sudo rm -rf /etc/X11/xorg.conf.d/50-touchpad.conf
sudo cp /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/40-touchpad.conf

reboot and post output of
xinput list
libinput list-devices

the problem seems to be the pointer device not being specified and makes it /dev/input/mouse

[   866.897] (II) Using input driver 'mouse' for '<default pointer>'
[   866.897] (**) Option "CorePointer" "on"
[   866.897] (**) <default pointer>: always reports core events
[   866.897] (WW) <default pointer>: No Device specified, looking for one...
[   866.938] (II) <default pointer>: Setting Device option to "/dev/input/mice"
[   866.938] (--) <default pointer>: Device: "/dev/input/mice"

#45
xinput -list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Razer Razer DeathAdder 2013             	id=11	[slave  pointer  (2)]
⎜   ↳ Razer Razer DeathAdder 2013 Consumer Control	id=13	[slave  pointer  (2)]
⎜   ↳ ITE Tech. Inc. ITE Device(8910) Consumer Control	id=18	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Video Bus                               	id=8	[slave  keyboard (3)]
    ↳ Power Button                            	id=9	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=10	[slave  keyboard (3)]
    ↳ Razer Razer DeathAdder 2013 Keyboard    	id=12	[slave  keyboard (3)]
    ↳ Razer Razer DeathAdder 2013 System Control	id=14	[slave  keyboard (3)]
    ↳ Razer Razer DeathAdder 2013             	id=15	[slave  keyboard (3)]
    ↳ USB2.0 HD UVC WebCam: USB2.0 HD         	id=16	[slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Keyboard	id=17	[slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) System Control	id=19	[slave  keyboard (3)]
    ↳ Asus WMI hotkeys                        	id=20	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=21	[slave  keyboard (3)]
    ↳ Razer Razer DeathAdder 2013 Consumer Control	id=22	[slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Consumer Control	id=23	[slave  keyboard (3)]

sudo libinput list-devices

Device:           Power Button
Kernel:           /dev/input/event3
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Video Bus
Kernel:           /dev/input/event20
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Video Bus
Kernel:           /dev/input/event21
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Power Button
Kernel:           /dev/input/event1
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Lid Switch
Kernel:           /dev/input/event2
Group:            4
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Sleep Button
Kernel:           /dev/input/event0
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Razer Razer DeathAdder 2013
Kernel:           /dev/input/event7
Group:            6
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           Razer Razer DeathAdder 2013 Keyboard
Kernel:           /dev/input/event8
Group:            6
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Razer Razer DeathAdder 2013 Consumer Control
Kernel:           /dev/input/event9
Group:            6
Seat:             seat0, default
Capabilities:     keyboard pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Razer Razer DeathAdder 2013 System Control
Kernel:           /dev/input/event10
Group:            6
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Razer Razer DeathAdder 2013
Kernel:           /dev/input/event12
Group:            6
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           USB2.0 HD UVC WebCam: USB2.0 HD
Kernel:           /dev/input/event13
Group:            7
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           ITE Tech. Inc. ITE Device(8910) Keyboard
Kernel:           /dev/input/event15
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           ITE Tech. Inc. ITE Device(8910) Consumer Control
Kernel:           /dev/input/event18
Group:            8
Seat:             seat0, default
Capabilities:     keyboard pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           ITE Tech. Inc. ITE Device(8910) System Control
Kernel:           /dev/input/event19
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH Headphone
Kernel:           /dev/input/event22
Group:            9
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=3
Kernel:           /dev/input/event23
Group:            9
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=7
Kernel:           /dev/input/event24
Group:            9
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=8
Kernel:           /dev/input/event25
Group:            9
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=9
Kernel:           /dev/input/event26
Group:            9
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=10
Kernel:           /dev/input/event27
Group:            9
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Asus WMI hotkeys
Kernel:           /dev/input/event6
Group:            10
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event5
Group:            11
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a


#46

ok, i give up :sweat:.
uninstall bumblebee and install video-linux and post those 2 commands again. if nothing sticks out right away then i can help you with the gpu issue


#47

You can’t give up. You signed on for the duration. :smile:

Very nice job on the assistance. You will figure it out I think.


#48
xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Razer Razer DeathAdder 2013             	id=12	[slave  pointer  (2)]
⎜   ↳ Razer Razer DeathAdder 2013 Consumer Control	id=14	[slave  pointer  (2)]
⎜   ↳ ITE Tech. Inc. ITE Device(8910) Consumer Control	id=19	[slave  pointer  (2)]
⎜   ↳ ELAN1200:00 04F3:3090 Touchpad          	id=21	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Asus Wireless Radio Control             	id=7	[slave  keyboard (3)]
    ↳ Video Bus                               	id=8	[slave  keyboard (3)]
    ↳ Video Bus                               	id=9	[slave  keyboard (3)]
    ↳ Power Button                            	id=10	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=11	[slave  keyboard (3)]
    ↳ Razer Razer DeathAdder 2013 Keyboard    	id=13	[slave  keyboard (3)]
    ↳ Razer Razer DeathAdder 2013 System Control	id=15	[slave  keyboard (3)]
    ↳ Razer Razer DeathAdder 2013             	id=16	[slave  keyboard (3)]
    ↳ USB2.0 HD UVC WebCam: USB2.0 HD         	id=17	[slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Keyboard	id=18	[slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) System Control	id=20	[slave  keyboard (3)]
    ↳ Asus WMI hotkeys                        	id=22	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=23	[slave  keyboard (3)]
    ↳ Razer Razer DeathAdder 2013 Consumer Control	id=24	[slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Consumer Control	id=25	[slave  keyboard (3)]

sudo libinput list-devices
Device:           Power Button
Kernel:           /dev/input/event3
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Asus Wireless Radio Control
Kernel:           /dev/input/event10
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Video Bus
Kernel:           /dev/input/event22
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Video Bus
Kernel:           /dev/input/event23
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Power Button
Kernel:           /dev/input/event1
Group:            4
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Lid Switch
Kernel:           /dev/input/event2
Group:            5
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Sleep Button
Kernel:           /dev/input/event0
Group:            6
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Razer Razer DeathAdder 2013
Kernel:           /dev/input/event4
Group:            7
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           Razer Razer DeathAdder 2013 Keyboard
Kernel:           /dev/input/event5
Group:            7
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Razer Razer DeathAdder 2013 Consumer Control
Kernel:           /dev/input/event6
Group:            7
Seat:             seat0, default
Capabilities:     keyboard pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Razer Razer DeathAdder 2013 System Control
Kernel:           /dev/input/event7
Group:            7
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Razer Razer DeathAdder 2013
Kernel:           /dev/input/event9
Group:            7
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           USB2.0 HD UVC WebCam: USB2.0 HD
Kernel:           /dev/input/event21
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           ITE Tech. Inc. ITE Device(8910) Keyboard
Kernel:           /dev/input/event13
Group:            9
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           ITE Tech. Inc. ITE Device(8910) Consumer Control
Kernel:           /dev/input/event16
Group:            9
Seat:             seat0, default
Capabilities:     keyboard pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           ITE Tech. Inc. ITE Device(8910) System Control
Kernel:           /dev/input/event17
Group:            9
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           ELAN1200:00 04F3:3090 Touchpad
Kernel:           /dev/input/event19
Group:            10
Seat:             seat0, default
Size:             103x71mm
Capabilities:     pointer gesture
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    *button-areas clickfinger 
Disable-w-typing: enabled
Accel profiles:   none
Rotation:         n/a

Device:           HDA Intel PCH Headphone
Kernel:           /dev/input/event24
Group:            11
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=3
Kernel:           /dev/input/event25
Group:            11
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=7
Kernel:           /dev/input/event26
Group:            11
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=8
Kernel:           /dev/input/event27
Group:            11
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=9
Kernel:           /dev/input/event28
Group:            11
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel PCH HDMI/DP,pcm=10
Kernel:           /dev/input/event29
Group:            11
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Asus WMI hotkeys
Kernel:           /dev/input/event20
Group:            12
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event18
Group:            13
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a


Touchpad works as expected now. I already know discrete card is not powering off as fans are spinning all the time, while before it was all silent. Also just as before I’ve had to replace acpi_osi options with nouveau.modeset=0 to boot.
What @tbg said is true, I didn’t expect in wildest dreams to get such great support, thank you :wink:


#49

ok, so everything is working? yes? what a great place to start…again… yay :roll_eyes:

your issue is now battery life being crap right? were the fans running all the time previously while using video-linux?


#50

Yes, estimated battery life (fully charged) went from 4:30 to 2:29 after changing from bumblebee to video-linux. And yes, it was the same last time I tried video-linux instead of bumblebee


#51

ok you can try and set the nvidia off (which it should already be anyway i believe)
tee /proc/acpi/bbswitch <<<OFF


#52
tee /proc/acpi/bbswitch <<<OFF
tee: /proc/acpi/bbswitch: Nie ma takiego pliku ani katalogu
OFF

(there is no such file or folder) Do I need to install bbswitch now?


#53

yes, bbswitch is needed

edit: i’ll be back in 20, install bbswitch, issue command i gave you and see how it goes. heres some other info also.
https://wiki.archlinux.org/index.php/Hybrid_graphics#Fully_Power_Down_Discrete_GPU


#54

After installing with
pacman -S bbswitch (and picking right option for my kernel)
it looks like the service is not loading.

systemctl status bbswitch
Unit bbswitch.service could not be found.
tee /proc/acpi/bbswitch <<<OFF
tee: /proc/acpi/bbswitch: Nie ma takiego pliku ani katalogu
OFF

Tried installing acpi_call from the link you provided but there is no /usr/share/acpi_call/ directory after install, I’m looking into it.


#55

ok, i ran a timeshift backup, i’ll see if i can just set it up here to see how it goes.


#56

Sooo you’re gonna love this!

I’ve just got acpi_call to work! As soon as I put proper call in /etc/tmpfiles.d/acpi_call.conf touchpad is gone… I mean gone as it was when bumblebee was installed, it doesn’t show in xinput -list, etc. The battery life goes up to expected value. Interesting thing is that when I run the turn_off_gpu.sh example script, gpu get’s turned off and touchpad is working. But when I add the call to said config file and reboot it is just gone.


#57

how about the fans?
we might just have to modify what you doing so the touchpad doesnt go with it.

can you briefly list your steps

can you post out put from
sudo ./usr/share/acpi_call/examples/turn_off_gpu.sh
cat /etc/tmpfiles.d/acpi_call.conf

i cant imagine the touchpad being shut off because the gpu being shut off


#58

Ok, here are steps:

  • sudo pacman -S acpi_call - select proper version for kernel (linux420 for me), reboot
  • sudo /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh
Trying \_SB.PCI0.P0P1.VGA._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.P0P2.VGA._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB_.PCI0.OVGA.ATPX: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB_.PCI0.OVGA.XTPX: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.P0P3.PEGP._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.P0P2.PEGP._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.P0P1.PEGP._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.MXR0.MXM0._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.PEG1.GFX0._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.PEG0.GFX0.DOFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.PEG1.GFX0.DOFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.PEG0.PEGP._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
works!
Trying \_SB.PCI0.XVR0.Z01I.DGOF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.PEGR.GFX0._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.PEG.VID._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.PEG0.VID._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.P0P2.DGPU._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.P0P4.DGPU.DOFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.IXVE.IGPU.DGOF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.RP00.VGA._PS3: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.RP00.VGA.P3MO: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.GFX0.DSM._T_0: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.LPC.EC.PUBS._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.P0P2.NVID._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.P0P2.VGA.PX02: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB_.PCI0.PEGP.DGFX._OFF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB_.PCI0.VGA.PX02: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.PEG0.PEGP.SGOF: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed
Trying \_SB.PCI0.AGP.VGA.PX02: /usr/share/linux420-acpi_call/examples/turn_off_gpu.sh: linia 39: uwaga: podstawienie polecenia: zignorowano zerowy bajt na wejściu
failed

(at this point discrete is off, fans stop spinning and touchpad still works)

  • /etc/modules-load.d/acpi_call.conf
#Load 'acpi_call.ko' at boot.

acpi_call

/etc/tmpfiles.d/acpi_call.conf

w /proc/acpi/call - - - - \_SB.PCI0.PEG0.PEGP._OFF
  • reboot - gpu is off, battery life as expected, touchpad is gone

#59

is it off now, fans are calmed down also? can you post
lscpi | grep NV

and then:
echo '\_SB.PCI0.PEG0.PEGP._ON' > /proc/acpi/call

does the gpu and the touchpad come back on?


#60

With respect to all the work you’ve done, why don’t you use bbswitch instead of acpi_call?
I think it’s easier to configure.
Steps:

  • Install bbswitch
  • Add bbswitch to /etc/modules-load.d/bbswitch.conf
  • Add
blacklist nouveau
options bbswitch load_state=0 unload_state=1

in
/etc/modprobe.d/bbswitch.conf

  • Reboot to test

You might also use kernel parameter, if needed.