WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Wiki List of supported wifi devices  (Read 143197 times)

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1652
Re: Wiki List of supported wifi devices
« Reply #90 on: January 17, 2024, 01:00:53 PM »
Hello Rich!  Hope your day finds you well!
If you know the answer already, this would be useful to know...
Quote
/usr/local/lib/modules/4.19.10-tinycore/kernel/
(and the associated /lib/modules/KERNEL/kernel.tclocal if course)

If I were to call modprobe mydriver after placing mydriver.ko(.gz) in the above directory, does the kernel already know to look here or does the entire path need to be given?
(I'm assuming so, but it's better to ask ridiculous questions and hear someone in the background scoff "...duh!" as opposed to asking after the fact and being the one saying "(apply entire vulgar dictionary here)" for not asking in the first place.)

Thanks!
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11221
Re: Wiki List of supported wifi devices
« Reply #91 on: January 17, 2024, 01:25:23 PM »
Hi CentralWare
Both  modprobe  and  modinfo  will find drivers without providing a path:
Code: [Select]
tc@E310:~$ sudo modprobe keyspan
tc@E310:~$ lsmod | grep keyspan
keyspan                20480  0
usbserial              20480  1 keyspan
ezusb                  12288  1 keyspan
tc@E310:~$ sudo modprobe -r keyspan
tc@E310:~$  modinfo keyspan | grep filename:
filename:       /lib/modules/4.19.10-tinycore/kernel.tclocal/drivers/usb/serial/keyspan.ko.gz
tc@E310:~$

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11221
Re: Wiki List of supported wifi devices
« Reply #92 on: January 17, 2024, 02:05:04 PM »
Hi CentralWare
... If I were to call modprobe mydriver after placing mydriver.ko(.gz) in the above directory, ...
and then running:
Code: [Select]
sudo /sbin/depmod -a 2>/dev/null
If you use  tce-load  it will detect there are kernel modules
and run  depmod  automatically for you.

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1652
Re: Wiki List of supported wifi devices
« Reply #93 on: January 17, 2024, 06:27:13 PM »
If you use  tce-load  it will detect there are kernel modules
and run  depmod  automatically for you.
Good to know; thanks!
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair