User manual
D hwtest-qt
D. hwtest-qt
Hwtest-qt provides various hardware tests in both console and graphical environment. To get GUI
start ghwtest-qt instead of hwtest-qt. Hwtest-qt can be run using special configuration file. See
/etc/hwtest.conf for example.
hwtest-qt -qws -c /etc/hwtest.conf
If you want to execute the tests in parallel:
hwtest-qt -qws -c /etc/hwtest.conf --parallel-exec
Please see hwtest-qt --help for further options.
D.1. Controller Area Network Test
CAN test requires USB-CAN device attached to one of the USB ports
69
. Connect internal CAN
interface with USB-CAN via CAN cable and execute:
hwtest-qt -qws --test-can --cani=can1 --cano=can0
D.2. UART Test
Connect both internal serial ports via null-mode, cable and execute:
hwtest-qt -qws –test-serial --seri=/dev/sertest0 --sero=/dev/sertest1
D.3. Network Test
Connect both LAN insteraces via patch cable and execute:
hwtest-qt -qws --test-network --neti=eth0 --neto=usb0
D.4. RTC Test
hwtest-qt -qws --test-rtc
D.5. WLAN Test
WLAN test scans for available WLAN hosts (iw wlan0 scan). At least one AP must be running
and antenna must be attached.
hwtest-qt -qws --test-wlan
69
You’ll need a slcan tools to bring USB-CAN up. See VSCAN SocketCAN FAQ
May 2014 OnRISC User Manual 83