Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Keyboard not responding after update to 4.12 kernel.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Pryka
l33t
l33t


Joined: 08 Jun 2007
Posts: 658
Location: /dev/null

PostPosted: Thu Jul 06, 2017 10:25 am    Post subject: [SOLVED]Keyboard not responding after update to 4.12 kernel. Reply with quote

Like in the topic, yesterday I switched to 4.12(vanilla) from 4.11.6. I didn't make any changes in the config regarding USB/HID. After the reboot my keyboard won't respond. It's completely disabled no NUM, CAPS lights.

4.11.6 config - https://pastebin.com/finsd9pF
4.12.0 config - https://pastebin.com/4WjWbbQe

dmesg 4.11.6 - https://pastebin.com/twTsU5Dy
dmesg 4.12.0 - https://pastebin.com/7ZCeXx3Z

Any ideas?

Ps. Also on 4.12.0 I have mouse problems. No mouse during boot(GPM), after SDDM popout I have to wait about ~30 to use it.


Last edited by Pryka on Fri Jul 07, 2017 9:03 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7259
Location: Saint Amant, Acadiana

PostPosted: Thu Jul 06, 2017 3:27 pm    Post subject: Reply with quote

Code:
# CONFIG_USB_PCI is not set


^^ The problem.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3196
Location: Illinois, USA

PostPosted: Thu Jul 06, 2017 7:53 pm    Post subject: Reply with quote

Jaglover wrote:
Code:
# CONFIG_USB_PCI is not set


^^ The problem.


Correct! I had this happen too. I had to ssh in , edit the default grub choice and reboot from ssh into an older kernel.
The make oldconfig text accompanying this new item sounded like it was some special odd ball arrangement. It's not.
It seems to be required for my MSI and Gigabyte mobos and I suppose "yes" is the correct answer for nearly all PC's.

IIRC the default selection is "Y" but that's also true for a bunch items regarding chip manufacturers that I've never heard of.

Always keep a backup kernel in your grub config.

EDIT: Spelling "odd" not "old"


Last edited by Tony0945 on Fri Jul 07, 2017 2:31 pm; edited 2 times in total
Back to top
View user's profile Send private message
Pryka
l33t
l33t


Joined: 08 Jun 2007
Posts: 658
Location: /dev/null

PostPosted: Fri Jul 07, 2017 9:03 am    Post subject: Reply with quote

Thank You guys! It's working now. :)
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1187
Location: Stuttgart, Germany

PostPosted: Thu Jul 13, 2017 8:07 pm    Post subject: Reply with quote

Had the same problem, found the answer from you guys on the forums on my phone and fixed it in under five minutes.

I love gentoo's user community so very much :D
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Sun Aug 20, 2017 12:55 pm    Post subject: Reply with quote

Wow, that CONFIG_USB_PCI thing seems to have been catching out a lot of people!

I think whoever wrote the description for that new option didn't have english as a first language; It really could do with more detail and clarification in what it does...!

Or at least an " If unsure, say Y" :)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14174

PostPosted: Sun Aug 20, 2017 4:41 pm    Post subject: Reply with quote

It does have default y which, while not as good as the proposed hint text, could be considered a hint that you want it enabled. Historically, Linus fussed at people for setting default y without good cause, so if it made it in with default y, then either Linus didn't see it or there's a good reason for it to be enabled.
git grep 'config USB_PCI' origin/master -- '*Kconfig*':
origin/master:drivers/usb/Kconfig:75:config USB_PCI
git blame -L '/config USB_PCI/,/config/' origin/master -- drivers/usb/Kconfig:
2c93e790e8253 (yuan linyu       2017-02-25 19:20:55 +0800 75) config USB_PCI
2c93e790e8253 (yuan linyu       2017-02-25 19:20:55 +0800 76)    bool "PCI based USB host interface"
2c93e790e8253 (yuan linyu       2017-02-25 19:20:55 +0800 77)    depends on PCI
2c93e790e8253 (yuan linyu       2017-02-25 19:20:55 +0800 78)    default y
2c93e790e8253 (yuan linyu       2017-02-25 19:20:55 +0800 79)    ---help---
2c93e790e8253 (yuan linyu       2017-02-25 19:20:55 +0800 80)      A lot of embeded system SOC (e.g. freescale T2080) have both
2c93e790e8253 (yuan linyu       2017-02-25 19:20:55 +0800 81)      PCI and USB modules. But USB module is controlled by registers
2c93e790e8253 (yuan linyu       2017-02-25 19:20:55 +0800 82)      directly, it have no relationship with PCI module.
2c93e790e8253 (yuan linyu       2017-02-25 19:20:55 +0800 83)
2c93e790e8253 (yuan linyu       2017-02-25 19:20:55 +0800 84)      When say N here it will not build PCI related code in USB driver.
2c93e790e8253 (yuan linyu       2017-02-25 19:20:55 +0800 85)
25e11ec4fe527 (Florian Fainelli 2013-04-09 14:29:25 +0200 86) if USB
^1da177e4c3f4 (Linus Torvalds   2005-04-16 15:20:36 -0700 87)
25e11ec4fe527 (Florian Fainelli 2013-04-09 14:29:25 +0200 88) source "drivers/usb/core/Kconfig"
git log --no-walk 2c93e790e8253:
commit 2c93e790e8253552227bf9b46a8d49dca3f71b06
Author: yuan linyu <Linyu.Yuan@alcatel-sbell.com.cn>
Date:   Sat Feb 25 19:20:55 2017 +0800

    usb: add CONFIG_USB_PCI for system have both PCI HW and non-PCI based USB HW
   
    a lot of embeded system SOC (e.g. freescale T2080) have both
    PCI and USB modules. But USB module is controlled by registers directly,
    it have no relationship with PCI module.
   
    when say N here it will not build PCI related code in USB driver.
   
    Signed-off-by: yuan linyu <Linyu.Yuan@alcatel-sbell.com.cn>
    Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum