Gscanbus

Let's get started, Gscanbus can be used to rewind, forward and play tapes in your DV If you get gscanbus to work chances are good that you get the rest of your camera to work also ;)

libraw

In order to get gscanbus to work you will need libraw1394 (0.9 or a CVS version from late January 2001 or newer) and GTK+ 1.2.0 or newer. RedHat 8.0 comes with GTK+ 1.2.10 , so that's no problem. Libraw can be found on http://sourceforge.net/projects/libraw1395 I got the tarbal libraw1394_0.9.0.tar.gz,

tar -vzxf  libraw1394_0.9.0.tar.gz
cd   libraw1394-0.9.0
./configure
make 
checkinstall
(I use checkinstall where you could also use make install) Now load the raw1394 module, if you are running a stock RH 8.0 install the module should be part of the kernel-2.4.18-14 package and you should be able to find it in /lib/modules/2.4.18-14/kernel/drivers/ieee1394/raw1394.o
[root@localhost root]modprobe raw1394
[root@localhost libraw1394-0.9.0]# lsmod
Module                  Size  Used by    Not tainted
raw1394                 9176   0 
Test whether libraw works.
[root@localhost root]# testlibraw 
successfully got handle
current generation number: 1
1 card(s) found
  nodes on bus:  1, card name: ohci1394
using first card found: 1 nodes on bus, local ID is 0, IRM is 0

doing transactions with custom tag handler
trying to send read request to node 0... completed with value 0xcdd77f1a

using standard tag handler and synchronous calls
trying to read from node 0... completed with value 0xbde67f1a

testing FCP monitoring on local node
got fcp command from node 0 of 8 bytes: 01 23 45 67 89 ab cd ef
got fcp response from node 0 of 8 bytes: 01 23 45 67 89 ab cd ef

polling for leftover messages
Now before we move on the the next part we have to make sure that applications find the freshly installed libraries. Most of them are installed in /usr/local/lib unless you gave some extra parameters . So we better add /usr/local/lib to /etc/ld.so.conf And run ldconfig again.

Compiling gscanbus

You can get gscanbus from http://www.ivistar.de/0500opensource.php3?lang=en as I write this 0.7.1 is the most recent version. The usual drill

tar -vzxf gscanbus-0.7.1.tgz 
cd gscanbus-0.7.1
./configure
make
su - 
checkinstall 
Now you should be able to run gscanbus, or you could have an error like below.
[root@localhost sdog]# gscanbus 
gscanbus: error while loading shared libraries: libraw1394.so.5: cannot 
open shared object file: No such file or directory
If you see the above error, you forgot to read the part about modifying ld.so.conf and didn't run ldconfig ..

Ok, you managed to get gscanbus working. If everything goes right you now should see window with at least 1 icon. In my case it states S400 Linux OHCI-1394 , as soon as I power on my Camera it shows a second device S100 AV/C Device Now click on the camera Icon, a window should occur with information like the listing below.

SelfID Info
-----------
Physical ID: 0
Link active: Yes
Gap Count: 63
PHY Speed: S100
PHY Delay: <=144ns
IRM Capable: Yes
Power Class: None
Port 0: Connected to parent node
Init. reset: No

CSR ROM Info
------------
GUID: 0x08004601012FAA69
Node Capabilities: 0x000083C0
Vendor ID: 0x00080046
Unit Spec ID: 0x0000A02D
Unit SW Version: 0x00010001
Model ID: 0x00000000
Nr. Textual Leafes: 0

Vendor:  SONY CORPORATION LTD.
Textual Leafes: 

AV/C Subunits
-------------
Tape Recorder: 1
Video Camera: 1
Below that window you should find some buttons to rewind, play, fastforward, record , stop , pause and eject . Test them they should work..

If you already got this far, chances are really high you will make it till the end and get your Camera working under your favorite OS.