Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linux 2.6.29 and Ricoh 05ca:1839 on amd64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rzolau
n00b
n00b


Joined: 29 Nov 2008
Posts: 9

PostPosted: Thu Jun 04, 2009 3:13 am    Post subject: linux 2.6.29 and Ricoh 05ca:1839 on amd64 Reply with quote

Hi, is there any chance to make Ricoh 05ca:1839 webcam working on amd64 with 2.6.29 kernel?

Thanks,

rzolau
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Thu Jun 04, 2009 10:58 am    Post subject: Reply with quote

well, can we have some information? ;)

was it working before? do you know which driver it's supposed to use? can you search for which driver it's supossed to use?
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
rzolau
n00b
n00b


Joined: 29 Nov 2008
Posts: 9

PostPosted: Thu Jun 04, 2009 2:45 pm    Post subject: Reply with quote

There are two drivers r5u870 and ov51x-jpeg that should work. And they work with kernels < 2.6.27. However, both fail to compile with 2.6.29 (problem with v4l being completely replaced by v4l2) and I just wonder if there are some other drivers (working with 2.6.29) that I don't know about.

Thanks,

rzolau
Back to top
View user's profile Send private message
scolpi
n00b
n00b


Joined: 15 Jun 2009
Posts: 35

PostPosted: Sat Jun 20, 2009 1:33 pm    Post subject: Reply with quote

I have a Ricoh webcam on my laptop

Quote:
Bus 005 Device 003: ID 05ca:1836 Ricoh Co., Ltd


It works fine with r5u87x-881.tar.gz (wget http://repo.intilinux.com/r5u87x-881.tar.gz) where there is the firmware, but everytime I start my pc I must go into r5u87x-881dbd07a263 directory and type:

Code:
rmmod uvcvudeo
./loader

r5u87x firmware loader v0.1
Searching for device...
Found camera   : 05ca:1836
Firmware       : ucode/r5u87x-05ca-1836.fw

Camera reports positive microcode state.
Camera reports microcode version 0x0115.
Not doing anything - camera already setup.

Successfully uploaded firmware to device 05ca:1836!

modprobe uvcvideo


before lshw -C multimedia gave me:

Quote:
-usb UNCLAIMED
description: Video
vendor: Ricoh Co., Ltd
physical id: 8
bus info: usb@5:8
version: 1.00
capabilities: usb-2.00
configuration: maxpower=100mA speed=480.0MB/s


after:

Quote:
-usb
description: Video
vendor: Ricoh Co., Ltd
physical id: 8
bus info: usb@5:8
version: 1.00
capabilities: usb-2.00
configuration: driver=uvcvideo maxpower=100mA speed=480.0MB/s


what is the problem?
Back to top
View user's profile Send private message
scolpi
n00b
n00b


Joined: 15 Jun 2009
Posts: 35

PostPosted: Thu Aug 06, 2009 8:16 am    Post subject: Reply with quote

I have solved in this way:

In /root

Code:
tar -xvzf r5u87x-881.tar.gz

cd r5u87x-881dbd07a263/

ln loader /usr/bin/loadfirmwarecam

mkdir /usr/lib64/r5u87x/

cp -r ucode   /usr/lib64/r5u87x/

cd /root

mkdir bin

cd bin/

vi webcam_init.sh 


write this:

Quote:
#!/bin/bash

/sbin/rmmod uvcvideo
/usr/bin/loadfirmwarecam
/sbin/modprobe uvcvideo



save and close

Code:

chmod u+x webcam_init.sh
vi /etc/init.d/cam_init


write this:

Quote:
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $


start() {
ebegin "Loading firmware webcam"
sh /root/bin/webcam_init.sh
eend $?
}



save and close

Code:
updare-rc  add cam_init boot


It'will work fine from next reboot!!!
Back to top
View user's profile Send private message
dsp
n00b
n00b


Joined: 02 Mar 2009
Posts: 5

PostPosted: Thu Sep 17, 2009 6:50 pm    Post subject: Loader Reply with quote

Hi, everybody

I also has the Ricoh webcam. And I would like know if the kernel integrates the ricoh's driver? Or if the kernel doesn't have a generic driver to load the firmeware?

I has 2.6.30 kernel.

Thinks,
I will test the method given by scolpi and it works fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum