Users online right now: 113 - Login  » search  » forum index  

HP DV6000 (DV6185eu) and it's Ricoh camera problem

Nex_pl
wrote 3 years ago


reply
Hi there,

I managed to install the nvidia drivers, wicd to use the wifi with wpa, but this seems to be beyond my skills :) I'm a linux noob, so please be patient.

Well, here it goes - installed first the firmware, then the driver (used deb2lzm for both: ricoh-webcam-r5u870-firmware_0.11.4-0arakhne1_amd64.deb and ricoh-webcam-r5u870_0.11.4-0arakhne1_amd64.deb). Copied both into modules folder and restarted slax. Now under lsusb I get the following:

Bus 001 Device 002: ID 05ca:1870 Ricoh Co., Ltd Webcam 1000


Well... things would be pretty but... :) When I type mplayer tv:// i get:

root@slax:~# mplayer tv://
MPlayer dev-SVN-r26343-4.2.3 (C) 2000-2008 MPlayer Team
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-56 (Family: 15, Model: 72, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski
comment: first try, more to come ;-)
v4l2: unable to open '/dev/video0': No such file or directory
v4l2: ioctl set mute failed: Bad file descriptor
v4l2: 0 frames successfully processed, 0 frames dropped.


Exiting... (End of file)


In skype also all what I get is nothing. Could somebody please help me with getting through this stubborn drivers? :) Thank you very much in advance for any help.

Cheers,
 
jayflood
wrote 3 years ago


reply
IMHO it would be better to build the drivers from source.

http://download.tuxfamily.org/arakhne/pool/r/ricoh-webcam-r5u870/


cd ~/Desktop
wget http://download.tuxfamily.org/arakhne/pool/r/ricoh-webcam-r5u870/ricoh-webcam-r5u870_0.11.4-0arakhne1.tar.gz
tar xvf ricoh-webcam-r5u870_0.11.4-0arakhne1.tar.gz
cd ricoh*
tar xf r5u870-0.11.4.tar.bz2
cd r5*
mkdir /tmp/ricoh
make
make install DESTDIR=/tmp/ricoh
lzm2dir /tmp/ricoh ~/Desktop/ricoh-webcam.lzm
cp r5u870_*.fw /lib/firmware


Now copy the module from the desktop into the slax/modules folder and activate it.
modprobe r5u870

This may well not help anything at all, but i think you are better rollin yer own as opposed to converting a deb package.
 
fanthom
wrote 3 years ago


reply
@Nex_pl
small explanation: amd64 packages are for 64bit distros, slax is 32bit...
 
Nex_pl
wrote 3 years ago


reply
@fanthom

You got me there :) Tried the i386 but no difference.

@jayflood
Thanks very much, but I've got some problem in make:

root@slax:~/ricoh-webcam-r5u870-0.11.4/r5u870# make
make -C /lib/modules/2.6.27.27/build M=/root/ricoh-webcam-r5u870-0.11.4/r5u870 V=0 modules
make[1]: Entering directory `/usr/src/linux-2.6.27.27'

WARNING: Symbol version dump /usr/src/linux-2.6.27.27/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /root/ricoh-webcam-r5u870-0.11.4/r5u870/r5u870.o
/root/ricoh-webcam-r5u870-0.11.4/r5u870/r5u870.c:875:1: warning: "V4L2_CID_LASTP1" redefined
In file included from include/linux/videodev.h:16,
from /root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam.h:38,
from /root/ricoh-webcam-r5u870-0.11.4/r5u870/r5u870.c:60:
include/linux/videodev2.h:873:1: warning: this is the location of the previous definition
/root/ricoh-webcam-r5u870-0.11.4/r5u870/r5u870.c: In function 'r5u870_uvc_add_fmt':
/root/ricoh-webcam-r5u870-0.11.4/r5u870/r5u870.c:1543: warning: passing argument 1 of '__constant_c_and_count_memset' discards qualifiers from pointer target type
/root/ricoh-webcam-r5u870-0.11.4/r5u870/r5u870.c:1543: warning: passing argument 1 of '__constant_c_memset' discards qualifiers from pointer target type
CC [M] /root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam_dev.o
CC [M] /root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam_fops.o
/root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam_fops.c: In function 'usbcam_v4l_ioctl':
/root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam_fops.c:1192: warning: passing argument 5 of 'video_usercopy' from incompatible pointer type
/root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam_fops.c:1183: warning: unused variable 'udp'
/root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam_fops.c: At top level:
/root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam_fops.c:1229: warning: initialization from incompatible pointer type
/root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam_fops.c:56: warning: 'v4l_ioctl_names' defined but not used
CC [M] /root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam_buf.o
CC [M] /root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam_util.o
LD [M] /root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam.o
Building modules, stage 2.
MODPOST 2 modules
CC /root/ricoh-webcam-r5u870-0.11.4/r5u870/r5u870.mod.o
LD [M] /root/ricoh-webcam-r5u870-0.11.4/r5u870/r5u870.ko
CC /root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam.mod.o
LD [M] /root/ricoh-webcam-r5u870-0.11.4/r5u870/usbcam/usbcam.ko
make[1]: Leaving directory `/usr/src/linux-2.6.27.27'


What have I messed up this time...?
 
fanthom
wrote 3 years ago


reply
@Nex_pl
nothing, just type 'make install' then 'depmod -a' then 'modprobe r5u870'
 
Nex_pl
wrote 3 years ago


reply
@fanthom

Ok, thanks again, it works now in skype :) I have other kind of problem, colors after a while get messed up, it looks like a problem with white surfaces, driver problem, or this YUYV format? Damn, still need to learn a lot :)
 
jayflood
wrote 3 years ago


reply
What kind of graphics card?

I have a crappy viewsonic VE500 monitor that suffers from brightness blowout. I eventually found some graphics drivers that fixed it.

Look at: lspci
 
Nex_pl
wrote 3 years ago


reply
@jayflood

Geforce Go 7200. All light sources appear to be black or red in vision from the webcam, even TV or white shirt which reflects as I suppose some light.

lspci

root@slax:~/Downloads# lspci
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.3 Co-processor: nVidia Corporation MCP51 PMU (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
03:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 01)
05:00.0 VGA compatible controller: nVidia Corporation GeForce Go 7200 (rev a1)
07:05.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
07:05.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
07:05.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 0a)
07:05.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 05)
07:05.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
 
jayflood
wrote 3 years ago


reply
You sure you installed the correct nvidia drivers for a nVidia Corporation GeForce Go 7200?
 
fanthom
wrote 3 years ago


reply
Nex_pl wrote:
All light sources appear to be black or red in vision from the webcam

i think it's a webcam driver problem not nvidia. look here:
http://www.slax.org/forum.php?action=view&parentID=51307
EDIT:
also try to switch the light on - in your room. I have better vision in my webcam with extra source of light.
 
Nex_pl
wrote 3 years ago


reply
@jayflood

well... I;m not sure, but driver page on Nvidia pointed me to the same version that lays in the modules section. Anyways my VGA output now works, so I suppose these are the correct drivers, even though in the supported cards section there is no Go 7200 ;) Miracle.

@fanthom
yup, something is wrong, but the webcam is the last device that I intend to use in this laptop :)

Anyway, a very big Thank You for everyone that helped me in this topic.
 
Nex_pl
wrote 3 years ago


reply
Well I've got another problem :)

Lately my firefox got something wrong with the settings saving, I get error:

Cannot find secure socket path in /tmp

What the hell is this? :) Before that I got always a warning, that firefox couldn't save or open ( I don't remember now) configurations file, probably it got deleted or just vanished. How can I repair that? Tried to activate a new firefox module, but with no success. Any hope?
 

  » search  » forum index  

Post your reply

Your name (Login):

Message:

These HTML tags are allowed: <quote>, <b>, <u>, <i>, <pre>, <code>, <small>, <h1>, <h2>, <h3>, <li>



Slax is generously supported by: P&P Software GmbH and wisol technologie GmbH