Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

PCISCAN Tool
Purpose: To show PCI cards attached to the system.
Format: PCISCAN [<vendor>] [<device>] [DETAIL]
Template: VENDOR, DEVICE, DETAIL/S
Path: SYS:Tools/PCIScan
PCISCAN shows PCI cards attached to the system.

If you run PCISCAN without any arguments, you'll get a summary of all attached devices.

If you specify a <vendor> and/or <device> without the DETAIL switch, PCISCAN doesn't output anything, but returns with WARN set if the device is present, for use in scripts, for example:

pciscan vendor=0x10cc
if WARN
  echo "MAI Logic device found!"
endif

pciscan vendor=$1002 device=$5157
if WARN
  echo "ATI Radeon 7500 found!"
endif

pciscan 4354 2
if WARN
  echo "EMU10K Sound Blaster Live found!"
endif

If you specify the DETAIL switch, you'll get a detailed list of all devices attached to the system, and their parameters.

If you specify a <vendor> and/or <device> as well as the DETAIL switch, you'll get detailed info for all devices that match.

PLEASE NOTE: As installed from the OS4 CD, PCISCAN will not work properly until you copy pci.ids (from http://pciids.sourceforge.net/), or vendors.txt (from http://pcidatabase.com) to s: or devs:, so that PCISCAN can give names to vendors and devices.

Example 1:

3.OS4:> PCISCAN
## Vendor Device Vendor name Description
01  0x10CC  0x0660  Mai Logic Incorporated  Articia S Host Bridge
02  0x10CC  0x0661  Mai Logic Incorporated  Articia S PCI Bridge
03  0x10B7  0x9200  3Com Corporation  3c905C-TX/TX-M [Tornado]
04  0x1106  0x0686  VIA Technologies, Inc.  VT82C686 [Apollo Super South
05  0x1106  0x0571  VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8
06  0x1106  0x3038  VIA Technologies, Inc.  VT82xxxxx UHCI USB 1.1 Contr
07  0x1106  0x3038  VIA Technologies, Inc.  VT82xxxxx UHCI USB 1.1 Contr
08  0x1106  0x3057  VIA Technologies, Inc.  VT82C686 [Apollo Super ACPI]
09  0x1106  0x3058  VIA Technologies, Inc.  VT82C686 AC97 Audio Controll
10  0x1106  0x3068  VIA Technologies, Inc.  AC'97 Modem Controller
11  0x1095  0x0680  Silicon Image, Inc.  PCI0680 Ultra ATA-133 Host C
12  0x1102  0x0002  Creative Labs  SB Live! EMU10k1
13  0x1102  0x7002  Creative Labs  SB Live! MIDI/Game Port
14  0x1002  0x5159  ATI Technologies Inc  Radeon RV100 QY [Radeon 7000
running PCISCAN with no arguments displays a summary of all attached devices.

Example 2:

3.OS4:> PCISCAN VENDOR $1102 DEVICE $7002 DETAIL
Device #1:
  Vendor: 0x1102 (Creative Labs)
  Device: 0x7002 (SB Live! MIDI/Game Port)
  Class code: 0x098000
  RevisionID: 0x0A
  Interrupt: Line 0x00, Pin 0x00
  Subsystem Vendor: Line 0x00, Pin 0x00
  Subsystem ID: Line 0x00, Pin 0x00
  Resource range #0  (IO)
    Base address:   0x00801220
    Physical address : 0x00801220
    Size:   0x00000010
running PCISCAN with VENDOR, DEVICE and DETAIL arguments displays device details.


Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.


Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.