[wplug] hello & firewire camcorder issue
Wise, Jeremey
WISEJ at PIOS.com
Mon Mar 24 08:33:38 EST 2003
This issue was related to a few things. The Firewire adapter was working,
the Camcorder was being detected but their were a few misconceptions. DVGRAB
is a utility that does not control the camcorder devices but only takes in
raw data stream and pumps it into a file. The first error
"[root at localhost root]# dvgrab test.file raw1394 - couldn't get handle: No
such device" was related to the fact that raw1394 was not inserted. "sudo
insmod raw1394" fixed that. This module allows streaming data to be ported
to a 'listening' application. Now the command "dvgrab filename" would just
sit their waiting (i.e. no errors). The next issue was that the camcorder
had to be playing the data for it to be read via into the file. It took
longer then I expected to stream the data but maybe this is just a lack of
reference / expectations too high. There is now a "filename.avi" file on the
system and trying to get Kino installed to read it. Note: Make sure to
install dev tools as you will have to compile portions of the Kino support
software. (Downloading Kernel-headers from dialup is not one of my favorite
past-times).
Will keep you posted as I know many would love to work camcorders on Linux.
Jeremey Wise (440)-519-6006
(CNE,MCSE,CSE)
Pioneer-Standard Electronics, Inc
wisej at pios.com
-----Original Message-----
From: Dan Goeder [mailto:dangoeder at hotmail.com]
Sent: Saturday, March 22, 2003 1:12 PM
To: wplug at wplug.org
Subject: [wplug] hello & firewire camcorder issue
Hello. I'm Dan. My brother-in-law just introduced me to Linux and told me to
sign up here for help with my learning.
I have been trying to get my Canon ZR40 camcorder to work with my system.
Here are the problems that I am having:
Here is the issue. We think the driver is loaded and workding as seen in the
output of 'lsmod'
****************************
[root at localhost root]# lsmod
Module Size Used by Not tainted
tulip 43552 0
ppp_deflate 4536 0 (autoclean)
zlib_deflate 21464 0 (autoclean) [ppp_deflate]
ppp_async 9440 1 (autoclean)
ppp_generic 24380 3 (autoclean) [ppp_deflate ppp_async]
slhc 6756 0 (autoclean) [ppp_generic]
nls_iso8859-1 3516 1 (autoclean)
nls_cp437 5148 1 (autoclean)
vfat 13084 1 (autoclean)
fat 38712 0 (autoclean) [vfat]
sr_mod 18168 0 (autoclean)
soundcore 6532 0 (autoclean)
binfmt_misc 7528 1
autofs 13348 0 (autoclean) (unused)
ipt_REJECT 3736 6 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 15224 2 [ipt_REJECT iptable_filter]
ide-scsi 10512 0
scsi_mod 107240 2 [sr_mod ide-scsi]
ide-cd 33608 0
cdrom 33696 0 [sr_mod ide-cd]
ohci1394 20108 0 (unused)
ieee1394 46892 0 [ohci1394]
mousedev 5524 2
keybdev 2976 0 (unused)
hid 22244 0 (unused)
input 5920 0 [mousedev keybdev hid]
usb-uhci 26188 0 (unused)
ehci-hcd 17480 0 (unused)
usbcore 77024 1 [hid usb-uhci ehci-hcd]
ext3 70336 2
jbd 52212 2 [ext3]
**************************************************
here is what proc is seeing.
*************************************************
[root at localhost root]# cat /proc/bus/ieee1394/devices
Node[00:1023] GUID[230050c5000107b8]:
Vendor ID: `Linux OHCI-1394' [0x000000]
Capabilities: 0x0083c0
Bus Options:
IRMC(0) CMC(1) ISC(1) BMC(0) PMC(0) GEN(0)
LSPD(2) MAX_REC(2048) CYC_CLK_ACC(0)
Host Node Status:
Host Driver : ohci1394
Nodes connected : 2
Nodes active : 2
SelfIDs received: 2
Irm ID : [01:1023]
BusMgr ID : [63:1023]
In Bus Reset : no
Root : no
Cycle Master : no
IRM : no
Bus Manager : no
Node[01:1023] GUID[00008500005033df]:
Vendor ID: `Canon' [0x000085]
Capabilities: 0x0083c0
Bus Options:
IRMC(1) CMC(1) ISC(1) BMC(0) PMC(0) GEN(0)
LSPD(0) MAX_REC(512) CYC_CLK_ACC(100)
Unit Directory 0:
Vendor/Model ID: Canon [000085] / ZR40 [000000]
Software Specifier ID: 00a02d
Software Version: 010001
Length (in quads): 0
[root at localhost root]#
****************************************
When we unplug the device and move the port it is using on the firewire card
we get a mesage back... (more confermation that the camera is live and
accessable)
******************************
Mar 22 13:07:09 localhost su(pam_unix)[5958]: session opened for user root
by dan(uid=500)
Mar 22 13:10:37 localhost kernel: ohci1394_0: SelfID received outside of bus
reset sequence
Mar 22 13:10:38 localhost /etc/hotplug/ieee1394.agent: ... no drivers for
IEEE1394 product 0x000085/0x00a02d/0x010001
[root at localhost root]#
*********************************
according to the man pages on dvgrab (dvgrab-1.01-5) this should pull the
files off the camcorder and place them into the specified file, but instead,
I get this.
*********************************
[root at localhost root]# dvgrab test.file
raw1394 - couldn't get handle: No such device
This error usually means that the ieee1394 driver is not loaded or that
/dev/raw1394 does not exist.
[root at localhost root]#
*********************************
Any help? Hoping to us Linux for video editing to avoid buying Microsoft but
need to get this up and working.
Thanks in advance.
Dan
PS: Sorry if this is sent as HTML email. Free internet mail was a good price
and I have had the account for a while.
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
_______________________________________________
wplug mailing list
wplug at wplug.org
http://www.wplug.org/mailman/listinfo/wplug
More information about the wplug
mailing list