Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No driver (Linux Mint 21.2 Cinnamon) #72

Closed
firepainting opened this issue Oct 23, 2023 · 1 comment
Closed

No driver (Linux Mint 21.2 Cinnamon) #72

firepainting opened this issue Oct 23, 2023 · 1 comment

Comments

@firepainting
Copy link

Hi. I'm not that proficient in Linux. Please bear with me. Thank you.

Followed instructions at /wiki/Build-and-install but no driver is found via ls /lib/modules/$(uname -r)/extra/akvcam.ko*

firepainting@firepainting:~$ cd akvcam/src

firepainting@firepainting:~/akvcam/src$ make
make -C /usr/lib/modules/5.15.0-87-generic/build M=/home/firepainting/akvcam/src  modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-87-generic'
  CC [M]  /home/firepainting/akvcam/src/module.o
  CC [M]  /home/firepainting/akvcam/src/attributes.o
  CC [M]  /home/firepainting/akvcam/src/buffers.o
  CC [M]  /home/firepainting/akvcam/src/controls.o
  CC [M]  /home/firepainting/akvcam/src/device.o
  CC [M]  /home/firepainting/akvcam/src/driver.o
  CC [M]  /home/firepainting/akvcam/src/file_read.o
  CC [M]  /home/firepainting/akvcam/src/format.o
  CC [M]  /home/firepainting/akvcam/src/frame.o
  CC [M]  /home/firepainting/akvcam/src/frame_filter.o
  CC [M]  /home/firepainting/akvcam/src/ioctl.o
  CC [M]  /home/firepainting/akvcam/src/list.o
  CC [M]  /home/firepainting/akvcam/src/log.o
  CC [M]  /home/firepainting/akvcam/src/map.o
  CC [M]  /home/firepainting/akvcam/src/rbuffer.o
  CC [M]  /home/firepainting/akvcam/src/settings.o
  CC [M]  /home/firepainting/akvcam/src/utils.o
  LD [M]  /home/firepainting/akvcam/src/akvcam.o
  MODPOST /home/firepainting/akvcam/src/Module.symvers
  CC [M]  /home/firepainting/akvcam/src/akvcam.mod.o
  LD [M]  /home/firepainting/akvcam/src/akvcam.ko
  BTF [M] /home/firepainting/akvcam/src/akvcam.ko
Skipping BTF generation for /home/firepainting/akvcam/src/akvcam.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-87-generic'

firepainting@firepainting:~/akvcam/src$ sudo make dkms_install
[sudo] password for firepainting:                   
dkms remove akvcam/1.2.4 --all
Error! The module/version combo: akvcam-1.2.4 is not located in the DKMS tree.
make: [Makefile:63: dkms_uninstall] Error 3 (ignored)
rm -rvf /usr/src/akvcam-1.2.4
rm -rvf /usr/src/akvcam-1.2.4
mkdir -p /usr/src/akvcam-1.2.4
cp -f Makefile /usr/src/akvcam-1.2.4
cp -f dkms.conf /usr/src/akvcam-1.2.4
cp -f *.h /usr/src/akvcam-1.2.4
cp -f *.c /usr/src/akvcam-1.2.4
dkms install akvcam/1.2.4
Creating symlink /var/lib/dkms/akvcam/1.2.4/source -> /usr/src/akvcam-1.2.4

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.15.0-87-generic KERNEL_DIR=/lib/modules/5.15.0-87-generic/build all....
Signing module:
 - /var/lib/dkms/akvcam/1.2.4/5.15.0-87-generic/x86_64/module/akvcam.ko
EFI variables are not supported on this system
/sys/firmware/efi/efivars not found, aborting.
cleaning build area...

akvcam.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-87-generic/updates/dkms/

depmod.....
@firepainting
Copy link
Author

Hey nevermind, I got a workaround for a separate issue I was having. Closing this for now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant