Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can not get realtek r8152b usb ethernet to work XU4

Featured Replies

Hello I can not seem to get my USB Ethernet dongle with a r8152b chip to work on the latest armbian focal release. I tied both kernels 4.14.y. and 5.4.y  with no luck. It works on "clean" ubuntu focal when i first plug it it without drivers and when i add the drivers. I am also posting in the odroid fourms here:  https://forum.odroid.com/viewtopic.php?f=172&t=38713&p=306027#p306027

 

I am following these directions:

tar -xf r8152.53.56-2.13.0.tar.bz2
cd r8152-2.13.0
make
sudo make install
lsmod | grep r8

 

If this works, and if the module does not load at reboot, add "r8152" in modules.conf: sudo vi /etc/modules-load.d/modules.conf or sudo vi /etc/modules.conf. Not sure which one it is on the Ubuntu running on your XU4.

 

At the lsmod step nothing is showing up. Here is my lsusb -t

 

lsusb -t
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 7, If 0, Class=Vendor Specific Class, Driver=, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 9, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 9, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 1: Dev 5, If 2, Class=Vendor Specific Class, Driver=btusb, 12M
|__ Port 1: Dev 5, If 0, Class=Vendor Specific Class, Driver=btusb, 12M
|__ Port 1: Dev 5, If 3, Class=Application Specific Interface, Driver=, 12M
|__ Port 1: Dev 5, If 1, Class=Vendor Specific Class, Driver=btusb, 12M
|__ Port 2: Dev 8, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M

55 minutes ago, johnnyde94 said:

If this works, and if the module does not load at reboot, add "r8152"


Odroid XU4 uses very similar chip which uses the same driver. If driver is build into the kernel as a module - you can try to blacklist it, then load your new module. But as we provide this improved driver that enables some 2.5GBps USB dongles, we had to disable improvements specifically on XU4. Since they are not compatible:
https://github.com/armbian/build/commit/ce9cb071bf6618060903fd4edfbe75ab2d4cf188#diff-f7fcda652c17fc7ee4e59123984acf5d


Adding driver:

https://github.com/armbian/build/commit/f6abcc7c852f564991b65ea534f41e6675844312#diff-f7fcda652c17fc7ee4e59123984acf5d

  • Author
5 hours ago, Igor said:


Odroid XU4 uses very similar chip which uses the same driver. If driver is build into the kernel as a module - you can try to blacklist it, then load your new module. But as we provide this improved driver that enables some 2.5GBps USB dongles, we had to disable improvements specifically on XU4. Since they are not compatible:
https://github.com/armbian/build/commit/ce9cb071bf6618060903fd4edfbe75ab2d4cf188#diff-f7fcda652c17fc7ee4e59123984acf5d


Adding driver:

https://github.com/armbian/build/commit/f6abcc7c852f564991b65ea534f41e6675844312#diff-f7fcda652c17fc7ee4e59123984acf5d

let me see if that works

 

Edited by johnnyde94

  • Author

Any new ideas?

 

 

when you said you added the driver, was there something more i had to do or was that on the ambian end?

 

 

Most up to date pastebin note the dongle is plugged into my USB 3 hub but the Ethernet is not plugged into it.

 

https://pastebin.com/KiWfTQY9

17 minutes ago, johnnyde94 said:

when you said you added the driver, was there something more i had to do or was that on the ambian end?


We added it but we also remove it later since it caused problems with onboard NIC. Its on your to move on - we will certainly not. Also kernel 4.14.y will be dropped soon. Hard kernel moved to 5.4.y and 5.9.y is also progressing nicely. Perhaps you should try there, but you are again alone doing that.

 

Anyway we don't support things you plug into USB.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.