You are not logged in.

#1 2024-10-04 20:49:38

finw
Member
Registered: 2024-10-04
Posts: 3

Issue with installing Datapath Vision Drivers

Hello

I'm not sure what is going on with my drivers. Is anyone able to help me with this please?

[finw@archlinux datapath]$ sudo make
./scripts/rgb133config.sh gcc x86_64 /lib/modules/6.11.1-zen1-1-zen /home/finw/.local/share/Trash/files/datapath/include test_linux_features
Testing Linux kernel features for kernel source: /lib/modules/6.11.1-zen1-1-zen
cat: /boot/config-6.11.1-zen1-1-zen: No such file or directory
make -C /lib/modules/6.11.1-zen1-1-zen/build M=/home/finw/.local/share/Trash/files/datapath V=0 modules
make[1]: Entering directory '/usr/lib/modules/6.11.1-zen1-1-zen/build'
  CC [M]  /home/finw/.local/share/Trash/files/datapath/src/rgb133.o
/home/finw/.local/share/Trash/files/datapath/src/rgb133.c:4110:20: warning: ‘PrintInputGanging’ defined but not used [-Wunused-function]
 4110 | static const char* PrintInputGanging(unsigned long ganging_type)
      |                    ^~~~~~~~~~~~~~~~~
  CC [M]  /home/finw/.local/share/Trash/files/datapath/src/rgb133colours.o
  CC [M]  /home/finw/.local/share/Trash/files/datapath/src/rgb133drm.o
  CC [M]  /home/finw/.local/share/Trash/files/datapath/src/rgb133ioctl.o
  CC [M]  /home/finw/.local/share/Trash/files/datapath/src/rgb133irq.o
  CC [M]  /home/finw/.local/share/Trash/files/datapath/src/rgb133kernel.o
  CC [M]  /home/finw/.local/share/Trash/files/datapath/src/rgb133mapping.o
  CC [M]  /home/finw/.local/share/Trash/files/datapath/src/rgb133peekpoke.o
  CC [M]  /home/finw/.local/share/Trash/files/datapath/src/rgb133sg.o
  CC [M]  /home/finw/.local/share/Trash/files/datapath/src/rgb133time.o
  CC [M]  /home/finw/.local/share/Trash/files/datapath/src/rgb133timer.o
  CC [M]  /home/finw/.local/share/Trash/files/datapath/src/rgb133v4l2.o
/home/finw/.local/share/Trash/files/datapath/src/rgb133v4l2.c:94:34: error: initialization of ‘int (*)(struct file *, void *, v4l2_std_id)’ {aka ‘int (*)(struct file *, void *, long long unsigned int)’} from incompatible pointer type ‘int (*)(struct file *, void *, v4l2_std_id *)’ {aka ‘int (*)(struct file *, void *, long long unsigned int *)’} [-Wincompatible-pointer-types]
   94 |    .vidioc_s_std               = rgb133_s_std,
      |                                  ^~~~~~~~~~~~
/home/finw/.local/share/Trash/files/datapath/src/rgb133v4l2.c:94:34: note: (near initialization for ‘rgb133_ioctl_ops.vidioc_s_std’)
/home/finw/.local/share/Trash/files/datapath/src/rgb133v4l2.c:120:34: error: initialization of ‘long int (*)(struct file *, void *, bool,  unsigned int,  void *)’ {aka ‘long int (*)(struct file *, void *, _Bool,  unsigned int,  void *)’} from incompatible pointer type ‘long int (*)(struct file *, void *, int,  void *)’ [-Wincompatible-pointer-types]
  120 |    .vidioc_default             = rgb133_default_ioctl,
      |                                  ^~~~~~~~~~~~~~~~~~~~
/home/finw/.local/share/Trash/files/datapath/src/rgb133v4l2.c:120:34: note: (near initialization for ‘rgb133_ioctl_ops.vidioc_default’)
make[3]: *** [scripts/Makefile.build:244: /home/finw/.local/share/Trash/files/datapath/src/rgb133v4l2.o] Error 1
make[2]: *** [/usr/lib/modules/6.11.1-zen1-1-zen/build/Makefile:1924: /home/finw/.local/share/Trash/files/datapath] Error 2
make[1]: *** [Makefile:224: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.11.1-zen1-1-zen/build'
make: *** [Makefile:112: modules] Error 2

Offline

#2 2024-10-04 21:10:25

finw
Member
Registered: 2024-10-04
Posts: 3

Re: Issue with installing Datapath Vision Drivers

Just some more info, there was a github package called vcs however it seems to be removed. sad

https://github.com/leikareipa/vcs

Offline

#3 2024-10-05 13:30:50

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,981

Re: Issue with installing Datapath Vision Drivers

/home/finw/.local/share/Trash/files/datapath/src/rgb133v4l2.c:94:34: error: initialization of ‘int (*)(struct file *, void *, v4l2_std_id)’ {aka ‘int (*)(struct file *, void *, long long unsigned int)’} from incompatible pointer type ‘int (*)(struct file *, void *, v4l2_std_id *)’ {aka ‘int (*)(struct file *, void *, long long unsigned int *)’} [-Wincompatible-pointer-types]
   94 |    .vidioc_s_std               = rgb133_s_std,
      |                                  ^~~~~~~~~~~~

The incompatible pointer type appears to be the problem.

Where did you get the sourcecode from ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2024-10-05 23:00:15

finw
Member
Registered: 2024-10-04
Posts: 3

Re: Issue with installing Datapath Vision Drivers

The best way I can answer this is that I grabbed it from the official website.

https://www.datapathsoftware.com/downlo … l-v7-28-0/

Offline

#5 2024-10-06 18:11:04

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,981

Re: Issue with installing Datapath Vision Drivers

That mentions just 2 kernels in the 6.x range , both ubuntu versions .

Have the drivers ever worked on archlinux and if so, what was the highest kernel version they worked with ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB