January 22, 2016 - Bryce Harrington

Using the Allmodinfo Script to Investigate Linux Drivers

I’m setting up a new system at work, and yet again found myself faced with trying to nut out which driver corresponds to which device, so I can figure out what’s wrong with the touchpad and keyboard hotkeys.  I’m also curious what wired and wireless drivers are in use and if there’s any unneeded power sucks I could eliminate to increase battery life. This article will show you a quick hack I put together to identify the drivers my laptop uses so I can search for information about them on the web.

 

The allmodinfo Script

Sorting through the raw list of drivers is kind of hunt and peck, so I hacked together a script to identify what each is:

The output of this script looks like this:

Using this Information

Here are the entries I’m interested for making sure my hotkeys and network connectivity work properly:

Scanning through this list I can see there’s nothing particularly exotic about the touchpad or keyboard, so hopefully troubleshooting those issues should be straightforward. The wireless uses iwlmvm, which I’ve not dealt with before but looks to be open source so searching about issues should hopefully be a productive use of time. The RealTek ethernet catches my attention because I’ve had some bad experiences with RealTek drivers in the past (like almost everyone else). A quick search indicates this particular one is a reimplementation by the Linux community; this is good. The worst case scenario would be that it’s missing some functionality, but I don’t use Ethernet on laptops much any more so it’s probably going to be good enough.

If you ever need to troubleshoot driver issues on a computer, or investigate driver support on a new computer, this script should prove useful. Happy hacking!

Bryce Harrington

About Bryce Harrington

Bryce Harrington is a Senior Open Source Developer at the Samsung Open Source Group focusing on Open Source Graphics. Prior to Samsung, he lead Canonical, Ltd.’s Ubuntu X.org team, and focused on stabilization of the graphics and input infrastructures for the Ubuntu distribution. Bryce began his career in the aerospace industry as a spacecraft propulsions engineer at The Aerospace Corporation, Hughes Space and Communications and TRW. Later, he joined the Open Source Development Labs as a Senior Performance Engineer working on NFSv4 testing and development of automated test systems. He is a founder and developer of the Inkscape project and serves as Chairman of the Inkscape Board. Bryce has a BS-AE from USC and an MS-AE from Caltech.

Development / Linux Development Process / drivers /

Leave a Reply

Your email address will not be published. Required fields are marked *

Comments Protected by WP-SpamShield Anti-Spam