Usbctl - Hitachi CE50-10 Instruction Manual

Table of Contents

Advertisement

• If monitoring has stopped
Soft-WDT is stopping.
<Diagnosis>
For the exit code, 0 is returned if the status is normal and 1 is returned if an error is detected. Table 5‒44: List of
swdt_stat command error messages below shows error messages that are output when an error is detected.
Table 5‒44: List of swdt_stat command error messages
No.
swdt_stat: device is not
1
found.
swdt_stat: swdt_stat library
2
error.(errno=XX)
5.18.19 usbctl
<Name>
usbctl - Connect or disconnect USB devices.
<Format>
usbctl -p port [ -c | -d ]
<Description>
This command connects a device to a USB port, disconnects a device from a USB port, or checks the connection
state.
<Options>
--p port
Displays the connection state (connected or disconnected) of the USB device for the specified USB port. If the
device is connected, Connect appears. If the device is disconnected, Disconnect appears.
For port, specify the USB port number (1 or 2) on which you want to perform operations. To perform
operations for all ports or check their states at the same time, specify all.
• 1
Perform operations on USB port number 1.
• 2
Perform operations on USB port number 2.
• all
Perform operations on USB port number 1 and USB port number 2.
--c
Connect the device to the USB port specified for port.
--d
Disconnect the device from the USB port specified for port.
<Diagnosis>
For the exit code, 0 is returned if the status is normal and 1 is returned if an error is detected. Table 5‒45: List of
usbctl command error messages below shows error messages that are output when an error is detected.
Table 5‒45: List of usbctl command error messages
No.
1
usage: usbctl -p port [ -d | -
c ]
Error message
Error message
5. Configuring Software Environment
Description
The driver for the software WDT has not started or the device
file for accessing the driver cannot be opened.
An error other than above occurred in the library for getting the
software WDT status.
XX: Relevant error number
Description
No option is specified, or the specified option is invalid.
125

Advertisement

Table of Contents
loading

Table of Contents