element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Insight into lan78xx driver support for Pi
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: colporteur
  • Date Created: 20 Jun 2021 5:59 PM Date Created
  • Views 7685 views
  • Likes 2 likes
  • Comments 13 comments
Related
Recommended

Insight into lan78xx driver support for Pi

colporteur
colporteur
20 Jun 2021

Does anyone have any insight into lan78xx usb driver support for the Raspberry Pi?

 

I am attempting to use a Microchip PoE USB-C device to enabling networking to a Raspberry Pi4B. The work is part of a RoadTest for Microchip PoE to USB-CRegistered Power and Data Adapter .

 

A quick check with a command line lsmod shows no lan78xx driver. There is no /lib/modules/5.10.17-v7l+/kernel/net/usb to support the lan78xx as suggested in some posts I have found.

 

I did find this post https://wiki.seeedstudio.com/Dual-Gigabit-Ethernet-Carrier-Board-for-Raspberry-Pi-CM4/   and successfully completed the procedure for an Ethernet Port configuration.

image

 

A lan7800 module reference does appear for a command line lsmod after the install. The Microchip PoE USB-C lan7800 port is not detected when connected to the Pi. Still no reference to a lan78xx module appears in the directory structure.

 

The vendors site https://www.microchip.com/wwwproducts/en/LAN7800  indicates there has been support in the Linux kernel. My searches for Pi driver support has been limited. My understanding is lan78xx is a modules in the usb subdirectory when installed. I'm not seeing that for this kludge.

 

I'm thinking maybe I need a a dtsoverlay in the config.txt directory. Really not sure. I have gone as far as to load Ubuntu for the Pi to see if it is O/S related. That didn't prove fruitful.

 

I welcome any insight community members may have regarding network driver installs for the Pi. I will continue to hunt and peck to see if there is anything I have missed.

  • Sign in to reply

Top Comments

  • Gough Lui
    Gough Lui over 4 years ago in reply to colporteur +3
    I actually got inspired to put it in based on this post: https://www.raspberrypi.org/forums/viewtopic.php?t=246348#p1504603 - Gough
  • Gough Lui
    Gough Lui over 4 years ago +2
    I have the unit working on my Raspberry Pi 4 (but needing a USB-C to A OTG adapter + USB-A to USB-C cable because mine is the version with the CC pin issue , so using the included captive USB-C to USB…
  • colporteur
    colporteur over 4 years ago in reply to skruglewicz +2
    Yes.
  • colporteur
    colporteur over 4 years ago in reply to Gough Lui

    WOW!

     

    I have to confess, I would never have found the reference on my own. I could write a novel, if I documented all the avenues I explored trying to find something that referenced the interface and how to get it working. I finally made this post after three days of trying.

     

    On reflection it does give me a feeling of disappointment. Yes, it great there is an answer but I question how many people would find it. Worse how many people would get discouraged not finding a solution and abandon the effort.

     

    I agree Microchip PoE is not tailored to the Pi world and maybe that market share is minimal for their interest. I have yet to do a fresh install and try your fix on my Pi. If Lou says it works, it works:)

     

    I wanted to acknowledge your efforts in helping me solve the issue. My plan is to clearly document what is needed to make it work in my review. Your name will appear in the credits.

     

    Man I enjoy being a member of the E14 Community!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Gough Lui
    Gough Lui over 4 years ago in reply to colporteur

    I actually got inspired to put it in based on this post:

    https://www.raspberrypi.org/forums/viewtopic.php?t=246348#p1504603

     

    - Gough

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur over 4 years ago in reply to Gough Lui

    I appreciate you sharing your insight. Based on my understanding of your past RoadTests, I'm confident nothing I contribute will overshadow your review.

     

    I will suspend the current approach and use your suggestion of the config.txt settings after starting with a fresh install.

     

    Your findings support what I later discovered. There is a lan78xx driver installed by default. A trip down compiling a kernel showed the module present in the .config menuconfig setup.

     

    My seeed link attempt at installing the driver was not necessary. I clean boot of an O/S install and an lsmod|grep lan displays a usbcore lan78xx driver. I was looking for lan7800. The interface not being detected appears to have been the issue. I will use your details to confirm it.

     

    Are you willing to share the knowledge of where you found the OTG setting? I spent considerable time looking for information. This guide https://github.com/thagrol/Guides/blob/main/ethernetgadget.pdf doesn't even mention to configuration.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur over 4 years ago in reply to Jan Cumps

    I found this JC early in my exploration. I later discovered while looking at compiling a kernel a lan78xx driver is installed. The interface is not being detected on mine configuration.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur over 4 years ago in reply to skruglewicz

    Yes.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube