# Naming serial port convention RHEL 5

**URL:** <https://forums.digi.com/t/naming-serial-port-convention-rhel-5/8032>\
**Category:** USB Devices\
**Created:** [February 9, 2009, 5:01pm UTC](https://forums.digi.com/t/naming-serial-port-convention-rhel-5/8032 "2009-02-09T17:01:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![saclierb](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@saclierb](https://forums.digi.com/u/saclierb)\
**Post date:** [February 9, 2009, 5:01pm UTC](https://forums.digi.com/t/naming-serial-port-convention-rhel-5/8032/1 "2009-02-09T17:01:43Z")

</div>

Hi

I’m using drivers dgnc-1.3-15.src.rpm (x86\_64) under CentOS 5.2 with 2 DIGI NEO PCIe 8 ports cards.

At boot time the serials ports are naming tty\_dgnc\_0\_0 … tty\_dgnc\_1\_7

I needed to manually do a :  
service dgnc restart

To have the correct naming convention :  
ttyn1a … ttyn2h

How can I fix this problem ?  
For information the boot start level for the service is S69dgnc

Thanks in advance,

Benjamin

---

<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:** [February 9, 2009, 5:20pm UTC](https://forums.digi.com/t/naming-serial-port-convention-rhel-5/8032/2 "2009-02-09T17:20:55Z")

</div>

Can you try the latest driver candidate?

ftp://ftp1.digi.com/support/beta/linux/dgnc/dgnc-1.3-16.src.rpm

Be sure and remove the existing driver first.

---

<div class="post-metadata">

**Author:** ![saclierb](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@saclierb](https://forums.digi.com/u/saclierb)\
**Post date:** [February 10, 2009, 10:21am UTC](https://forums.digi.com/t/naming-serial-port-convention-rhel-5/8032/3 "2009-02-10T10:21:56Z")

</div>

Hi,

I removed the old driver package. then install :  
dgnc-1.3-16.x86\_64.rpm

After rebooting I still have :  
/dev/tty\_dgnc\_0\_0  
/dev/tty\_dgnc\_0\_1 …

And after a manually restarting service:  
service dgnc restart  
ttyn1a  
ttyn1b …

I tried to change the start level off the service to S99 but still the same problem.

Regards,

Benjamin

---

<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:** [February 10, 2009, 1:43pm UTC](https://forums.digi.com/t/naming-serial-port-convention-rhel-5/8032/4 "2009-02-10T13:43:32Z")

</div>

Sounds like something is failing with UDEV on your system. UDEV controls the device creation and not the driver.

You may want to try running udevmonitor to see if you can catch the problem/error at boot up.

---

<div class="post-metadata">

**Author:** ![saclierb](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@saclierb](https://forums.digi.com/u/saclierb)\
**Post date:** [October 14, 2011, 8:47am UTC](https://forums.digi.com/t/naming-serial-port-convention-rhel-5/8032/5 "2011-10-14T08:47:18Z")

</div>

Hello,

I still have the same problem with CentOS 5.4, 5.6 and 5.7 x86\_64.  
I tried using the lastest available driver : dgnc-1.3.28.  
I also updated the /etc/init.d/dgnc by replacing :  
/usr/sbin/dgnc\_mknod $n $rest  
by  
/sbin/dgnc\_mknod $n $rest

and copy all the /usr/sbin/dgnc\_\* to /sbin but with no success.

Finally I added in /etc/rc.local a restart of the dgnc service :  
service dgnc stop  
service dgnc start

And now the naming are correct.

But my problem is that I have some services which are using the serial ports and which start before the good naming of serials ports. So they failed.

It seems that I’m not the only one to have this problem.

Do you find any solution for that ?  
Did you success to start the dgnc as a service under Red-Hat 5.X with a correct serial port naming ?

Regards.

Benjamin
