<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Insight into lan78xx driver support for Pi</title><link>/products/raspberry-pi/b/blog/posts/insight-into-lan78xx-driver-support-for-pi</link><description>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-C Power a...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Insight into lan78xx driver support for Pi</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/insight-into-lan78xx-driver-support-for-pi</link><pubDate>Sat, 26 Jun 2021 00:03:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:90981cf3-7015-4e48-b1c9-32f8247ca4a5</guid><dc:creator>colporteur</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/924x364/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-90981cf3-7015-4e48-b1c9-32f8247ca4a5/contentimage_5F00_208074.png:924:364]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Both Pi&amp;#39;s support the OTG configuration (shown below) that enables IP over the USB connection.&lt;/p&gt;&lt;p&gt;filename: /boot/config.txt&lt;/p&gt;&lt;p&gt;add&lt;/p&gt;&lt;p&gt;dtoverlay=dwc2&lt;/p&gt;&lt;p&gt; filename:/boot/cmdline.txt&lt;/p&gt;&lt;p&gt;add after rootwait&lt;/p&gt;&lt;p&gt;modules-load=dwc2,g_ether&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The PiZeroW doesn&amp;#39;t appear to support the OTG configuration (shown below) that detected the Ethernet.&lt;/p&gt;&lt;p&gt;filename: /boot/config.txt&lt;/p&gt;&lt;p&gt;add&lt;/p&gt;&lt;p&gt;otg_mode=1&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;GL &lt;span&gt;[mention:ef601b47037147bfb9b0b4a3ab63026a:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; do you have any insight you can share?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11525&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Insight into lan78xx driver support for Pi</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/insight-into-lan78xx-driver-support-for-pi</link><pubDate>Mon, 21 Jun 2021 08:55:27 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:90981cf3-7015-4e48-b1c9-32f8247ca4a5</guid><dc:creator>Gough Lui</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;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 &lt;a class="jive-link-external-small" href="https://www.theverge.com/2019/7/10/20688655/raspberry-pi-4-usb-c-port-bug-e-marked-cables-audio-accessory-charging" rel="nofollow ugc noopener" target="_blank"&gt;mine is the version with the CC pin issue&lt;/a&gt;, so using the included captive USB-C to USB-C results in no LED/no power).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In config.txt, I added &lt;strong&gt;otg_mode=1&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;This is &lt;strong&gt;mandatory&lt;/strong&gt; to enable the USB 2.0 OTG controller that services the USB-C port&amp;#39;s data pins. If you don&amp;#39;t add this line, you will only get power and no USB-Ethernet detection.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On startup, it is automatically picked up on my installation of Raspberry Pi OS (Raspbian):&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=%5B%0A0.000000%5D+Linux+version+5.10.17-v7l%2B+%28dom%40buildbot%29+%28arm-linux-gnueabihf-gcc-8+%28Ubuntu%2FLinaro+8.4.0-3ubuntu1%29+8.4.0%2C+GNU+ld+%28GNU+Binutils+for+Ubuntu%29+2.34%29+%231414+SMP+Fri+Apr+30+13%3A20%3A47+BST+2021%0A%5B%0A1.394777%5D+usbcore%3A+registered+new+interface+driver+lan78xx%0A%5B%0A1.984215%5D+usb+3-1%3A+New+USB+device+found%2C+idVendor%3D0424%2C+idProduct%3D7800%2C+bcdDevice%3D+3.00%0A%5B%0A1.984263%5D+usb+3-1%3A+New+USB+device+strings%3A+Mfr%3D1%2C+Product%3D2%2C+SerialNumber%3D3%0A%5B%0A1.984296%5D+usb+3-1%3A+Product%3A+LAN7800%0A%5B%0A1.984324%5D+usb+3-1%3A+Manufacturer%3A+Microchip%0A%5B%0A1.984353%5D+usb+3-1%3A+SerialNumber%3A+210460000404%0A%5B%0A2.271146%5D+libphy%3A+lan78xx-mdiobus%3A+probed%0A%5B%0A2.271192%5D+lan78xx+3-1%3A1.0+%28unnamed+net_device%29+%28uninitialized%29%3A+int+urb+period+64]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I did not need to install any drivers at all to get it working. I wasn&amp;#39;t going to write about this until I delivered my RoadTest ... but seeing that you&amp;#39;re rushing ahead into blogging, I thought I&amp;#39;d mention it.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Why does your kernel command line have&lt;strong&gt; initcall_blacklist=lan78xx_driver_init&lt;/strong&gt;? That&amp;#39;s perhaps not a good thing ... could stop a driver from loading. Perhaps start from a fresh Raspberry Pi OS (Raspbian) and add otg_mode=1 and it should just work.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;- Gough&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11525&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Insight into lan78xx driver support for Pi</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/insight-into-lan78xx-driver-support-for-pi</link><pubDate>Mon, 21 Jun 2021 06:41:50 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:90981cf3-7015-4e48-b1c9-32f8247ca4a5</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;(On &lt;a class="jive-link-external-small" href="https://www.microchip.com/wwwproducts/en/LAN7800" rel="nofollow ugc noopener" target="_blank"&gt;that page&lt;/a&gt;, under the Document tab, there is a driver section.&lt;/p&gt;&lt;p&gt;If you click the one for the kernel version of your OS, you get a link to the driver tarball.)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Edit: seems from your comments that you are on kernel 5.10. I didn&amp;#39;t find a driver for it . But when I check linux git (and raspberry git), it seems to be part of the base code now. Odd.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11525&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Insight into lan78xx driver support for Pi</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/insight-into-lan78xx-driver-support-for-pi</link><pubDate>Sun, 20 Jun 2021 21:02:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:90981cf3-7015-4e48-b1c9-32f8247ca4a5</guid><dc:creator>skruglewicz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Doesn&amp;#39;t the PI 4 have a type c power connector?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11525&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>