Name

devls — Lists information about devices attached to a system

Synopsis

devls [-v] [-h]

Options

-v

be more verbose in output

-h

display help message

Description

This command can be used to obtain a complete list of the devices attached to the system.

Example 31. Using the devls command

This shows the use of a simple devls command on the EB2410ITX. The output shows a list of all devices within the system and information on those devices where known.

>devls
bus: usb on
bus: IIC on
  [03000002,03000002]
  [03000002,03000001]
  [03000004,03000001]
  [03000000,0300000a]
  [03000003,03007fff]
  [03000003,03007006]
bus: bast on memory 00000000..80000000
  [03000000,03000006] Samsung S3C2410, 1 IO regions
  [03000009,03000001] Samsung S3C2410 OHCI, 1 IO regions
  [03000000,0300000d] Samsung UART, 1 IO regions
  [03000000,0300000d] Samsung UART, 1 IO regions
  [03000000,0300000d] Samsung UART, 1 IO regions
  [03000000,03000001] bast-ide1, 2 IO regions
  [03000000,03000001] bast-ide2, 2 IO regions
  [03000000,03000008] asix-ax88796, 1 IO regions
  [03000001,03009000] dm9000, 1 IO regions
  [03000000,03000000] superio-serial1, 1 IO regions
  [03000000,03000000] superio-serial2, 1 IO regions
  [03000000,03000005] rombank0, 1 IO regions
>

This shows the devls command used in verbose mode on a PCI system.

>devls -v
bus: isa on 7c000000..7c010000
  [010013ea,01010000] [ 0x0072 ] ds1687
  [03000000,03000000] [ 0x03f8 ] 16550
  [03000000,03000000] [ 0x02f8 ] 16550
  [03000000,03000004] [ 0x0060 ] intel8042
bus: pci on dc21285
  [010010b9,01001533] [ 0. 7.0 ] 10b9:1533 Rev 0xc3  Class 6.1.0
   CmdStatus 3200000f:
        CMD: IO MEM MASTER SPECIAL
     Status: DEVSEL-MED MT-ABRT M-ABRT

  [01001011,01000019] [ 0. 8.0 ] 1011:0019 Rev 0x41  Class 2.0.0
   CmdStatus 02800007:
        CMD: IO MEM MASTER
     Status: B2B DEVSEL-MED
        Region 0: IO f880, size 0080
        Region 1: MEM 32bit at 0x05000000, size 0x00000400

  [010010ea,01005000] [ 0.10.0 ] 10ea:5000 Rev 0x01  Class 3.0.0
   CmdStatus 02000007:
        CMD: IO MEM MASTER
     Status: DEVSEL-MED
        Region 0: MEM 32bit at 0x06000000, size 0x01000000

  [010010ea,01005050] [ 0.10.1 ] 10ea:5050 Rev 0x01  Class 4.1.0
   CmdStatus 02000007:
        CMD: IO MEM MASTER
     Status: DEVSEL-MED
        Region 0: MEM 32bit at 0x07010000, size 0x00001000
        Region 1: IO f000, size 0100

  [010010b9,01005229] [ 0.16.0 ] 10b9:5229 Rev 0xc1  Class 1.1.250
   CmdStatus 02800005:
        CMD: IO MASTER
     Status: B2B DEVSEL-MED
        Region 4: IO ecf0, size 0010

   ->  [03000000,03000001]
   ->  [03000000,03000001]
  [010010b9,01007101] [ 0.17.0 ] 10b9:7101 Rev 0x00  Class 6.128.0
   CmdStatus 02800001:
        CMD: IO
     Status: B2B DEVSEL-MED
        Region 0: IO e8c0, size 0040
        Region 1: IO e8a0, size 0020

  [010010b9,01005237] [ 0.20.0 ] 10b9:5237 Rev 0x03  Class 12.3.16
   CmdStatus 02800006:
        CMD: MEM MASTER
     Status: B2B DEVSEL-MED
        Region 0: MEM 32bit at 0x07011000, size 0x00001000

bus: cpu on memory 00000000..80000000
  [03000000,03000002] intel21285, 1 IO regions
   Region 0 - 42000000, size 00100000, mulitplier 0001
>