# Edgeport/22c on redhat RHE4 linux

**URL:** <https://forums.digi.com/t/edgeport-22c-on-redhat-rhe4-linux/8619>\
**Category:** Edgeport\
**Created:** [February 26, 2007, 2:19pm UTC](https://forums.digi.com/t/edgeport-22c-on-redhat-rhe4-linux/8619 "2007-02-26T14:19:39Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![marksidell](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@marksidell](https://forums.digi.com/u/marksidell)\
**Post date:** [March 13, 2007, 9:55pm UTC](https://forums.digi.com/t/edgeport-22c-on-redhat-rhe4-linux/8619/21 "2007-03-13T21:55:27Z")

</div>

thanks.

Installing the latest io\_ti module did the trick.

---

<div class="post-metadata">

**Author:** ![atlantic\_nav](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@atlantic\_nav](https://forums.digi.com/u/atlantic_nav)\
**Post date:** [June 28, 2010, 11:31pm UTC](https://forums.digi.com/t/edgeport-22c-on-redhat-rhe4-linux/8619/22 "2010-06-28T23:31:19Z")

</div>

I’m having the same problem listed in this thread using an Edgeport/416 and RHEL 4 2.6.9-89.0.23.ELsmp

i cannot upgrade the kernel, as it would break the production software currently running - and i’m at a loss to compile the modules in the link you have posted.

can i get some quick instruction on getting from the tarball to an installed io\_ti.Ko?

---

<div class="post-metadata">

**Author:** ![userid0](https://avatars.discourse-cdn.com/v4/letter/u/f6c823/32.png) [@userid0](https://forums.digi.com/u/userid0)\
**Post date:** [July 8, 2010, 9:19pm UTC](https://forums.digi.com/t/edgeport-22c-on-redhat-rhe4-linux/8619/23 "2010-07-08T21:19:29Z")

</div>

I managed to install a TI unit on a 2.6.9 Red Hat 4 kernel. The biggest obstacle was obtaining the “complete” kernel source package as the kernel-devel rpm package was not complete.

Here are the steps I took in order to get the new io\_ti module installed and working:

- Log in as root

- Make sure you have the full sources for your kernel installed  
and that you have successfully configured, built and run kernel from  
these sources before complicating your life with the new sources.  
Red Hat and CentOS 4 typically do not have the full sources installed with their kernel-devel package.  
These versions will require the .src.rpm kernel-devel package be downloaded and installed.

Download the matching kernel-devel .src.rpm package from your desired download source.

# rpm -ivh /(path)/kernel\*.src.rpm

# cd /usr/src/redhat/SPECS

# rpmbuild -bp --target=i686 kernel-2.6.spec

# cp -a /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9 /usr/src

# ln -s /usr/src/linux-2.6.9 /usr/src/linux

Note: This will build the source tree for a x86 based architecture. For different architectures, (i.e. x86\_64) pass the appropriate target variable (i.e. rpmbuild -bp --target=x86\_64 kernel-2.6.spec ).

Once completed, a symlinked directory pointing to the latest Linux 2.6 kernel source should be available

- Move to the usb/serial directory:  
cd /usr/src/linux-(ver)/drivers/usb/serial

- Save your current Edgeport and USB serial driver source and binary  
files so you can restore them later if you wish:

- Download the Linux 2.6.9 sources for the Edgeport module:

[http://gate.brimson.com/downloads/EP8\_for\_linux2.6.9.tgz](http://gate.brimson.com/downloads/EP8_for_linux2.6.9.tgz)

- Unpack the files:

- Check the configuration and make certain that usbserial, io\_edgeport and  
io\_ti are all selected for inclusion:

- If any of the three USB options selected above were previously compiled  
in to your kernel (“y” box highlighted), you’ll need to rebuild and reinstall  
your kernel. Otherwise you can skip to rebuilding the modules below. Rebuilding  
the kernel generally involves something like:

- Build the new modules:

- Install the new modules to /lib/modules/2.4.21/kernel/drivers/usb/serial:  
# make modules\_install

- Unplug any installed Edgeport USB cables from your computer and wait 10 seconds  
or so for the system to stabilize. (You can monitor the system messages file  
with “tail -f /var/log/messages” until usb related messages related to the  
newly-disconnected Edgeport devices cease.)

- Remove old versions of the modules from your running kernel:  
/sbin/rmmod io\_edgeport usbserial io\_ti

- Verify that none of the old modules is still loaded. The output of:

- Make sure your module dependencies are up to date:

- Copy the new modules to the kernel module directory if they are not automatically copied (you may want to make a copy of the existing modules prior to copying the new files):

- Insert the USB cable from your Edgeport device.

- Verify that the correct modules are loaded:

---

<div class="post-metadata">

**Author:** ![userid0](https://avatars.discourse-cdn.com/v4/letter/u/f6c823/32.png) [@userid0](https://forums.digi.com/u/userid0)\
**Post date:** [July 14, 2010, 7:44pm UTC](https://forums.digi.com/t/edgeport-22c-on-redhat-rhe4-linux/8619/24 "2010-07-14T19:44:08Z")

</div>

This won’t work with the 416 models. I’ve since discovered the 416 model is not the same as the TI model I have on hand.

The 416 models will require a newer patch located at:

[http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fc4cbd755b75c7687b923da5b75ba4a64652582e](http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fc4cbd755b75c7687b923da5b75ba4a64652582e)

I am acquiring a 416 model in an effort to get this working in RH ES 4 and will post my results.

---

<div class="post-metadata">

**Author:** ![userid0](https://avatars.discourse-cdn.com/v4/letter/u/f6c823/32.png) [@userid0](https://forums.digi.com/u/userid0)\
**Post date:** [July 14, 2010, 10:23pm UTC](https://forums.digi.com/t/edgeport-22c-on-redhat-rhe4-linux/8619/25 "2010-07-14T22:23:07Z")

</div>

Okay, I was able to get the Edgeport 416 working using the following steps (in addition to the steps performed earlier):

Download the following patch and place it in the kernel sources directory (i.e. /usr/src/linux/drivers/usb/serial

> **[USB: io\_ti: Digi EdgePort update for new devices -...](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fc4cbd755b75c7687b923da5b75ba4a64652582e)**

cd /usr/src/linux/drivers/usb/serial

patch –p0 \< (patch\_file)

Type in names of files.

# cd /usr/src/linux

# make mrproper

# make oldconfig

# make modules

# make modules\_install

Copy the io\_ti.ko module from /usr/src/linux/drivers/usb/serial to /lib/modules/`uname –r`/kernel/drivers/usb/serial

# rmmod io\_ti

# modprobe –r io\_ti

# depmod -a

# modprobe io\_ti

Not sure why the last steps were necessary, but it worked to bypass a firmware load error.

[Previous page](https://forums.digi.com/t/edgeport-22c-on-redhat-rhe4-linux/8619.md?page=1)
