Find the answer to your Linux question:
Results 1 to 4 of 4
Installing PCI card (noobie here) Hi guys I am very new to linux world. I am trying to install PCI data acquisition card on to my PC. I am running ...
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    2

    Need help Installing PCI card

    Installing PCI card (noobie here)
    Hi guys

    I am very new to linux world. I am trying to install PCI data acquisition card on to my PC.

    I am running Ubuntu 8.10 (installed few days back)

    Here are the instruction for installing ( got it from manufacture)

    Installing Advantech DAQ Device Linux Driver

    This Advantech DAQ Device Linux Driver Package is developed for Linux kernel version 2.6.x (for PCI and USB), and kernel version 2.4.x (only for PCI). The driver supports four platforms: Red Hat Enterprise Linux 4, Fedora Core 6, Debian 4.0 and Red Hat Linux 9.

     

    Read this document carefully, as it explains how to install the device driver, how to develop with this toolkit and what to do if anything goes wrong.
    INSTALLING :



    Note: If the driver was installed before, please remove it from the system firstly.

    For Red Hat Enterprise Linux 4, Fedora Core 6, and Red Hat Linux 9, please type the following commands:

    #rpm -e advdaq

    For Debian 4.0, please type the following commands:

    #dpkg -r advdaq


    1. Get the driver package according your platform. Type the following commands:

    For Red Hat Enterprise Linux 4, Fedora Core 6, and Red Hat Linux 9:

    #rpm -ivh advdaq-<version>.<platform>.i386.rpm

    For Debian 4.0:

    #dpkg -i advdaq_<version>_i386.deb

    2. To install the driver modules and make device files, please type:

    #insmod /usr/src/Advantech/DAQ-<version>/modules/advdrv_core.ko
    #insmod /usr/src/Advantech/DAQ-<version>/modules/which_device_driver_you_want_to_insmod.ko
    When I run

    #insmod /usr/src/Advantech/DAQ-<version>/modules/advdrv_core.ko
    I get error
    insmod: error inserting '/usr/src/Advantech/DAQ-1.03.0001/modules/advdrv_core.ko': -1 Invalid module format
    I noticed one thing that manufacture has not mentioned Ubuntu in installation manual. but only Debian, Fedora, Red hat

    Does it mean it will not work on Ubuntu ??
    What do I need to do to make it work on my Ubuntu system ?

    I really don't want to install another Operating system

  2. #2
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Ubuntu uses the Debian method. The first dpkg commands are probably prerequisites to the insmod. If it still fails, there may be a kernel compatibility issue, which then would require the modules to be compiled from source.

    If the source is available on the disc or from the manufacturer web site, this would be ideal. If not, you'll need to contact the manufacturer directly for help. They may not be open sourcers, in which case, you'll need their help to acquire a ready compiled module for Ubuntu.

  3. #3
    Just Joined!
    Join Date
    Feb 2007
    Posts
    2
    This sucks.
    I can't get source for drivers as manufacture is not providing it.

    God knows when are they going to release driver with new kernel.

    Is there any other solution ?
    There should be something, I can't believe I am stuck in installing a PCI card.
    Programming it will be anoter pain in butt

  4. #4
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    The alternative is to install a supported OS, such as Deb4 or FC6.

    Sorry.

Posting Permissions

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