Fedora Linux Support Community & Resources Center
  #1  
Old 12th May 2009, 04:04 PM
Las's Avatar
Las Offline
Registered User
 
Join Date: Oct 2007
Posts: 27
Webcam Ricoh Motion Eye on fedora 11

Hello I need your help,
I have a Sony VAIO, with a Motion Eye webcam, it works on vista but not on fedora 11 preview.

Quote:
-$ lsusb :
Bus 001 Device 003: ID 05ca:1839 Ricoh Co., Ltd Visual Communication Camera VGP-VCC6 [R5U870]
I've found the driver r5u870 on : http://bitbucket.org/ahixon/r5u87x

I've downloaded it and tried to compile it, but I got this error:
Quote:
[root@localhost r5u87x]# make
cc -g -Wall -DHAVE_CONFIG_H -DUCODE_PATH=\"/usr/lib/r5u87x/ucode/r5u87x-%vid%-%pid%.fw\" `pkg-config --cflags glib-2.0 libusb` -c loader.c loader.h
Package libusb was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb' found
loader.c:28:18: erreur: glib.h : Aucun fichier ou dossier de ce type
loader.c:29:25: erreur: glib/gstdio.h : Aucun fichier ou dossier de ce type
loader.c:30:17: erreur: usb.h : Aucun fichier ou dossier de ce type
In file included from loader.c:32:
loader.h:42: erreur: expected declaration specifiers or ‘...’ before ‘gint’
loader.c:38: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
loader.c:39: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘force_clear’
loader.c:40: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘no_load’
loader.c:42: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
loader.c:43: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dump_ucode’
loader.c:44: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘reload’
loader.c:46: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘entries’
loader.c:71: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
loader.c:89: erreur: expected declaration specifiers or ‘...’ before ‘gint’
loader.c: In function ‘find_device’:
loader.c:91: erreur: ‘gint’ undeclared (first use in this function)
loader.c:91: erreur: (Each undeclared identifier is reported only once
loader.c:91: erreur: for each function it appears in.)
loader.c:91: erreur: expected ‘;’ before ‘i’
loader.c:95: attention : implicit declaration of function ‘usb_get_busses’
loader.c:95: attention : assignment makes pointer from integer without a cast
loader.c:96: erreur: déréférencement d'un pointeur de type incomplet
loader.c:99: erreur: déréférencement d'un pointeur de type incomplet
loader.c:99: erreur: déréférencement d'un pointeur de type incomplet
loader.c:101: erreur: ‘i’ undeclared (first use in this function)
loader.c:102: erreur: déréférencement d'un pointeur de type incomplet
loader.c:103: erreur: déréférencement d'un pointeur de type incomplet
loader.c:104: erreur: déréférencement d'un pointeur de type incomplet
loader.c:106: erreur: ‘version’ undeclared (first use in this function)
loader.c: Hors de toute fonction :
loader.c:121: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘r5u87x_ucode_upload’
loader.c:203: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘r5u87x_ucode_status’
loader.c:220: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘r5u87x_ucode_version’
loader.c:239: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘r5u87x_ucode_enable’
loader.c:256: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘r5u87x_ucode_clear’
loader.c:277: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
loader.c:291: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘load_firmware’
loader.c:411: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘main’
loader.h:21:18: erreur: glib.h : Aucun fichier ou dossier de ce type
loader.h:42: erreur: expected declaration specifiers or ‘...’ before ‘gint’
make: *** [loader.o] Erreur 1
What should I do ??
Reply With Quote
  #2  
Old 12th May 2009, 07:00 PM
Loki1950's Avatar
Loki1950 Offline
Registered User
 
Join Date: Feb 2005
Location: Ottawa ,Canada
Posts: 443
Try installing the devel package for libusb "yum install libusb-devel"

Enjoy the Choice
__________________
Enjoy the Choice:)
Q8200/Asus P5QDLDX/2G ram/500G HD f10/Evga 9800gt 512M
XP2500 Barton/AsusA7N8X Deluxe/768M RAM/6800gt 128M WinXPpro SP3 120 Gb ntft f10 80 Gb ext3
Reply With Quote
  #3  
Old 14th May 2009, 03:50 PM
Las's Avatar
Las Offline
Registered User
 
Join Date: Oct 2007
Posts: 27
thanks Loki1950, I've installed it but, the cam didn't work because what I've installed wasn't the driver, but R5U87x Userspace Tools...

so I downloaded the driver Ricoh R5U870 Linux Driver Version 0.11.1, and when I try to compile it I get :

Quote:
[root@localhost r5u870-0.11.1]# make
make -C /lib/modules/2.6.29.2-126.fc11.i586/build M=/opt/r5u870-0.11.1 V=0 modules
make: *** /lib/modules/2.6.29.2-126.fc11.i586/build: Aucun fichier ou dossier de ce type. Arrêt.
make: *** [all] Erreur 2
and when I use :
make KDIR=/usr/src/kernels/2.6.29.2-126.fc11.i686.PAE/

Quote:
[root@localhost r5u870-0.11.1]# make KDIR=/usr/src/kernels/2.6.29.2-126.fc11.i686.PAE/
make -C /usr/src/kernels/2.6.29.2-126.fc11.i686.PAE/ M=/opt/r5u870-0.11.1 V=0 modules
make[1]: entrant dans le répertoire « /usr/src/kernels/2.6.29.2-126.fc11.i686.PAE »
CC [M] /opt/r5u870-0.11.1/usbcam/usbcam_fops.o
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c: In function ‘usbcam_v4l_ioctl’:
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1167: erreur: implicit declaration of function ‘video_usercopy’
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1171: erreur: implicit declaration of function ‘video_ioctl2’
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c: Hors de toute fonction :
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1213: erreur: unknown field ‘type’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1214: erreur: unknown field ‘type2’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1217: erreur: unknown field ‘vidioc_querycap’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1217: attention : initialization makes integer from pointer without a cast
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1217: erreur: un élément de l'initialisation n'est pas évaluable lors du chargement
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1217: erreur: (near initialization for ‘usbcam_videodev_template.num’)
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1218: erreur: unknown field ‘vidioc_enum_fmt_cap’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1218: attention : initialization makes integer from pointer without a cast
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1219: erreur: unknown field ‘vidioc_g_fmt_cap’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1219: attention : initialization makes integer from pointer without a cast
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1220: erreur: unknown field ‘vidioc_s_fmt_cap’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1220: attention : initialization makes integer from pointer without a cast
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1221: erreur: unknown field ‘vidioc_try_fmt_cap’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1221: attention : initialization makes integer from pointer without a cast
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1221: erreur: un élément de l'initialisation n'est pas évaluable lors du chargement
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1221: erreur: (near initialization for ‘usbcam_videodev_template.tvnorms’)
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1222: erreur: unknown field ‘vidioc_reqbufs’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1222: attention : initialization makes integer from pointer without a cast
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1222: erreur: un élément de l'initialisation n'est pas évaluable lors du chargement
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1222: erreur: (near initialization for ‘usbcam_videodev_template.current_norm’)
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1223: erreur: unknown field ‘vidioc_querybuf’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1223: attention : initialization from incompatible pointer type
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1224: erreur: unknown field ‘vidioc_qbuf’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1224: attention : initialization from incompatible pointer type
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1225: erreur: unknown field ‘vidioc_dqbuf’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1225: attention : éléments en excès dans l'initialisation de la structure
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1225: attention : (near initialization for ‘usbcam_videodev_template’)
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1226: erreur: unknown field ‘vidiocgmbuf’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1226: attention : éléments en excès dans l'initialisation de la structure
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1226: attention : (near initialization for ‘usbcam_videodev_template’)
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1227: erreur: unknown field ‘vidioc_enum_input’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1227: attention : éléments en excès dans l'initialisation de la structure
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1227: attention : (near initialization for ‘usbcam_videodev_template’)
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1228: erreur: unknown field ‘vidioc_streamon’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1228: attention : éléments en excès dans l'initialisation de la structure
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1228: attention : (near initialization for ‘usbcam_videodev_template’)
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1229: erreur: unknown field ‘vidioc_streamoff’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1229: attention : éléments en excès dans l'initialisation de la structure
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1229: attention : (near initialization for ‘usbcam_videodev_template’)
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1230: erreur: unknown field ‘vidioc_g_input’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1230: attention : éléments en excès dans l'initialisation de la structure
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1230: attention : (near initialization for ‘usbcam_videodev_template’)
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1231: erreur: unknown field ‘vidioc_s_input’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1231: attention : éléments en excès dans l'initialisation de la structure
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1231: attention : (near initialization for ‘usbcam_videodev_template’)
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1232: erreur: unknown field ‘vidioc_queryctrl’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1232: attention : éléments en excès dans l'initialisation de la structure
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1232: attention : (near initialization for ‘usbcam_videodev_template’)
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1233: erreur: unknown field ‘vidioc_g_ctrl’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1233: attention : éléments en excès dans l'initialisation de la structure
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1233: attention : (near initialization for ‘usbcam_videodev_template’)
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1234: erreur: unknown field ‘vidioc_s_ctrl’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1234: attention : éléments en excès dans l'initialisation de la structure
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1234: attention : (near initialization for ‘usbcam_videodev_template’)
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1235: erreur: unknown field ‘vidioc_querymenu’ specified in initializer
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1235: attention : éléments en excès dans l'initialisation de la structure
/opt/r5u870-0.11.1/usbcam/usbcam_fops.c:1235: attention : (near initialization for ‘usbcam_videodev_template’)
make[3]: *** [/opt/r5u870-0.11.1/usbcam/usbcam_fops.o] Erreur 1
make[2]: *** [/opt/r5u870-0.11.1/usbcam] Erreur 2
make[1]: *** [_module_/opt/r5u870-0.11.1] Erreur 2
make[1]: quittant le répertoire « /usr/src/kernels/2.6.29.2-126.fc11.i686.PAE »
make: *** [all] Erreur 2
Reply With Quote
  #4  
Old 14th May 2009, 08:17 PM
Loki1950's Avatar
Loki1950 Offline
Registered User
 
Join Date: Feb 2005
Location: Ottawa ,Canada
Posts: 443
You do have the headers for your kernel installed ? as that is the only thing i can think is wrong ATM the second set of errors for the PAE kernel looks like a missing devel library of some sort but i am not a C++ person so that is just a guess.

Enjoy the Choice
__________________
Enjoy the Choice:)
Q8200/Asus P5QDLDX/2G ram/500G HD f10/Evga 9800gt 512M
XP2500 Barton/AsusA7N8X Deluxe/768M RAM/6800gt 128M WinXPpro SP3 120 Gb ntft f10 80 Gb ext3
Reply With Quote
  #5  
Old 15th May 2009, 12:50 AM
Las's Avatar
Las Offline
Registered User
 
Join Date: Oct 2007
Posts: 27
thank you for help Loki1950,
the problem was solved after the last update
cool, I'm enjoying the choice ^^
Reply With Quote
  #6  
Old 20th June 2009, 02:05 PM
sanjay_ankur's Avatar
sanjay_ankur Offline
Registered User
 
Join Date: Feb 2008
Location: Sydney
Age: 24
Posts: 435
hi,

People, is there a way of automating this build after every kernel update? I've a shell script consisting of the commands. Can this be run automatically each time a kernel update occurs?

regards,

Ankur
__________________
-------------------------------------
"Live and let Live"
My blog
http://www.letmegooglethatforyou.com/
#fedora, #fedora-india,#fedora-social @ freenode


HP dv6226tx
Fedora 13
---------------------------------------
Reply With Quote
  #7  
Old 15th July 2009, 08:18 AM
a.fabbro Offline
Registered User
 
Join Date: Jul 2009
Posts: 5
Quote:
Originally Posted by Las View Post
thank you for help Loki1950,
the problem was solved after the last update
cool, I'm enjoying the choice ^^
Hello Las, I'm having the same problem as you had at the start of this topic, but I'm quite new in Linux, so I didn't understand how did you fix the issue.
My camera is same as yours, I downloaded the r5u870-0.11.0 driver, when I do make, print the same errors above. Can you tell me how you did that update?
Reply With Quote
  #8  
Old 25th July 2009, 02:53 PM
sanjay_ankur's Avatar
sanjay_ankur Offline
Registered User
 
Join Date: Feb 2008
Location: Sydney
Age: 24
Posts: 435
hi,

From loki's solution, looks like youve got to install kernel headers..

Code:
yum install kernel-headers kernel-devel

For an update you go:

Code:
 yum update
All the above commands need to be done as root.

regards,

Ankur
__________________
-------------------------------------
"Live and let Live"
My blog
http://www.letmegooglethatforyou.com/
#fedora, #fedora-india,#fedora-social @ freenode


HP dv6226tx
Fedora 13
---------------------------------------
Reply With Quote
  #9  
Old 6th September 2009, 10:34 PM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
linuxfedorafirefox
I was missing glib2-devel, after yum installing that and libusb-devel mentioned above my r5u870 driver compiled ok.

I had to do a r5u87x-loader --reload to really get it to work with camstream
Reply With Quote
  #10  
Old 7th September 2009, 07:06 PM
sanjay_ankur's Avatar
sanjay_ankur Offline
Registered User
 
Join Date: Feb 2008
Location: Sydney
Age: 24
Posts: 435
linuxopera
hi folks,

Im having trouble building the module..

this is the error i get:;

Code:
[root@Ankur dkms-ricoh]# cat /var/lib/dkms/r5u870/0.11.0-9/build/make.log 
DKMS make.log for r5u870-0.11.0-9 for kernel 2.6.29.6-217.2.16.fc11.x86_64 (x86_64)
Mon Sep  7 23:33:20 IST 2009
make: Entering directory `/usr/src/kernels/2.6.29.6-217.2.16.fc11.x86_64'
  LD      /var/lib/dkms/r5u870/0.11.0-9/build/built-in.o
  CC [M]  /var/lib/dkms/r5u870/0.11.0-9/build/r5u870.o
/var/lib/dkms/r5u870/0.11.0-9/build/r5u870.c:864:1: warning: "V4L2_CID_PRIVACY" redefined
In file included from include/linux/videodev.h:17,
                 from /var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam.h:40,
                 from /var/lib/dkms/r5u870/0.11.0-9/build/r5u870.c:59:
include/linux/videodev2.h:1137:1: warning: this is the location of the previous definition
/var/lib/dkms/r5u870/0.11.0-9/build/r5u870.c:866:1: warning: "V4L2_CID_SHARPNESS" redefined
include/linux/videodev2.h:881:1: warning: this is the location of the previous definition
/var/lib/dkms/r5u870/0.11.0-9/build/r5u870.c:867:1: warning: "V4L2_CID_LASTP1" redefined
include/linux/videodev2.h:893:1: warning: this is the location of the previous definition
  LD      /var/lib/dkms/r5u870/0.11.0-9/build/usbcam/built-in.o
  CC [M]  /var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_dev.o
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_dev.c: In function ‘usbcam_register_mod’:
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_dev.c:535: warning: assignment from incompatible pointer type
  CC [M]  /var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.o
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c: In function ‘usbcam_v4l_ioctl’:
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1140: warning: passing argument 1 of ‘video_usercopy’ from incompatible pointer type
include/media/v4l2-ioctl.h:298: note: expected ‘struct file *’ but argument is of type ‘struct inode *’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1140: warning: passing argument 2 of ‘video_usercopy’ makes integer from pointer without a cast
include/media/v4l2-ioctl.h:298: note: expected ‘unsigned int’ but argument is of type ‘struct file *’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1140: warning: passing argument 4 of ‘video_usercopy’ makes pointer from integer without a cast
include/media/v4l2-ioctl.h:298: note: expected ‘v4l2_kioctl’ but argument is of type ‘long unsigned int’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1140: error: too many arguments to function ‘video_usercopy’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1144: warning: passing argument 1 of ‘video_ioctl2’ from incompatible pointer type
include/media/v4l2-ioctl.h:302: note: expected ‘struct file *’ but argument is of type ‘struct inode *’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1144: warning: passing argument 2 of ‘video_ioctl2’ makes integer from pointer without a cast
include/media/v4l2-ioctl.h:302: note: expected ‘unsigned int’ but argument is of type ‘struct file *’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1144: error: too many arguments to function ‘video_ioctl2’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c: At top level:
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1168: error: ‘v4l_compat_ioctl32’ undeclared here (not in a function)
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1216: warning: initialization from incompatible pointer type
make[2]: *** [/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.o] Error 1
make[1]: *** [/var/lib/dkms/r5u870/0.11.0-9/build/usbcam] Error 2
make: *** [_module_/var/lib/dkms/r5u870/0.11.0-9/build] Error 2
make: Leaving directory `/usr/src/kernels/2.6.29.6-217.2.16.fc11.x86_64'
Can someone please point me in the right direction??


regards,

Ankur
__________________
-------------------------------------
"Live and let Live"
My blog
http://www.letmegooglethatforyou.com/
#fedora, #fedora-india,#fedora-social @ freenode


HP dv6226tx
Fedora 13
---------------------------------------
Reply With Quote
  #11  
Old 18th November 2009, 04:15 PM
baturs Offline
Registered User
 
Join Date: Oct 2009
Posts: 7
linuxfedorafirefox
Quote:
Originally Posted by Las View Post
thank you for help Loki1950,
the problem was solved after the last update
cool, I'm enjoying the choice ^^
hello Las and all,

Unfortunately I am not able to install the Ricoh webcam driver on Fedora 11.


this is what i have:

[root@sbatur SB]# rpm -qa | grep kernel
kernel-firmware-2.6.30.9-96.fc11.noarch
kernel-devel-2.6.30.9-96.fc11.i586
kernel-PAE-2.6.30.9-96.fc11.i686
kerneloops-0.12-5.fc11.i586
kernel-headers-2.6.30.9-96.fc11.i586
and

I have downloaded this driver : dkms-r5u870-0.11.0-8.noarch.rpm.bz2 and r5u870-0.11.0-9.patch

I have followed the instructions below:

# download dkms-r5u870-0.11.0-8.noarch.rpm.bz2
# download r5u870-0.11.0-9.patch
# bunzip dkms-r5u870-0.11.0-8.noarch.rpm.bz2
# rpm -i dkms-r5u870-0.11.0-8.noarch.rpm
# cd /usr/src
# patch -p0 < r5u870-0.11.0-9.patch
# mv r5u870-0.11.0-8 r5u870-0.11.0-9
# dkms -m r5u870 -v 0.11.0-9 add
# dkms -m r5u870 -v 0.11.0-9 build
# dkms -m r5u870 -v 0.11.0-9 install

and receiving an error similar to the one below

Error! Your kernel source for kernel 2.6.29.4-167.fc11.i586 cannot be found at
/lib/modules/2.6.29.4-167.fc11.i586/build or /lib/modules/2.6.29.4-167.fc11.i586/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
so then cd /lib/modules/2.6.29.4-167.fc11.i586

which the kernel exists.

i have clean installed fc11 yesterday again and don't want to mess it up. if you can guide me in how to install the webcam driver I would really appreciate it.

thanks.

Edit: here is the error:

# dkms -m r5u870 -v 0.11.0-9 build

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.30.9-96.fc11.i686.PAE -C /lib/modules/2.6.30.9-96.fc11.i686.PAE/build M=/var/lib/dkms/r5u870/0.11.0-9/build....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.30.9-96.fc11.i686.PAE (i686)
Consult the make.log in the build directory
/var/lib/dkms/r5u870/0.11.0-9/build/ for more information.
0
0
and here is the make.log file

# cat /var/lib/dkms/r5u870/0.11.0-9/build/make.log
DKMS make.log for r5u870-0.11.0-9 for kernel 2.6.30.9-96.fc11.i686.PAE (i686)
Wed Nov 18 18:48:35 CET 2009
make: Entering directory `/usr/src/kernels/2.6.30.9-96.fc11.i686.PAE'
LD /var/lib/dkms/r5u870/0.11.0-9/build/built-in.o
CC [M] /var/lib/dkms/r5u870/0.11.0-9/build/r5u870.o
/var/lib/dkms/r5u870/0.11.0-9/build/r5u870.c:864:1: warning: "V4L2_CID_PRIVACY" redefined
In file included from include/linux/videodev.h:17,
from /var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam.h:40,
from /var/lib/dkms/r5u870/0.11.0-9/build/r5u870.c:59:
include/linux/videodev2.h:1142:1: warning: this is the location of the previous definition
/var/lib/dkms/r5u870/0.11.0-9/build/r5u870.c:866:1: warning: "V4L2_CID_SHARPNESS" redefined
include/linux/videodev2.h:886:1: warning: this is the location of the previous definition
/var/lib/dkms/r5u870/0.11.0-9/build/r5u870.c:867:1: warning: "V4L2_CID_LASTP1" redefined
include/linux/videodev2.h:898:1: warning: this is the location of the previous definition
LD /var/lib/dkms/r5u870/0.11.0-9/build/usbcam/built-in.o
CC [M] /var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_dev.o
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_dev.c: In function ‘usbcam_register_mod’:
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_dev.c:535: warning: assignment from incompatible pointer type
CC [M] /var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.o
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c: In function ‘usbcam_v4l_vidioc_querycap’:
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:495: error: ‘struct device’ has no member named ‘bus_id’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c: In function ‘usbcam_v4l_ioctl’:
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1140: warning: passing argument 1 of ‘video_usercopy’ from incompatible pointer type
include/media/v4l2-ioctl.h:298: note: expected ‘struct file *’ but argument is of type ‘struct inode *’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1140: warning: passing argument 2 of ‘video_usercopy’ makes integer from pointer without a cast
include/media/v4l2-ioctl.h:298: note: expected ‘unsigned int’ but argument is of type ‘struct file *’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1140: warning: passing argument 4 of ‘video_usercopy’ makes pointer from integer without a cast
include/media/v4l2-ioctl.h:298: note: expected ‘v4l2_kioctl’ but argument is of type ‘long unsigned int’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1140: error: too many arguments to function ‘video_usercopy’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1144: warning: passing argument 1 of ‘video_ioctl2’ from incompatible pointer type
include/media/v4l2-ioctl.h:302: note: expected ‘struct file *’ but argument is of type ‘struct inode *’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1144: warning: passing argument 2 of ‘video_ioctl2’ makes integer from pointer without a cast
include/media/v4l2-ioctl.h:302: note: expected ‘unsigned int’ but argument is of type ‘struct file *’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1144: error: too many arguments to function ‘video_ioctl2’
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c: At top level:
/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.c:1216: warning: initialization from incompatible pointer type
make[2]: *** [/var/lib/dkms/r5u870/0.11.0-9/build/usbcam/usbcam_fops.o] Error 1
make[1]: *** [/var/lib/dkms/r5u870/0.11.0-9/build/usbcam] Error 2
make: *** [_module_/var/lib/dkms/r5u870/0.11.0-9/build] Error 2
make: Leaving directory `/usr/src/kernels/2.6.30.9-96.fc11.i686.PAE'

stuck???? help please
Reply With Quote
Reply

Tags
driver, rawhide, ricoh, webcam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ricoh R5U870 Webcam on HP DV9000 laptop -solved shess01 Hardware & Laptops 51 26th March 2011 09:16 PM
Sony webcam Motion Eye. darioalexander Hardware & Laptops 4 28th January 2009 10:43 PM
[SOLVED] Laptop HPdv9849em webcam Ricoh is not recognised under fedora 8 socratien Hardware & Laptops 27 31st December 2008 01:48 PM
Trust Spacec@m 120 webcam and motion jfheintz Hardware & Laptops 1 4th April 2008 07:02 AM
webcam, 'motion' software kf6kmx Using Fedora 11 17th November 2005 02:13 AM


Current GMT-time: 07:06 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat