Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Lost keyboard and mouse after crash

Need help with peripherals or devices?
Post Reply
Message
Author
User avatar
FenrisUltra
Posts: 72
Joined: 2016-02-19 01:29
Location: Winnipeg, Manitoba (Canada)
Been thanked: 1 time
Contact:

Lost keyboard and mouse after crash

#1 Post by FenrisUltra »

Ok, here is the scoop, I am using Debian 8.6 (32 bit) with XFCE4, and I forgot to plug in my laptop after booting up with a dead battery. The boot sequence didn't make it all the way before my system ran out of power and crashed. However when it crashed, it took my keyboard and mouse with it. I can boot up in recovery mode and use the keyboard no problem, I even did an lsusb and see that my USB mouse was plugged in and detected just fine. Its only when I boot up into XFCE is when I lose all keyboard and mouse options. I can see the error message pop up on my screen, "No touchpad found" I can't even click anything to do nothing.

Can someone help me shake this?

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Lost keyboard and mouse after crash

#2 Post by debiman »

good you can still go into rescue.
i'd start with a fsck,
then maybe this: https://ubuntuforums.org/showthread.php?t=967505

User avatar
FenrisUltra
Posts: 72
Joined: 2016-02-19 01:29
Location: Winnipeg, Manitoba (Canada)
Been thanked: 1 time
Contact:

Re: Lost keyboard and mouse after crash

#3 Post by FenrisUltra »

well I unmounted the system and did the fsck, it didn't find any errors. However, it didn't fix any problems either, i'm still without a mouse and keyboard

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Lost keyboard and mouse after crash

#4 Post by phenest »

Does /var/log/Xorg.0.log show anything useful?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
FenrisUltra
Posts: 72
Joined: 2016-02-19 01:29
Location: Winnipeg, Manitoba (Canada)
Been thanked: 1 time
Contact:

Re: Lost keyboard and mouse after crash

#5 Post by FenrisUltra »

I can't seem to get to it in recovery mode, and even if I could, its not like I could copy over the details i have no k & m abilities

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Lost keyboard and mouse after crash

#6 Post by phenest »

Can you boot from a live CD?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Lost keyboard and mouse after crash

#7 Post by stevepusser »

Can you create a new user in recovery mode and boot into a working XFCE for that user? If so, then move any data from your broken home folder into the new one and just use your new account--and backup your system in the future?
MX Linux packager and developer

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Lost keyboard and mouse after crash

#8 Post by debiman »

what about the advice from the UF thread i linked?
i know it's ubuntu, but the advice is mostly generic apt based.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Lost keyboard and mouse after crash

#9 Post by stevepusser »

Ye, but the OP wasn't doing any upgrades when his system died, unlike those Ubuntu threads, so how could he have any unconfigured packages? My thinking is that something was being written to a file someplace and the powerout left it corrupted. If he's lucky, it's in his $HOME instead of a system file. Fenris, are you using a desktop manager like lightdm, and can you get to its login screen if you are?
MX Linux packager and developer

User avatar
FenrisUltra
Posts: 72
Joined: 2016-02-19 01:29
Location: Winnipeg, Manitoba (Canada)
Been thanked: 1 time
Contact:

Re: Lost keyboard and mouse after crash

#10 Post by FenrisUltra »

I am using Light DM on that laptop and that's how it logs in, its once the XFCE interface is loaded that's when the keyboard and mouse functionality disappear

I also have no CD Rom drive with this machine. And you will love this one, most USB boot loaders cant seem to be detected by this system like at pendrivelinux.com

I also did the Ubuntu thing, again that had no effects what so ever

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Lost keyboard and mouse after crash

#11 Post by stevepusser »

Since it works up until you try and load your standard user, I will have to guess that just that one user that has a corrupt file.
MX Linux packager and developer

User avatar
FenrisUltra
Posts: 72
Joined: 2016-02-19 01:29
Location: Winnipeg, Manitoba (Canada)
Been thanked: 1 time
Contact:

Re: Lost keyboard and mouse after crash

#12 Post by FenrisUltra »

Ok then how do I
1) Make a new user
2) Auto login to that new user
3) Delete the old user

???

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Lost keyboard and mouse after crash

#13 Post by phenest »

FenrisUltra wrote:I also have no CD Rom drive with this machine. And you will love this one, most USB boot loaders cant seem to be detected by this system like at pendrivelinux.com
How did you install Debian in the first place? And if there comes a point where the keyboard refuses to work anywhere in the system, you may have to reinstall.

You might want to start thinking about investing in an external optical drive.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
FenrisUltra
Posts: 72
Joined: 2016-02-19 01:29
Location: Winnipeg, Manitoba (Canada)
Been thanked: 1 time
Contact:

Re: Lost keyboard and mouse after crash

#14 Post by FenrisUltra »

phenest wrote:
FenrisUltra wrote:I also have no CD Rom drive with this machine. And you will love this one, most USB boot loaders cant seem to be detected by this system like at pendrivelinux.com
How did you install Debian in the first place? And if there comes a point where the keyboard refuses to work anywhere in the system, you may have to reinstall.

You might want to start thinking about investing in an external optical drive.
It's funny that you ask me that question, because a few months ago when I installed Debian 8.6, I was able to use a USB flash drive to read the ISO file at boot up. For some reason now, my laptop just simply won't accept booting up with a USB drive. I had this really cool software on it at one time, were all I had to do was just drop in ISO files and when I boot up, I would get this little basic screen that would ask me what ISO file I would want to launch. Oddly it stopped working, there was nothing in my bios to set or nothing, it just simply stopped accepting it for some reason that I can't figure out. So I tried other software like rufas for instance, and still nothing worked. What makes matters worse is, I can't figure out what boot software allowed me to select what ISO file to use that would boot up with the USB drive :cry:

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Lost keyboard and mouse after crash

#15 Post by GarryRicketson »

I wonder, is this the same laptop as the OP has posted about in these
other threads ? :

http://forums.debian.net/viewtopic.php? ... 07#p628485

-----------
http://forums.debian.net/viewtopic.php? ... 22#p627848

User avatar
FenrisUltra
Posts: 72
Joined: 2016-02-19 01:29
Location: Winnipeg, Manitoba (Canada)
Been thanked: 1 time
Contact:

Re: Lost keyboard and mouse after crash

#16 Post by FenrisUltra »

Yup, but that was a different OS version. After I had upgraded the problems generated in those forums went away. Because I had a few more crashes prior to that after going to 8.6 without this problem showing up. Now it showed up

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Lost keyboard and mouse after crash

#17 Post by stevepusser »

Just restore from the backup you were advised to make several times...
MX Linux packager and developer

Post Reply