Results 1 to 5 of 5

Thread: Make a script containing the following and run it on startup

  1. #1
    Join Date
    Apr 2007
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Make a script containing the following and run it on startup

    Hi,

    I'm trying to get my PCI-E USB 3.0 to work. I found this in AskUbuntu but don't know how to go about it...

    Make a script containing the following and run it on startup:

    cd /sys/bus/pci/drivers/ehci_hcd/

    sudo sh -c 'find ./ -name "0000:00:*" -print| sed "s/\.\///">unbind'

    That should solve the problem.

    Source: here
    Thx

    Running 12.10

  2. #2
    Join Date
    May 2008
    Location
    US
    Beans
    27
    Distro
    Ubuntu

    Re: Make a script containing the following and run it on startup

    Drop whatever commands you want ran on startup into /etc/rc.local.

    Try running this:

    Code:
    gksudo gedit /etc/rc.local
    Just make sure
    exit 0
    is the last thing in the script.

  3. #3
    Join Date
    Apr 2007
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Make a script containing the following and run it on startup

    Quote Originally Posted by mtreece View Post
    Drop whatever commands you want ran on startup into /etc/rc.local.

    Try running this:

    Code:
    gksudo gedit /etc/rc.local
    Just make sure is the last thing in the script.
    Thanks.. that didn't work.. bad command maybe.. ?

  4. #4
    Join Date
    May 2008
    Location
    US
    Beans
    27
    Distro
    Ubuntu

    Re: Make a script containing the following and run it on startup

    Did you get an error message?

    The goal of the gksudo gedit command was just to open the file, /etc/rc.local, in a file-editor so you can add commands to that file.

  5. #5
    Join Date
    Apr 2007
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Make a script containing the following and run it on startup

    Quote Originally Posted by mtreece View Post
    Did you get an error message?

    The goal of the gksudo gedit command was just to open the file, /etc/rc.local, in a file-editor so you can add commands to that file.
    Oh sorry, your command did help. It was the script that didn't work. Ubuntu doesn't seem to support this PCI-E USB 3.0 adaptor. It works in Windows. Logged in that environment just to check and do a bios update.. Boy, havent been in Windows in a while. lol

    The PCI-E card has power on bios boot but is turned off by Ubuntu upon boot.

    I can't find any support or threads.

    Thank you

Tags for this Thread

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
  •