How to detect FireWire interface and Connected device on it, in Ubuntu 11.04?

36,352

Solution 1

It looks like your hardware is not detected when I compare the output you get with what I get.

I have a Firewire controller in my Linux machine and get this output:

[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

I wouldn't expect output from lsusb. Try searching for '1394' or case-insensitive FireWire. Does that help? Also you might want to check some other things:

  • Did you enable FireWire in your kernel?
  • Did you load the FireWire related modules?
  • Do you get any error messages

Also, coriander is an excellent tool to use 1394 cameras on Linux. Try installing that to see if it gives any (additional) error messages that might point to the problem.

Solution 2

Simply, your kernel doesn't have firewire1394 support. So, you need to build your kernel with firewire1394 driver enabled using.

make menuconfig

After this you can select the firewire1394 driver and dependencies. Then you compile the kernel and install it.

Share:
36,352

Related videos on Youtube

YumYumYum
Author by

YumYumYum

Updated on September 18, 2022

Comments

  • YumYumYum
    YumYumYum over 1 year

    I have a FireWire camera LifeSize connected to my PC in the FireWire interface. My PC has miniPCI slot and with external converter its having a FireWire interface. Now its Ubuntu who is not showing me anything at all when i try:

    $ 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
    

    How can i detect my FireWire interface is up and working and see my Camera?

  • YumYumYum
    YumYumYum over 12 years
    apt-get install coriander; run coriander showing a dialog window "warning: could not find a digital camera on the bus. please check that : the cables are properly set, the devices on the bus are properly powered, your camera is compliant with the digital camera specs 1394ta.org. Notice: all consumer grade cameras in which you can insert a video tape are not compliant with the above mentionned specifications and therefore cannot be controlled with the AV/C protocol, please refer to 1394.org
  • Tim
    Tim over 12 years
    So it indeed looks like your hardware is not detected. Did you install support for 1394 in the kernel? Do you have the opportunity to test the card elsewhere? (Other OS, other machine)
  • YumYumYum
    YumYumYum over 12 years
    how do i make sure that i install support for 1394 in the kernel? Yes the device works with LifeSize passport codec.
  • Tim
    Tim over 12 years
    Whatever a 'LifeSize passport codec' is: what is the difference with your current system? Can you minimize the difference between the systems and see when it works again? These are questions you can just as well ask yourself. This is not a helpdesk, some work on your part is required in order to ask useful questions that others can benefit from as well.
  • modulitos
    modulitos about 10 years
    The correct syntax for the grep "or" is this: lspci | grep -i "1394\|firewire", otherwise you may get no output.
  • Gregor
    Gregor over 7 years
    for those (like me) who still have some analog material they want to capture before it dissolves, the video1394 driver is long since obsoleted and its functionality has been integrated into the main 1394 ohci driver: "video1394 has been removed in Linux 2.6.37. The same functionality is now provided by the firewire-core driver, though with a different API and through /dev/fw* character device files. libdc1394 v2 is able to use the latter if video1394 is not present in the system." - source: ieee1394.wiki.kernel.org/index.php/Video1394