You are not logged in.

#1 2018-01-08 19:00:11

_JZA_
Member
Registered: 2014-08-28
Posts: 32

Restart hardware discovery service

I wonder if there is a way to restart whatever it handles the hardware discovery. I use ArchLinux KDE but sometimes my laptop cant detect USB memory drives and I need to restart the laptop. I hope I can restart the service and get the new discovery going on.

Please advice.

Offline

#2 2018-01-08 19:19:04

Omar007
Member
Registered: 2015-04-09
Posts: 368

Re: Restart hardware discovery service

_JZA_ wrote:

sometimes my laptop cant detect USB memory drives and I need to restart the laptop.

Did you happen to update your kernel in-between the last time it worked and when it no longer does?
A kernel update requires a system restart before you'll be able to attach any new hardware to the system (any already connected hardware will keep working until you replug it)

EDIT: Obligatory related bug report: https://bugs.archlinux.org/task/16702

Last edited by Omar007 (2018-01-08 19:20:32)

Offline

#3 2018-01-08 19:20:47

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Restart hardware discovery service

Does this only happen after after you've upgraded the system?

If so it's because a new kernel has been installed, a reboot is necessary.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2018-01-08 19:55:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,452
Website

Re: Restart hardware discovery service

Omar007 wrote:

any already connected hardware will keep working until you replug it

It's not nearly that bad.  Any currently connected hardware and any hardware previously connected since the previous boot will continue to work whether or not it is unplugged and replugged.  It's not that currently attached hardware gets grandfathered in, simply any modules that the kernel hasn't already loaded will not be able to be loaded (as they no longer exist); but any module that has ever been loaded in the running kernel will still keep working just fine.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2018-01-08 20:11:19

Omar007
Member
Registered: 2015-04-09
Posts: 368

Re: Restart hardware discovery service

Trilby wrote:

Any currently connected hardware and any hardware previously connected since the previous boot will continue to work whether or not it is unplugged and replugged.

Then I guess it may still unload them though if it was the last device using said module?; e.g. as as soon as I detach my USB drive or phone (of which only 1 is ever connected), I can no longer use it until I reboot.

Last edited by Omar007 (2018-01-08 20:12:12)

Offline

Board footer

Powered by FluxBB