You are not logged in.
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
Just some more info, there was a github package called vcs however it seems to be removed.
Offline
/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
The best way I can answer this is that I grabbed it from the official website.
Offline
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
Sorry for the extremely late reply. Unfortunately none of them have been able to install successfully. I'm trying to go through the source code to see if there are any dependencies I'm missing thats causing it to not install properly. I can try to post a log file if that might help something here.
Vision Linux Driver Installer...
Checking for previous installation...NONE
Datapath Limited Vision Linux Driver (v7.27.1.40643)
Beginning install, please wait...
Check for important files...DONE
Check for important tools...DONE
Performing pre-build cleanup...
removed './bin/dgc133sys.32.a'
removed './bin/ForceDetect.32'
removed './bin/RGB133Debug.32'
removed './bin/RGB133Links.32'
removed './bin/Flash133.32'
removed './bin/RGBHelper.32'
removed './bin/rgb133.32.a'
removed './bin/Edid.32'
removed './bin/rgb133.RT.64.a'
removed './bin/dgc133sys.RT.64.a'
DONE
Copying Vision firmware...DONE
Building module for kernel: 6.13.5-zen1-1-zen..../scripts/rgb133config.sh gcc x86_64 /lib/modules/6.13.5-zen1-1-zen /home/finw/Downloads/VisionInstall-7.27.1.40643/include test_linux_features
Testing Linux kernel features for kernel source: /lib/modules/6.13.5-zen1-1-zen
cat: /boot/config-6.13.5-zen1-1-zen: No such file or directory
make -C /lib/modules/6.13.5-zen1-1-zen/build M=/home/finw/Downloads/VisionInstall-7.27.1.40643 V=0 modules
make[1]: Entering directory '/usr/lib/modules/6.13.5-zen1-1-zen/build'
make[2]: Entering directory '/home/finw/Downloads/VisionInstall-7.27.1.40643'
CC [M] src/rgb133.o
src/rgb133.c:826:6: warning: no previous prototype for ‘CopyDeviceParms’ [-Wmissing-prototypes]
826 | void CopyDeviceParms(struct _sVWAllDeviceParms* to, struct _sVWAllDeviceParms* from)
| ^~~~~~~~~~~~~~~
src/rgb133.c:836:6: warning: no previous prototype for ‘CopyClientParms’ [-Wmissing-prototypes]
836 | void CopyClientParms(struct _sVWClientParms* to, struct _sVWClientParms* from)
| ^~~~~~~~~~~~~~~
src/rgb133.c:846:6: warning: no previous prototype for ‘CopyInfo’ [-Wmissing-prototypes]
846 | void CopyInfo(struct _sVWDeviceInfo* to, struct _sVWDeviceInfo* from)
| ^~~~~~~~
src/rgb133.c:856:6: warning: no previous prototype for ‘ReadControlMatchDevice’ [-Wmissing-prototypes]
856 | void ReadControlMatchDevice(struct rgb133_dev** ppDev, int* pOffset, int local_device)
| ^~~~~~~~~~~~~~~~~~~~~~
src/rgb133.c:902:5: warning: no previous prototype for ‘rgb133_read_control’ [-Wmissing-prototypes]
902 | int rgb133_read_control(struct file* file, char __user* data, size_t count)
| ^~~~~~~~~~~~~~~~~~~
src/rgb133.c:2217:6: warning: no previous prototype for ‘QueueActiveDMABuffers’ [-Wmissing-prototypes]
2217 | void QueueActiveDMABuffers(struct rgb133_handle* h, int lock_action)
| ^~~~~~~~~~~~~~~~~~~~~
src/rgb133.c:2478:5: warning: no previous prototype for ‘SetOverrideDevices’ [-Wmissing-prototypes]
2478 | int SetOverrideDevices(struct pci_dev* pdev, PDEAPI pDE)
| ^~~~~~~~~~~~~~~~~~
src/rgb133.c:2787:6: warning: no previous prototype for ‘SetCoreDeviceName’ [-Wmissing-prototypes]
2787 | void SetCoreDeviceName(struct pci_dev* pdev, struct rgb133_dev* dev)
| ^~~~~~~~~~~~~~~~~
src/rgb133.c:3096:6: warning: no previous prototype for ‘init_v4l2_dev’ [-Wmissing-prototypes]
3096 | void init_v4l2_dev(struct v4l2_device * v4l2_dev, struct device * dev, int num)
| ^~~~~~~~~~~~~
src/rgb133.c: In function ‘rgb133_probe’:
src/rgb133.c:3226:7: error: implicit declaration of function ‘pci_set_dma_mask’ [-Wimplicit-function-declaration]
3226 | if(pci_set_dma_mask(pdev, DMA_BIT_MASK(64)))
| ^~~~~~~~~~~~~~~~
src/rgb133.c: At top level:
src/rgb133.c:4034:13: warning: no previous prototype for ‘PrintInterlacing’ [-Wmissing-prototypes]
4034 | const char* PrintInterlacing(int type)
| ^~~~~~~~~~~~~~~~
src/rgb133.c:4064:13: warning: no previous prototype for ‘PrintMessageColour’ [-Wmissing-prototypes]
4064 | const char* PrintMessageColour(int colour)
| ^~~~~~~~~~~~~~~~~~
src/rgb133.c:4085:13: warning: no previous prototype for ‘PrintScalingBehaviour’ [-Wmissing-prototypes]
4085 | const char* PrintScalingBehaviour(unsigned long mode)
| ^~~~~~~~~~~~~~~~~~~~~
src/rgb133.c:4102:13: warning: no previous prototype for ‘PrintScalingAspectRatio’ [-Wmissing-prototypes]
4102 | const char* PrintScalingAspectRatio(unsigned long ar)
| ^~~~~~~~~~~~~~~~~~~~~~~
src/rgb133.c:4131:13: warning: no previous prototype for ‘PrintInputGanging’ [-Wmissing-prototypes]
4131 | const char* PrintInputGanging(unsigned long ganging_type)
| ^~~~~~~~~~~~~~~~~
src/rgb133.c:4156:13: warning: no previous prototype for ‘PrintColourDomain’ [-Wmissing-prototypes]
4156 | const char* PrintColourDomain(unsigned long domain)
| ^~~~~~~~~~~~~~~~~
src/rgb133.c:4192:13: warning: no previous prototype for ‘PrintAudioAnalogMute’ [-Wmissing-prototypes]
4192 | const char* PrintAudioAnalogMute(unsigned long mute)
| ^~~~~~~~~~~~~~~~~~~~
src/rgb133.c:4210:6: warning: no previous prototype for ‘PrintModuleLoadOptions’ [-Wmissing-prototypes]
4210 | void PrintModuleLoadOptions(void)
| ^~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/lib/modules/6.13.5-zen1-1-zen/build/scripts/Makefile.build:196: src/rgb133.o] Error 1
make[3]: *** [/usr/lib/modules/6.13.5-zen1-1-zen/build/Makefile:1982: .] Error 2
make[2]: *** [/usr/lib/modules/6.13.5-zen1-1-zen/build/Makefile:251: __sub-make] Error 2
make[2]: Leaving directory '/home/finw/Downloads/VisionInstall-7.27.1.40643'
make[1]: *** [Makefile:251: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.13.5-zen1-1-zen/build'
make: *** [Makefile:113: modules] Error 2
FAILED
Failed to build module: 2
Last edited by finw (2025-03-10 00:51:58)
Offline
On second thought, is there by chance this can be moved over to the "Kernel & Hardware" forum please? I do not think this is a newbie corner question.
Offline
I agree it suits Kernel & hardware forum better, next time you want something moved use the report button to alert all moderators .
Moving to K&H subboard
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
Checked datapath vison compatibility
and the last time they supported any non-ubuntu kernel was with linux 3.x .
src/rgb133.c:3226:7: error: implicit declaration of function ‘pci_set_dma_mask’ [-Wimplicit-function-declaration]
Sanity check : is linux-zen-headers installed ?
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