Contec IPC, BX-830 Series Series Manual

IPC Series
BOX-PC for BX-830 Series
Ubuntu 14.04 Desktop 64bit
Operational Check M anual
CONTEC CO., LTD.

Copyright

Copyright 2017 CONTEC CO., LTD. ALL RIGHTS RESERV ED. No part of this document may be copied or reproduced in any form by any means without prior written
consent of CONTEC CO., LTD. CONTEC CO., LTD. makes no commitment to update or keep current the information contained in this
document. The information in this document is subject to change without notice. All relevant issues have been considered in the preparation of this document. Should you notice an
omission or any questionable item in this document, please feel free to notify CONTEC CO., LTD. Regardless of the foregoing statement, CONTEC assumes no responsibility for any errors that may
appear in this document or for results obtained by the user as a result of using this product.

Trademarks

Intel, Intel Atom, Intel Core and Celeron are register ed trademarks of Int el Corporation. MS, Microsoft and Windows are trademarks of Microsoft Corporation. Other brand and product names are trademarks of their respective holder.
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
i

Table of Contents

Copyright .............................................................................................................................................. i
Trademarks ........................................................................................................................................... i
Table of Contents ................................................................................................................................ ii
1. INTRODUCTION 1
About the Product ......................................................................................................................... 1
Caution on the BX-830 Series ...................................................................................................... 1
Security Warn in g .......................................................................................................................... 2
2. OPERATING E NVIRONMENT 3
Distribution................................................................................................................................... 3
Configuration ............................................................................................................................... 3
3. LIST OF OPERATIO N AL CHECKS 5
Operational Checks and Results .......................................................................................................... 5
4. OPERATIONAL CHECK DETAILS 7
4.1 Console Japanese Input ................................................................................................................. 7
4.2 Monitor Display Check ................................................................................................................. 8
4.2.1 Analog RGB ........................................................................................................................ 8
4.2.2 DVI-D .................................................................................................................................. 9
4.2.3 Display Port ....................................................................................................................... 10
4.2.4 Dual display is supported .................................................................................................. 11
4.3 Audio Operational Check ............................................................................................................ 12
4.3.1 LINE OUT ......................................................................................................................... 12
4.4 CFast Operational Check............................................................................................................. 13
4.4.1 SMART ............................................................................................................................. 13
4.5 LAN Operati on al Ch eck .............................................................................................................. 15
4.5.1 SSH Operations ................................................................................................................. 15
4.5.2 FTP File Transfer Operations ............................................................................................ 16
4.6 Serial Port Operational Check ..................................................................................................... 18
4.6.1 Serial Port A and Serial Port B Communication (RS-232C) ............................................. 18
4.6.2 Serial Port C Communication (RS-422/485) ..................................................................... 18
4.7 RAS Operational Check .............................................................................................................. 20
4.7.1 General-purpose I/O Operations ........................................................................................ 20
4.7.2 Status LED Operations ...................................................................................................... 21
4.7.3 Watchdog Timer Operations ............................................................................................. 21
4.8 Hardware Monitor Operational Check ........................................................................................ 22
4.8.1 CPU and System Temperatures Retrieval ......................................................................... 22
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
ii
4.8.2 Power-supply Voltage Retrieval ....................................................................................... 22
4.9 RTC Operational Check .............................................................................................................. 23
4.10 Power Management Operational Check .................................................................................... 24
4.10.1 S0, S3, and S4 States Check ............................................................................................ 24
4.10.2 S5 State Check ................................................................................................................ 24
5. RAS FUNCTION SUPPLEMENTARY INFORMATION 25
5.1 I/O Address ................................................................................................................................. 26
5.2 Microcomputer Communication Specifications .......................................................................... 27
5.2.1 I2C slave address ............................................................................................................... 27
5.2.2 Logical Addresses and How to Issue Commands ............................................................. 27
5.2.3 List of Commands ............................................................................................................. 29
5.3 RAS Preparatory Steps ................................................................................................................ 32
6. ADD THIS LINE 36
6.1 CPU Information (/proc/cpuinfo) ................................................................................................ 36
6.2 Memory Information (free , /proc/meminfo) .............................................................................. 39
6.3 PCI Device Information (lspci) ................................................................................................... 41
6.4 Runlevel Information (sysv-rc-conf) ........................................................................................... 42
6.5 System Load Module Information (lsmod) ................................................................................. 44
6.6 IRQ Usage Information (/proc/interrupts) ................................................................................... 46
6.7 I/O Port Usage Information (/proc/ioports) ................................................................................. 47
6.8 Kernel Module Message Information (dmesg)............................................................................ 49
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
iii
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
iv
1 Introduction
C
AUTI
ON

1. Introduction

About the Pr o d u ct

This manual describes how to install the Linux OS on our industrial computer products and provides information about the operational check results as well as the minimum configuration and packages required to run the Linux OS. Refer to it when building your system.
Make sure you understand and agree with the cautions below before using this manual. Refer to the User’s Manual for our industrial computer products’ specifications. Refer to “Chapter 5:
RAS Function Supplementary Information” when using particular functions such as the RAS function on our industrial computer products.

Caution on the BX-830 Series

- The content of this manual is consistent with the results of operational checks conducted in our testing environment and does not guarantee proper operations of the Linux OS itself on our products.
- Make sure you thoroughly conduct operational checks when using the content of this manual.
- CONTEC shall not be held liable for damages suffered by you due to the installation or use of the Linux OS based on the content of this manual.
- Please note that we do not accept any questions regarding the Linux OS in general, including about Linux-related content described in this manual.
- Results may differ from the content of this manual if the Linux OS is customized or if changes are made to the BIOS.
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
1
1 Introduction

Security Warning

When connecting to the network, be aware of sec u ri ty-related problems. See the exampl es of Security measures below and set up the product properly along with the network devices.
[Information security risks]
- Unauthorized access from the outside through a network could cause the system halt, data damage, or exposure to malware
*1
.
- Invaded and used as a stepping stone, a device might attack the others through networks. (a victim becomes an assailant)
- Information might leak without realizing due to the connection to the network.
- Secondary damages such as harmful rumors, liability in damages, social credibility fall, and opportunity loss are expected led by the troubles described above.
*1… M alware (Malicious Software) is software that brings har m t o a computer s ystem and per forms unintend ed operatio ns.
[Security measures - e.g.]
- Do not keep using the default password. (Refer to the product manual for the password setting).
- Set a strong password.
Combined with upper and lowercase letters, and numbers so that it cannot be easily analogized
by others.
- Change the password periodically.
- Disable unnecessary network services and functions.
- Restrict access to the network with network devices.
*2
- Restrict ports to be released on the network with network devices.
- Create a closed network connection using such as dedicated network or VPN
*2…Inquire for setting procedur e to manufacturers. *3…VPN (Virtu al Private Networ k): a secure d network that wards off unau thorized access by protecting the com mu nication pat h with
authe ntication a nd e nc ryption.
*3
.
Unfortunately, there are no perfect ways to avert unauthorized access or close a security hole that are endlessly found day and night. Please understand that risks are always involved with the Internet connection, and we strongly recommend a user should constantly update information security measures.
BX-830 Ubu ntu 14.04 Desktop 64bit Operational Check Manual
2

2. Operating Environment

root@BX-830:~# cat /proc/version

Distribution

The distributions used and their version information are as follows.
- Ubuntu 14.04 Desktop 64bit (
Linux version 3.1 3.0 -24-generic (build d @pa nlo ng) (gcc ve rs io n 4.8.2 (U bunt u 4.8. 2 -19 ub unt u1 ) ) #46 -Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014
root@BX-830:~# uname –a Linux BX-830 3. 13.0-24-generic #46-Ubu ntu SM P Thu Ap r 10 19:1 1 :08 UT C 201 4 x86_ 64 x8 6_6 4 x8 6_64
GNU/Linux

Configuration

Table 2.1. Configuration table
No. Equip ment name Maker Model Remarks
1 Box Computer CONTEC BX-830-DC700000
2 CFast Card CONTEC CFS-32GBM-A Product o p tio n item
3 USB DVD-ROM BUFFALO BRXL-PC6U2-BK
4
5 Monitor
6
7 Speaker - -
8 Mic - -
9 RS-232 cross cable - -
10 RS-422/485 cross cable - -
11 RAS general-purpose I/O cable - -
* - : Not specified
USB Keyboard/ USB Mouse
Device used to confirm network communicat io n stat us
2 Operating Environm ent
ubuntu-ja-14.04-desktop-amd64.iso
- -
EIZO EV2450-DB RGB/DVI/DisplayPort
CONTEC FPD-H21XT-AC RGB
- Generic PC
)
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
3
2 Operating Environm ent
BX-830 Ubu ntu 14.04 Desktop 64bit Operational Check Manual
4

3 List of Operational Checks

Item
Details
Result
Remarks
Installation from USB-connected media is possible
Typical installation completes successfully
CPU model, etc., can be confirmed from the cpuinfo
Memory size, etc., can be confirmed using free
Recommended monitor resolution is displayed
Recommended monitor resolution is displayed
Recommended monitor resolution is displayed
Dual display is supported
Sound is output from the monitor speakers when CFast
S.M.A.R.T. information can be retrieved
See 4.4.1
Network information can be retrieved from DHCP
Package installation is possible using “apt” Login is possible using SSH
See 4.5.1
File transfer is possible using FTP
See 4.5.2
Keyboard is operational Mouse
Mouse is operation al
CD/DVD
Drive can be mounted
RS-232C
3. List of Operat io n a l C he c ks Operational Checks and Results
Only basic operations such as the installation and startup are verified as part of the operational checks. The operational checks were not conducted assuming all possible applications.
This manual covers operational checks that were conducted for the items below.
Table 3.1. Checks and results
OS
CPU
Memory
Anarog RGB
DVI-D
Monitor
Display Port
Dual display
Audio LINE OUT
LAN
KeyBoard
USB
log
command
(on X Wind ow System)
(on X Wind ow System)
(on X Wind ow System)
(on X Wind ow System)
using DisplayPort
commands
Japanese input is possible
See 6.1
See 6.2
See 4.2.1
See 4.2.2
See 4.2.3
See 4.2.4
See 4.3.1
See 4.1
Serial
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
Port A Port B
Communication is possible See 4.6.1
5
3 List of Operational Checks
RS-422/485
General­LED
Status LED turns on/off
See 4.7.2
WDT
Reset is possible after configuring timeout
See 4.7.3
CPU and sys tem temper atures can be retrieved
See 4.8.1
Power-supply vol tage can be retrieved
See 4.8.2
RTC
Time can be configured
See 4.9
Resuming from standby sta te (S1)
-
Resuming from suspend state (S3)
See 4.10.1
Resuming from hibernation state (S4)
See 4.10.1
Power OFF (S5 state) operations when shutting down
Port C
purpose I/O
RAS
Hardware monitoring
Power Management
Communication is possible See 4.6.2
Input/ou tput operations are possibl e See 4.7.1
system
See 4.10.2
BX-830 Ubu ntu 14.04 Desktop 64bit Operational Check Manual
6
4 Operational Check Details
root@BX-830:~# あいうえお

4. Operational Ch e c k Details

4.1 Console Japanese Input

Simultaneously press “Ctrl” + “Alt” + “T” on the keyboard to launch the console. Press “Ct r l” + “ Sp a ce” or “hal f-width/full-width” in the console screen. The [ ] icon is displayed in the upper-right corner of the desktop. Confirm that Japanese can be input.
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
7
4 Operational Check Details

4.2 Monitor Display Check

4.2.1 Analog RGB

Choose [System Sett ings] – [All Settings] – [Displays], and launch the display configurati on tool. Confirm that information about the manufacturer of the connected display as well as the recommended resolution are displayed. In addition, confirm that the optional resolutions and rotation can be changed.
Specia l note: The recommended resolution or the currently selected resolution may not be displayed if the RGB cable is connected while the OS is running. In that case, use the display configuration tool again to choose the appropriate resolution.
BX-830 Ubu ntu 14.04 Desktop 64bit Operational Check Manual
8
4 Operational Check Details

4.2.2 DVI-D

Choose [System Settings] – [All Settings] – [Displays], and launch the display configuration tool. Confirm that information about the manufacturer of the connected display as well as the recommended resolution are displayed. In addition, confirm that the optional resolutions and rotation can be changed.
Special note: The recommended resolution or the currently selected resolution may not be displayed if the DVI cable is connected while the OS is running. In that case, use the display configuration tool again to choose the appropriate resolution.
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
9
4 Operational Check Details

4.2.3 Display Port

Choose [System Settings] – [All Settings] – [Displays], and launch the display configuration tool. Confirm that information about the manufacturer of the connected display as well as the recommended resolution are displayed. In addition, confirm that the optional resolutions and rotation can be changed.
Specia l note: The recommended resolution or the currently selected resolution may not be displayed if the DisplayPort cable is connected while the OS is running. In that case, use the display configuration tool again to choose the appropriate resolution.
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
10
4 Operational Check Details

4.2.4 Dual display is supported

Choose [System Settings] – [All Settings] – [Displays], and launch the display configuration tool. Confirm that information about the manufacturer of the connected display as well as the recommended resolution are displayed. In addition, confirm that the optional resolutions and rotation can be changed.
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
11
4 Operational Check Details

4.3 Audio Operationa l C he c k

4.3.1 LINE OUT

Choose [System Sett ings] – [All Settings] – [Sound], and launch the sound configuration tool. When using DisplayPort, select “HDMI/DisplayPort (internal audio)” as the output destination, and
press the [Test] button. The Figure 4.1 is displayed. Confirm that sound is output from the monitor by pressing the [Test] button.
Figure 4.1. HDMI/DisplayPort output test screen
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
12

4.4 CFast Operationa l C he c k

root@BX-830:~# apt-get ins tal l s mar t mo nt o ol s

4.4.1 SMART

Confirm that S.M.A.R.T. information can be retrieved.
root@BX-830:~# smartctl –a /dev/s da
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-24-generic] (local build) Copyright (C) 2002-13, Bruce Allen, C hristia n Franke, w ww . smart mo nt ools. o r g
=== START OF IN FORMATION SECTI ON === Device Model: HAGIWARA SOLUTIONS LFD10S-032GC(A00AFS Serial Number: HSS32G15031900004029 Firmware Version: 20140822 User Capacity: 32,212,647,936 bytes [32.2 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Device is: Not in smartct l database [for details use: -P show all] ATA Version is: ATA8-ACS ( minor revision not indica ted) Local Time is: Wed Jan 10 23:32:32 2018 JST SMART support is: Availab le - device has SMART capability. SMART support is: Enabled
=== START OF READ SMART DATA SE CTION === SMART over all-health self-assessment test result: PASSED
General SMART Values: Offline data co lle ct io n stat us: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disab led. Total time t o complete Of f l i ne data collection: ( 0) seconds. Offline data co lle ct io n capabilities: (0x00) Offline data co lle ct io n not suppo r ted . SMART capabilities: (0x0002) Does not sav e SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x00) Error logging NOT support ed. No General Purpose Logging support.
4 Operational Check Details
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
13
4 Operational Check Details
SMART Attributes Data Structure revision number: 1 Vendor Specific SM AR T Attributes with T hresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED
RAW_VALUE 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 332 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 3 196 Reallocated_Event_Count 0x0033 100 100 005 Pre-fail Always - 0 232 Available_Reservd_Space 0x0032 100 100 000 Old_age Always - 0 233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0 241 Total_LBAs_Written 0x0033 086 086 005 Pre-fail Always - 292 242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 0 243 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 244 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 245 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 246 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 67570 247 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 47393 248 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 249 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 208 251 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 4238 252 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 253 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 254 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 0 255 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 236 194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 47 (Min/Max 25/62)
SMART Error Log not supported
SMART Sel f-test Log not suppor ted
Selective Self-tests/Logging not supported
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
14

4.5 LAN O p erational Chec k

root@BX-830:~# apt-get ins tal l op e nss h-server
4 Operational Check Details

4.5.1 SSH Operations

Install the SSH server, and confirm that you can remotely log in from a Windows PC.
SSH server installation
Using Teraterm on a Windows PC, enter the IP of the box computer, and confirm that connection to the SSH server is possible.
Enter the username and password used in the Linux configuration. If everything is in order, connection will be completed as below.
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
15
4 Operational Check Details
root@BX-830:~# apt-get i ns ta ll vsftpd

4.5.2 FTP File Transfer Operations

Build a FTP server using vsftpd, and confirm that files can be transferred.
Vsftpd server installation and environment
root@BX-830:~# gedit /etc/vsftpd.conf ( uncomment below and two la st l ine : ) .. write_enable=YES .. ascii_upload_enable=YES ascii_download_enable=YES .. chroot_local_user=YES chroot_list_enable=YES .. chroot_list_file=/etc/vsftpd.chroot_list .. ls_recurse_enable=YES .. local_root=public_html seccomp_sandbox=NO root@BX-830:~# gedit /etc/vsftpd.chroot_list (add ftp user) test root@BX-830:~# service vs f t p d r estart
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
16
4 Operational Check Details
Connect to the FTP server using the standard FTP client function on a Windows PC. Enter the username and password used in the Linux configuration. If everything is in order, connection will be completed as below, and the file can be transferred.
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
17
4 Operational Check Details
root@BX-830:~# cat /dev/ttyS0
root@BX-830:~# echo aiueo > cat /dev/ttyS1
root@BX-830:~# cat /dev/ttyS0
root@BX-830:~# apt-get ins tal l se ts er i al

4.6 Serial Port Opera tio na l Check

4.6.1 Serial Port A and Serial Port B Communication (RS-232C)

Connect serial port A and serial port B using a serial cross cable. Launch two console windows.
Enter the following command in one of the consoles. After the command is input, port A listens for serial data.
Enter the following command in the other console. The character string “aiueo” is sent from port B to port A.
If port A (listening port) successfully receives the data, the character string “aiueo” will be displayed on the console screen, as shown below.
aiueo

4.6.2 Serial Po r t C Communicati on (RS-422/485)

This serial port is provided for the RAS function. Read “Chapter 5: RAS Function Supplementary Information,” and proceed with the RAS preparatory steps. The verifica tion program performs a full-duplex transmission. Connect the self-loop communication serial cable. (Refer to Figure 4.2: RAS connection diagram) Launch a console window. Execute the command indicated below, and confirm that 10 bytes are sent and received. Refer t o the Read me file for details about the serial sample.
root@BX-830:~# setserial /dev/ttyS2 irq 4 root@BX-830:~# ./serial 0 0x22 micon: Set rs485 status complete. cmd [0x93h], dat [0x3h], sta [0x6h]
BX-830 Ubuntu 14.04 Desktop 64bit Operational Check Manual
18
Loading...
+ 52 hidden pages