LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-12-2009, 04:33 PM   #1
ljratner
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 0
Question Detecting network cable - ioctl methods unsupported


I've got a Linux 2.6.17 kernel running on an PPC-6xx system, on which I cannot detect Ethernet cable attach/detach status in software. All the 'usual' ioctl methods are failing; I've tried SIOCETHTOOL, SIOCGMMIPHY, and SIOCDEVPRIVATE, all of which return 'Operation not supported'

The physical device is an LXT971, and the driver is build from fcc_enet.c (exact version unknown, it has a 2000 copyright). The network works and I know the kernel can detect when the cable is attached or detached, as I get kmsg messages, but I can't tell from my program.

I've read that the driver may need to be updated to support the ioctl interface(s) but I'm feeling out of my league.

Any help appreciated.

Thanks,
Logan Ratner
ratner@alumni.rice.edu
 
Old 10-29-2010, 04:02 AM   #2
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Question

Did you mean to mark this "[SOLVED]"?

If so, kindly post the solution -- even though this is an old post, it still might help someone else w/ the same, or a similar, problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to pass IOCTL arguments from usespace ioctl call devkpict Linux - Kernel 1 12-07-2007 06:45 PM
detecting network down dougbailey Linux - Networking 1 06-20-2007 11:59 PM
Implementing ioctl in network drivers sanjay_ach Programming 1 08-10-2005 04:01 AM
need Network install HELP for Mandrake 9.2! using network.img w/ cable modem physans Mandriva 6 02-25-2004 03:15 PM
Coyote linux unsupported network cards Bink Linux - Software 1 07-30-2003 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration