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 Cards and Physical Resources: -------------------
Card(s)     Run Physical Resource(s) or CTI Port(s)          SlotId  Addr  Irq
-------------------------------------------------------------------------------
ESB-1       No  Sync-1,Sync-2,Sync-3,Sync-4  . . . . . . . .      7   PCI (  9)
ASY-1       Yes Async-1  . . . . . . . . . . . . . . . . . .      -   3F8    4
ETH-1       Yes Eth-1  . . . . . . . . . . . . . . . . . . .     72   PCI ( 10)
ETH-2       Yes Eth-2  . . . . . . . . . . . . . . . . . . .     73   PCI ( 11)
ETH-3       Yes Eth-3  . . . . . . . . . . . . . . . . . . .     74   PCI ( 12)
ETH-4       Yes Eth-4  . . . . . . . . . . . . . . . . . . .     75   PCI (  9)
QPRI-1      No  1..4 . . . . . . . . . . . . . . . . . . . .      9   PCI (  -)
QPRI-13     No  49..52 . . . . . . . . . . . . . . . . . . .   NONE   PCI (  -)
BRI8-1      Yes 31..38 . . . . . . . . . . . . . . . . . . .      8   PCI ( 12)
POTS-1      Yes 101..116 . . . . . . . . . . . . . . . . . .     10   PCI ( 10)
POTS-2      Yes 117..132 . . . . . . . . . . . . . . . . . .      7   PCI (  9)
POTS-3      No  133..148 . . . . . . . . . . . . . . . . . .   NONE   PCI (  -)
UG-1        Yes 201..232 . . . . . . . . . . . . . . . . . .      -   PCI (  -)
CB-1        Yes 241..248 . . . . . . . . . . . . . . . . . .      -   PCI (  -)

------------------ Active USB Devices and Physical Resources: -----------------
Device(s)   Run Con Physical Resource(s) or CTI Port(s)    USBPORTID
-------------------------------------------------------------------------------
ADSLUSB-1   Yes No  Adsl-1 . . . . . . . . . . . . . . . . 2.0
ADSLUSB-2   Yes No  Adsl-2 . . . . . . . . . . . . . . . . NONE
ADSLUSB-3   Yes No  Adsl-3 . . . . . . . . . . . . . . . . NONE
CELLBOX-1           201..202 . . . . . . . . . . . . . . .
 CELL-1     Yes No  .  . . . . . . . . . . . . . . . . . . 0.3.0
 CELL-2     Yes No  .  . . . . . . . . . . . . . . . . . . 0.3.1
 CODEC-1    Yes No  .  . . . . . . . . . . . . . . . . . . 0.3.2
 SIMEMU-1   Yes No  .  . . . . . . . . . . . . . . . . . . 0.3.3
CELLBOX-2           203..204 . . . . . . . . . . . . . . .
 CELL-3     Yes No  .  . . . . . . . . . . . . . . . . . . 0.0
 CELL-4     Yes No  .  . . . . . . . . . . . . . . . . . . 0.1
 CODEC-2    Yes No  .  . . . . . . . . . . . . . . . . . . 0.2
 SIMEMU-2   Yes No  .  . . . . . . . . . . . . . . . . . . 0.3
UMTSKEY-8   Yes No  208  . . . . . . . . . . . . . . . . . NONE
RJS-1       Yes No  Rjs-1  . . . . . . . . . . . . . . . . 1.1
SIMBOX-1    Yes No  SimBox-1 . . . . . . . . . . . . . . . 1.2
GPS-1       Yes No  Gps-1  . . . . . . . . . . . . . . . . 3.0
GPIO-1      Yes No  Gpio-1 . . . . . . . . . . . . . . . . NONE
BLUSB-1     Yes No  Blusb-1  . . . . . . . . . . . . . . . -
CITOBOX-1           241..242 . . . . . . . . . . . . . . .
 CITO-1     Yes No  .  . . . . . . . . . . . . . . . . . . NONE
 AUDIO-1    Yes No  .  . . . . . . . . . . . . . . . . . . NONE


----------------- Inactive PCI Cards and Physical Resources: ------------------
Card(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
-------------------------------------------------------------------------------
ADSLUSB-4   No  No  Adsl-4 . . . . . . . . . . . . . . . . NONE

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        0691 BRIDGE HOST          -                   0/0 12.04   -
1  1106 VIA        8598 BRIDGE PCI           -                   1/0  0.00   -
2  1106 VIA        0686 BRIDGE ISA           -                   4/0  4.00   -
3  1106 VIA        0571 STORAGE IDE          -                   4/1  0.06   -
4  1106 VIA        3038 USB CONTROLLER UHCI  -                   4/2  1.10  10
5  1106 VIA        3038 USB CONTROLLER UHCI  -                   4/3  1.10  10
6  1106 VIA        3057 BRIDGE HOST          -                   4/4  4.00   -
7  10B5 PLX TECHNO 9050 BRIDGE OTHER         CTI-HFC-OKI-4P      6/0  0.02  10
8  1283 ITE        8872 16550 SERIAL PORT    PCI-POTS            8/0  0.01  12
9  10EC REALTEK    8139 NETWORK ETHERNET     TE100-PCIWN         9/0  1.00  11
10 1283 ITE        8872 16550 SERIAL PORT    PCI-POTS           10/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 Informatik   0000 UHCI Virtual Root Hub      0.00 0
2   0000 On Time Informatik   0000 UHCI Virtual Root Hub      0.00 1
3   0451                      2046                            1.25 0.0
4   06B9 THOMSON              4061 Speed Touch 330            4.00 0.1
5   06B9 THOMSON              4061 Speed Touch 330            4.00 0.0.0
6   0451                      2046                            1.25 0.0.1
7   0403 FTDI                 6001 USB <-> Serial             4.00 0.0.1.0
8   0403 FTDI                 6001 USB <-> Serial             4.00 0.0.1.1
9   08BB Burr-Brown from TI   2904 USB Audio CODEC            1.00 0.0.1.2
10  04D8 Abilis               000C USB GSM-BOX                1.01 0.0.1.3
[Tip]Tip

Interesting chapter:

Section 2.10, “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..32]              <Optional>

Available hardware device's types:

- PCI devices:
  ESB      From 1 to 4 synchronous serial ports.
  ASY      Asynchronous serial port.
  ETH      Ethernet 10/100/1000 Mbit/sec.
  CTIHA    Card for HDLC controllers and DSPs. No PRI/BRI ports.
  QPRI     4 Primary Rate E1 Interfaces (PRI).
  PB44     4 PRI and 4 BRI interfaces.
  BRI1     1 Basic Rate Interfaces (BRI).
  BRI4     4 Basic Rate Interfaces (BRI).
  BRI8     8 Basic Rate Interfaces (BRI).
  BRIO     Basic Rate Interface, data only.
  POTS     From 2 to 16 interfaces for analog telephones.
  BS44     4 BRI and 4 POTS interfaces.
  BS48     4 BRI and 8 POTS interfaces.
  WL       Wireless card 11 mbit/sec.
  UG       UMTS and GSM fake device for 32 GSM/UMTS devices.
  CB       CITOBOX device for 8 ports.
- USB devices:
  ADSLUSB  ADSL modem with USB interface.
  CELL     UMTS or GSM device.
  CODEC    Audio codec for every 2 UMTS or GSM devices.
  SIMEMU   SIM emulator for GSM or UMTS devices.
  CELLBOX  Container device for 2 CELL, 1 CODEC, 1 SIMEMU.
  UMTSKEY  UMTS 1 port device.
  RJS      RJ45 Switchboard USB device.
  SIMBOX   Sim Box USB device.
  GPS      GPS USB device.
  GPIO     General purpose input/output USB device.
  BLUSB    USB Boot Loader device.
  CITO     Signalling part of CITOBOX
  AUDIO    Audio part of CITOBOX
  CITOBOX  Container device for 1 CITO, 1 AUDIO.

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, BRIO, POTS,…) or synchronous card (ESB), also the correlated ports will be activated.

[23:59:39] ABILIS_CPX:a dev:brio-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
ETH100-1   Yes Eth100-1 . . . . . . . . . . . . . . . . . . .     8   PCI ( 12)
BRIO-1     No  91 . . . . . . . . . . . . . . . . . . . . . .  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:91

CTIP:91  - Not Saved (SAVE CONF), Not Refreshed (INIT) ------------------------
Act     DESCR:
        card:BRIO-1<1>
        OPSTATE:UP        LOG:NO        side:TE      LINE:PP   TYPE:USER
        signalling:DSS1   TEI:STANDARD  HOLD:NO      CT:NO     SS:NO
        mode:Bri-data                                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 DEV:val par:val [par:val]   Set the specified Hw device parameter(s)

ADDR:              Base Address value                                <ISA only>
IRQ:               Interrupt value                                   <ISA 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>

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