Usb 2.0 Switch Configuration; Setting The Active Usb Host; Power Switch Delay; Querying The Host Presence - Lightware MMX4x2-HDMI User Manual

Standalone multimedia matrix switcher
Hide thumbs Also See for MMX4x2-HDMI:
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
7.17. USB 2.0 Switch Configuration
7.17.1. Setting the Active USB Host
Below command is for selecting a USB B-type port (host computer) that will be connected to the USB
peripherals (USB A-type ports).
Command and Response
#usb
#new
SET·/MEDIA/USB/USBSWITCH.HostSelect=<host_nr>
ç
pw·/MEDIA/USB/USBSWITCH.HostSelect=<host_nr>
æ
Parameters
Parameter
Parameter description
<host_nr>
USB B-type port number.
Example
ç SET /MEDIA/USB/USBSWITCH.HostSelect=2
æ pw /MEDIA/USB/USBSWITCH.HostSelect=2
7.17.2. Power Switch Delay
After switching between the hosts, certain connected USB peripherals need to be reset to operate properly.
Enable the power switch delay function, then the 5V power of all the devices is off for 2 seconds. This forces
the devices to restart, thus, you do not have to physically unplug/re-plug the connected USB device.
Command and Response
SET·/MEDIA/USB/USBSWITCH.DelayedSwitch=<delay_state>
ç
pw·/MEDIA/USB/USBSWITCH.DelayedSwitch=<delay_state>
æ
Parameters
Parameter
Parameter description
<delay_state>
2 sec power-cut towards the devices
if host is changed
Example
ç SET /MEDIA/USB/USBSWITCH.DelayedSwitch=2
æ pw /MEDIA/USB/USBSWITCH.DelayedSwitch=2
MMX4x2 series – User's Manual
Value
Value description
port number
1-4
off state
0
Value
Value description
power cut-off is active
true
power cut-off is inactive
false
Applied firmware package: v1.5.0b8 | LDC software: v2.3.0b1
7.17.3. Querying the Host Presence
The USB B-type ports can be queried to check if there is a connected USB host device to a port. The 5V signal
presence of a connected USB host device can be queried as follows:
Command and Response
GET·/MEDIA/USB/USBSWITCH.<host_pc>
ç
pr·/MEDIA/USB/USBSWITCH.<host_pc>=<status>
æ
Parameters
Parameter
Parameter description
<host_pc>
The ID of the host PC
<status>
5V signal presence of the
connected host
Example
ç GET /MEDIA/USB/USBSWITCH.Host5VSensePc1
æ pr /MEDIA/USB/USBSWITCH.Host5VSensePc1=true
7.17.4. Setting the 5V Sending to the USB Peripherals
The 5V power towards the USB A-type ports can be enabled or disabled as follows:
Command and Response
SET·/MEDIA/USB/USBSWITCH.<device_pwr>
ç
pw·/MEDIA/USB/USBSWITCH.<device_pwr>=<status>
æ
Parameters
Parameter
Parameter description
<device_pwr>
5V output parameter of the
USB A-type port
<status>
5V power towards the USB
peripheral
Example
ç SET /MEDIA/USB/USBSWITCH.Device5vEnable1=false
æ pw /MEDIA/USB/USBSWITCH.Device5vEnable1=false
102
Value
Value description
Host5vSensePc1
Host5vSensePc2
Host5vSensePc3
Host5vSensePc4
5V is detected
true
5V is not detected
false
Value
Value description
Device5vEnable1
Device5vEnable2
Device5vEnable3
Device5vEnable4
5V is sent
true
5V is not sent
false

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MMX4x2-HDMI and is the answer not in the manual?

This manual is also suitable for:

Mmx4x2-ht200Mmx4x2-hdmi-usb20-lMmx4x2 series

Table of Contents