-
Notifications
You must be signed in to change notification settings - Fork 11
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
Unable to build wavefinder-driver for use with Psion Wavefinder #17
Comments
I solved the above problem by modifying the Makefile as follows: ifneq ($(KERNELRELEASE),)
obj-m := wavefinder.o
else
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
DEBUG := 1
default:
$(MAKE) -I /usr/src/linux-headers-$(shell uname -r)/include/linux -C $(KDIR) M=$(PWD) modules
endif Changing SUBDIRS=$(PWD) to M=$(PWD) got rid of the above error, however the compilation of the driver itself failed due to multiple issues including usb_maxpacket having changed the number of parameters in more recent kernels. I'm guessing nobody is using the wavefinder driver on a recent kernel? As the last post or commit was a number of years ago. |
@PartialVolume Greetings from the one other person on the internet trying to make a Psion Wavefinder work in 2024! I've had some success fixing the driver for modern kernels (I'm running Arch 6.6.49-1-lts on my test system). I've corrected the compile errors and fixed some buffers to ensure they are allocated on the heap. The driver loads and recognises the device, and when I run I've committed my changes to a fork on https://github.com/LichP/dabtools if you're interested in giving it a go. One pro-tip if you do is to add a udev rules file to set permissions on the |
Well, it's nice to know there is at least two of us trying to get this to work :-) putting us in the top 0.00000000025% by world population. Pretty exclusive group. I'll give your fork a try and see if I get the same results. |
I have a Psion Wavefinder which appears to be working as it appears in the output of lsusb
For reference I'm building this on KDE Neon (Ubuntu 22.04LTS)
I've build the main software without any build issues ..
But when I try to build the wavefinder-driver I get the following error "make[3]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'. Stop.
make[2]: *** [arch/x86/Makefile:248: archheaders] Error 2"
Any suggestions as to how to resolve this would be welcome. Thanks.
The text was updated successfully, but these errors were encountered: