osmc@osmc:~/Movies/r8152-2.16.3$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 001 Device 006: ID 2017:1688 OSMC Remote Controller USB Keyboard Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
i did this:>
osmc@osmc:~$ sudo apt-get install libelf-dev build-essential linux-headers-uname -r
Reading package listsā¦ Done
Building dependency treeā¦ Done
Reading state informationā¦ Done
E: Unable to locate package linux-headers-4.9.269-26-osmc
E: Couldnāt find any package by glob ālinux-headers-4.9.269-26-osmcā
E: Couldnāt find any package by regex ālinux-headers-4.9.269-26-osmcā
osmc@osmc:~$ sudo apt-get install build-essential git
Reading package listsā¦ Done
Building dependency treeā¦ Done
Reading state informationā¦ Done
build-essential is already the newest version (12.9).
git is already the newest version (1:2.30.2-1+deb11u2).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
osmc@osmc:~$ sudo apt-get install libelf-dev build-essential vero364-headers-uname -r
Reading package listsā¦ Done
Building dependency treeā¦ Done
Reading state informationā¦ Done
build-essential is already the newest version (12.9).
The following NEW packages will be installed:
libelf-dev vero364-headers-4.9.269-26-osmc:arm64 zlib1g-dev
0 upgraded, 3 newly installed, 0 to remove and 7 not upgraded.
Need to get 8625 kB of archives.
After this operation, 64.8 MB of additional disk space will be used.
Get:1 Index of /debian bullseye/main armhf zlib1g-dev armhf 1:1.2.11.dfsg-2+deb11u2 [185 kB]
Get:3 Index of /debian bullseye/main armhf libelf-dev armhf 0.183-1 [71.2 kB]
Get:2 Index of /osmc/osmc/apt bullseye/main arm64 vero364-headers-4.9.269-26-osmc arm64 4.9.269-26-osmc [8370 kB]
Fetched 8625 kB in 1s (6076 kB/s)
Selecting previously unselected package vero364-headers-4.9.269-26-osmc:arm64.
(Reading database ā¦ 50566 files and directories currently installed.)
Preparing to unpack ā¦/vero364-headers-4.9.269-26-osmc_4.9.269-26-osmc_arm64.deb ā¦
Unpacking vero364-headers-4.9.269-26-osmc:arm64 (4.9.269-26-osmc) ā¦
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack ā¦/zlib1g-dev_1%3a1.2.11.dfsg-2+deb11u2_armhf.deb ā¦
Unpacking zlib1g-dev:armhf (1:1.2.11.dfsg-2+deb11u2) ā¦
Selecting previously unselected package libelf-dev:armhf.
Preparing to unpack ā¦/libelf-dev_0.183-1_armhf.deb ā¦
Unpacking libelf-dev:armhf (0.183-1) ā¦
Setting up vero364-headers-4.9.269-26-osmc:arm64 (4.9.269-26-osmc) ā¦
Setting up zlib1g-dev:armhf (1:1.2.11.dfsg-2+deb11u2) ā¦
Setting up libelf-dev:armhf (0.183-1) ā¦
i get stuck here:
osmc@osmc:~/Movies/r8152-2.16.3$ make -j2
make -C /lib/modules/4.9.269-26-osmc/build M=/home/osmc/Movies/r8152-2.16.3 modules
make[1]: Entering directory ā/usr/src/vero364-headers-4.9.269-26-osmcā
arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum
CC [M] /home/osmc/Movies/r8152-2.16.3/r8152.o
gcc: error: unrecognized command-line option ā-mcmodel=largeā
make[2]: *** [scripts/Makefile.build:344: /home/osmc/Movies/r8152-2.16.3/r8152.o] Error 1
make[1]: *** [Makefile:1651: module/home/osmc/Movies/r8152-2.16.3] Error 2
make[1]: Leaving directory ā/usr/src/vero364-headers-4.9.269-26-osmcā
make: *** [Makefile:24: modules] Error 2
Thanks Sam for your reply.
Unfortunately Iām a beginner in Linux, or I canāt even call myself a beginner, because all my life Iāve been a Windows user. Therefore, I donāt know how to do what you just told me.
If I knew it was so complicated, I wouldnāt have bought this adapter
I thought I would just plug it into Vero4K and it would work.
So, if you have time and if itās somehow possible to include this driver in future updates, (even though you donāt have this adapter), it will be great. But if thatās not possible, thatās fine too.
Iāll just give up on the idea of using it with Vero4K and thatās it.
Thanks for all your hard work over the years to make OSMC what it is today.
I really appreciate it
Hi Sam,
after your post I reconnected the gigabit adapter to test it again but unfortunately it doesnāt work.
Is there something specific I need to do to make it work? Do I have to disable the wired and wireless adapter? Now wireless is off and wired is ON.
Do you think it has something to do with this:
Itās well supported by the Linux kernel, but the default r8152 module is rarely used, the generic cdc_ether driver is loaded instead. Thereās another problem, sometimes the r8152 module shipped with kernel canāt even detect newer varients of the RTL8153 chip.
on windows it works. Its possible for you to enter with teamviewer and see whats going on? I have putty on my PC.
Now i have lan cable inserted in Vero and the adapter is connected to usb. But if i connect the lan cable to the adapter, the internet goes down and i dont have access to Vero from my pc.
I can see r8152 is being loaded ā so the USB is being detected and the correct module is loading. I am not sure why it is not working however and donāt have one to test with myself.