I have tried to use libraw1394 together with dvgrab and
a thing I would like to change. What is the procedure
for doing that?
The problem is that function raw1394_new_handle() has
the device name "/dev/raw1394". This give to problems.
where the device name is different from the hard-coded
the device will fail to open. This is the case when
as the name is "/dev/raw/raw1394". One way to remove
is by making a symlink but this require that the admin
more about the wrong device name. When using dvgrab,
messages is just something like "file not found" and
user does not get any hint about what is wrong.
Another problem is when the end user has two firewire
In that case it is not possible to specify which device
I suggest that the function raw1394_new_handle(void)
removed and replaced with
raw1394_new_handle_on_device(char *name) - or simply
just rename the function.
Line 125 in main.c should then be changed from
handle->fd = open("/dev/raw1394", O_RDWR);
handle->fd = open(name, O_RDWR);
There is a few lines more which has to be changed and I
send a patch file if you like and agree to this change.
Developers should then be instructed to this simple change:
p = raw1394_new_handle();
should be changed to:
p = raw1394_new_handle_on_device("/dev/raw1394");
or put the device name in a variable in a config file.
best regards/hans schou