[SOLVED] Keyboard and mouse unresponsive after rebooting

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
User avatar
scubamut
Level 1
Level 1
Posts: 17
Joined: Sun Jul 08, 2018 5:59 am
Location: Johannesburg and London

[SOLVED] Keyboard and mouse unresponsive after rebooting

Post by scubamut »

I have an 18.3 installation on my desktop PC using wireless keyboard and mouse. If I reboot, initially both become unresponsive but they settle down for me to login and start working. Then, the behavior repeats itself, on and off. But, sometimes, if I play a youtube video, say, I can't use the mouse or keyboard to interrupt the video. For example, I can't even reboot the PC using alt-F2. What can I do to fix this or provide you with more info?

Code: Select all

inxi -Fzx

System:    Host: mint2-System-Product-Name Kernel: 4.10.0-38-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.6 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine:   Mobo: ASUSTeK model: M4A785TD-V EVO v: Rev X.0x Bios: American Megatrends v: 2105 date: 07/23/2010
CPU:       Quad core AMD Phenom II X4 965 (-MCP-) cache: 2048 KB
           flags: (lm nx sse sse2 sse3 sse4a svm) bmips: 27319
           clock speeds: max: 3400 MHz 1: 2200 MHz 2: 800 MHz 3: 2200 MHz 4: 800 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RS880 [Radeon HD 4200] bus-ID: 01:05.0
           Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1600x900@60.00hz, 1920x1080@60.00hz
           GLX Renderer: Gallium 0.4 on AMD RS880 (DRM 2.49.0 / 4.10.0-38-generic, LLVM 4.0.0)
           GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] RS880 HDMI Audio [Radeon HD 4200 Series]
           driver: snd_hda_intel bus-ID: 01:05.1
           Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA)
           driver: snd_hda_intel bus-ID: 00:14.2
           Sound: Advanced Linux Sound Architecture v: k4.10.0-38-generic
Network:   Card-1: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
           driver: 8139too v: 0.9.28 port: e800 bus-ID: 02:05.0
           IF: enp2s5 state: down mac: <filter>
           Card-2: Qualcomm Atheros AR9227 Wireless Network Adapter driver: ath9k bus-ID: 02:06.0
           IF: wlp2s6 state: up mac: <filter>
Drives:    HDD Total Size: 3000.6GB (0.7% used) ID-1: /dev/sda model: ST2000DM006 size: 2000.4GB
           ID-2: /dev/sdb model: ST31000528AS size: 1000.2GB
Partition: ID-1: / size: 30G used: 8.3G (30%) fs: ext4 dev: /dev/sda8
           ID-2: swap-1 size: 12.61GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 35.0C mobo: 37.0C
           Fan Speeds (in rpm): cpu: 1695 psu: 0 sys-1: 2463
Info:      Processes: 225 Uptime: 57 min Memory: 2548.7/11760.4MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
Last edited by scubamut on Wed Aug 01, 2018 2:31 pm, edited 1 time in total.
gm10
Level 20
Level 20
Posts: 10999
Joined: Thu Jun 21, 2018 5:11 pm

Re: Keyboard and mouse unresponsive after rebooting

Post by gm10 »

A newer kernel might fix this. Otherwise try this and see if it makes a difference, this disables USB auto-suspension on all ports:

Code: Select all

sudo bash -c "echo /sys/module/usbcore/parameters/autosuspend -1"
This will only affect your current session and not persist through a reboot. We'll make it permanent if it works.
Mattyboy
Level 6
Level 6
Posts: 1193
Joined: Thu Mar 26, 2015 2:17 pm

Re: Keyboard and mouse unresponsive after rebooting

Post by Mattyboy »

Out of curiosity are you booting, re-booting with Windows 10?

I get a similar 'issue' when re-booting out of 10 into Mint 19 on a normal USB keyboard and mouse, which is obviously a USB device issue, maybe something to do with the MOBO? Doesn't happen on first switch on and the delay is only around 10 seconds which to be honest I couldn't care less about. I also put it down to a Windows problem not a Linux one... to be fair I usually do :lol: Its quite an old 'problem' when re-booting out of Windows for it to leave hardware 'in windows mode'. I remember having an old wireless card that would not initialise in Linux without shutting Windows down first if I had been using it.
User avatar
scubamut
Level 1
Level 1
Posts: 17
Joined: Sun Jul 08, 2018 5:59 am
Location: Johannesburg and London

Re: Keyboard and mouse unresponsive after rebooting

Post by scubamut »

I thought this might be a MOBO USB hardware problem. Not just a boot problem but made worse as PC got busier (eg playing videos).

I found USB ports have completely stopped working , which fixed the problem. gm10 you were right and the problem seems quite common, so I would agree that a newer kernel makes sense.

Thanks for all your assistance :)
Post Reply

Return to “Newbie Questions”