summaryrefslogtreecommitdiffstats
path: root/admin.tex
blob: 51ce433479a212f6fcdf455dc856a82651da3d2f (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
% UFO camera admin manual
%

\chapter{Administration manual}

The UFO camera consists of: 
\begin{itemize}
\item Image sensor module
\item Camera controller board, including power supply, passive PCI backplane
\item PCI Express extender with client and host modules
\item Pci-tool package
\item Camera decoding package
\item High-speed storage library
\item Universal camera access library
\end{itemize}

\section{Prerequisites, Requirements}

Interface for lenses is C-mount.

Software packages


\section{Connecting the hardware, Power, Computer interface}

% TODO Describe the hardware setup


\section{Installation of the camera drivers and tools}

The software needs to be installed in the order libufodecode, fastwriter, pcitool and libuca. The major dependencies are:
\begin{itemize}
\item GNU C compiler with glibc and other mayor system libraries
\item The Linux kernel development files
\item XFS development files
\item glib2 library
\end{itemize}
    

\subsection{Camera format decoder -- libufdecode}
\begin{verbatim}
cmake .
make 
make install
\end{verbatim}


In case of problems it is possible to disable SSE support, in this case cmake should be run with \verb/HAVE_SSE=OFF/ parameter
\begin{verbatim}
cmake -D "HAVE_SSE=OFF" .
\end{verbatim}


\subsection{Camera format decoder -- libufdecode}
\begin{verbatim}
cmake .
make 
make install
\end{verbatim}


\subsection{Camera driver -- pcitool}
The building of pcitool consists of 3 steps. The pcitool userspace may be simply installed with cmake as other applications.
\begin{verbatim}
cmake .
make
make install
\end{verbatim}

To build kernel, module:
Change to the folder \verb/driver/ and adjust  \verb/PCIE_IPECAMERA_DEVICE_ID/ in the file pciDriver.h if required (you may check actual device id with the tool lspci).
\begin{verbatim}
make
make install
depmod -a
modprobe pciDriver
\end{verbatim}
To autoload driver, copy \verb|misc/50-pcidriver.rules| into the \verb|/etc/udev/rules.d| directory



\subsection{Universal camera layer -- libuca}