Disable r8153_ecm driver?

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Disable r8153_ecm driver?

Postby trustnt » Fri Sep 24, 2021 4:57 am

Is it possible to disable this driver? modprobe says it can't because it is builtin but I have compiled the r8152 driver and wanted to it to be used by the ethernet adapter.
trustnt
 
Posts: 12
Joined: Wed Sep 22, 2021 4:03 pm

Re: Disable r8153_ecm driver?

Postby graysky » Fri Sep 24, 2021 5:42 am

Built in? Which kernel?
$this->bbcode_second_pass_code('', '% zgrep -i r8152 /proc/config.gz')

https://wiki.archlinux.org/title/Kernel ... acklisting
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Disable r8153_ecm driver?

Postby trustnt » Fri Sep 24, 2021 5:46 am

The latest one from the repo, Because it is assigning the r8153_ecm module to my ethernet adapter, but I want to use the r8152 module that I compiled from source.
trustnt
 
Posts: 12
Joined: Wed Sep 22, 2021 4:03 pm

Re: Disable r8153_ecm driver?

Postby graysky » Fri Sep 24, 2021 10:49 am

Which latest one? There are many. Post uname -a

In any case, to generally replaces modules you typically install them in an updates directory if I recall correctly. Something like:
/lib/modules/5.10.63-12-ARCH/updates/

Can't remember details so you'll want to google or search through kernel docs. Why do you want to use a custom one?
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Disable r8153_ecm driver?

Postby trustnt » Fri Sep 24, 2021 12:34 pm

The output of uname -a is:
$this->bbcode_second_pass_code('', 'Linux StealthArch 5.10.63-10-ARCH #1 SMP Thu Sep 23 12:56:22 UTC 2021 armv7l GNU/Linux')

And yes, I'm trying to use a custom one from the manufacturers website but the r8153_ecm module from the kernel is being assigned to the device rather than my compiled module.
trustnt
 
Posts: 12
Joined: Wed Sep 22, 2021 4:03 pm

Re: Disable r8153_ecm driver?

Postby graysky » Fri Sep 24, 2021 12:37 pm

$this->bbcode_second_pass_quote('graysky', 'I')n any case, to generally replaces modules you typically install them in an updates directory if I recall correctly. Something like:
/lib/modules/5.10.63-12-ARCH/updates/

Can't remember details so you'll want to google or search through kernel docs.
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Disable r8153_ecm driver?

Postby trustnt » Sat Sep 25, 2021 12:57 am

Got it fixed by copying the $this->bbcode_second_pass_code('', '50-usb-realtek-net.rules') file from the compilation directory to $this->bbcode_second_pass_code('', '/etc/udev/rules.d') the ethernet adapter now use the r8152 module.
trustnt
 
Posts: 12
Joined: Wed Sep 22, 2021 4:03 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 5 guests