summarylogtreecommitdiffstats
path: root/qsiapi.install
blob: e4b5c129f5f957dc7be4494a5a01976613f96c7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# arg 1:  the new package version
post_install() {
	display_help
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
	display_help
}

display_help() {
	cat << EOF

Ensure that the device permissions are correct. Update udev or add the following
line to /etc/fstab (if it does not already exist):

	none /proc/bus/usb usbfs defaults,devmode=0666 0 0

TO TEST THAT THE CAMERA IS WORKING:
1. Connect the QSI camera to AC power and connect the USB cable from the camera to
an available USB port on the computer. Use usbview or lsusb to verify proper USB
installation.

2. Confirm that all libraries are loaded and the system is properly configured.

3. Run qsiapitest.

qsiapitest first displays the version of the api. If there is a QSI camera
connected to the system, it will execute a series of command to exercise the
camera. See the qsiapitest.cpp source code for further details.
EOF
	# TODO: cat the licence too?
}