
Ubuntu日本語フォーラム

ログインしていません。
IEEE1394のカメラをOpenCVで使いたいのですが、まず、Ubuntuでカメラを使うにはどうすればよいのかが分かりません。
OS:Ubuntu11.04
カメラ:DFW-X700
接続方法:PCにIEEE1394を拡張して接続(カメラを2台接続しています)
分かる限りで、やってみた結果です。
$ lspci -vvx
00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
Subsystem: Hewlett-Packard Company Device 12bf
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M]
Capabilities: <access denied>
Kernel driver in use: agpgart-intel
Kernel modules: i82875p_edac
00: 86 80 78 25 06 01 90 20 02 00 00 06 00 00 00 00
10: 08 00 00 e8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 3c 10 bf 12
30: 00 00 00 00 e4 00 00 00 00 00 00 00 00 00 00 00
00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
Memory behind bridge: f9000000-fa1fffff
Prefetchable memory behind bridge: f0000000-f81fffff
Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Kernel modules: shpchp
00: 86 80 79 25 07 01 a0 00 02 00 04 06 00 40 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 20 f0 00 a0 22
20: 00 f9 10 fa 00 f0 10 f8 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00
00:06.0 System peripheral: Intel Corporation 82875P/E7210 Processor to I/O Memory Interface (rev 02)
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Region 0: Memory at fecf0000 (32-bit, non-prefetchable) [size=4K]
00: 86 80 7e 25 02 00 80 00 02 00 80 08 00 00 00 00
10: 00 00 cf fe 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Device 12bf
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 4: I/O ports at 1440 [size=32]
Kernel driver in use: uhci_hcd
00: 86 80 d2 24 05 00 80 02 02 00 03 0c 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 41 14 00 00 00 00 00 00 00 00 00 00 3c 10 bf 12
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 01 00 00
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Device 12bf
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 19
Region 4: I/O ports at 1460 [size=32]
Kernel driver in use: uhci_hcd
00: 86 80 d4 24 05 00 80 02 02 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 61 14 00 00 00 00 00 00 00 00 00 00 3c 10 bf 12
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 02 00 00
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Device 12bf
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin C routed to IRQ 18
Region 4: I/O ports at 1480 [size=32]
Kernel driver in use: uhci_hcd
00: 86 80 d7 24 05 00 80 02 02 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 81 14 00 00 00 00 00 00 00 00 00 00 3c 10 bf 12
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 03 00 00
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 12bf
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin D routed to IRQ 23
Region 0: Memory at f8500000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
00: 86 80 dd 24 06 01 90 02 02 20 03 0c 00 00 00 00
10: 00 00 50 f8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 3c 10 bf 12
30: 00 00 00 00 50 00 00 00 00 00 00 00 05 04 00 00
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=64
Memory behind bridge: f8200000-f84fffff
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Kernel modules: shpchp
00: 86 80 4e 24 07 01 80 00 c2 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 05 05 40 f0 00 80 22
20: 20 f8 40 f8 f0 ff 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Kernel modules: iTCO_wdt, intel-rng
00: 86 80 d0 24 0f 01 80 02 02 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Hewlett-Packard Company Device 12bf
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 18
Region 0: I/O ports at 01f0 [size=8]
Region 1: I/O ports at 03f4 [size=1]
Region 2: I/O ports at 0170 [size=8]
Region 3: I/O ports at 0374 [size=1]
Region 4: I/O ports at 14c0 [size=16]
Region 5: Memory at 40100000 (32-bit, non-prefetchable) [size=1K]
Kernel driver in use: ata_piix
00: 86 80 db 24 07 00 80 02 02 8a 01 01 00 00 00 00
10: e1 14 00 00 01 18 00 00 e9 14 00 00 05 18 00 00
20: c1 14 00 00 00 00 10 40 00 00 00 00 3c 10 bf 12
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 00 00
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Hewlett-Packard Company Device 12bf
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 18
Region 0: I/O ports at 14f0 [size=8]
Region 1: I/O ports at 1808 [size=4]
Region 2: I/O ports at 14f8 [size=8]
Region 3: I/O ports at 180c [size=4]
Region 4: I/O ports at 14d0 [size=16]
Kernel driver in use: ata_piix
00: 86 80 d1 24 05 00 a0 02 02 8f 01 01 00 00 00 00
10: f1 14 00 00 09 18 00 00 f9 14 00 00 0d 18 00 00
20: d1 14 00 00 00 00 00 00 00 00 00 00 3c 10 bf 12
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 00 00
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
Subsystem: Hewlett-Packard Company Device 12bf
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin B routed to IRQ 5
Region 4: I/O ports at fc00 [size=32]
Kernel modules: i2c-i801
00: 86 80 d3 24 01 00 80 02 02 00 05 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 fc 00 00 00 00 00 00 00 00 00 00 3c 10 bf 12
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
Subsystem: Hewlett-Packard Company Device 12bf
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 17
Region 0: I/O ports at 1000 [size=256]
Region 1: I/O ports at 1400 [size=64]
Region 2: Memory at f8500400 (32-bit, non-prefetchable) [size=512]
Region 3: Memory at f8500600 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0
00: 86 80 d5 24 07 00 90 02 02 00 01 04 00 00 00 00
10: 01 10 00 00 01 14 00 00 00 04 50 f8 00 06 50 f8
20: 00 00 00 00 00 00 00 00 00 00 00 00 3c 10 bf 12
30: 00 00 00 00 50 00 00 00 00 00 00 00 05 02 00 00
01:00.0 VGA compatible controller: nVidia Corporation NV28GL [Quadro4 980 XGL] (rev a1) (prog-if 00 [VGA controller])
Subsystem: nVidia Corporation Device 0174
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 20
Region 0: Memory at f9000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at f0000000 (32-bit, prefetchable) [size=128M]
[virtual] Expansion ROM at f8000000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nouveau, nvidiafb
00: de 10 88 02 07 00 b0 02 a1 00 00 03 00 40 00 00
10: 00 00 00 f9 08 00 00 f0 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 de 10 74 01
30: 00 00 00 00 60 00 00 00 00 00 00 00 0b 01 05 01
05:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5782 Gigabit Ethernet (rev 03)
Subsystem: Hewlett-Packard Company Device 12bf
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (16000ns min), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at f8400000 (64-bit, non-prefetchable) [size=64K]
Expansion ROM at <ignored> [disabled]
Capabilities: <access denied>
Kernel driver in use: tg3
Kernel modules: tg3
00: e4 14 96 16 06 01 b0 02 03 00 00 02 10 40 00 00
10: 04 00 40 f8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 07 00 00 00 3c 10 bf 12
30: 00 00 cf ff 48 00 00 00 00 00 00 00 05 01 40 00
05:09.0 FireWire (IEEE 1394): Texas Instruments TSB12LV23 IEEE-1394 Controller (prog-if 10 [OHCI])
Subsystem: Ads Technologies Inc Device 0000
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 66 (750ns min, 1000ns max), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at f8418000 (32-bit, non-prefetchable) [size=2K]
Region 1: Memory at f8410000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: firewire_ohci
Kernel modules: firewire-ohci
00: 4c 10 19 80 06 01 10 02 00 10 00 0c 10 42 00 00
10: 00 80 41 f8 00 00 41 f8 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 21 14 00 00
30: 00 00 00 00 44 00 00 00 00 00 00 00 0a 01 03 04
05:0b.0 FireWire (IEEE 1394): Texas Instruments TSB12LV26 IEEE-1394 Controller (Link) (prog-if 10 [OHCI])
Subsystem: Accton Technology Corporation Device 1394
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 66 (500ns min, 1000ns max), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 22
Region 0: Memory at f8418800 (32-bit, non-prefetchable) [size=2K]
Region 1: Memory at f8414000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: firewire_ohci
Kernel modules: firewire-ohci
00: 4c 10 20 80 06 01 10 02 00 10 00 0c 10 42 00 00
10: 00 88 41 f8 00 40 41 f8 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 13 11 94 13
30: 00 00 00 00 44 00 00 00 00 00 00 00 0a 01 02 04
$ lsmod
Module Size Used by
binfmt_misc 13213 1
snd_intel8x0 33213 2
snd_ac97_codec 105614 1 snd_intel8x0
ac97_bus 12642 1 snd_ac97_codec
snd_pcm 80042 2 snd_intel8x0,snd_ac97_codec
snd_seq_midi 13132 0
snd_rawmidi 25269 1 snd_seq_midi
snd_seq_midi_event 14475 1 snd_seq_midi
ppdev 12849 0
snd_seq 51291 2 snd_seq_midi,snd_seq_midi_event
snd_timer 28659 2 snd_pcm,snd_seq
snd_seq_device 14110 3 snd_seq_midi,snd_rawmidi,snd_seq
psmouse 73312 0
snd 55295 11 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
nouveau 621970 2
ttm 65184 1 nouveau
drm_kms_helper 40745 1 nouveau
drm 180037 4 nouveau,ttm,drm_kms_helper
serio_raw 12990 0
i2c_algo_bit 13184 1 nouveau
video 18951 1 nouveau
soundcore 12600 1 snd
shpchp 32345 0
snd_page_alloc 14073 2 snd_intel8x0,snd_pcm
parport_pc 32111 1
lp 13349 0
parport 36746 3 ppdev,parport_pc,lp
firewire_ohci 31504 0
tg3 131476 0
firewire_core 56138 1 firewire_ohci
floppy 60032 0
crc_itu_t 12627 1 firewire_core
オフライン
OpenCVのインターフェースにどうやって持ち込めばよいのかわかりませんが、IEEE1394(i.Link)に接続したDVカメラからの映像を取得する際の前提として以下があります。
1. カーネルモジュールfirewire_ohciが有効になっているか
2. デバイスノード/dev/fw*(*は通し番号)がvideoグループに属しているか
多くのソフトウェアはdvgrabを利用して映像を取得しているのですが、現在、ここにバグが報告されています。Firewire周りのカーネルモジュールには新旧の2セットがあり、現在利用可能な新セットだと動かないというかなり致命的なバグですので、はらはらしながら見守っています。
Firewire broken @ bugs.launchpad.net
(Firewire brokenという刺激的なタイトルですが、私の所有しているFirewireサウンドデバイスはちゃんと動作していることを付け加えて置きます)
さて、私の予想では、OpenCVはvideo4linux2のAPIを利用して映像の入出力を行うと思いますので、Firewireサブシステムとv4lサブシステムを仲立ちしてあげれば、OpenCVでもFirewire接続のDVカメラを利用できると思います。たぶん、パッケージ「dv4l」が役立つかと。ざっと見た限り、vloopbackカーネルモジュールもインストールする必要がありそうですので、「module-assistant」を使ってみるといいかもしれません。
さっぱり要領を得ない回答ですが、こんなところで。
オフライン
お返事が遅れて申し訳ありません。
こちらの事情でUbuntuを再インストールすることになりました。
その際、友人から、Ubuntu10.04をインストールした方がいいのではないかとの提案より、10.04の方を再インストールしました。
OpenCVへの導入は少し難しそうなので、まずは、Ubuntuでカメラの映像が見れるようにしたいと考えています。
やり方について、ご指導いただければ幸いです。
オフライン
こちらが参考になるでしょう。
第160回 オーディオインターフェイスを使う ― Firewire導入編 @ Ubuntu Weekly Recipe
FirewireはIEEE1394規格の愛称ですので、本質的に同じものです。この記事ではデバイスファイルの読み書き許可を「Audio」グループに属するユーザーに対して許可していますが、ビデオカメラを使う場合はこれを「Video」グループに属するユーザーに対して許可するように変更するとよいでしょう。
記事内ではコマンド「ffado-test」や「ffado-diag」を使っていますが、FFADOはサウンドデバイス向けのプロジェクトですので、ビデオカメラの場合はコマンド「dvgrab」やdvgrabをバックエンドに使うビューワーソフトウェアを活用していくことになるかと思います。
オフライン
お返事ありがとうございます。
さっそくサイトに記載されている通り行いました。
testlibrawの結果、
successfully got handle
current generation number: 2
2 cards found
card 0, name: ohci1394
3 nodes on bus, local ID is 2, IRM is 2
- doing transactions with custom tag handler
read from node 0... completed with value 0x8ff91f04
read from node 1... completed with value 0x5db71f04
read from node 2... completed with value 0x19970404
- using standard tag handler and synchronous calls
read from node 0... completed with value 0x8ff91f04
read from node 1... completed with value 0x5db71f04
read from node 2... completed with value 0x19970404
- testing FCP monitoring on local node
got fcp command from node 2 of 8 bytes: 01 23 45 67 89 ab cd ef
got fcp response from node 2 of 8 bytes: 01 23 45 67 89 ab cd ef
- topology map: 3 nodes, 3 self ids, generation 1
0x807f8658
0x817f8658
0x827f8c7e
- testing config rom
get_config_rom returned 0, romsize 64, rom_version 4
here are the first 10 quadlets:
0x19970404
0x34393331
0x32a264e0
0xc5500001
0x633d0000
0x95f70300
0x50000103
0x02000081
0xc083000c
0x2a2c0600
update_config_rom returned 0
- cycle timer: 17 seconds, 4858 cycles, 1745 sub-cycles
local time: 1314864491463703 us = Thu Sep 1 17:08:11 2011
- posting 0xdeadbeef as an echo request
polling for leftover messages
raw1394_loop_iterate() returned 0xdeadbeef
card 1, name: ohci1394
1 nodes on bus, local ID is 0, IRM is 0
- doing transactions with custom tag handler
read from node 0... completed with value 0x97c80404
- using standard tag handler and synchronous calls
read from node 0... completed with value 0x97c80404
- 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
- topology map: 1 nodes, 1 self ids, generation 1
0x807f8c56
- testing config rom
get_config_rom returned 0, romsize 64, rom_version 4
here are the first 10 quadlets:
0x97c80404
0x34393331
0x32a264e0
0x00b51000
0x3c690900
0x118b0300
0xb5100003
0x02000081
0xc083000c
0x2a2c0600
update_config_rom returned 0
- cycle timer: 17 seconds, 4698 cycles, 572 sub-cycles
local time: 1314864491475533 us = Thu Sep 1 17:08:11 2011
- posting 0xdeadbeef as an echo request
polling for leftover messages
raw1394_loop_iterate() returned 0xdeadbeef
になりました。カードは認識できているみたいです。
ソフトウェアとして、corianderをインストールしました。
$sudo coriander で実行したところ、
Could not get format7 mode information
とエラーが出てしまっています。どのように解決すればいいのでしょうか。
よろしくお願いします。
端末での表示は以下の通りです。
libdc1394 error: packet size is zero. This should not happen.
libdc1394 error: Generic failure: in dc1394_format7_get_mode_info (format7.c, line 700): Got a problem querying format7 packet_size
libdc1394 error: packet size is zero. This should not happen.
libdc1394 error: Generic failure: in dc1394_format7_get_mode_info (format7.c, line 700): Got a problem querying format7 packet_size
(coriander:19175): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(coriander:19175): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(coriander:19175): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(coriander:19175): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(coriander:19175): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(coriander:19175): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(coriander:19175): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(coriander:19175): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(coriander:19175): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(coriander:19175): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(coriander:19175): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(coriander:19175): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
libdc1394 error: packet size is zero. This should not happen.
libdc1394 error: Generic failure: in dc1394_format7_get_mode_info (format7.c, line 700): Got a problem querying format7 packet_size
libdc1394 error: packet size is zero. This should not happen.
libdc1394 error: Generic failure: in dc1394_format7_get_mode_info (format7.c, line 700): Got a problem querying format7 packet_size
オフライン
どちらかというと、コマンド「$ lsmod;」で旧カーネルモジュール3種類がロードされていることと、コマンド「$ ls -l /dev | grep raw1394;」でキャラクターデバイス「/dev/raw1394」が存在してアクセス可能な状態となっていることを確認するのがより確実かと思いました。
いずれにしても、コマンド「$ testlibraw;」で見えているのであれば問題なしかと思います。
corianderはだいぶ前に開発が止まってしまっているので、動作するかどうかは微妙なところかと思います。dvgrabと同じ開発者がkinoというソフトウェアをリリースしてますので、こちらを使うのが確実かと思いました。
オフライン
Mocchiさん。お返事ありがとうございます。
corianderの方は、opencvと一緒に使っている方がいたので、それをできないかと思いインストールしてみました。
GUIで動くので、できれば使いたいと思っています。
原因など、ご存知でしたらお教え願いたいです。
また、教えていただいた、kinoですが、どのようにして画像を取り込むのでしょうか。
カメラのカタログの方に、下のようにかかれていました。
このカメラはkinoで使うことは出きるのでしょうか。
IEEE1394-1995デジタルカメラプロトコル(Ver.1.30)
1394-based Digital Camera Specification(Ver. 1.30)
オフライン