viaideinfo ========== Homepage: http://www.reactivated.net/software/viaideinfo This command-line application identifies VIA IDE controllers installed in the computer, and displays various information/statistics regarding these. viaideinfo depends on libpci from the pciutils package. viaideinfo does not depend on the via82cxxx kernel IDE driver, and will work regardless of whether it is present or not. The following devices are supported: vt82c576, vt82c586, vt82c586a, vt82c586b, vt82c596a, vt82c596b, vt82c686, vt82c686a, vt82c686b, vt8231, vt8233, vt8233c, vt8233a, vt8235, vt8237, vt8237a, vt8251, vt6410, vt8237s, cx700 For basic usage info, run "viaideinfo --help". For even more detail, read the man page (and the rest of this document!) All this information used to be available through /proc/ide/via - however this file was removed in Linux 2.6.15 to reduce complexity of the IDE driver. As viaideinfo performs some basic port I/O, it must be run as root. viaideinfo always displays information about the first VIA IDE controller it finds, but on the rare event that you have more than one, you can use the "-d" argument to specify another device to query. Note that the "-d" argument will not do any sanity checking (other than existance of the specified device) - and you _will_ get strange results printed on-screen if you choose to feed it the address of something that is not a VIA IDE controller! This program relies heavily upon identifying a VIA ISA Bridge *as well as* an IDE controller. If your ISA bridge is not recognised by this program, then you'll have to drop me an email with your `lspci -vvv` output so that I can add support for it. On the other hand, if your ISA bridge is identified, but your IDE controller is not, then you are not completely out of luck. You can use the '-d' argument as specified above, to select a specific PCI devices such as "00:11.1" (see the first column of your `lspci` output). If this is the case, please email me anyway so that automatic support can be added. In order to calculate timing data outputted by this application, an IDE bus speed of 33MHz is assumed. This is the same as what the kernel does. However, while this is accurate for the majority of setups, it is not always correct. Some motherboards overclock the bus to 37.5MHz. If you've somehow managed to fit a 486 chip into your AMD-based VIA board, then you might even have a bus speed of 25MHz. You can modify the speed used for calculations with the '-c' argument (e.g. '-c 37'). - Daniel Drake <dsd@gentoo.org>