Open xelaco opened 8 years ago
Ok basically I've moved house and am waiting to set up my pc. On said pc I have a replacement for the currentl daemon which is written in python so that there's one less thing to compile.
Does make driver_verbose
work? Paste the output.
Thanks for your very fast answer. Unfortunately, I'm in holidays and I left my Raspberry pi at home. I can't recover it before one month and a half... So I can't try anything. I would post a comment here once I have recovered it or if I find one on the floor. :)
No problem
Hey there,
I installed prerequisites from scripts + raspberrypi-kernel-headers,
Here's what I'm getting:
pi@raspberrypi:~/src/razer_chroma_drivers $ make
make --no-print-directory -C lib all
gcc -Wall -Wextra -W -w -O0 -std=c99 -DMAJOR_VERSION=0 -DMINOR_VERSION=3 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 `pkg-config --cflags dbus-1` -DUSE_DBUS -c -o razer_chroma.o razer_chroma.c
gcc -Wall -Wextra -W -w -O0 -std=c99 -DMAJOR_VERSION=0 -DMINOR_VERSION=3 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 `pkg-config --cflags dbus-1` -DUSE_DBUS -c -o list.o list.c
gcc -Wall -Wextra -W -w -O0 -std=c99 -DMAJOR_VERSION=0 -DMINOR_VERSION=3 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 `pkg-config --cflags dbus-1` -DUSE_DBUS -c -o razer_string.o razer_string.c
ar -c -rs librazer_chroma.a razer_chroma.o list.o razer_string.o
gcc -rdynamic -nostdlib -DCREATELIB -shared razer_chroma.o list.o razer_string.o -lm -lc `pkg-config --libs dbus-1` -o librazer_chroma.so
gcc -Wall -Wextra -W -w -O0 -std=c99 -DMAJOR_VERSION=0 -DMINOR_VERSION=3 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 `pkg-config --cflags dbus-1` -DUSE_DBUS -c -o razer_chroma_controller.o razer_chroma_controller.c
gcc -rdynamic -nostdlib -DCREATELIB -shared razer_chroma_controller.o list.o razer_string.o -lm -lc `pkg-config --libs dbus-1` -o librazer_chroma_controller.so
ar -c -rs librazer_chroma_controller.a razer_chroma_controller.o list.o razer_string.o
:: COMPILING librazer_chroma.so
================================
gcc -Wall -Wextra -Wformat=0 -pedantic -fbounds-check -Wuninitialized -O0 -g3 -std=c99 -DUSE_DEBUGGING -DMAJOR_VERSION=0 -DMINOR_VERSION=3 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 `pkg-config --cflags dbus-1` -DUSE_DBUS -c -o razer_chroma.do razer_chroma.c
razer_chroma.c: In function ‘razer_find_devices’:
razer_chroma.c:643:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
event.value = (unsigned long long)device;
^
gcc -Wall -Wextra -Wformat=0 -pedantic -fbounds-check -Wuninitialized -O0 -g3 -std=c99 -DUSE_DEBUGGING -DMAJOR_VERSION=0 -DMINOR_VERSION=3 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 `pkg-config --cflags dbus-1` -DUSE_DBUS -c -o list.do list.c
gcc -Wall -Wextra -Wformat=0 -pedantic -fbounds-check -Wuninitialized -O0 -g3 -std=c99 -DUSE_DEBUGGING -DMAJOR_VERSION=0 -DMINOR_VERSION=3 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 `pkg-config --cflags dbus-1` -DUSE_DBUS -c -o razer_string.do razer_string.c
ar -c -rs librazer_chroma.da razer_chroma.do list.do razer_string.do
gcc -rdynamic -nostdlib -DCREATELIB -shared razer_chroma.do list.do razer_string.do -lm -lc `pkg-config --libs dbus-1` -o librazer_chroma_debug.so
gcc -Wall -Wextra -Wformat=0 -pedantic -fbounds-check -Wuninitialized -O0 -g3 -std=c99 -DUSE_DEBUGGING -DMAJOR_VERSION=0 -DMINOR_VERSION=3 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 `pkg-config --cflags dbus-1` -DUSE_DBUS -c -o razer_chroma_controller.do razer_chroma_controller.c
razer_chroma_controller.c: In function ‘dc_render_node_parameter_parsed_set’:
razer_chroma_controller.c:345:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
value=(unsigned long long)value_string;
^
razer_chroma_controller.c:358:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
value = (unsigned long long)malloc(sizeof(struct razer_rgb));
^
razer_chroma_controller.c:366:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_rgb*)value)->r = (unsigned char)atoi(list_Dequeue(tokens));
^
razer_chroma_controller.c:367:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_rgb*)value)->g = (unsigned char)atoi(list_Dequeue(tokens));
^
razer_chroma_controller.c:368:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_rgb*)value)->b = (unsigned char)atoi(list_Dequeue(tokens));
^
razer_chroma_controller.c:376:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
value = (unsigned long long)malloc(sizeof(struct razer_pos));
^
razer_chroma_controller.c:384:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_pos*)value)->x = (long)atol(list_Dequeue(tokens));
^
razer_chroma_controller.c:385:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_pos*)value)->y = (long)atol(list_Dequeue(tokens));
^
razer_chroma_controller.c:396:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
value = (unsigned long long)malloc(sizeof(struct razer_float_range));
^
razer_chroma_controller.c:404:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_float_range*)value)->min = (float)atof(list_Dequeue(tokens));
^
razer_chroma_controller.c:405:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_float_range*)value)->max = (float)atof(list_Dequeue(tokens));
^
razer_chroma_controller.c:413:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
value = (unsigned long long)malloc(sizeof(struct razer_int_range));
^
razer_chroma_controller.c:421:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_int_range*)value)->min = (long)atol(list_Dequeue(tokens));
^
razer_chroma_controller.c:422:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_int_range*)value)->max = (long)atol(list_Dequeue(tokens));
^
razer_chroma_controller.c:430:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
value = (unsigned long long)malloc(sizeof(struct razer_uint_range));
^
razer_chroma_controller.c:438:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_uint_range*)value)->min = (unsigned long)atol(list_Dequeue(tokens));
^
razer_chroma_controller.c:439:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_uint_range*)value)->max = (unsigned long)atol(list_Dequeue(tokens));
^
razer_chroma_controller.c:447:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
value = (unsigned long long)malloc(sizeof(struct razer_rgb_range));
^
razer_chroma_controller.c:455:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_rgb_range*)value)->min->r = (unsigned char)atoi(list_Dequeue(tokens));
^
razer_chroma_controller.c:456:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_rgb_range*)value)->min->g = (unsigned char)atoi(list_Dequeue(tokens));
^
razer_chroma_controller.c:457:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_rgb_range*)value)->min->b = (unsigned char)atoi(list_Dequeue(tokens));
^
razer_chroma_controller.c:458:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_rgb_range*)value)->max->r = (unsigned char)atoi(list_Dequeue(tokens));
^
razer_chroma_controller.c:459:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_rgb_range*)value)->max->g = (unsigned char)atoi(list_Dequeue(tokens));
^
razer_chroma_controller.c:460:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_rgb_range*)value)->max->b = (unsigned char)atoi(list_Dequeue(tokens));
^
razer_chroma_controller.c:468:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
value = (unsigned long long)malloc(sizeof(struct razer_pos_range));
^
razer_chroma_controller.c:476:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_pos_range*)value)->min->x = (long)atol(list_Dequeue(tokens));
^
razer_chroma_controller.c:477:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_pos_range*)value)->min->y = (long)atol(list_Dequeue(tokens));
^
razer_chroma_controller.c:478:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_pos_range*)value)->max->x = (long)atol(list_Dequeue(tokens));
^
razer_chroma_controller.c:479:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_pos_range*)value)->max->y = (long)atol(list_Dequeue(tokens));
^
razer_chroma_controller.c:496:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
value = (unsigned long long)malloc(sizeof(struct razer_rgb));
^
razer_chroma_controller.c:504:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_rgb*)value)->r = (unsigned char)atoi(list_Dequeue(tokens));
^
razer_chroma_controller.c:505:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_rgb*)value)->g = (unsigned char)atoi(list_Dequeue(tokens));
^
razer_chroma_controller.c:506:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_rgb*)value)->b = (unsigned char)atoi(list_Dequeue(tokens));
^
razer_chroma_controller.c:514:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
value = (unsigned long long)malloc(sizeof(struct razer_pos));
^
razer_chroma_controller.c:522:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_pos*)value)->x = (long)atol(list_Dequeue(tokens));
^
razer_chroma_controller.c:523:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
((struct razer_pos*)value)->y = (long)atol(list_Dequeue(tokens));
^
razer_chroma_controller.c:534:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
free((void*)value);
^
razer_chroma_controller.c: In function ‘dc_render_node_parameter_set’:
razer_chroma_controller.c:600:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long r = ((struct razer_rgb*)value)->r;
^
razer_chroma_controller.c:601:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long g = ((struct razer_rgb*)value)->g;
^
razer_chroma_controller.c:602:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long b = ((struct razer_rgb*)value)->b;
^
razer_chroma_controller.c:613:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long x = ((struct razer_pos*)value)->x;
^
razer_chroma_controller.c:614:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long y = ((struct razer_pos*)value)->y;
^
razer_chroma_controller.c:623:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
double min = ((struct razer_float_range*)value)->min;
^
razer_chroma_controller.c:624:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
double max = ((struct razer_float_range*)value)->max;
^
razer_chroma_controller.c:633:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long min = ((struct razer_int_range*)value)->min;
^
razer_chroma_controller.c:634:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long max = ((struct razer_int_range*)value)->max;
^
razer_chroma_controller.c:643:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
unsigned long min = ((struct razer_uint_range*)value)->min;
^
razer_chroma_controller.c:644:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
unsigned long max = ((struct razer_uint_range*)value)->max;
^
razer_chroma_controller.c:653:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long min_r = ((struct razer_rgb*)(((struct razer_rgb_range*)value)->min))->r;
^
razer_chroma_controller.c:654:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long min_g = ((struct razer_rgb*)(((struct razer_rgb_range*)value)->min))->g;
^
razer_chroma_controller.c:655:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long min_b = ((struct razer_rgb*)(((struct razer_rgb_range*)value)->min))->b;
^
razer_chroma_controller.c:656:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long max_r = ((struct razer_rgb*)(((struct razer_rgb_range*)value)->max))->r;
^
razer_chroma_controller.c:657:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long max_g = ((struct razer_rgb*)(((struct razer_rgb_range*)value)->max))->g;
^
razer_chroma_controller.c:658:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long max_b = ((struct razer_rgb*)(((struct razer_rgb_range*)value)->max))->b;
^
razer_chroma_controller.c:675:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long min_x = ((struct razer_pos*)(((struct razer_pos_range*)value)->min))->x;
^
razer_chroma_controller.c:676:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long min_y = ((struct razer_pos*)(((struct razer_pos_range*)value)->min))->y;
^
razer_chroma_controller.c:677:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long max_x = ((struct razer_pos*)(((struct razer_pos_range*)value)->max))->x;
^
razer_chroma_controller.c:678:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long max_y = ((struct razer_pos*)(((struct razer_pos_range*)value)->max))->y;
^
razer_chroma_controller.c:712:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long r = ((struct razer_rgb*)value)->r;
^
razer_chroma_controller.c:713:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long g = ((struct razer_rgb*)value)->g;
^
razer_chroma_controller.c:714:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long b = ((struct razer_rgb*)value)->b;
^
razer_chroma_controller.c:725:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long x = ((struct razer_pos*)value)->x;
^
razer_chroma_controller.c:726:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
long y = ((struct razer_pos*)value)->y;
^
gcc -rdynamic -nostdlib -DCREATELIB -shared razer_chroma_controller.do list.do razer_string.do -lm -lc `pkg-config --libs dbus-1` -o librazer_chroma_controller_debug.so
ar -c -rs librazer_chroma_controller.da razer_chroma_controller.do list.do razer_string.do
:: COMPILING librazer_chroma.so [DEBUG]
========================================
make --no-print-directory -C daemon all
gcc `pkg-config --cflags dbus-1` -DUSE_DBUS -Wl,-E -Wall -Wextra -W -w -Os -std=c99 -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 -c -o razer_daemon.o razer_daemon.c
gcc `pkg-config --cflags dbus-1` -DUSE_DBUS -Wl,-E -Wall -Wextra -W -w -Os -std=c99 -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 -c -o razer_daemon_dbus.o razer_daemon_dbus.c
gcc `pkg-config --cflags dbus-1` -DUSE_DBUS -Wl,-E -Wall -Wextra -W -w -Os -std=c99 -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 -c -o razer_daemon_effects.o razer_daemon_effects.c
gcc `pkg-config --cflags dbus-1` -DUSE_DBUS -Wl,-E -Wall -Wextra -W -w -Os -std=c99 -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 -c -o razer_daemon_libraries.o razer_daemon_libraries.c
gcc `pkg-config --cflags dbus-1` -DUSE_DBUS -Wl,-E -Wall -Wextra -W -w -Os -std=c99 -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 -c -o razer_daemon_parameters.o razer_daemon_parameters.c
gcc `pkg-config --cflags dbus-1` -DUSE_DBUS -Wl,-E -Wall -Wextra -W -w -Os -std=c99 -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 -c -o razer_daemon_render_nodes.o razer_daemon_render_nodes.c
gcc `pkg-config --cflags dbus-1` -DUSE_DBUS -Wl,-E -Wall -Wextra -W -w -Os -std=c99 -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -fPIC -DPIC -DLINUX -D_XOPEN_SOURCE=700 -c -o razer_daemon_types.o razer_daemon_types.c
:: COMPILING razer_bcd [SHARED]
================================
gcc -L../lib -rdynamic razer_daemon.o razer_daemon_dbus.o razer_daemon_effects.o razer_daemon_libraries.o razer_daemon_parameters.o razer_daemon_render_nodes.o razer_daemon_types.o -lrazer_chroma -lm -ldl `pkg-config --libs dbus-1` -o razer_bcd
/usr/bin/ld: razer_bcd: hidden symbol `__aeabi_uidiv' in /usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(_udivsi3.o) is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:48: recipe for target 'daemon_shared' failed
make[1]: *** [daemon_shared] Error 1
Makefile:59: recipe for target 'daemon' failed
make: *** [daemon] Error 2
pi@raspberrypi:~/src/razer_chroma_drivers $ make driver_verbose
:: Compiling Razer kernel modules
========================================
make -C /lib/modules/4.4.16-v7+/build SUBDIRS=/home/pi/src/razer_chroma_drivers/driver modules
make[1]: *** /lib/modules/4.4.16-v7+/build: No such file or directory. Stop.
Makefile:24: recipe for target 'driver_verbose' failed
make: *** [driver_verbose] Error 2
Mind recreating this issue on my fork with just the output of make driver_verbose
and also the output of ls -lah /lib/modules/
@terrycain sure thing, will do it this evening. As it's a rPi I'm aware not all modules might be installed but I couldn't find a package responsible for this particular one.
Yeah, it's raspbian so in theory it should have the kernel headers somewhere
I came back to my home and my Raspberry pi is near to me. (Next year, I will check more attentively my bag...) What do you want me I try ? (I'm not sure about the syntax of this sentence...)
First ensure the kernel headers are installed.
I've a little problem... I can't install the kernel headers.... (Raspbian didn't start when I changed the boot config to install the kernel headers) I've still some difficulties with Linux ! Could you help me ?
You should be able to do sudo apt-get install linux-headers-$(uname -r)
that should install them for you
Unfortunately, the package doesn't exist... apt-get can't find it.
What does this return sudo apt-cache search linux-header*
Huh... That's interesting
pi@raspberrypi:~ $ sudo apt-cache search linux-header*
linux-headers-3.10-3-all - All header files for Linux 3.10 (meta-package)
linux-headers-3.10-3-all-armhf - All header files for Linux 3.10 (meta-package)
linux-headers-3.10-3-common - Common header files for Linux 3.10-3
linux-headers-3.10-3-rpi - Header files for Linux 3.10-3-rpi
linux-headers-3.12-1-all - All header files for Linux 3.12 (meta-package)
linux-headers-3.12-1-all-armhf - All header files for Linux 3.12 (meta-package)
linux-headers-3.12-1-common - Common header files for Linux 3.12-1
linux-headers-3.12-1-rpi - Header files for Linux 3.12-1-rpi
linux-headers-3.16.0-4-all - All header files for Linux 3.16 (meta-package)
linux-headers-3.16.0-4-all-armhf - All header files for Linux 3.16 (meta-package)
linux-headers-3.16.0-4-common - Common header files for Linux 3.16.0-4
linux-headers-3.16.0-4-rpi - Header files for Linux 3.16.0-4-rpi
linux-headers-3.18.0-trunk-all - All header files for Linux 3.18 (meta-package)
linux-headers-3.18.0-trunk-all-armhf - All header files for Linux 3.18 (meta-package)
linux-headers-3.18.0-trunk-common - Common header files for Linux 3.18.0-trunk
linux-headers-3.18.0-trunk-rpi - Header files for Linux 3.18.0-trunk-rpi
linux-headers-3.18.0-trunk-rpi2 - Header files for Linux 3.18.0-trunk-rpi2
linux-headers-3.6-trunk-all - All header files for Linux 3.6 (meta-package)
linux-headers-3.6-trunk-all-armhf - All header files for Linux 3.6 (meta-package)
linux-headers-3.6-trunk-common - Common header files for Linux 3.6-trunk
linux-headers-3.6-trunk-rpi - Header files for Linux 3.6-trunk-rpi
linux-headers-4.4.0-1-all - All header files for Linux 4.4 (meta-package)
linux-headers-4.4.0-1-all-armhf - All header files for Linux 4.4 (meta-package)
linux-headers-4.4.0-1-common - Common header files for Linux 4.4.0-1
linux-headers-4.4.0-1-rpi - Header files for Linux 4.4.0-1-rpi
linux-headers-4.4.0-1-rpi2 - Header files for Linux 4.4.0-1-rpi2
linux-headers-rpi - Header files for Linux rpi configuration (meta-package)
linux-headers-rpi-rpfv - This metapackage will pull in the headers for the raspbian kernel for the
linux-headers-rpi2-rpfv - This metapackage will pull in the headers for the raspbian kernel for the
raspberrypi-kernel-headers - Header files for the Raspberry Pi Linux kernel
pi@raspberrypi:~ $ sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.4.17-v7
E: Couldn't find any package by regex 'linux-headers-4.4.17-v7'
Are you running a custom kernel?
No. I think that kernel headers aren't included in Raspbian, but I found that : https://www.raspberrypi.org/forums/viewtopic.php?f=71&t=17666&p=179845 I will try this evening.
The Raspberry Foundation doesn't let us access to kernel headers easily... I tried the link and it doesn't work... I think that I found the solution using rpi-source but there is an error with make. I think it's impossible that Razer driver work on Raspbian.
Maybe you could just try a more friendly distro on your raspberry pi. Maybe arch?
On Thu, Sep 1, 2016, 12:33 PM xelaco notifications@github.com wrote:
The Raspberry Foundation doesn't let us access to kernel headers easily... I tried the link and it doesn't work... I think that I found the solution using rpi-source but there is an error with make. I think it's impossible that Razer driver work on Raspbian.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pez2001/razer_chroma_drivers/issues/146#issuecomment-244040460, or mute the thread https://github.com/notifications/unsubscribe-auth/ABS6v-fzdRcU37olTMejy9kRd3k6biduks5qlqnfgaJpZM4JIRXu .
Hello, I've tried to install the drivers on my Raspberry pi and, obviously, it hasn't worked... So, I wonder if you will program a version for Raspbian. But, I think it's very hard because the architecture is : armhf. If you want the errors I have them in... French. You can read this post in the official forum in French.