Results 1 to 6 of 6

Thread: Firewire equivalent of lsusb lspci ?

  1. #1
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Firewire equivalent of lsusb lspci ?

    What is the firewire equivalent of lsusb and lspci ?

    The best I could find was ls1394, with script here:
    Index of /~s5r6/linux1394/ls1394

    However, I note it does not appear to give the Vendor-ID/Device-ID (or if it does, I could not figure it out). I installed the script under /home/oldcpu/bin. For example, when I plug in the firewire connection to my Seagate Free Agent XTreme external 1TB hard drive (which has both USB and Firewire) I get (from ls1394):
    Code:
    oldcpu@hal1000:~/bin> ./ls1394.sh
    0:ffc0 002037020031f038 'FreeAgent Xtreme'
    0:ffc1 001e8c0001d84ea9 (local)
    and when plugging same device in via usb I get:
    Code:
    oldcpu@hal1000:~> lsusb
    Bus 007 Device 004: ID 0bc2:3101 Seagate RSS LLC

  2. #2
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Firewire equivalent of lsusb lspci ?

    I'm bad !

    I needed to use the "verbose" option.

    Code:
    hal1000:/home/oldcpu/bin # ./ls1394.sh -v
    ls1394: /usr/share/misc/oui.db: No such file
    Try to install it with "ls1394 --fetch-oui-db [-i file]"
    
    0:ffc0 002037020031f038 'FreeAgent Xtreme'
            IRMC(0) CMC(0) ISC(0) BMC(0) PMC(0) GEN(1)
            LSPD(3) MAX_REC(64) MAX_ROM(1) CYC_CLK_ACC(255)
            capabilities: 0x0083c0
            vendor_id: 0x002037
            vendor_name_kv: Seagate
    
    0:ffc1 001e8c0001d84ea9 (local)
            IRMC(1) CMC(1) ISC(1) BMC(0) PMC(0) GEN(3)
            LSPD(2) MAX_REC(2048) MAX_ROM(2) CYC_CLK_ACC(100)
            capabilities: 0x0083c0
            vendor_id: 0x001e8c
            vendor_name_kv: Linux - ohci1394
    I need to sort out the differences between lsusb and ls1394 and also possibly install oui.db

  3. #3
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Firewire equivalent of lsusb lspci ?

    Quote Originally Posted by oldcpu View Post
    \I need to sort out the differences between lsusb and ls1394 and also possibly install oui.db
    After installing oui.db I get:
    Code:
    oldcpu@hal1000:~/bin> ./ls1394 -v
    0:ffc0 002037020031f038 SEAGATE TECHNOLOGY 'FreeAgent Xtreme'
            IRMC(0) CMC(0) ISC(0) BMC(0) PMC(0) GEN(1)
            LSPD(3) MAX_REC(64) MAX_ROM(1) CYC_CLK_ACC(255)
            capabilities: 0x0083c0
            vendor_id: 0x002037 SEAGATE TECHNOLOGY
            vendor_name_kv: Seagate
    
    0:ffc1 001e8c0001d84ea9 ASUSTek COMPUTER INC. (local)
            IRMC(1) CMC(1) ISC(1) BMC(0) PMC(0) GEN(3)
            LSPD(2) MAX_REC(2048) MAX_ROM(2) CYC_CLK_ACC(100)
            capabilities: 0x0083c0
            vendor_id: 0x001e8c ASUSTek COMPUTER INC.
            vendor_name_kv: Linux - ohci1394

  4. #4
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Firewire equivalent of lsusb lspci ?

    Out of curiousity I did a "hwinfo" withOUT the Firewire device NOT plugged in and redirected the output to a text file. Then I did a "hwinfo" WITH the Firewire device plugged in and redirected the output to a different text file. Then I ran a "diff" on the two files.

    One gets a lot of output from that difference. Too much. Its definitely no replacement for ls1394 as one is swamped with information with the "diff" from hwinfo.

  5. #5
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Firewire equivalent of lsusb lspci ?

    Quote Originally Posted by oldcpu View Post
    The best I could find was ls1394, with script here:
    Index of /~s5r6/linux1394/ls1394
    Here is a good post by the author on ls1394:
    Linux-Kernel Archive: announce: ls1394 - tool to list connected FireWire devices

  6. #6
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: Firewire equivalent of lsusb lspci ?

    The openSUSE wiki for firewire devices is here:
    SDB:Firewire (ieee1394) Drives under Linux - openSUSE
    ... last updated for SuSE-7.3 in January 2006.

    Are there any firewire guru's out there who are willing to update that wiki for openSUSE , bringing the wiki up to date ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •