← Back to team overview

libdc1394-dev team mailing list archive

[Question #97274]: libdc1394 error: Failed to initialize libdc1394‏

 

New question #97274 on libdc1394:
https://answers.launchpad.net/libdc1394/+question/97274

Hello,
I tried to use a firewire camera on my desktop but failed.

Here is what I use:
*Debian lenny 2.6.26-1-686
*libraw1394-2.0.5
*libdc1394-2.1.2

Here are the results when I use the following commands.
@ lsmod |grep video1394
video1394              13372  0
ohci1394               24944  1 video1394
ieee1394               75800  3 raw1394,video1394,ohci1394

 @ls -al /dev/raw1394
crw-rw-rw- 1 root root 171, 0 2009-12-28 14:44 /dev/raw1394

@ ls -al /dev/video1394
total 0
drw-rw-rw-  2 root root      60 2010-01-12 10:52 .
drwxr-xr-x 16 root root    4260 2010-01-12 09:35 ..
crw-rw-rw-  1 root root 171, 16 2009-12-28 14:44 0

The libraw1394 works well. The PCI card can be recognized when run the testlibraw under libraw1394/tools.
current generation number: 1
1 card found

card 0, name: ohci1394
2 nodes on bus, local ID is 1, IRM is 1

  - doing transactions with custom tag handler
    read from node 0... completed with value 0xb3862304
    read from node 1... completed with value 0xb8230404

  - using standard tag handler and synchronous calls
    read from node 0... completed with value 0xb3862304
    read from node 1... completed with value 0xb8230404

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

  - topology map: 2 nodes, 2 self ids, generation 4
    0x807fc696
    0x817fcc5c

  - testing config rom
    get_config_rom returned 0, romsize 64, rom_version 6
    here are the first 10 quadlets:
    0xb8230404
    0x34393331
    0x33b264e0
    0x009db000
    0x00d5fa8e
    0x2bd80300
    0x9db00003
    0x02000081
    0xc083000c
    0x2a2c0600
    update_config_rom returned 0

  - cycle timer: 8 seconds, 3003 cycles, 2026 sub-cycles
    local time: 1263337921316063 us = Tue Jan 12 18:12:01 2010

  - posting 0xdeadbeef as an echo request
    polling for leftover messages
    raw1394_loop_iterate() returned 0xdeadbeef

But when I run dc1394_reset_bus under libdc1394/examples, error message shows
"libdc1394 error: Failed to initialize libdc1394".

Does anyone have any idea about how to fix this problem? Thanks a lot.

-- 
You received this question notification because you are a member of
DC1394 Package Mainteners' team, which is an answer contact for
libdc1394.