Hi,
I have installed Slackware current on my Sony Vaio VGN-CR11S laptop. Almost everything works and I am impressed of how smooth and fast Slackware is on my laptop. There is one problem though, my webcam is not recognized. An lsusb gives this:
Bus 001 Device 003: ID 05ca:1839 Ricoh Co., Ltd Visual Communication Camera VGP-VCC6 [R5U870]
However, dmesg | grep r5u870 or dmesg doesnt list my webcam, so i need to install a driver. I used the driver "r5u870_patched.tar.bz2" from "http://sites.google.com/site/avilella/vaiosz". But when i try to make i get following errors:
Code:
bash-4.1# make
make -C /lib/modules/2.6.37.6/build M=/home/expander/Downloads/r5u870_patched V=0 modules
make[1]: Entering directory `/usr/src/linux-2.6.37.6'
CC [M] /home/expander/Downloads/r5u870_patched/r5u870.o
/home/expander/Downloads/r5u870_patched/r5u870.c: In function 'r5u870_control_msg':
/home/expander/Downloads/r5u870_patched/r5u870.c:174:3: error: implicit declaration of function 'kmalloc'
/home/expander/Downloads/r5u870_patched/r5u870.c:174:8: warning: assignment makes pointer from integer without a cast
/home/expander/Downloads/r5u870_patched/r5u870.c:196:3: error: implicit declaration of function 'kfree'
/home/expander/Downloads/r5u870_patched/r5u870.c: In function 'r5u870_microcode_upload':
/home/expander/Downloads/r5u870_patched/r5u870.c:311:10: warning: cast to pointer from integer of different size
/home/expander/Downloads/r5u870_patched/r5u870.c: At top level:
/home/expander/Downloads/r5u870_patched/r5u870.c:872:0: warning: "V4L2_CID_PRIVACY" redefined
include/linux/videodev2.h:1298:0: note: this is the location of the previous definition
/home/expander/Downloads/r5u870_patched/r5u870.c:874:0: warning: "V4L2_CID_LASTP1" redefined
include/linux/videodev2.h:1054:0: note: this is the location of the previous definition
/home/expander/Downloads/r5u870_patched/r5u870.c: In function 'r5u870_uvc_add_fmt':
/home/expander/Downloads/r5u870_patched/r5u870.c:1518:8: warning: cast to pointer from integer of different size
/home/expander/Downloads/r5u870_patched/r5u870.c:1532:20: warning: cast to pointer from integer of different size
make[2]: *** [/home/expander/Downloads/r5u870_patched/r5u870.o] Error 1
make[1]: *** [_module_/home/expander/Downloads/r5u870_patched] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.37.6'
make: *** [all] Error 2
Why do i get this error? Anyone out there who did manage to enable r5u870 with Slackware?
Is there a newer driver version out there or perharps a specific driver for Slackware that I should use instead, though i cannot find it anywhere when googling.
/eXpander