5.5. Devices

5.5.1. D DEV (Display Devices)

This command shows cards and hardware devices configured and their state (active/inactive).

[11:38:04] ABILIS_CPX:d dev

------------------ Active PCI Devices and Physical Resources: -----------------
Device(s)   Run Physical Resource(s) or CTI Port(s)          SlotId  Addr  Irq
-------------------------------------------------------------------------------
ASY-1       Yes Async-1  . . . . . . . . . . . . . . . . . .      -   3F8    4
ETH-1       Yes Eth-1  . . . . . . . . . . . . . . . . . . .     64   PCI ( 18)
ETH-2       Yes Eth-2  . . . . . . . . . . . . . . . . . . .     96   PCI ( 17)
ETH-3       Yes Eth-3  . . . . . . . . . . . . . . . . . . .    128   PCI ( 16)
BRI4-2      Yes 35..38 . . . . . . . . . . . . . . . . . . .    161   PCI ( 22)
POTS-1      Yes 101..116 . . . . . . . . . . . . . . . . . .    160   PCI ( 21)
POTS-2      Yes 117..132 . . . . . . . . . . . . . . . . . .    162   PCI ( 23)
VPOTS-5     Yes 165..180 . . . . . . . . . . . . . . . . . .      -   PCI (  -)
CELL32-1    Yes 501..532 . . . . . . . . . . . . . . . . . .      -   PCI (  -)

------------------ Active USB Devices and Physical Resources: -----------------
Device(s)   Run Con Physical Resource(s) or CTI Port(s)    USBPORTID
-------------------------------------------------------------------------------
UPS-1       Yes No  Ups  . . . . . . . . . . . . . . . . . NONE
ADSLUSB-1   Yes Yes Adsl-1 . . . . . . . . . . . . . . . . 1.0
ADSLUSB-2   Yes No  Adsl-2 . . . . . . . . . . . . . . . . 0.3
CELLBOX-1           501..502 . . . . . . . . . . . . . . .
 CELL-1     Yes Yes .  . . . . . . . . . . . . . . . . . . 0.2.0
 CELL-2     Yes Yes .  . . . . . . . . . . . . . . . . . . 0.2.1
 CODEC-1    Yes Yes .  . . . . . . . . . . . . . . . . . . 0.2.2
 CONTROL-1  Yes Yes .  . . . . . . . . . . . . . . . . . . 0.2.3
CELLBOX-2           503..504 . . . . . . . . . . . . . . .
 CELL-3     Yes No  .  . . . . . . . . . . . . . . . . . . 1.1.0
 CELL-4     Yes No  .  . . . . . . . . . . . . . . . . . . 1.1.1
 CODEC-2    Yes No  .  . . . . . . . . . . . . . . . . . . 1.1.2
 CONTROL-2  Yes No  .  . . . . . . . . . . . . . . . . . . 1.1.3
GPIO-1      Yes Yes Gpio-1 . . . . . . . . . . . . . . . . 3.1
GPIO-2      Yes No  Gpio-2 . . . . . . . . . . . . . . . . 6.0
BLUSB-1     Yes No  Blusb-1  . . . . . . . . . . . . . . . -


----------------- Inactive PCI Devices and Physical Resources: ----------------
Device(s)   Run Physical Resource(s) or CTI Port(s)          SlotId  Addr  Irq
-------------------------------------------------------------------------------
                     *** NO INACTIVE PCI CARDs PRESENT ***                     

----------------- Inactive USB Devices and Physical Resources: ----------------
Device(s)   Run Con Physical Resource(s) or CTI Port(s)    USBPORTID
-------------------------------------------------------------------------------
                    *** NO INACTIVE USB DEVICEs PRESENT ***                    

5.5.1.1. D PCIDEV (Display PCI Devices)

It displays information about PCI devices currently present and active in the system.

[11:38:04] ABILIS_CPX:d pcidev

PCI Server Overview:

ID Vendor          Device                    CardName         Slot/F   Ver Irq
-------------------------------------------------------------------------------
0  1106 VIA        3123 BRIDGE HOST                              0/0  0.00   -
1  1106 VIA        B091 BRIDGE PCI NORMAL                        1/0  0.00   -
2  3388 HINT CORP  0021 BRIDGE PCI NORMAL                        8/0  1.05   -
3  104C TEXAS INST AC56 BRIDGE CARDBUS                           9/0  0.00  15
4  1106 VIA        3038 USB HOST UHCI                           16/0  8.00  15
5  1106 VIA        3038 USB HOST UHCI                           16/1  8.00  11
6  1106 VIA        3038 USB HOST UHCI                           16/2  8.00  12
7  1106 VIA        3104 USB HOST EHCI                           16/3  8.02  10
8  1106 VIA        3177 BRIDGE ISA                              17/0  0.00   -
9  1106 VIA        0571 STORAGE IDE                             17/1  0.06 255
10 1106 VIA        3059 MULTIMEDIA AUDIO                        17/5  5.00  12
11 1106 VIA        3065 NETWORK ETHERNET     ETH-VT6102         18/0  7.04  15
12 1106 VIA        3122 DISPLAY VGA                             32/0  0.03  15
13 10EC REALTEK    8139 NETWORK ETHERNET     ETH-RTL8139        72/0  1.00  15
14 10EC REALTEK    8139 NETWORK ETHERNET     ETH-RTL8139        73/0  1.00  11
15 10B5 PLX TECHNO 9030 NETWORK OTHER        CTI-BSE17 4-2-32   74/0  2.00  12
16 1283 ITE        8872 NETWORK OTHER        MFPCIGT            75/0  0.01  10

5.5.1.2. D USBDEV (Display USB Devices)

It displays information about USB devices currently active and connected to Abilis.

[11:38:04] ABILIS_CPX:d usbdev

USB Server Overview:

ID  VendorId/Manufacturer     ProductId/Product                Ver UsbPortId 
-------------------------------------------------------------------------------
1   0000 On Time              0000 EHCI Virtual Root Hub      0.00 0         
2   0000 On Time              0000 EHCI Virtual Root Hub      0.00 1         
3   0000 On Time              0000 UHCI Virtual Root Hub      0.00 2         
4   0000 On Time              0000 UHCI Virtual Root Hub      0.00 3         
5   0000 On Time              0000 UHCI Virtual Root Hub      0.00 4         
6   0000 On Time              0000 UHCI Virtual Root Hub      0.00 5         
7   0000 On Time              0000 UHCI Virtual Root Hub      0.00 6         
8   18A5 Verbatim             0302 STORE N GO                 1.00 1.2       
9   04D8 Abilis               000C USB IO-BOX                 3.01 3.1       
10  07A6 Abilis               4610 ADSL2+                     3.18 1.0       
11  04CC                      1520                            2.00 0.2       
12  05C6 SimTech , Incorporat 6000 SimTech  HSDPA Modem       0.00 0.2.0     
13  05C6 SimTech , Incorporat 6000 SimTech  HSDPA Modem       0.00 0.2.1     
14  04D8 Abilis               000C USB UMTS-BOX2 2011        15.06 0.2.3     
15  08BB Burr-Brown from TI   2904 USB Audio CODEC            1.00 0.2.2   
[Tip]Tip

Interesting chapter:

Section 2.9, “USB devices”.

5.5.2. A DEV (Add Device)

This command adds a new card or a new device in the configuration. Device identifier must be indicated in the form: “type-nnn”, where: “type” has to be one of the device's mnemonics that are allowed by the system (e.g. ETH, ESB and so on); “nnn” must be a digit in the interval [1 - 255].

[16:32:01] ABILIS_CPX:a dev: ?

A DEV:type-n                  Add CPX HW device of the selected type
A DEV:type-n CTIP-NUM:val     Add a CTI card, setting active only the
                              specified number of CTI ports.
                              By default all ports are set active.

DEV:       HW device identifier 'type-n', where 'n' can be [1..255] <Mandatory>
CTIP-NUM:  Number of CTI ports to be set active [1..40]              <Optional>

Available hardware device's types:

- PCI devices:
  BRI4     4 Basic Rate (BRI).
  BRI8     8 Basic Rate (BRI).
  QPRI     4 E1 Primary Rate (PRI).
  PB22     2 PRI and 2 BRI.
  PB44     4 PRI and 4 BRI.
  CTIHA    Card for HDLC controllers and DSPs. No PRI, no BRI.
  POTS     Up to 16 POTS interfaces for analog telephones.
  POTSHUB  4 ELTI for up to 4 POTSBOX (total up to 128 POTS).
  POTSBOX  Up to 32 POTS via 1 ELTI.
  VPOTS    Up to 16 PCPHONE clients.
  BSE      8 BRI and up to 40 POTS (on board and/or ELTI).
  ESB      From 1 to 4 synchronous serial ports.
  ASY      Asynchronous serial port.
  ETH      Ethernet 10/100/1000 Mbit/sec.
  CELL32   Fake device for 32 CELL devices (GSM, UMTS, LTE).
- USB devices:
  UPS      Uninterruptable Power Supply device.
  ETHUSB   USB Ethernet.
  ADSLUSB  ADSL modem with USB interface.
  CELL     UMTS or GSM device.
  CODEC    Audio codec for every 2 UMTS or GSM devices.
  CONTROL  Device that controls and supervises the CELLBOX components.
  CELLBOX  Container device for 2 CELL, 1 CODEC, 1 CONTROL.
  CELLKEY  UMTS 1 port device.
  RJS      RJ45 Switchboard USB device.
  GPS      GPS USB device.
  GPIO     General purpose input/output USB device.
  BLUSB    USB Boot Loader device.

For example, to add a POTS card:

[16:59:21] ABILIS_CPX:a dev:pots-1

COMMAND EXECUTED
[Tip]Tip

Adding an ISDN card (QPRI, BRI8, BRI4, POTS,…) or synchronous card (ESB), also the correlated ports will be activated.

[23:59:39] ABILIS_CPX:a dev:bri4-1

COMMAND EXECUTED

[23:59:50] ABILIS_CPX:d dev

- Not Saved (SAVE CONF) -------------------------------------------------------

---------------- Active ISA/PCI Cards and Physical Resources: -----------------
Card(s)    Run Physical Resource(s)/CTI Port(s)              SlotId  Addr  Irq
-------------------------------------------------------------------------------
ASY-1      Yes Async-1  . . . . . . . . . . . . . . . . . . .     -   3F8    4
ETH-1      Yes Eth-1 . . . . . . . . . . . . . . . . . . . . . .  8   PCI ( 12)
BRI4-1     No  31..34 . . . . . . . . . . . . . . . . . . . .  NONE   PCI (  -)
POTS-1     Yes 101..116 . . . . . . . . . . . . . . . . . . .    10   PCI ( 12)

------------------ Active USB Devices and Physical Resources: -----------------
Device(s)  Run Con Physical Resource(s) or Device(s)       USBPORTID
-------------------------------------------------------------------------------

--------------- Inactive ISA/PCI Cards and Physical Resources: ----------------
Card(s)    Run Physical Resource(s)/CTI Port(s)              SlotId  Addr  Irq
-------------------------------------------------------------------------------
                   *** NO INACTIVE ISA/PCI CARDs PRESENT ***

----------------- Inactive USB Devices and Physical Resources: ----------------
Device(s)  Run Con Physical Resource(s) or Device(s)       USBPORTID
-------------------------------------------------------------------------------
                    *** NO INACTIVE USB DEVICEs PRESENT ***

[23:59:54] ABILIS_CPX:d p ctip:31

CTIP:31  - Not Saved (SAVE CONF), Not Refreshed (INIT) ------------------------
Act     DESCR:
        card:BRI4-1<1>                  USER:#
        OPSTATE:UP        LOG:NO        side:TE      LINE:MP   TYPE:USER
        signalling:DSS1   TEI:STANDARD  HOLD:NO                SS:NO 
        mode:Bri          L12-ACT:UP    BUS:SHORT    
        NUM:*                           ADDRBOOK-NUM:NUM
        BCHANS:ALL-BID

The “Not Saved (SAVE CONF)” message is displayed every time the configuration is modified but not saved with the save conf command. The “Not Refreshed (INIT)” message is displayed every time the port configuration is modified but not refreshed with the init res:ctisys command. These messages will disappear after save conf or init res:ctisys commands.

5.5.3. S DEV (Set Device)

This command sets one or more configuration parameters of the specified device to the specified value.

For PCI devices, the command allows the user to set the PCI slot identifier of the board, i.e. SLOTID parameter.

For ISA devices, the command sets the memory address (ADDR parameter) and interrupt (IRQ parameter) of the device.

For USB devices, the command allows the user to set the USB port identifier of the device, i.e. USBPORTID parameter.

[17:30:52] ABILIS_CPX:s dev: ?

S [P[E]] DEV:type-n par:val [par:val]             Set the parameter(s) of the
                                                  specified HW device

DEV:       HW device identifier 'type-n', where 'n' can be [1..255] <Mandatory>

HW device's parameters:

ADDR:              Base Address value                                <ASY only>
IRQ:               Interrupt value                                   <ASY only>
SLOTID:            Slot Id value [0..65534, NONE = Unassigned]       <PCI only>
USBPORTID:         Port Id value: from 1 up to 7 decimal values in the range
                   [0..14] joined by '.' (dot) or "NONE" (i.e. Unassigned)
                                                                     <USB only>
DSP0:..DSP15:      Enable/disable DSP [ENABLED, DISABLED]            <PCI only>

5.5.4. C DEV (Clear Device)

This command allows to delete a device present in Abilis. A device, before being deleted, must be inactive. To inactive a device type the command s inact dev: and reboot the Abilis with the command warm start.

For example:

[12:45:38] ABILIS_CPX:c dev:bri4-1

COMMAND NOT ALLOWED FOR THAT DEVICE, BECAUSE IT IS RUNNING

[12:45:38] ABILIS_CPX:s inact dev:bri4-1

COMMAND EXECUTED

After Abilis restart, it is possible to delete the device.

[18:17:04] ABILIS_CPX:c dev:bri4-1

THE SELECTED DEVICE AND THE RELATED PHYSICAL RESOURCE(s) WILL BE DELETED.
PROCEED (N/Y)?y

PROCEEDING WITH DEVICE DELETION...

COMMAND EXECUTED