Subject: Re: testing presence of a device (was sun-lamp CVS commits)
To: Chris G Demetriou <Chris_G_Demetriou@BALVENIE.PDL.CS.CMU.EDU>
From: Head Anarchy Conquest Knight Esquire of the Realm <greywolf@defender.VAS.viewlogic.com>
Date: 10/05/1995 18:16:08
I've noticed that under HP-UCCH there is a neat little command called "ioscan"
which probes the hardware bus (or, if you choose, checks the kernel first :-)
for configured hardware. It then tosses out stuff like:
H/W Path Description Status
1.0.0 graphics ok(0x577)
2.0.1 scsi ok(0x7071)
188.8.131.52.0 tape_drive ok(0x1800202)
2.0.2 lan ok(0x7072)
2.0.3 hil ok(0x7073)
2.0.4 serial ok(0x7075)
2.0.5 serial ok(0x7075)
2.0.6 parallel ok(0x7074)
2.0.7 scsi ok(0x707c)
184.108.40.206.0 disk ok(0x202)
2.0.8 audio ok(0x707f)
Perhaps not what we had in mind here, but the principle is similar.
After 5 PM please slip brain through slot in door.