home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / YaST2 / scrconf / probe.scr < prev    next >
Encoding:
Text File  |  2006-11-29  |  1.7 KB  |  62 lines

  1. /**
  2.  * File:
  3.  *   probe.scr
  4.  * Summary:
  5.  *   SCR Agent for reading probing information.
  6.  * Access:
  7.  *   read-only
  8.  * Authors:
  9.  *   Unknown <yast2-hacker@suse.de>
  10.  * See:
  11.  *   libscr
  12.  *   y2a_hwpb/hwprobe.html
  13.  * Example:
  14.  *   Read(.probe)
  15.  *   ($["architecture":"i386", 
  16.  *      "bios_video":[$["attached_to":$["baseclass":"Bridge", 
  17.  *                                      "bus":"PCI", 
  18.  *                                      ...
  19.  *                                    ], 
  20.  *                      "baseclass":"Display controller", 
  21.  *                      "bus":"PCI", 
  22.  *                      "cardtype":"AGP", 
  23.  *                      ...
  24.  *                    ]
  25.  *                    ...
  26.  *                   ]
  27.  *      ...
  28.  *    ]
  29.  *   )
  30.  **
  31.  *   Read(.probe.cdrom)
  32.  *   (
  33.  *    [
  34.  *     $["attached_to":$["baseclass":"Mass storage controller", 
  35.  *                       "bus":"PCI", 
  36.  *                       "device":"AHA-2940U2/W / 7890", 
  37.  *                       "device_id":65567, 
  38.  *                       "module":[ $["active":true, ... ] ],
  39.  *                       "resource":$["io":[ $["active":true, ... ] ], 
  40.  *                                    "irq":[ $["count":0, ...  ] ], 
  41.  *                                    "mem":[ $["active":true, ... ] ]
  42.  *                                  ], 
  43.  *                       "sub_device":"2940U2W SCSI Controller", 
  44.  *                       ...
  45.  *                       ], 
  46.  *       "baseclass":"Mass Storage Device", 
  47.  *       "bus":"SCSI", 
  48.  *       "cdtype":"dvd", 
  49.  *       ...
  50.  *       ]
  51.  *     ]
  52.  *    )
  53.  * 
  54.  * $Id: probe.scr 25686 2005-09-29 08:42:55Z visnov $
  55.  *
  56.  * This agent allows access to the libhd hardware autoprobe library.
  57.  * See its own documentation for more details.
  58.  */
  59. .probe
  60.  
  61. `ag_hwprobe ()
  62.