Jump to content

Can not get realtek r8152b usb ethernet to work XU4


johnnyde94

Recommended Posts

Armbianmonitor:

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines