ODROID H+ Can't install RTL8125 driver on Linux Mint 20 RT

More
13 Dec 2020 05:21 #191806 by Twitchy
I am new to LinuxCNC and my unix in general is a bit rusty, but I was able to follow the steps in the "LinuxCNC on Linux Mint 20 quick and nearly easy install" to install and boot into Mint. As expected, the RTL8125 driver was not installed, but I was able to load it separately from a USB drive. But, when I boot in to the RT kernel, the driver is missing and I am not able to follow the same process for installation because the build files are not included. I tried using the .deb install and that did not error, but also did not install the driver.

Anyone else solve this one?

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 05:28 #191808 by BeagleBrainz
Have you installed the kernel headers for the RT Kernel ?

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 08:34 #191821 by tommylight
There is no link to headers in that how to, will add that later.
Bumped into the same issue of not being able to install drivers for sensors on the new MB/PC.
The following user(s) said Thank You: BeagleBrainz

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 16:57 #191874 by Twitchy
Thanks for the quick reply. The ground work you guys have done has been immensely helpful.

Have you installed the kernel headers for the RT Kernel ?

I looked into it but I have hit limits of my linux understanding. I found a method to pull them in if I had internet access but I am not sure how to install them from a jump drive. Alternatively, it seems I might be able to install them when booted in the other kernel, but I couldn't identify the correct install. Now that you have confirmed that this is the right course, I will keep working at it.

Thanks again.

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 17:54 #191878 by Twitchy
I was able to get the headers installed and the rtl8125 driver built. I am now on the internet in the RT kernel. Thanks again for the push in the right direction.

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 18:24 #191881 by tommylight
Added the links and the complementary warnings to the original post on how to Mint20, took some doing to find all the dependencies.
forum.linuxcnc.org/9-installing-linuxcnc...-easy-install#175816
It is at the bottom as a spoiler, after a stern warning not to install them ! :)

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 20:30 #191903 by BeagleBrainz
Does installing the debian version of gcc adversely affect the Mint\Ubuntu version of gcc ?
I only ask this as the OP had built the module for the standard kernel and therefore had gcc and the required libs to build.

I know Mint 19 uses gcc 7.50.Looks Like Mint 20 either uses gcc 9 or can use gcc 10

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 21:44 #191911 by tommylight
Yeah that was strange but might be reasonable, 4.9 uses GCC 6 as can be seen from the links.
Did some head scratching and moved on, so far no adverse effects. I did it on this my new PC while kernel 5.4 is in use, and it has ADMGPU-PRO drivers installed, also some other kernel modules for the sensors and fans and such that are not supported and have to forcibly modprobe'd.
The following user(s) said Thank You: BeagleBrainz

Please Log in or Create an account to join the conversation.

More
13 Dec 2020 22:46 #191920 by BeagleBrainz
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
14 Dec 2020 12:10 #191957 by tommylight
A follow up of the previous,
Tested the 4.9RT kernel with the new stuff installed, sensors work properly, ADM RX480 works properly, everything else is OK as far as i can see, using it right now while mining with the 480! :)
Although still mines at 9.5MHs under RT kernel while it does that at 27.5 with the generic kernel. Will have to do some Blender rendering later, most probably it will diminish the results there also when using the RT kernel.
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum