Peppermint OS

Support => Hardware => Topic started by: jferreira94 on October 31, 2018, 08:34:14 pm

Title: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on October 31, 2018, 08:34:14 pm
Hello, I am newbie on Peppermint 9.

Well, my notebook's touch pad and keyboard was working the last time I opened the Peppermint, but now it is not working anymore, but it works on grub and on Windows.

I have no clue what I have to do and did not found answers with mother Google, can someone help me plis?
Title: Re: Notebook's touchpad and keyboard dont work
Post by: AndyInMokum on October 31, 2018, 10:27:18 pm
Hi jferreira94, welcome to the Peppermint Forum.  You've come to the right place for help  ;).  Do you have a USB keyboard and a USB  mouse you can plug into of your laptop's USB ports?  If you do, please plug them in.  If they work, please open a terminal window with the following keystrokes:

Ctrl+Alt+t

Enter (Copy & Paste) the following command into the terminal windows.   Post, (Copy & Paste) the outputs back to the forum:
Code: [Select]
inxi -FzThis will give us some detailed information about you system.  Also, have you recently updated you system?
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 01, 2018, 06:19:23 am
Hi jferreira94, welcome to the Peppermint Forum.  You've come to the right place for help  ;).  Do you have a USB keyboard and a USB  mouse you can plug into of your laptop's USB ports?  If you do, please plug them in.  If they work, please open a terminal window with the following keystrokes:

Ctrl+Alt+t

Enter (Copy & Paste) the following command into the terminal windows.   Post, (Copy & Paste) the outputs back to the forum:
Code: [Select]
inxi -FzThis will give us some detailed information about you system.  Also, have you recently updated you system?

Code: [Select]
System:    Host: tralha Kernel: 4.15.0-38-generic x86_64 bits: 64 Desktop: N/A
           Distro: Peppermint Nine
Machine:   Device: other-vm? System: Intel product: Pine Trail - M v: A serial: N/A
           Mobo: Intel model: Pine Trail - M v: A serial: N/A
           BIOS: Phoenix v: 6.00 date: 04/05/2012
CPU:       Single core Intel Atom N455 (-MT-) cache: 512 KB
           clock speeds: max: 1667 MHz 1: 1662 MHz 2: 1662 MHz
Graphics:  Card: Intel Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
           Display Server: x11 (X.Org 1.19.6 )
           drivers: intel (unloaded: modesetting,fbdev,vesa)
           Resolution: 1024x600@60.00hz
           OpenGL: renderer: Mesa DRI Intel Pineview M version: 1.4 Mesa 18.0.5
Audio:     Card Intel NM10/ICH7 Family High Def. Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-38-generic
Network:   Card-1: Realtek RTL8101/2/6E PCIE Fast/Gigabit Ethernet controller
           driver: r8169
           IF: enp5s0 state: down mac: <filter>
           Card-2: Realtek RTL8188CE 802.11b/g/n WiFi Adapter driver: rtl8192ce
           IF: wlp7s0 state: up mac: <filter>
Drives:    HDD Total Size: 320.1GB (2.9% used)
           ID-1: /dev/sda model: ST320LM001_HN size: 320.1GB
Partition: ID-1: / size: 55G used: 8.5G (17%) fs: ext4 dev: /dev/sda4
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 61.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 157 Uptime: 15 min Memory: 663.8/1983.7MB
           Client: Shell (bash) inxi: 2.3.56
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 01, 2018, 09:35:56 am
Also, have you recently updated you system?

I forgot to respond this, I will put in order what happened:

1 - I installed the Peppermint 9, all ok.
2 - I used Firefox and I shut down the notebook hours later.
3 - I turn on the notebook, the keyboard was working at grub
4 - When Peppermint was loaded, I tried do use the keyboard but it did not worked
5 - I saw a notification saying that had dozens of updates, so I connected  another keyboard and installed the updates
6 - The problem persists
Title: Re: Notebook's touchpad and keyboard dont work
Post by: PCNetSpec on November 01, 2018, 01:14:04 pm
Does the keyboard/mouse work if you log into the Guest session ?

Do they work if you boot a liveUSB ?

And are you saying they stopped working BEFORE you installed ANY updates ?
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 01, 2018, 07:11:39 pm
Does the keyboard/mouse work if you log into the Guest session ?
Quote
No

Do they work if you boot a liveUSB ?
Quote
I tried to use from pendrive and keyboard also was not working

And are you saying they stopped working BEFORE you installed ANY updates ?
Quote
yes, before.
Title: Re: Notebook's touchpad and keyboard dont work
Post by: PCNetSpec on November 02, 2018, 03:45:38 am
So it worked from the Peppermint LiveUSB when you first installed it, but now when you boot from the same LiveUSB it doesn't  :-\

Are you sure there's not a switch somewhere that disables them ?
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 02, 2018, 08:31:09 am
So it worked from the Peppermint LiveUSB when you first installed it, but now when you boot from the same LiveUSB it doesn't  :-\

Are you sure there's not a switch somewhere that disables them ?

I think I changed nothing. I found other guy with the same notebook model and with the same problem, he did not resolved it. I will use puppy on this notebook and try to use pepper in my PC when I can heal him, I like pepper interface...
Title: Re: Notebook's touchpad and keyboard dont work
Post by: PCNetSpec on November 02, 2018, 01:53:00 pm
It's weird that it worked at first :-\ .. can you post the make/model ?

and the output from:
Code: [Select]
xinput --list
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 02, 2018, 02:33:36 pm
I am running without installation and keyboard is working aggain. I will reinstall peppermint and see what change, what i could post before I reinstal for compare later ?

Code: [Select]
ubuntu@ubuntu ~ $ xinput --list
⎡ Virtual core pointer                    id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              id=4 [slave  pointer  (2)]
⎜   ↳ ImPS/2 Generic Wheel Mouse              id=14 [slave  pointer  (2)]
⎜   ↳ USB OPTICAL MOUSE                        id=10 [slave  pointer  (2)]
⎜   ↳ USB OPTICAL MOUSE                        id=11 [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)]
    ↳ Power Button                            id=8 [slave  keyboard (3)]
    ↳ Sleep Button                            id=9 [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            id=13 [slave  keyboard (3)]
    ↳ Topstar Laptop extra buttons            id=15 [slave  keyboard (3)]
    ↳ USB 2.0 PC Cam                          id=12 [slave  keyboard (3)]
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 02, 2018, 04:48:44 pm
I reinstalled, again the it works until I shut down the notebook.

In matter, I shutdown the notebook with keyboard working and when I turn on it stops working.

Code: [Select]
joel@tralha ~ $ xinput --list
⎡ Virtual core pointer                    id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              id=4 [slave  pointer  (2)]
⎜   ↳ USB OPTICAL MOUSE                        id=10 [slave  pointer  (2)]
⎜   ↳ USB OPTICAL MOUSE                        id=11 [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)]
    ↳ Power Button                            id=8 [slave  keyboard (3)]
    ↳ Sleep Button                            id=9 [slave  keyboard (3)]
    ↳ USB 2.0 PC Cam                          id=12 [slave  keyboard (3)]
    ↳ Topstar Laptop extra buttons            id=13 [slave  keyboard (3)]
    ↳ CHICONY USB NetVista Full Width Keyboard id=14 [slave  keyboard (3)]

I found that AT Translated Set 2 keyboard is missing, but dont know what to do about...
Title: Re: Notebook's touchpad and keyboard dont work
Post by: PCNetSpec on November 02, 2018, 05:45:32 pm
it makes little sense to me that xinput seems to work from the LiveUSB but not once installed :-\

As an experiment, can you try running
Code: [Select]
sudo apt-get -y remove --purge xserver-xorg-input-evdev && sudo apt-get -y install xserver-xorg-input-libinputonce that finishes, reboot to test .. does the keyboard/touchpad work now ?

If not, you can UNDO that with:
Code: [Select]
sudo apt-get -y remove --purge xserver-xorg-input-libinput && sudo apt-get -y install xserver-xorg-input-evdev
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 02, 2018, 08:32:53 pm
Quote
As an experiment, can you try running
Code: [Select]
sudo apt-get -y remove --purge xserver-xorg-input-evdev && sudo apt-get -y install xserver-xorg-input-libinputonce that finishes, reboot to test .. does the keyboard/touchpad work now ?

Did not worked.
Title: Re: Notebook's touchpad and keyboard dont work
Post by: PCNetSpec on November 03, 2018, 03:12:28 pm
Can you run:
Code: [Select]
dmesg > ~/Desktop/dmesg.txtyou'll then find a file on your desktop called dmesg.txt .. can you host that somewhere like
http://www.tinyupload.com/
and post a link to it.



Something else .. it would be nice to check if an update is breaking detection of your keyboard/touchpad

If you're up for it, could you reinstall Peppermint but reinstall WITHOUT any kind of internet connection (ie. DON'T set up wireless during the install, and don't have an ethernet connection) .. once installed, reboot and tell us if the touchpad/keyboard still works ?
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 04, 2018, 08:47:28 am
http://s000.tinyupload.com/?file_id=74624760852662469626
Title: Re: Notebook's touchpad and keyboard dont work
Post by: PCNetSpec on November 15, 2018, 01:08:01 pm
Do you know how to add then try these two kernel boot parameters ?
Code: [Select]
atkdb.reset i8042.nomux?
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 16, 2018, 05:38:38 am
Do you know how to add then try these two kernel boot parameters ?

I searched in google and tried to add, but I have got an error message saying that those commands has not found
Title: Re: Notebook's touchpad and keyboard dont work
Post by: PCNetSpec on November 16, 2018, 05:41:37 am
Can you explain what you did to try those parameters ?
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 16, 2018, 06:08:02 am
This:
https://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter

Quote
    Start your system and wait for the GRUB menu to show (if you don't see a GRUB menu, press and hold the left Shift key right after starting the system).
    Now highlight the kernel you want to use, and press the e key. You should be able to see and edit the commands associated with the highlighted kernel.
    Go down to the line starting with linux and add your parameter foo=bar to its end.
    Now press Ctrl + x to boot.

But I inserted  2 lines:

atkdb.reset
i8042.nomux
Title: Re: Notebook's touchpad and keyboard dont work
Post by: murraymint on November 16, 2018, 06:54:52 am
You don't insert them as new lines. As per the instructions, you add them both to the end of the linux line.
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 16, 2018, 07:25:01 am
You don't insert them as new lines. As per the instructions, you add them both to the end of the linux line.

Like this?

(https://i.imgur.com/R47qmMC.jpg)
Title: Re: Notebook's touchpad and keyboard dont work
Post by: murraymint on November 16, 2018, 07:37:37 am
Yes, that looks right.
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 16, 2018, 08:27:50 am
I did it, ctrl + x, and the keyboard not worked
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 23, 2018, 09:22:22 am
yesterday my keyboard worked after a lvl5 update, and stopped to work after another 4 lvl5 updates...

  :-\ it back to work after I suspended the system, maybe that was not cause the updates...


Before suspend:

Code: [Select]
⎡ Virtual core pointer                    id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              id=4 [slave  pointer  (2)]
⎜   ↳ Microsoft Microsoft® Nano Transceiver v2.0 id=11 [slave  pointer  (2)]
⎜   ↳ Microsoft Microsoft® Nano Transceiver v2.0 id=12 [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)]
    ↳ Power Button                            id=8 [slave  keyboard (3)]
    ↳ Sleep Button                            id=9 [slave  keyboard (3)]
    ↳ Microsoft Microsoft® Nano Transceiver v2.0 id=10 [slave  keyboard (3)]
    ↳ USB 2.0 PC Cam                          id=13 [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            id=14 [slave  keyboard (3)]
    ↳ Topstar Laptop extra buttons            id=15 [slave  keyboard (3)]
    ↳ CHICONY USB NetVista Full Width Keyboard id=16 [slave  keyboard (3)]


After suspend:

Code: [Select]
⎡ Virtual core pointer                    id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              id=4 [slave  pointer  (2)]
⎜   ↳ Microsoft Microsoft® Nano Transceiver v2.0 id=11 [slave  pointer  (2)]
⎜   ↳ Microsoft Microsoft® Nano Transceiver v2.0 id=12 [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)]
    ↳ Power Button                            id=8 [slave  keyboard (3)]
    ↳ Sleep Button                            id=9 [slave  keyboard (3)]
    ↳ Microsoft Microsoft® Nano Transceiver v2.0 id=10 [slave  keyboard (3)]
    ↳ USB 2.0 PC Cam                          id=13 [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            id=14 [slave  keyboard (3)]
    ↳ Topstar Laptop extra buttons            id=15 [slave  keyboard (3)]
    ↳ CHICONY USB NetVista Full Width Keyboard id=16 [slave  keyboard (3)]

Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 29, 2018, 05:51:39 am
I partially solved the problem.

I can active the keyboard suspending the system after I turn on the netbook. The touch dont work, but I prefer to use the mouse, so it's not a great problem...
Title: Re: Notebook's touchpad and keyboard dont work
Post by: PCNetSpec on November 29, 2018, 12:47:42 pm
I'm seeing no difference between the two xinput outputs :-\

Can you post the output from:
Code: [Select]
lsmodboth before and after a suspend.
Title: Re: Notebook's touchpad and keyboard dont work
Post by: jferreira94 on November 30, 2018, 06:39:34 am
Before

Code: [Select]
Module                  Size  Used by
input_leds             16384  0
ccm                    20480  3
joydev                 24576  0
hid_generic            16384  0
usbhid                 49152  0
hid                   118784  2 usbhid,hid_generic
uvcvideo               86016  0
gpio_ich               16384  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_core         40960  2 videobuf2_v4l2,uvcvideo
videodev              184320  3 videobuf2_core,videobuf2_v4l2,uvcvideo
media                  40960  2 videodev,uvcvideo
arc4                   16384  2
rtl8192ce              65536  0
rtl_pci                32768  1 rtl8192ce
rtl8192c_common        57344  1 rtl8192ce
snd_hda_codec_realtek   106496  1
rtlwifi                77824  3 rtl_pci,rtl8192c_common,rtl8192ce
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
snd_hda_intel          40960  3
mac80211              778240  3 rtl_pci,rtlwifi,rtl8192ce
snd_hda_codec         126976  3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek
coretemp               16384  0
snd_hda_core           81920  4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
serio_raw              16384  0
snd_hwdep              20480  1 snd_hda_codec
snd_pcm                98304  3 snd_hda_intel,snd_hda_codec,snd_hda_core
cfg80211              622592  2 rtlwifi,mac80211
snd_timer              32768  1 snd_pcm
lpc_ich                24576  0
snd                    81920  13 snd_hda_codec_generic,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
shpchp                 36864  0
soundcore              16384  1 snd
topstar_laptop         16384  0
sparse_keymap          16384  1 topstar_laptop
mac_hid                16384  0
binfmt_misc            20480  1
sch_fq_codel           20480  6
parport_pc             36864  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 parport_pc,lp,ppdev
sunrpc                335872  1
ip_tables              28672  0
x_tables               40960  1 ip_tables
autofs4                40960  2
btrfs                1130496  0
xor                    24576  1 btrfs
zstd_compress         163840  1 btrfs
raid6_pq              114688  1 btrfs
i915                 1617920  9
i2c_algo_bit           16384  1 i915
drm_kms_helper        172032  1 i915
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
i2c_i801               28672  0
ahci                   36864  1
fb_sys_fops            16384  1 drm_kms_helper
libahci                32768  1 ahci
r8169                  86016  0
drm                   401408  11 drm_kms_helper,i915
mii                    16384  1 r8169
video                  45056  1 i915


After

Code: [Select]
Module                  Size  Used by
input_leds             16384  0
ccm                    20480  3
joydev                 24576  0
hid_generic            16384  0
usbhid                 49152  0
hid                   118784  2 usbhid,hid_generic
uvcvideo               86016  0
gpio_ich               16384  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_core         40960  2 videobuf2_v4l2,uvcvideo
videodev              184320  3 videobuf2_core,videobuf2_v4l2,uvcvideo
media                  40960  2 videodev,uvcvideo
arc4                   16384  2
rtl8192ce              65536  0
rtl_pci                32768  1 rtl8192ce
rtl8192c_common        57344  1 rtl8192ce
snd_hda_codec_realtek   106496  1
rtlwifi                77824  3 rtl_pci,rtl8192c_common,rtl8192ce
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
snd_hda_intel          40960  3
mac80211              778240  3 rtl_pci,rtlwifi,rtl8192ce
snd_hda_codec         126976  3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek
coretemp               16384  0
snd_hda_core           81920  4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
serio_raw              16384  0
snd_hwdep              20480  1 snd_hda_codec
snd_pcm                98304  3 snd_hda_intel,snd_hda_codec,snd_hda_core
cfg80211              622592  2 rtlwifi,mac80211
snd_timer              32768  1 snd_pcm
lpc_ich                24576  0
snd                    81920  13 snd_hda_codec_generic,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
shpchp                 36864  0
soundcore              16384  1 snd
topstar_laptop         16384  0
sparse_keymap          16384  1 topstar_laptop
mac_hid                16384  0
binfmt_misc            20480  1
sch_fq_codel           20480  6
parport_pc             36864  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 parport_pc,lp,ppdev
sunrpc                335872  1
ip_tables              28672  0
x_tables               40960  1 ip_tables
autofs4                40960  2
btrfs                1130496  0
xor                    24576  1 btrfs
zstd_compress         163840  1 btrfs
raid6_pq              114688  1 btrfs
i915                 1617920  9
i2c_algo_bit           16384  1 i915
drm_kms_helper        172032  1 i915
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
i2c_i801               28672  0
ahci                   36864  1
fb_sys_fops            16384  1 drm_kms_helper
libahci                32768  1 ahci
r8169                  86016  0
drm                   401408  11 drm_kms_helper,i915
mii                    16384  1 r8169
video                  45056  1 i915