Find the answer to your Linux question:
Results 1 to 10 of 10
hello, I have installed in SUSE 11.1 in my DELL XPS 1640 laptop. Is there any way by which I can know the devices for which the installed driver is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    8

    Driver detection tool

    hello,

    I have installed in SUSE 11.1 in my DELL XPS 1640 laptop. Is there any way by which I can know the devices for which the installed driver is not correct?

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    If you have the wrong driver installed for any devices, I'd think those devices won't work at all, or they will only work partially. Is that what you mean?
    oz

  3. #3
    Just Joined!
    Join Date
    May 2009
    Posts
    8
    Yes, is there no software or commands avilable that can tell me which all devices have wrong driver installed as in windows where if driver is not correct or installed you can find that out in device manager.

  4. #4
    Linux Guru D-cat's Avatar
    Join Date
    Jan 2009
    Location
    Bounce between Dover, NH - Shapleigh, ME
    Posts
    1,638
    The command lsmod tells you which "drivers" (or modules in Linux) are loaded, at least the ones on a kernel level. It doesn't necessarily tell you what each module is driving, though if you know what's supposed to be driving a certain device, you can look to see if that module is loaded.

    Drivers that are not loaded on a kernel level but are rather run from an application are called "backends", mostly used for scanners and certain non-filesystem standard cameras and audio devices (mp3 players). Since these are application specific, I can't really comment on whre you find what's being used with these type files.

  5. #5
    Just Joined!
    Join Date
    Jun 2009
    Posts
    29
    The command lsmod tells you which "drivers" (or modules in Linux) are loaded, at least the ones on a kernel level. It doesn't necessarily tell you what each module is driving, though if you know what's supposed to be driving a certain device, you can look to see if that module is loaded.
    Further to this advice the following command can be useful to show which driver is currently associated with particular pci hardware:

    /sbin/lspci -k

  6. #6
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    Quote Originally Posted by deano_ferrari View Post
    Further to this advice the following command can be useful to show which driver is currently associated with particular pci hardware:

    /sbin/lspci -k
    That does not appear to be an option on Suse.

  7. #7
    Just Joined!
    Join Date
    Jun 2009
    Posts
    29
    Quote Originally Posted by gogalthorp View Post
    That does not appear to be an option on Suse.
    Its part of the pciutils package which should be installed by default.

  8. #8
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    The -k parameter does not work on Suse 10.2 at least the lspci command is there. It is not in the man and returns an error if used.

  9. #9
    Just Joined!
    Join Date
    Jun 2009
    Posts
    29
    That may be, but for openSUSE 11.0 onwards, it is in the man pages and does exist. The OP mentioned that they were using 11.1

  10. #10
    Linux Guru waterhead's Avatar
    Join Date
    Jul 2004
    Location
    Franklin, Wisconsin
    Posts
    4,590
    Thanks for that tip, deano_ferrari! I wasn't aware of that option. This may be something that can be used in troubleshooting wireless devices.

    It is available in Ubuntu 9.04, and I get this output for my network cards.
    Code:
    01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
        Kernel driver in use: ath5k
        Kernel modules: ath5k, ath_pci
    03:00.0 Ethernet controller: Attansic Technology Corp. L2 100 Mbit Ethernet Adapter (rev a0)
        Kernel driver in use: atl2
        Kernel modules: atl2
    COOL!
    Paul

    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •