cancel
Showing results for 
Search instead for 
Did you mean: 

ioscan on Linux

SOLVED
Go to solution
Karthik S S
Honored Contributor

ioscan on Linux

Is there a ioscan equivalent available for Linux?? (I am not looking for lspci or cat /proc/devices).

Thanks,
Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
14 REPLIES
Mark Grant
Honored Contributor

Re: ioscan on Linux

No.

However, you can ... oh, you don't want that.

On the other hand, KDE has a rather funky information center that shows you all the hardware and information about it and I'm sure gnome does too. Don't expect to find any hardware paths though.

I might add that /proc is an extremely good interface into the kernel it is equivalent to "ioscan -fk"
Never preceed any demonstration with anything more predictive than "watch this"
Steven E. Protter
Exalted Contributor

Re: ioscan on Linux

If there is going to be ioscan on Linux someone is going to have to write it.

If I were silly enough to bang my head on that one I'd be forced due to OS limitations to use the tools mentioned above as the underlying methodology for getting the hardware information.

Most distributions do come with a pretty decent gui point and click hardware tool now.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Paul Cross_1
Respected Contributor

Re: ioscan on Linux

It is amazing how often this question comes up..! If you are looking for the equiv to the HP/UX ioscan for linux it doesn't exist. however, there are lots of tools that do roughly the same thing. As I have mentioned before, hwinfo works very well, it is a suse only tool however. I'm sure RH has equivalents.
Tim Sanko
Trusted Contributor

Re: ioscan on Linux

Karth,

Tools exist to show you what exists. I don't believe that there are tools that work with the kernels to configure devices yet.

Tim
Martin P.J. Zinser
Honored Contributor
Solution

Re: ioscan on Linux

Hello Karthik,

howabout lshw at

http://ezix.sourceforge.net/software/lshw.html

This has an "ioscan like" output.

Greetings, Martin
Karthik S S
Honored Contributor

Re: ioscan on Linux

make returns the following error upon compilation of lshw and exits ,

c++ -g -Wall -c options.cc -o options.o
c++ -g -Wall -c lshw.cc -o lshw.o
c++ -g -Wall -c usb.cc -o usb.o
usb.cc: In function `string BCDversion (short unsigned int)':
usb.cc:216: `snprintf' undeclared (first use this function)
usb.cc:216: (Each undeclared identifier is reported only once for each
function it appears in.)
make: *** [usb.o] Error 1
[root@linux2 lshw-A.01.06]#

Pl. help.

Thanks,
Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Mark Grant
Honored Contributor

Re: ioscan on Linux

Well, I find this hard to believe but if I were you, I'd have a look at "usb.cc" and see if it has a "#include " somewhere near the top, or includes another file that does.
Never preceed any demonstration with anything more predictive than "watch this"
Karthik S S
Honored Contributor

Re: ioscan on Linux

Thanks for the link Martin.

Mark:
You are great. Yes .. that file was missing the following line,

#include

it works great now ..!!!

Thanks again,
Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
John Meissner
Esteemed Contributor

Re: ioscan on Linux

wow... great work. I did a quick search for this and it works great! very good fix with the missing line too guys
All paths lead to destiny
Steven E. Protter
Exalted Contributor

Re: ioscan on Linux

Perhaps someone could post source code and/or binaries. I can get Merijn to post it up to his site or put it on my hpux.ws site as a ioscan substitude for Linux.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Karthik S S
Honored Contributor

Re: ioscan on Linux

SEP,

That is a good idea. Source code is available at,

http://ezix.sourceforge.net/software/lshw.html

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Ross Minkov
Esteemed Contributor

Re: ioscan on Linux


Some more on this topic...

The kudzu utility maintains a DB of detected and configured hardware, found at /etc/sysconfig/hwconf. As part of the boot process, kudzu compares the currently detected hardware to the stored DB. This comparison can be forced by calling the kudzu command directly. If new hardware is detected, or previousely existing hardware is removed, kudzu will attempt to automatically reconfigure the system, or steer the administrator to the appropriate interactive configuration utility.
Try this:
cat /etc/sysconfig/hwconf

hwbrowser provides a GUI that shows most of the detected hardware.

Tools not in RedHat Linux by default:
scsiadd & the new lshw
They are in Debian Linux

lspci

# lspci -vt
-[00]-+-00.0 Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub
+-01.0-[01]----00.0 nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro]
+-1e.0-[02]----08.0 Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller
+-1f.0 Intel Corp. 82801BA ISA Bridge (LPC)
+-1f.1 Intel Corp. 82801BA IDE U100
+-1f.4 Intel Corp. 82801BA/BAM USB (Hub #2)
\-1f.5 Intel Corp. 82801BA/BAM AC'97 Audio

usbview (GUI)

On RedHat also try dmidecode


HTH,
Ross
Karthik S S
Honored Contributor

Re: ioscan on Linux

Thank you Ross. That's a good piece of Information. Also for rekindling my memories of a old thread :-)!

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
WSM_1
Occasional Advisor

Re: ioscan on Linux

I know this is an old post, but just for the record..

HP created an ioscan for linux about the time this post was created. They were handing it out in a Linux Security training class that was part of a HP Security Seminar.

They provided a link to download it, which is no longer working, but the ioscan worked back then, so you know it can be done with some coding.

I figure since it's not easy to find on the web, that the team didn't want to provide on going support for it.

I also remember something of a disclaimer with it.