OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Utility » Shell » pciscan.lha

Description: Lists, or tests for attached PCI devices
Install: pciscan.lha
Size: 141kb 5
Version: 1.4
Date: 08 Mar 06
Author: Peter Gordon
Submitter: Peter Gordon
Email: pete/petergordon org uk
Homepage: http://www.petergordon.org.uk/software.php
Category: utility/shell
License: Freeware
Distribute: yes
Min OS Version: 4.0
PCIScan for OS4 by Peter Gordon (pete()petergordon.org.uk)
=========================================================

Shows PCI cards attached to the system. Copy pci.ids (from pciids.sf.net), OR
vendors.txt (from pcidatabase.com) to devs: or s: and PCIScan will use it to
give names to all the devices.

The argument template is:

  VENDOR,DEVICE,DETAIL/S

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 ID as well as the detail switch, you'll get detailed info for all
devices that match, for example:

1.Work:> PCIScan DETAIL VENDOR=$1102 DEVICE=$7002

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: 0x1102
  Subsystem ID:     0x0020
  Resource range #0 (IO)
    Base address:     0x00801220
    Physical address: 0x00801220
    Size:             0x00000010



History:

  1.0 - First release
  1.2 - Added DEVICE and VENDOR options

  1.3 (04-Mar-2004)

        · Supports both pciids.sf.net and pcidatabase.com lists
        · Added DETAIL switch
        · Compiled with newlib

  1.4 (08-Mar-2006)
  
        · Compiled with GCC 4.0.2
        · Removed all warnings from GCC 4.0.2 "-Wall -Werror"
        · Now checks for end-of-buffer more stringently (fixed
          DSI on new memory system)





Copyright (c) 2004-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment