在Ubuntu 11.04中如何检测FireWire接口及其上的已连接设备?


8

我在FireWire界面中将FireWire摄像机LifeSize连接到了我的PC。我的PC具有miniPCI插槽,并带有外部转换器,具有FireWire接口。现在,当我尝试时,它的Ubuntu根本不显示任何内容:

$ uname -a
Linux desktop 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linux

$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 6 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 05)
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation 6 Series Chipset Family LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 6 Series Chipset Family 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series Chipset Family SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 6 Series Chipset Family 2 port SATA IDE Controller (rev 05)
05:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection


$ lsusb
Bus 002 Device 005: ID 046d:c31c Logitech, Inc. 
Bus 002 Device 003: ID 046d:0821 Logitech, Inc. 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


$ dmesg | grep FireWire  ;no results

$ grep FireWire /var/log/kern.log ;no results

我如何检测到FireWire接口已启动并且可以正常工作,并且可以看到我的相机?

Answers:


6

当我将获得的输出与获得的输出进行比较时,似乎未检测到您的硬件。

我的Linux机器中有一个Firewire控制器,并得到以下输出:

[ROOT@bellatrix] /etc# lspci | grep -E -i "(1394|firewire)"
05:00.0 FireWire (IEEE 1394): Texas Instruments TSB82AA2 IEEE-1394b Link Layer Controller (rev 02)

[ROOT@bellatrix] /home/tim# dmesg | grep -E -i "(1394|firewire)"
[    7.398547] firewire_ohci 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    7.449050] firewire_ohci: Added fw-ohci device 0000:05:00.0, OHCI v1.10, 4 IR + 8 IT contexts, quirks 0x2
[    7.950098] firewire_core: created device fw0: GUID 0000000000500169, S800
[    7.953162] firewire_core: created device fw1: GUID 081443610005001b, S800
[    7.953167] firewire_core: phy config: card 0, new root=ffc0, gap_count=5
[    8.271968] video1394: Installed video1394 module
[    8.283609] ieee1394: raw1394: /dev/raw1394 device initialized


[ROOT@bellatrix] /etc# lsmod | grep -E -i "(1394|firewire)"
raw1394                19765  0 
video1394              13215  0 
ohci1394               25605  1 video1394
ieee1394               79879  3 raw1394,video1394,ohci1394
firewire_ohci          23123  0 
firewire_core          48581  1 firewire_ohci
crc_itu_t               1651  1 firewire_core

我不希望从的输出lsusb。尝试搜索“ 1394”或不区分大小写的FireWire。有帮助吗?另外,您可能还需要检查其他一些事项:

  • 您是否在内核中启用了FireWire?
  • 您是否加载了与FireWire相关的模块?
  • 您收到任何错误消息吗

同样,香菜也是在Linux上使用1394摄像机的绝佳工具。尝试安装它,看看它是否提供任何(其他)错误消息,可能表明该问题。


$ lspci | grep -i“(1394 | firewire)”和$ lsmod | grep -i“(1394 | firewire)”没有给出结果,为空。
YumYumYum 2011年

apt-get install香菜; 运行香菜,显示一个对话窗口,“警告:在总线上找不到数码相机。请检查:电缆已正确设置,总线上的设备已正确供电,您的相机符合数码相机规格1394ta.org注意:您可以在其中插入录像带的所有消费类摄像机均不符合上述规格,因此无法通过AV / C协议进行控制,请参考1394.org
YumYumYum 2011年

因此,确实看起来没有检测到您的硬件。您是否在内核中安装了对1394的支持?您是否有机会在其他地方测试卡?(其他操作系统,其他计算机)
蒂姆(Tim

我如何确保我在内核中安装了对1394的支持?是的,该设备可与LifeSize护照编码解码器一起使用。
YumYumYum 2011年

1
对于像我这样仍然有一些模拟资料要在溶解之前捕获的人,video1394驱动程序早已过时,并且其功能已集成到主要1394 ohci驱动程序中:“ video1394已在Linux 2.6.37中删除。现在,firewire-core驱动程序提供了相同的功能,尽管具有不同的API并通过/ dev / fw *字符设备文件。如果系统中不存在video1394,则libdc1394 v2可以使用后者。-来源:ieee1394.wiki.kernel.org/index.php/Video1394
Gregor

1

简而言之,您的内核不支持firewire1394。因此,您需要使用启用的firewire1394驱动程序来构建内核。

make menuconfig

之后,您可以选择firewire1394驱动程序和依赖项。然后编译内核并安装它。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.