How do I force Ubuntu to renew its knowledge about hardware and install proper drivers?

5,970

Solution 1

  1. Turn on the computer.

Linux does not keep any persistent "knowledge about hardware"; everything is auto-detected during boot – or when you plug the device in (for USB and such). All drivers are loaded dynamically, and 99% of them were already installed as part of the kernel. (The other 1% are proprietary video drivers, mostly – and Ubuntu takes care of them.)

Solution 2

Short answer: There is no need.

If you are using a kernel provided by your distribution (ubuntu) then there is no need. The Linux kernel loads modules dynamically, and if there is any change, it will just load the appropriate module. If it can't, it means that module is not compiled into the kernel.

If you have a custom compiled kernel with minimum modules compiled, then you should recompile it (but I guess this is not the case).

If you have been playing with Xorg configuration, then you should check that it is using the corresponding module for your video card. But if you did not touched xorg.conf, then everything should be working smoothly.

Share:
5,970

Related videos on Youtube

oneat
Author by

oneat

Updated on September 18, 2022

Comments

  • oneat
    oneat almost 2 years

    I changed to another motherboard.

    How do I force Ubuntu to renew its knowledge about hardware and install proper drivers?

  • Petra
    Petra almost 13 years
    That is one of the things I love the most about ubuntu. It just works.
  • user1686
    user1686 almost 13 years
    That is one of the things I hate the most about ubuntu. People assume it's a feature of Ubuntu specifically.
  • Petra
    Petra almost 13 years
    I've tried a few distros and it seems best in the debian based ones.
  • oneat
    oneat almost 13 years
    It can't find my built in music card. However I had the same situation when after I reinstalled linux and everything worked fine. Does it do load dynamically now?
  • bryan
    bryan almost 13 years
    I run ubuntu from an usb hard drive and if use it on multiple computers I run into the problem with video drivers mentioned in the above answer.. Any suggestions for that scenario?