Gscanbus Gscanbus is a utility for monitoring your firewire connections. You can also use it to run the camcorder. I find it incredibly helpful. Guides and software Installation history On 11 Dec 01, I downloaded the gscanbus 0.7.1 tarball from its homepage and attempted a ./configure -- it requested GTK, which is the Gimp toolkit. GTK I got the GTK rpm from SuSE, but it gave the same error message. A site suggested I need to include gtk-config on my $PATH, and I read up on environment variables at http://www.linux-mag.com/2001-06/newbies_01.html. This is very useful information, but I couldn't find the gtk-config file in /etc so I can't include it in my $PATH -- which doesn't seem to exist anyway (the variable is empty). I went to http://www.gtk.org/ and read in the manual; it seems gtk should definitely generate gtk-config, and I may have something wrong from SuSE. I downloaded the tarball for gtk+ 1.2.0 which is the version gscanbus asked for. When I first tried to uninstall the gtk 1.2.10 rpm, I got lots of dependencies messages saying programs needed libgtk 1.2 so 0, so I didn't uninstall it, even though this may well mean I already have 1.2.0. The downloaded package seems completely different from the SuSE package. Glib Now gtk+ required glib, so I went to get that too, although my Packager shows it's already installed. I should learn to find things! Anyway, for now I download, untar, ./configure, make, and make install glib. It takes ages to make! It's clearly implicated in lots of programs. It makes a path statement:
And says that
Now I'm assuming this is telling me what I need to do to link the files! I can add /usr/local/lib to /etc/ld.so.conf. Now that file does in fact exist, and /usr/local/lib is already included! So hopefully gtk will now compile. I did a make clean first, and then went to configure gtk. GTK now configured fine, and made fine -- again, it took ages. It's clearly not at all the gtk I got from SuSE -- weird. Maybe it's actually safer to use targalls than RPMs? GTK installed fine. GTK version conflict Next: gscanbus! Now I got:
So the double installation comes back to haunt me. So I did a quick make
uninstall of the gtk 1.2.0, downloaded gtk 1.2.10 and installed it. I
may have two of this now, but so what? Come to think of it, I should first
try to configure gscanbus without installing 1.2.10. Well, I tried that,
and suddently it couldn't find gtk at all! So I will reinstall. It's the
gtk-config script it cannot find, nor can I! So perhaps gtk 1.2.10 is
indeed installed, but in a truncated version. This seems to be related
to the SuSE distribution; I may be better off with Debian, or possibly
Slackware.
Surely this is absurd? /opt/kde/lib is ok, but the rest is surely junk? Anyway, gscanbus finally configured correctly! I now have the latest versions of both glib and gtk, so I don't think I've caused any harm to the system. Installing modules and testing
-- leaving out attempt_root=1 in the case of ohci, which failed last time. It started up fine -- the videocam was playing all the while, and I even started dvgrab -- and gave this result:
So not much is right here. The card may be incorrectly defined, who knows. Not anywhere close to working. But a useful tool! Building a new kernel After this, I concluded gscanbus was likely correctly installed and switched my efforts to compiling a new kernel. Instead of defining firewire components as module, I included them in the kernel itself. Likely just as or more important, these were better drivers; 2.4.10 was known to be weak and buggy for firewire. Testing the new build Wow. Dvgrab doesn't work, but it doesn't freeze either -- it gives 'reset 1' and upwards... /sbin/lsmod shows that no modules are loaded: this should mean there's quite a bit more memory available, as the SuSE boot has lots of modules. Gscanbus on the other hand works! It gives a lovely picture of the firewire drive and shows an attached videocamera device. And it says more -- click on the videocamera and get this:
And then an interface for controlling play! I can successfully control the camera!! Then the Firewire port:
So this works -- I wonder why dvgrab is still not working? I'm getting error messages
So that's that. In fact, after I switched to root, gscanbus no longer sees the camcorder. Then there's a console error:
This could be the same problem. But now I turn the Sony off and then on again, and gscanbus sees it and can again control it. I now see the second part of the SelfID Info:
Pretty cool stuff. It's hard to convey my thrill at getting this far. So the selfID is now correct. Gscanbus now operates with no error messages. And dvgrab fucking works! Gscanbus has been extremely helpful; getting the information about the state of the system made it easier to persiste, and being able to control the camcorder is elegant and surprising.
|
|
|
|
|||||
Maintained by Francis F. Steen, Communication Studies, University of California Los Angeles |