Bug 21668 - USB Keyboard Not getting detected during log in
Summary: USB Keyboard Not getting detected during log in
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Base system maintainers
QA Contact:
URL:
Whiteboard: MGA6TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-06 07:30 CEST by Crazy Tux
Modified: 2022-08-12 15:15 CEST (History)
7 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Crazy Tux 2017-09-06 07:30:20 CEST
Description of problem: I am using Mageia 6 xfce. I usually use the external keyboard and mouse for my laptop. When I boot into Mageia I am not able to type my log in password as the keyboard doesn't respond. This happens when I start my laptop with keyboard plugged into my laptop via USB. When I remove the USB and re-insert again it works, though. But, not until I remove it and reinsert. This problem doesn't occur on other distros and my laptop is brand new (no problem with the hardware). I thought it could be a bug and hence am reporting it.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Marja Van Waes 2017-09-07 00:03:26 CEST

CC: (none) => basesystem, kernel, marja11

Comment 1 Bunk Bunk 2017-09-08 06:22:57 CEST
I´m experiencing similar problems. My PC boots w/o problems, but when my second hdd is plugged in, the PC says, no bootable device. I have to plug the keybord in and out and in and out, too, to dismiss the message and it boots right away.

CC: (none) => soccerhub

Comment 2 marc fanjoux 2017-09-09 08:27:18 CEST
 similar problems with USB mouse : I am using Mageia 6 kde. When I boot into Mageia, the usb mouse doesn't respond. When I remove the USB and reinsert it again, it works fine.

power/control is auto ..
if i put on it is ok :
echo 'on' |sudo tee /sys/bus/usb/devices/usb2/2-1/2-1.3/power/control

CC: (none) => marcounet

Comment 3 Shlomi Fish 2017-09-09 12:55:40 CEST
(In reply to marc fanjoux from comment #2)
>  similar problems with USB mouse : I am using Mageia 6 kde. When I boot into
> Mageia, the usb mouse doesn't respond. When I remove the USB and reinsert it
> again, it works fine.
> 
> power/control is auto ..
> if i put on it is ok :
> echo 'on' |sudo tee /sys/bus/usb/devices/usb2/2-1/2-1.3/power/control

I have the same problem with a USB mouse as well and the same solution. I am now on mageia v7.

CC: (none) => shlomif

Comment 4 marc fanjoux 2017-09-09 13:02:02 CEST
Linux localhost.localdomain 4.9.43-desktop-1.mga6 #1 SMP Sun Aug 13 15:52:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Comment 5 Shlomi Fish 2017-09-20 14:52:18 CEST
(In reply to Shlomi Fish from comment #3)
> (In reply to marc fanjoux from comment #2)
> >  similar problems with USB mouse : I am using Mageia 6 kde. When I boot into
> > Mageia, the usb mouse doesn't respond. When I remove the USB and reinsert it
> > again, it works fine.
> > 
> > power/control is auto ..
> > if i put on it is ok :
> > echo 'on' |sudo tee /sys/bus/usb/devices/usb2/2-1/2-1.3/power/control
> 
> I have the same problem with a USB mouse as well and the same solution. I am
> now on mageia v7.

Some updates:

1. I tested it on a different partition running mga v6 x64 on the same computer with the problematic mga v7 installation and everything is fine there - even with the latest kernel update.

2. I am now trying to bisect the kernel versions of the upstream kernel.org's 4.9.x kernels to see where the problem happened and will try to report on my progress.

This is going to be a long week...
Comment 6 Shlomi Fish 2017-09-20 17:41:45 CEST
Hi all!

I have some news - I tested my problematic mga7 system with kernel 4.9.0 and it too was faulty (as well as some later kernels in 4.9.x). It was released on Dec 2016 (see https://lwn.net/Articles/708766/ ) and predated mga6 by over 7 months - https://blog.mageia.org/en/2017/07/16/announcing-mageia-6/ - and I recall it being fine in Cauldron then with it, then I conclude that the kernel isn't the problem.
Comment 7 marc fanjoux 2017-09-20 18:39:46 CEST
i created usb-power.rules with :

#Pixart Imaging, Inc. Optical Mouse
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="093a", ATTR{idProduct}=="2510", TEST=="power/control", ATTR{power/control}="on"

but same problem ..
Comment 8 Marja Van Waes 2017-09-21 21:28:17 CEST
(In reply to Shlomi Fish from comment #6)
> Hi all!
> 
> I have some news - I tested my problematic mga7 system with kernel 4.9.0 and
> it too was faulty (as well as some later kernels in 4.9.x). It was released
> on Dec 2016 (see https://lwn.net/Articles/708766/ ) and predated mga6 by
> over 7 months - https://blog.mageia.org/en/2017/07/16/announcing-mageia-6/ -
> and I recall it being fine in Cauldron then with it, then I conclude that
> the kernel isn't the problem.

Thanks for testing :-)

Assuming that if it isn't a kernel problem, that it must be a base system problem, so assigning to the base system maintainers.

Assignee: bugsquad => basesystem
Version: 6 => Cauldron
Whiteboard: (none) => MGA6TOO

Comment 9 Shlomi Fish 2017-09-21 23:23:36 CEST
Hi all!

I've now tested starting wayland first - with plasma5 - and ran into the same problem and workaround.
Comment 10 Shlomi Fish 2017-09-21 23:56:28 CEST
Some news: after disabling gpm (using "systemctl disable gpm.service" as root), rebooting, and starting JWM using startx, the mouse is working for a short while, ending when i start a konsole session or before that. After killing X and starting JWM again, the mouse works again. In Plasma 5, the mouse never works until reconnecting it.
Comment 11 Shlomi Fish 2017-09-21 23:58:29 CEST
Seems like https://bugs.mageia.org/show_bug.cgi?id=20856 is an earlier report of these same symptoms.
JanKusanagi 2017-10-23 21:06:27 CEST

CC: (none) => jan-bugs

Comment 12 marc fanjoux 2017-11-19 11:53:00 CET
some news ? 
thank you !
Comment 13 Shlomi Fish 2017-11-19 14:09:57 CET
I've now tested this with libinput-1.7.0 and it still happens with it.
Comment 14 Shlomi Fish 2018-05-10 22:41:11 CEST
Some news: today I had to hard reboot due to an OOM failure, losing about 8 days of uptime, but after I rebooted and started xfce using startx, the mouse works well. I am on mga7/cauldron x64.
Comment 15 marc fanjoux 2018-05-11 07:12:33 CEST
(In reply to Shlomi Fish from comment #14)
> Some news: today I had to hard reboot due to an OOM failure, losing about 8
> days of uptime, but after I rebooted and started xfce using startx, the
> mouse works well. I am on mga7/cauldron x64.

soon big plasma update for Mageia 6... to follow
Comment 16 marc fanjoux 2018-05-12 12:01:08 CEST
(In reply to Shlomi Fish from comment #14)
> Some news: today I had to hard reboot due to an OOM failure, losing about 8
> days of uptime, but after I rebooted and started xfce using startx, the
> mouse works well. I am on mga7/cauldron x64.

After the big update the bug is still here
Comment 17 sturmvogel 2022-08-12 15:15:26 CEST
This bug was filed against Mageia 6 which is EOL since Sep 2019.

Closing as OLD.

Resolution: (none) => OLD
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.