34
D115W Series User Manual https://www.avermedia.com/professional/
3. RTC Battery
The following command can get RTC battery voltage.
$ sudo avt_tool -a | grep -oP "AIN5.*\[\K[^\]]*"
4. Fan Speed
The following commands can get PWM fan information.
# get current speed setting of PWM Fan (0 ~ 255)
$ cat /sys/devices/platform/pwm-fan/hwmon/hwmon<x>/pwm1
# get Fan RPM value
$ cat /sys/devices/platform/39c0000.tachometer/hwmon/hwmon<y>/rpm
* Where <x> and <y> are dynamic hwmon indexes
5. CAN Bus
There are one CAN Bus for D115WOXB, see the following command for usage.
(1) Enable and setup CAN Bus
# 1. Enable CAN Bus
$ sudo modprobe can
$ sudo modprobe can-raw
$ sudo modprobe mttcan
# 2. Setup CAN Bus
$ sudo ip link set can0 type can bitrate 500000 dbitrate 2000000 berr-reporting on fd
on restart-ms 100
$ sudo ip link set can0 up
# Receive
$ candump can0
# Send
$ cansend can0 <can_frame>
* where:
<can_frame> is CAN Bus frame message, see `cansend --help` for more detail.