
USB storage device
•
when connected to a host PC:
USB_MODE="multi"
MODULE_OPTIONS="idVendor=0x164C idProduct=0x0203 iManufacturer=MATRIX-VISION iProduct=mvBlueLYNX-X file=/home/root/userdata.disk ro=0 removable=1"
The sample file
/home/root/userdata.disk
will be displayed as the USB storage resource. For
example, to create a FAT disc with 32 MB, the file should be like this:
cd
dd if=/dev/zero of=userdata.disk bs=1M count=32
sync
mkfs.vfat userdata.disk
If you want to have read/write access to
userdata.disk
on the mvBlueLYNX-X, you have to be
sure that the resource is not used on the host PC. Disconnect the mvBlueLYNX-X from the host PC and
mount the resource on the mvBlueLYNX-X locally:
cd
mkdir -p /media/disk
mount -n -t vfat -o loop userdata.disk /media/disk
The settings for the network adapter can be look like this in the
/etc/network/interfaces
files:
iface usb0 inet static
address 192.168.0.202
netmask 255.255.255.0
network 192.168.0.0
Now, the USB gadget will start while the system is booting. Manually, you can unload and start the additional
driver like this:
modprobe -r g_multi
to unload it and
1.
usb-gadget
to start it.
2.
At the host's side there is a difference between Linux and Windows system:
8.3.5.1 Linux
You will not have to install any drivers. After connecting, you have to configure the new network device
usb0
:
sudo ifconfig usb0 up
sudo ifconfig usb0 192.168.0.203
The serial interface is available as
/dev/ttyACM0
.
The USB storage resource will be available as a normal USB stick.
8.3.5.2 Windows
Using Windows, you have to install the drivers of the serial interface and the network adapter after the initial
connecting of the mvBlueLYNX-X. In the device manager, the
CDC serial
needs
linux-cdc-acm.inf
and
•
RNDIS network adapter
needs
linux.inf
.
•
The USB storage does not need any driver installations.
•
mvBlueLYNX-X Technical Manual
MATRIX VISION GmbH
22 April 2016 Version - 1.49
37
Содержание mvBlueLYNX-X
Страница 1: ...mvBlueLYNX X Technical Manual 22 April 2016 Version 1 49 Copyright 2017 MATRIX VISION GmbH...
Страница 2: ......
Страница 10: ...VIII...
Страница 11: ...1 mvBlueLYNX X Technical Manual MATRIX VISION GmbH 22 April 2016 Version 1 49 1...
Страница 12: ...mvBlueLYNX X Technical Manual 2 22 April 2016 Version 1 49 MATRIX VISION GmbH...
Страница 22: ...mvBlueLYNX X Technical Manual 12 22 April 2016 Version 1 49 MATRIX VISION GmbH...
Страница 24: ...mvBlueLYNX X Technical Manual 14 22 April 2016 Version 1 49 MATRIX VISION GmbH...
Страница 27: ...mvBlueLYNX X Technical Manual MATRIX VISION GmbH 22 April 2016 Version 1 49 17...
Страница 28: ...mvBlueLYNX X Technical Manual 18 22 April 2016 Version 1 49 MATRIX VISION GmbH...
Страница 30: ...mvBlueLYNX X Technical Manual 20 22 April 2016 Version 1 49 MATRIX VISION GmbH...
Страница 50: ...mvBlueLYNX X Technical Manual 40 22 April 2016 Version 1 49 MATRIX VISION GmbH...
Страница 82: ...FrameTime ExposureTime 1000000 mvBlueLYNX X Technical Manual 72 22 April 2016 Version 1 49 MATRIX VISION GmbH...
Страница 108: ...mvBlueLYNX X Technical Manual 98 22 April 2016 Version 1 49 MATRIX VISION GmbH...
Страница 124: ...mvBlueLYNX X Technical Manual 114 22 April 2016 Version 1 49 MATRIX VISION GmbH...
Страница 190: ...mvBlueLYNX X Technical Manual 180 22 April 2016 Version 1 49 MATRIX VISION GmbH...
Страница 213: ...Figure 162 Settings in wxPropView mvBlueLYNX X Technical Manual MATRIX VISION GmbH 22 April 2016 Version 1 49 203...
Страница 214: ...mvBlueLYNX X Technical Manual 204 22 April 2016 Version 1 49 MATRIX VISION GmbH...
Страница 226: ...mvBlueLYNX X Technical Manual 216 22 April 2016 Version 1 49 MATRIX VISION GmbH...
Страница 230: ...mvBlueLYNX X Technical Manual 220 22 April 2016 Version 1 49 MATRIX VISION GmbH...
Страница 236: ...mvBlueLYNX X Technical Manual 226 22 April 2016 Version 1 49 MATRIX VISION GmbH...