LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-15-2011, 11:06 AM   #1
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 544

Rep: Reputation: 193Reputation: 193
r5u870 webcam problems


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

Last edited by Bindestreck; 07-15-2011 at 11:09 AM.
 
Old 07-15-2011, 11:57 AM   #2
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 544

Original Poster
Rep: Reputation: 193Reputation: 193
I managed to find the newest driver ricoh-webcam-r5u870_0.11.6-0arakhne0.tar.gz from http://download.tuxfamily.org/arakhn...webcam-r5u870/. However i still get make errors:

Code:
bash-4.1# make
make -C /lib/modules/2.6.37.6/build M=/home/expander/Downloads/ricoh-webcam-r5u870-0.11.6/r5u870 V=0 modules
make[1]: Entering directory `/usr/src/linux-2.6.37.6'
  CC [M]  /home/expander/Downloads/ricoh-webcam-r5u870-0.11.6/r5u870/r5u870.o
/home/expander/Downloads/ricoh-webcam-r5u870-0.11.6/r5u870/r5u870.c: In function 'r5u870_control_msg':
/home/expander/Downloads/ricoh-webcam-r5u870-0.11.6/r5u870/r5u870.c:175:3: error: implicit declaration of function 'kmalloc'
/home/expander/Downloads/ricoh-webcam-r5u870-0.11.6/r5u870/r5u870.c:175:8: warning: assignment makes pointer from integer without a cast
/home/expander/Downloads/ricoh-webcam-r5u870-0.11.6/r5u870/r5u870.c:197:3: error: implicit declaration of function 'kfree'
/home/expander/Downloads/ricoh-webcam-r5u870-0.11.6/r5u870/r5u870.c: In function 'r5u870_microcode_upload':
/home/expander/Downloads/ricoh-webcam-r5u870-0.11.6/r5u870/r5u870.c:312:10: warning: cast to pointer from integer of different size
/home/expander/Downloads/ricoh-webcam-r5u870-0.11.6/r5u870/r5u870.c: In function 'r5u870_uvc_add_fmt':
/home/expander/Downloads/ricoh-webcam-r5u870-0.11.6/r5u870/r5u870.c:1521:8: warning: cast to pointer from integer of different size
/home/expander/Downloads/ricoh-webcam-r5u870-0.11.6/r5u870/r5u870.c:1535:20: warning: cast to pointer from integer of different size
make[2]: *** [/home/expander/Downloads/ricoh-webcam-r5u870-0.11.6/r5u870/r5u870.o] Error 1
make[1]: *** [_module_/home/expander/Downloads/ricoh-webcam-r5u870-0.11.6/r5u870] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.37.6'
make: *** [all] Error 2

Last edited by Bindestreck; 07-15-2011 at 12:02 PM.
 
Old 07-15-2011, 12:21 PM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,037

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
ID 05ca:1839 Ricoh Co., Ltd Visual Communication Camera VGP-VCC6 [R5U870]
According to this, https://bitbucket.org/ahixon/r5u87x/...del_matrix.txt , your device is supported by the r5u87x driver. I downloaded the source from here https://bitbucket.org/ahixon/r5u87x/downloads and it compiled without difficulty.

From http://www.arakhne.org/ricoh/index.html
Quote:
The driver r5u870 is being replaced by a set of userland tools named r5u87x. These tools load the firmware for the supported uvcvideo webcams and make those work with the standard kernel driver.
 
Old 07-15-2011, 12:35 PM   #4
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 544

Original Poster
Rep: Reputation: 193Reputation: 193
Ah, thank you so much allend. Now it works!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
webcam problems wtkb Linux - Newbie 3 08-28-2009 07:10 AM
Problems with webcam Dionysian Linux - Hardware 12 08-31-2006 12:21 PM
Problems with webcam UltraVixen Linux - Newbie 11 08-24-2006 03:08 AM
Webcam Problems Nay_Nay Linux - Newbie 2 02-21-2006 10:50 PM
Webcam problems ricguitar SUSE / openSUSE 1 12-12-2005 07:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration