Results 1 to 7 of 7

Thread: Disable firewire port?

  1. #1
    Join Date
    Aug 2005
    Location
    Sweden
    Beans
    416
    Distro
    Xubuntu

    Disable firewire port?

    Hello. On my laptop I have a firewire port which I never use. Since I've seen that the module for the firewire port is on the list in "powertop", I'd like to disable it, and do it so that it will be disabled when I reboot the laptop.

    How can I do this? Can I be sure that the module for the firewire port isn't needed for something else?

    $ lspci | grep 1394
    05:07.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller

    $ lsmod | grep ohci
    ohci1394 33584 0
    ieee1394 93752 2 sbp2,ohci1394

  2. #2
    Join Date
    Dec 2006
    Beans
    1,133
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Disable firewire port?

    You can blacklist these modules by putting these lines in any file in the /etc/modprobe.d directory:

    blacklist ohci1394
    blacklist ieee1394

    You could use an existing file like /etc/modprobe.d/blacklist or make a new file for instance named firewire-blacklist in /etc/modprobe.d and put the lines there, that way it would be easy to find should you want to change it in the future. Files in /etc must be edited as root, i.e. use sudo vi or whatever editor you prefer to use to open or create the file.
    There are no dumb questions, just dumb answers.

  3. #3
    Join Date
    Aug 2005
    Location
    Sweden
    Beans
    416
    Distro
    Xubuntu

    Re: Disable firewire port?

    Thanks, but it doesn't work. I The modules are present when I reboot. No idea why...

  4. #4
    Join Date
    Aug 2005
    Location
    Sweden
    Beans
    416
    Distro
    Xubuntu

    Re: Disable firewire port?

    Bump...

  5. #5
    Join Date
    Jul 2007
    Beans
    6

    Lightbulb Re: Disable firewire port?

    This is a bit late, but...

    What I did:

    sudo bash #Enter your password

    cat > /etc/modprobe.d/firewire-blacklist
    blacklist sbp2
    blacklist ieee1394
    blacklist ohci1394
    #press Control-D

    rmmod sbp2 ohci1394 ieee1394
    exit

  6. #6
    Join Date
    Nov 2006
    Location
    Germany
    Beans
    244
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Disable firewire port?

    that doesn't work, I get those module loaded if I restart.

  7. #7
    Join Date
    Nov 2006
    Location
    Germany
    Beans
    244
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Disable firewire port?

    If you do:

    Code:
    sudo update-initramfs -u -v
    after putting those blacklists

    they are not loaded anymore

    I suggest to backup the initfile in /boot first tough

Bookmarks

Posting Permissions

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