LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-23-2018, 07:18 PM   #1
pager48
LQ Newbie
 
Registered: Mar 2018
Posts: 5

Rep: Reputation: Disabled
Exclamation Issue with laptop power cable and usb mouse


I am using kde and whenever I disconect power cord the battery icon takes about 3-4 seconds to tell me its disconnected. Whenever I disconect or connect usb mouse it takes like 3-4 seconds for it to start working, what I did do is boot Kubuntu and found out it was instant unlike on my gentoo installation. Im pretty sure a misconfigured kernel is at fault.

Kubuntu lsmod:
https://paste.pound-python.org/show/...g0YMKesIfoD9K/

My lsmod:
https://paste.pound-python.org/show/...BEUwZ7HqPNS6k/

My Kernel Config:
https://paste.pound-python.org/show/...ZeVUXAM0iASeD/

Please help with this, its making my computer unusable.
 
Old 03-24-2018, 05:25 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,504

Rep: Reputation: Disabled
Sounds to me like your Kubuntu is loading all drivers at boot up, whilst your Gentoo install only loads what & when they are needed. Sounds like Gentoo is more conservative about using ram wastefully.
 
1 members found this post helpful.
Old 03-24-2018, 12:05 PM   #3
pager48
LQ Newbie
 
Registered: Mar 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fatmac View Post
Sounds to me like your Kubuntu is loading all drivers at boot up, whilst your Gentoo install only loads what & when they are needed. Sounds like Gentoo is more conservative about using ram wastefully.
Thank you for the reply I believe now that m kernel building process is at fault, here is what is issued:

Code:
laptop /home/zakhar # cd /usr/src/linux-4.15.10-gentoo/ && make -j5 && make -j5 modules && make modules_install && make install && mkinitrd /boot/initramfs-4.15.10-gentoo.img 4.15.10-gentoo && grub-mkconfig -o /boot/grub/grub.cfg && reboot
really glad to hear it isn't a misconfig issue. Another important thing I noticed is everytime I connect/disconnect power cable I get this:

Disconnect:
Code:
[  181.372505] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  181.380587] sd 0:0:0:0: [sda] Stopping disk
[  181.451536] sd 0:0:0:0: [sda] Starting disk
[  181.481492] EXT4-fs (sda4): re-mounted. Opts: data=ordered,commit=600
Connect:
Code:
[  195.523805] EXT4-fs (sda4): re-mounted. Opts: data=ordered,commit=0
Nothing is printed out when connecting/disconnecting power cable on ubuntu livecd and it is instant unlike on my gentoo installation.

Last edited by pager48; 03-24-2018 at 03:10 PM.
 
Old 03-27-2018, 05:33 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I wouldn't worry if everything is working. If you're just curious, gentoo and Kubuntu are completely different distros. The logging level may be different. Module loading may be different. Versions of system packages may be different. Certain kernel patches unique to the distro may be different. But tracking down exactly what causes the differences, when everything is working, isn't usually worthwhile.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Power loss in an active USB 2 cable Ulysses_ Linux - Hardware 12 03-10-2017 11:21 AM
Laptop power setting issue - laptop won't sleep on critical bettery __spc__ Linux - Laptop and Netbook 1 09-17-2013 01:21 PM
laptop mouse cable issue master Linux - Hardware 8 10-21-2011 03:46 PM
Sound Card, USB Mouse, Cable - Problems. M 10.1 eyedoc Mandriva 1 03-15-2005 06:55 PM
laptop use a cdrom with ide-usb cable norstar Linux - Hardware 1 10-12-2004 12:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration