EmbeddedRelated.com
Forums

Ethernet Terminal I/O board

Started by trex July 21, 2008
Hi everybody,

I am trying to make a ethernet terminal I/O board. Basically making an x86
based 1U solution. I am trying to route the onboard ethernet connection via
a patch cable (Cat6). this works but I also want the link/status leds.

I did a simple PCB with two modular 8P8C Jacks with LEDs and have
connected them back-to-back. The inside Jack connects to my mobo with a
patch cable and the outer Jack connects to a switch on LAN. I need to now
also drive the Link/Status LEDs...

Oh and one more thing i missed out, need to support 10/100/1000 Mbps with
bi color LEDs

Any ideas/help is greatly appreciated




On Jul 21, 8:38 am, "trex" <shivajee.sha...@gmail.com> wrote:

> I did a simple PCB with two modular 8P8C Jacks with LEDs and have > connected them back-to-back. The inside Jack connects to my mobo with a > patch cable and the outer Jack connects to a switch on LAN. I need to now > also drive the Link/Status LEDs...
You need to look in the manual of your controller (or its ethernet add- on) and see what kind of support there is for LEDs, then connect into that. If there's none, you may be able to do something in the low- level ethernet drivers and run the LED's off generic programmable IO.
>On Jul 21, 8:38 am, "trex" <shivajee.sha...@gmail.com> wrote: > >> I did a simple PCB with two modular 8P8C Jacks with LEDs and have >> connected them back-to-back. The inside Jack connects to my mobo with
a
>> patch cable and the outer Jack connects to a switch on LAN. I need to
now
>> also drive the Link/Status LEDs... > >You need to look in the manual of your controller (or its ethernet add- >on) and see what kind of support there is for LEDs, then connect into >that. If there's none, you may be able to do something in the low- >level ethernet drivers and run the LED's off generic programmable IO. >
I thought of doing it at the OS level, simplest way of which was monitoring /proc/net/dev entry, but I want to avoid doing it as it eats up my CPU cycles.. Is there a way i can use comparators to sense the current in the wire, without weakening the signals and drive a ttl to show the LED status... Any body has any circuit for doing this
>On Jul 21, 8:38 am, "trex" <shivajee.sha...@gmail.com> wrote: > >> I did a simple PCB with two modular 8P8C Jacks with LEDs and have >> connected them back-to-back. The inside Jack connects to my mobo with
a
>> patch cable and the outer Jack connects to a switch on LAN. I need to
now
>> also drive the Link/Status LEDs... > >You need to look in the manual of your controller (or its ethernet add- >on) and see what kind of support there is for LEDs, then connect into >that. If there's none, you may be able to do something in the low- >level ethernet drivers and run the LED's off generic programmable IO. >
I thought of doing it at the OS level, simplest way of which was monitoring /proc/net/dev entry, but I want to avoid doing it as it eats up my CPU cycles.. Is there a way i can use comparators to sense the current in the wire, without weakening the signals and drive a ttl to show the LED status... Any body has any circuit for doing this