
11.11 Mounting USB Sticks
USB sticks will normally be mounted automatically after you connect them to the camera. In order to identify
different USB sticks Ångström will choose the mount point automatically according to the volume label of the
USB stick. For example, if you have a USB stick manufactured by SanDisk it may well be supplied with a
volume label SANDISK. In this case the data on the stick can be accessed from the camera in the directory
/media/SANDISK
. A stick without a volume label will be found at
/media/disk
. If the subdirectory of
/media
already exists (e.g. because a USB stick has already been inserted and you wish to insert a second
stick with the same volume label or a stick has more than one partition on it) then a number will be
automatically added to the name of the new directory e.g.
/media/SANDISK-1
or
/media/disk-1
.
If camera users are likely to use different USB sticks with unknown volume labels thereby making it difficult
for software on the camera to identify the directory containing the stick's data then it is possible to override
this behaviour by adding a new
hal
XML file called
/etc/hal//etc/hal/fdi/policy/50-usbstorage.fdi
and containing exactly these lines:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<!-- find all removable, hotpluggable USB devices that contain a valid,
known filesystem and force the volume's label to a be a known
name - this will determine the mountpoint under /media
MATRIX VISION / GRA 12.12.2011
-->
<deviceinfo version="0.2">
<device>
<match key="@block.storage_device:storage.bus" string="usb">
<match key="@block.storage_device:storage.hotpluggable" bool="true">
<match key="@block.storage_device:storage.removable" bool="true">
<match key="volume.fsusage" string="filesystem">
<merge key="volume.label" type="string">usbmem</merge>
</match>
</match>
</match>
</match>
</device>
</deviceinfo>
In addition please add the following line to the end of file
/etc/udev/mount.blacklist
if it does not
already exist:
/dev/sd*
Now any USB sticks will always be found at
/media/usbmem
,
/media/usbmem1
, ... You may, of
course, choose a different default name by altering the XML file shown above.
11.12 Application Desktop Files
To create a desktop file for an application click on the desktop and select: Settings -> All -> Apps -> New
Application or
Settings -> Settings Panel then Apps -> New Application
mvBlueLYNX-X Technical Manual
88
22 April 2016 Version - 1.49
MATRIX VISION GmbH
Содержание 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...