I’ve got a vaio FZ38 with opensuse11.0 64 bits and kernel 2.6.26.5.
Since 2.6.26, r5u870 is not working anymore.
So I hav tried to use uvc module as it supports a ricoh integrated webcam on dell studio, neraly the same webcam as mine.
But when I try to load the module it does not work : here is dmesg :
uvcvideo: Adding mapping Brightness to control 00000000-0000-0000-0000-000000000101/2.
uvcvideo: Adding mapping Contrast to control 00000000-0000-0000-0000-000000000101/3.
uvcvideo: Adding mapping Hue to control 00000000-0000-0000-0000-000000000101/6.
uvcvideo: Adding mapping Saturation to control 00000000-0000-0000-0000-000000000101/7.
uvcvideo: Adding mapping Sharpness to control 00000000-0000-0000-0000-000000000101/8.
uvcvideo: Adding mapping Gamma to control 00000000-0000-0000-0000-000000000101/9.
uvcvideo: Adding mapping Backlight Compensation to control 00000000-0000-0000-0000-000000000101/1.
uvcvideo: Adding mapping Gain to control 00000000-0000-0000-0000-000000000101/4.
uvcvideo: Adding mapping Power Line Frequency to control 00000000-0000-0000-0000-000000000101/5.
uvcvideo: Adding mapping Hue, Auto to control 00000000-0000-0000-0000-000000000101/16.
uvcvideo: Adding mapping Exposure, Auto to control 00000000-0000-0000-0000-000000000001/2.
uvcvideo: Adding mapping Exposure, Auto Priority to control 00000000-0000-0000-0000-000000000001/3.
uvcvideo: Adding mapping Exposure (Absolute) to control 00000000-0000-0000-0000-000000000001/4.
uvcvideo: Adding mapping White Balance Temperature, Auto to control 00000000-0000-0000-0000-000000000101/11.
uvcvideo: Adding mapping White Balance Temperature to control 00000000-0000-0000-0000-000000000101/10.
uvcvideo: Adding mapping White Balance Component, Auto to control 00000000-0000-0000-0000-000000000101/13.
uvcvideo: Adding mapping White Balance Blue Component to control 00000000-0000-0000-0000-000000000101/12.
uvcvideo: Adding mapping White Balance Red Component to control 00000000-0000-0000-0000-000000000101/12.
uvcvideo: Adding mapping Focus (absolute) to control 00000000-0000-0000-0000-000000000001/6.
uvcvideo: Adding mapping Focus, Auto to control 00000000-0000-0000-0000-000000000001/8.
uvcvideo: Probing generic UVC device 2
uvcvideo: Found format YUV 4:2:2 (YUYV).
uvcvideo: - 640x480 (30.0 fps)
uvcvideo: - 1280x1024 (7.5 fps)
uvcvideo: - 320x240 (30.0 fps)
uvcvideo: - 176x144 (30.0 fps)
uvcvideo: - 160x120 (30.0 fps)
uvcvideo: Found a Status endpoint (addr 82).
uvcvideo: Found UVC 1.00 device <unnamed> (05ca:183b)
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 2 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device 2 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to device 2 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device 2 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to device 2 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/9 to device 2 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/1 to device 2 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/5 to device 2 entity 2
uvcvideo: Scanning UVC chain: OT 3 <- XU 4 <- PU 2 <- IT 1
uvcvideo: Found a valid video chain (1 -> 3).
uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26).
uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -32 (exp. 26).
uvcvideo: Failed to initialize the device (-5).
usbcore: registered new interface driver uvcvideo
USB Video Class driver (SVN r252)
In order to provide help, most of us like to first understand the basics of your setup, … which is to first check you have the correct driver installed, and to know the device/vendor ID of your webcam. Please, with usbutils installed, post here the output of:
lsusb
uname -a
rpm -qa | grep uvc
rpm -qa | grep spc
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 046d:c526 Logitech, Inc.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05ca:183b Ricoh Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
uname -a
Linux linux 2.6.26.5-default #6 SMP Fri Sep 26 18:53:24 CEST 2008 x86_64 x86_64 x86_64 GNU/Linux
rpm -qa | grep uvc
Nothing : normal, I am using uvcvideo from svn, latest version.
OK, the original kernel that came with openSUSE-11.0 (ie not updated).
I searched the openSUSE webcam site HCL/Web Cameras - openSUSE and looked for your web cam support under uvc Linux UVC driver & tools and from what I can see, it is not supported. ie. uvc is not the correct driver for you. I recommend you uninstall that driver.
If you search webpin you can find an rpm already compiled for that driver: Webpin search for R5u870
I recommend AFTER you remove the uvc driver (that removal is very important) that you install the R5u870 as follows. Open a konsole or gnome-terminal (with your PC connected to the internet) and type “su” to get root permissions (enter root password when prompted). Then copy and paste the following 3 zypper commands in sequence:
zypper ar http://download.opensuse.org/repositories/drivers:/webcam/openSUSE_11.0 webcam1
That will install r5u870-kmp-default (0.11.1_2.6.25.5_1.1) and I am assuming by adding the repos, it will pickup the r5u870-firmware if and as required.
You may need to reboot to reload the appropriate kernel module. Good luck!
My kernel is not the one from opensuse but a compiled one by myself.
And as I said in my first post, r5u870 is not working anymore with 2.6.26. As I found on uvc supported devices a ricoh webcam integrated on dell notebooks I tought it could work for my cam too.
I will try to use the r5u870 driver from the package.
I have exact same webcam but i’m on openSUSE 11.1(64bits) and i can’t find any R5u870 drivers for this version.
Any idea how i can get these drivers for my system ?
You could download the “src” rpm and rebuild from source. You could also download the tarball and rebuild the driver from the tarball. Or you could send the packager of the rpms for 11.0 a polite email and ask if they would also package a version for openSUSE-11.1
You need the uvcvideo module and also search on the buildservice for a rpm called r5u87x-loader
After installing these, you can do in a terminal as su
loader
rmmod uvcvideo
modprobe uvcvideo
This will work as long as you don’t shut down your vaio. Or do this everytime you want to use the webcam or put in a script that does this when you start your laptop.
Typically I would grab the previous openSUSE version, download it, and find out from the previous version. … so in this case I went to Index of /repositories/drivers:/webcam/openSUSE_11.0/i586 and downloaded rpm -qp r5u870-kmp-default-0.11.1_2.6.25.5_1.1-5.1.i586.rpm and then ran the command:
which gave me:
warning: r5u870-kmp-default-0.11.1_2.6.25.5_1.1-5.1.i586.rpm: Header V3 DSA signature: NOKEY, key ID 8004ab61
Name : r5u870-kmp-default Relocations: (not relocatable)
Version : 0.11.1_2.6.25.5_1.1 Vendor: openSUSE Build Service
Release : 5.1 Build Date: Thu 10 Jul 2008 12:26:56 PM CEST
Install Date: (not installed) Build Host: build12
Group : System/Kernel Source RPM: r5u870-0.11.1-5.1.src.rpm
Size : 94197 License: GPL v2
Signature : DSA/SHA1, Thu 10 Jul 2008 12:27:06 PM CEST, Key ID e78a176d8004ab61
URL : http://wiki.mediati.org/R5u870
Summary : Webcam driver for Ricoh r5u870
Description :
Distribution: drivers:webcam / openSUSE_11.0which unfortunately did not help this time, as the packager did not put their email address inside.
Normally the packagers do. Let me give you a completely unrelated package, where this works. For example, consider the installed app libxine1. If I type:
rpm -qi libxine1
(note the command is different for installed rpms) I get:
Name : libxine1 Relocations: (not relocatable)
Version : 1.1.15 Vendor: packman.links2linux.de
Release : 44.pm.2 Build Date: Sun 02 Nov 2008 12:09:36 AM CET
Install Date: Tue 23 Dec 2008 11:35:18 PM CET Build Host: pmbs
Group : Productivity/Multimedia/Video/Players Source RPM: xine-lib-1.1.15-44.pm.2.src.rpm
Size : 6257179 License: GPL v2 or later
Signature : DSA/SHA1, Sun 02 Nov 2008 12:09:42 AM CET, Key ID f899f20d9a795806
Packager : Manfred Tremmel <Manfred.Tremmel at iiv.de>
URL : xine - A Free Video Player - Home
Summary : Video Player with Plug-Ins
Description :
xine is a video player with a graphical front-end that supports a large
number of file formats (VCD and MPEG2, for example) using plug-ins.
Several plug-ins are included. Others can be installed after xine
installation. xine supports stereo sound using OSS and AC5.1 using
Alsa.
Hope you can help, I’m new to linux, and I have managed to install suse 11.1. however I;m having a problem with the webcam, here are the details:-
uname -a
Linux linux-qpqp 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 athlon i386 GNU/Linux
lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0458:003a KYE Systems Corp. (Mouse Systems)
Bus 001 Device 004: ID 04b4:00ff Cypress Semiconductor Corp.
Bus 001 Device 003: ID 0424:2507 Standard Microsystems Corp.
Bus 001 Device 002: ID 05ca:1810 Ricoh Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Problem: nothing provides kernel(default:vmlinux) = e61690aa8c2e0b5e needed by r5u870-kmp-default-0.11.1_2.6.25.18_0.2-5.6.i586
Solution 1: do not ask to install a solvable providing r5u870-kmp-default
Choose the above solution using ‘1’ or cancel using ‘c’ [1/C]: 1
Resolving dependencies…
Resolving package dependencies…
Nothing to do.
At the point I restarted the laptop
then
lsusb
susb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0458:003a KYE Systems Corp. (Mouse Systems)
Bus 001 Device 004: ID 04b4:00ff Cypress Semiconductor Corp.
Bus 001 Device 003: ID 0424:2507 Standard Microsystems Corp.
Bus 001 Device 002: ID 05ca:1810 Ricoh Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
still cant access the cam via amsn can anyone help please
You might want to try the patched version I did to the r5u870, it works for me anyway in amsn and skype.
See Edward’s Linux Page
My precompiled modules are for kernel 2.6.27.7-9-pae (check what you have by typing uname -a). If that doesn’t work then get the source and do make and make install as root (assuming you have compiler & kernel source installed).
Regards,
Edward