The original question related to running a camera on a sparc.
Aside from the obvious (install video card and camera, boot -r) you need
to install the following packages if you don't already have them:
SUNWxilrt
SUNWxildg
SUNWxiler
SUNWxilrt
SUNWxilow
SUNWxilh
SUNWrtvc
SUNWrtvcu
Motion pictures will then immediately run using
/opt/SUNWits/Graphics-sw/examples/test/SunVideo
To snapshot jpegs, you'll need to compile the source in
/opt/SUNWits/Graphics-sw/examples/rtvc_capture_movie
(This assumes you have a C compiler.) Your path and LD_LIBRARY_PATH will need
to include at least:
PATH /usr/ccs/bin /usr/etc /usr/dt/bin /usr/openwin/bin /usr/openwin/bin/xview \
/usr/bin /bin /usr/sbin /usr/ucb /usr/openwin/share/include
LD_LIBRARY_PATH /usr/dt/lib:/usr/X11R5/lib:/usr/openwin/lib:/usr/lib
To make snapshots, use the command:
rtvc_capture_movie -f 1 -C Jpeg -o /tmp/something.$$.jpg
Finally, the camera device can/must only be owned by whomever starts X.
Thus if I start openwin/motif/twm
/devices/iommu@f,e0000000/sbus@f,e0001000/SUNW,rtvc@3.... will take on
my ownership and only I can use it. To make it available to others, just
chmod 777 on these devices. And, of course this needs to be done every
time you startup X. Alternatively you could run rtvc_capture_movie from
a program with SUID....
Special thanks to Anthony Worrall <Anthony.Worrall@reading.ac.uk>
=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
David Stern Flight Dynamics
dave@davka.gsfc.nasa.gov Goddard Space Flight Ctr
Building 28 Room N258 301-286-7631
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:58 CDT