You are not logged in.
Pages: 1
Hello all,
I was searching for a driver for my ricoh webcam (05ca:1870) in my hp pavilion dv1000.
I know that here http://bitbucket.org/ahixon/r5u87x/ there's a user space tool manager cameras based on Ricoh R5U87x chipsets though uvcvideo, but my webcam did not work (no /dev/video0).
But searching a bit more i found this http://www.palmix.org/r5u870-en.html, here there's an update for the old r4u870 driver to build with the 2.6.30 kernel (32 and 64 bits). I modified the PKGBUILD in http://aur.archlinux.org/packages.php?ID=15226.
The package is builded and installed ok, but after I activate the module (with modprobe r5u870) and tested with gstreamer (gst-launch-0.10 v4l2 ! ffmpegcolorspace ! autovideosink) it only capture one image and then gst-launch-0.10 shows a bunch of:
(gst-launch-0.10:31682): GStreamer-CRITICAL **: gst_util_uint64_scale_int: assertion `denom > 0' failed
I want to know if someone has this type webcam and can try this packages, and of course modify the PKGBUILD to add support both i686 and x86_64.
If someone made it work please send me how.
# Contributor: Alessandro Sagratini <ale_sagra@hotmail.com>
# Contributor: Matias De la Puente <mfpuente.ar@gmail.com>
_kernver=2.6.30-ARCH
pkgname=r5u870
pkgver=0.11.3
pkgrel=1
pkgdesc="Linux device driver for Ricoh R5U870 OEM cameras."
arch=('i686')
url="http://www.palmix.org/r5u870-en.html"
license=('GPL2')
install=r5u870.install
depends=('kernel26>=${_kernver}')
source=(http://www.palmix.org/download/r5u870_k2.6.30_i386.tar.bz2)
md5sums=('8f285c1bc28a6dc32835d1973f2d7b6c')
build() {
cd $startdir/src/$pkgname
sed -i -e 's/\/sbin\/depmod -a//g' Makefile
make || return 1
#Install kernel module
install -D -m644 usbcam/usbcam.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/media/video/usbcam.ko
install -D -m644 r5u870.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/media/video/r5u870.ko
#Install firmwares
for i in *.fw; do
install -D -m 644 $i $startdir/pkg/lib/firmware/$i
done
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/r5u870.install
}
Offline
Hello mfpuente!
Some changes in PKGBUILD (it's only syntactical, not functional)
1. You need for a Maintainer in the PKGBUILD, if you will adopt it, you.
2. Description should not contain the package name.
3. $startdir/src -> $srcdir
4. $startdir/pkg -> $pkgdir
Offline
I copied r5u870.install from the aur package, then tried your PKGBUILD, only modifying arch to x86_64. Got a make error....
make[1]: Entering directory `/usr/src/linux-2.6.30-ARCH'
CC [M] /home/firecat53/src/webcam/src/r5u870/r5u870.o
CC [M] /home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_dev.o
CC [M] /home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.o
/home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c: In function 'usbcam_v4l_ioctl':
/home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c:1163: warning: unused variable 'udp'
/home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c: At top level:
/home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c:1199: error: unknown field 'compat_ioctl' specified in initializer
/home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.c:1199: error: 'v4l_compat_ioctl32' undeclared here (not in a function)
make[3]: *** [/home/firecat53/src/webcam/src/r5u870/usbcam/usbcam_fops.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/home/firecat53/src/webcam/src/r5u870/usbcam] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/home/firecat53/src/webcam/src/r5u870] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30-ARCH'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Any ideas?
Scott
Offline
Pages: 1