On Thu, 18 Feb 2016 02:54:38 -0800 (PST)
Sencer Sultanoğlu <[email protected]> wrote:

> Hello,
> 
> I would like to detect if network cable is plugged or not to 
> Olimex-A20-LIME2 eth0 port. I use standart Linux image. Debian 7 kernel 
> 3.4.90
> 
> "ethtool eth0" command always displays yes for "link detected"  
> 

I tested on a lime with a standard debian image with debian kernel 3.16, and it 
works fine. When you plug/unplug cable from ethernet port you should see 
messages in kernel log. You can see them with dmesg (and in /var/log/messages, 
usually).


-- 
Diego Roversi <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to