Fedora Linux Support Community & Resources Center

Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Hardware

Hardware Problems with hardware not being detected or supported.

Reply
 
Thread Tools Search this Thread Display Modes
  #31  
Old 2009-10-24, 09:10 AM CDT
sanjay_ankur's Avatar
sanjay_ankur Offline
Registered User
 
Join Date: Feb 2008
Age: 21
Posts: 421
linuxsafari
hey,

I'm having some trouble too..

I got this on the build step (from make.log)::

How do I proceed??

Code:
DKMS make.log for r5u870-0.11.0-9 for kernel 2.6.30.8-64.fc11.x86_64 (x86_64)
Sat Oct 24 20:34:05 IST 2009
make: Entering directory `/usr/src/kernels/2.6.30.8-64.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: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: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.30.8-64.fc11.x86_64'
regards,

EDIT:

I dint realize there were two different threads going on.. Sorry..

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


HP dv6226tx
Fedora 11.92
---------------------------------------

Last edited by sanjay_ankur; 2009-10-24 at 09:13 AM CDT.
Reply With Quote
  #32  
Old 2009-10-24, 10:25 AM CDT
baturs Offline
Registered User
 
Join Date: Oct 2009
Posts: 7
linuxfedorafirefox
steps i've tried and still not working


# yum install kernel-headers kernel devel
Loaded plugins: refresh-packagekit
Setting up Install Process
Package kernel-headers-2.6.30.8-64.fc11.i586 already installed and latest version
No package devel available.
Resolving Dependencies
--> Running transaction check
---> Package kernel.i586 0:2.6.30.8-64.fc11 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ==============================
Package Arch Version Repository Size
================================================== ==============================
Installing:
kernel i586 2.6.30.8-64.fc11 updates 21 M

Transaction Summary
================================================== ==============================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 21 M
Is this ok [y/N]: y
Downloading Packages:
kernel-2.6.30.8-64.fc11.i586.rpm | 21 MB 00:32
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-2.6.30.8-64.fc11.i586 1/1
Running DKMS auto installation service for kernel 2.6.30.8-64.fc11.i586

.
Installed:
kernel.i586 0:2.6.30.8-64.fc11

Complete!
[root@sbatur src]# uname -r
2.6.30.8-64.fc11.i686.PAE

# uname -r
2.6.30.8-64.fc11.i686.PAE

# patch -p0 < r5u870-0.11.0-9.patch
patching file r5u870-0.11.0-9/usbcam/usbcam.h
patching file r5u870-0.11.0-9/usbcam/usbcam_fops.c
patching file r5u870-0.11.0-9/usbcam/usbcam_priv.h

# dkms status
# dkms status

dkms remove -m r5u870 -v 0.11.0-9 --all

Error! There are no instances of module: r5u870
0.11.0-9 located in the DKMS tree.
[root@sbatur src]# dkms remove -m r5u870 -v 0.11.0-8 --all

Error! There are no instances of module: r5u870
0.11.0-8 located in the DKMS tree.
[root@sbatur src]# rpm -qa | grep r5u870
dkms-r5u870-0.11.0-8.noarch
[root@sbatur src]# ls -ltr
total 12
drwxr-xr-x. 3 root root 4096 2009-10-24 16:21 kernels
drwxr-xr-x. 3 root root 4096 2009-10-24 16:26 r5u870-0.11.0-9
-rw-r--r--. 1 root root 3907 2009-10-24 16:33 r5u870-0.11.0-9.patch
[root@sbatur src]# patch -p0 < r5u870-0.11.0-9.patch
patching file r5u870-0.11.0-9/usbcam/usbcam.h
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 226.
1 out of 1 hunk FAILED -- saving rejects to file r5u870-0.11.0-9/usbcam/usbcam.h.rej
patching file r5u870-0.11.0-9/usbcam/usbcam_fops.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 112.
Hunk #2 succeeded at 129 (offset 9 lines).
Hunk #3 FAILED at 1190.
Hunk #4 succeeded at 1233 with fuzz 2 (offset -4 lines).
2 out of 4 hunks FAILED -- saving rejects to file r5u870-0.11.0-9/usbcam/usbcam_fops.c.rej
patching file r5u870-0.11.0-9/usbcam/usbcam_priv.h
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 succeeded at 72 with fuzz 2 (offset 22 lines).

# dkms -m r5u870 -v 0.11.0-9 add

Error! DKMS tree already contains: r5u870-0.11.0-9
You cannot add the same module/version combo more than once.
[root@sbatur src]# 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.8-64.fc11.i686.PAE -C /lib/modules/2.6.30.8-64.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.8-64.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
[root@sbatur src]# dkms -m r5u870 -v 0.11.0-9 install

Error! Could not locate r5u870.ko for module r5u870 in the DKMS tree.
You must run a dkms build for kernel 2.6.30.8-64.fc11.i686.PAE (i686) first.

...Still no success ...
Reply With Quote
  #33  
Old 2009-10-24, 10:49 AM CDT
shess01's Avatar
shess01 Online
Registered User
 
Join Date: Aug 2005
Location: On the road. What day is it again?
Posts: 238
linuxfirefox
ok.. looks like you only updated your kernel...

run the following command "rpm -qa | grep kernel" here is mine. The packages you need for YOUR kernel are in bold

Quote:
[root@macbeth ~]# rpm -qa | grep kernel
kernel-2.6.27.9-159.fc10.i686
kernel-2.6.27.21-170.2.56.fc10.i686
kernel-2.6.27.19-170.2.35.fc10.i686
kernel-2.6.27.5-117.fc10.i686
kernel-devel-2.6.27.12-170.2.5.fc10.i686
kernel-devel-2.6.27.21-170.2.56.fc10.i686

kernel-devel-2.6.27.9-159.fc10.i686
kernel-firmware-2.6.27.21-170.2.56.fc10.noarch
kerneloops-0.12-2.fc10.i386
kernel-devel-2.6.27.19-170.2.35.fc10.i686
kernel-2.6.27.12-170.2.5.fc10.i686
yum-kernel-module-1.1.19-1.fc10.noarch
kernel-headers-2.6.27.21-170.2.56.fc10.i386
Also, look.. you missed the " - " between "kernel" and "devel"

so post the rpm -qa... command above and lets see what you got...

TIP: I don't know if you are familiar with "yumex" . My personal opinion is so much easier to use than yum. It works the same, but has a graphical interface, it pulls all of your updates and you pick the ones that you want to install by putting a checkmark next to the package. Simple. But I digress..
__________________
...What if there were no hypothetical questions?
Reply With Quote
  #34  
Old 2009-10-24, 11:08 AM CDT
baturs Offline
Registered User
 
Join Date: Oct 2009
Posts: 7
linuxfedorafirefox
this is what i have

[root@sbatur src]# rpm -qa | grep kernel
kerneloops-0.12-5.fc11.i586
kernel-PAE-2.6.30.8-64.fc11.i686
kernel-firmware-2.6.30.8-64.fc11.noarch
kernel-PAE-devel-2.6.30.8-64.fc11.i686
kernel-headers-2.6.30.8-64.fc11.i586
kernel-PAE-2.6.29.4-167.fc11.i686
kernel-2.6.30.8-64.fc11.i586
Reply With Quote
  #35  
Old 2009-10-24, 11:21 AM CDT
baturs Offline
Registered User
 
Join Date: Oct 2009
Posts: 7
linuxfedorafirefox
continued

Installed:
kernel-devel.i586 0:2.6.30.8-64.fc11

Complete!
[root@sbatur src]# dkms status
[root@sbatur src]# rpm -qa | grep r5u870
dkms-r5u870-0.11.0-8.noarch
[root@sbatur src]# dir
kernels r5u870-0.11.0-9.patch
[root@sbatur src]# patch -p0 < r5u870-0.11.0-9.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur r5u870-0.11.0-8/usbcam/usbcam.h r5u870-0.11.0-9/usbcam/usbcam.h
|--- r5u870-0.11.0-8/usbcam/usbcam.h 2008-01-25 00:25:15.000000000 +0000
|+++ r5u870-0.11.0-9/usbcam/usbcam.h 2008-12-29 04:15:43.000000000 +0000
--------------------------
File to patch:

.... stuck here ??

Last edited by baturs; 2009-10-24 at 11:23 AM CDT. Reason: correction
Reply With Quote
  #36  
Old 2009-10-24, 01:56 PM CDT
baturs Offline
Registered User
 
Join Date: Oct 2009
Posts: 7
linuxfedorafirefox
hello all.

i've tried the steps mentioned in post#16:

1. download dkms-r5u870-0.11.0-8.noarch.rpm.bz2
2. download r5u870-0.11.0-9.patch
3. bunzip dkms-r5u870-0.11.0-8.noarch.rpm.bz2
4. rpm -i dkms-r5u870-0.11.0-8.noarch.rpm
5. cd /usr/src
6. patch -p0 < r5u870-0.11.0-9.patch
7. mv r5u870-0.11.0-8 r5u870-0.11.0-9
8. dkms -m r5u870 -v 0.11.0-9 add
9. dkms -m r5u870 -v 0.11.0-9 build
10. dkms -m r5u870 -v 0.11.0-9 install



Everything works well till step 9. at step 9 i get an error: here is the output:

# 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.8-64.fc11.i686.PAE -C /lib/modules/2.6.30.8-64.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.8-64.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

the make.log file says:

# cat make.log
DKMS make.log for r5u870-0.11.0-9 for kernel 2.6.30.8-64.fc11.i686.PAE (i686)
Sat Oct 24 21:40:01 CEST 2009
make: Entering directory `/usr/src/kernels/2.6.30.8-64.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.8-64.fc11.i686.PAE'

here below are some additional details:
# uname -a
Linux sbatur.localdomain 2.6.30.8-64.fc11.i686.PAE #1 SMP Fri Sep 25 04:56:58 EDT 2009 i686 i686 i386 GNU/Linux

# rpm -qa | grep r5u870
dkms-r5u870-0.11.0-8.noarch

# lsmod | grep r5u870
#

# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
stepping : 6
cpu MHz : 1000.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips : 3658.67
clflush size : 64
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
stepping : 6
cpu MHz : 1000.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips : 3658.74
clflush size : 64
power management:

any suggestions guys? for the last 2 weeks checking all forums desperately but no success. and if i am to be on PAE kernel what should i do?

PS: many thanks to shess01 for bearing with me, highly appreciated

Last edited by baturs; 2009-10-24 at 02:03 PM CDT. Reason: correction
Reply With Quote
  #37  
Old 2009-11-02, 11:49 AM CST
socratien Offline
Registered User
 
Join Date: May 2007
Posts: 104
linuxfedorafirefox
Hi all
I follow the instructions of fmuelle below but the webcam doesn't work with skype , in fact, the recepter sees me but Ican't see myself
My configuration is : FC10 2.6.27.37-170.2.104.fc10.i686 and the chipset is 05ca:1812
Could you help me please? It worked very good with my FC9 and Iit doesn't any more with my just install FC10, it's so frustrating :-(
Here are the errors in /var/log/message :

Nov 2 19:40:03 localhost kernel: Linux video capture interface: v2.00
Nov 2 19:40:03 localhost kernel: usbcam: registering driver r5u870 0.11.0
Nov 2 19:40:03 localhost kernel: r5u870-0: Detected HP Pavilion Webcam (UVC)
Nov 2 19:40:03 localhost kernel: r5u870-0: command 0xa4 failed: -32
Nov 2 19:40:03 localhost kernel: r5u870-0: initialization failed: -32
Nov 2 19:40:03 localhost kernel: r5u870: probe of 2-4:1.0 failed with error -32
Nov 2 19:40:03 localhost kernel: usbcore: registered new interface driver r5u870
Nov 2 19:40:03 localhost kernel: uvcvideo: Found UVC 1.00 device <unnamed> (05ca:1812)
Nov 2 19:40:03 localhost kernel: uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
Nov 2 19:40:03 localhost kernel: input: UVC Camera (05ca:1812) as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.0/input/input11
Nov 2 19:40:03 localhost kernel: usbcore: registered new interface driver uvcvideo
Nov 2 19:40:03 localhost kernel: USB Video Class driver (v0.1.0)

Last edited by socratien; 2009-11-02 at 12:01 PM CST. Reason: new information after a test
Reply With Quote
  #38  
Old 2009-11-03, 09:13 AM CST
shess01's Avatar
shess01 Online
Registered User
 
Join Date: Aug 2005
Location: On the road. What day is it again?
Posts: 238
linuxfirefox
I have searched around a bit and found a later version of the driver, 0.11.3 ( as opposed to 0.11.0-9 ).

This is the driver source and will not use the same instructions as those listed in previous posts. As I am still running on F10 *2.6.27.21-170.2.56.fc10.i686 - and not F11 or the PAE kernel - I have not done any testing or reconfiguration of my present system. But this may lead in the direction of a solution.

Hope this will help.
__________________
...What if there were no hypothetical questions?
Reply With Quote
  #39  
Old 2009-11-03, 10:10 AM CST
socratien Offline
Registered User
 
Join Date: May 2007
Posts: 104
linuxfedorafirefox
Hi shess01
I've just upgraded my OS to FC11 and video is good in the two senses ( PAE kernel) with skype and cheese
I'm sorry i don't know what was the root cause, but I have now others sound problems :-(
Thank you
Reply With Quote
  #40  
Old 2009-11-03, 01:34 PM CST
shess01's Avatar
shess01 Online
Registered User
 
Join Date: Aug 2005
Location: On the road. What day is it again?
Posts: 238
linuxfirefox
Quote:
Originally Posted by socratien View Post
Hi shess01
I've just upgraded my OS to FC11 and video is good in the two senses ( PAE kernel) with skype and cheese
I'm sorry i don't know what was the root cause, but I have now others sound problems :-(
Thank you
Cool! Did you use the steps listed in this procedure? I was trying to help Baturs get his going and that build step kept failing. Being on F10 and knowing how kernel upgrades can break stuff that works I was worried that the default PAE kernel was the issue. So...

Did you do a "clean install" or perform the "upgrade" process to F11?

What F11 kernel are you using?

32 or 64 bit?

Did you follow the steps in post 16?

Try searching "alsamixer" and "pulseaudio" for your sound issues. You will both posts that *swear by, and *swear at PulseAudio. I am on the swear by team. Sylpheed2k is the pulseaudio guru... check this link here
__________________
...What if there were no hypothetical questions?
Reply With Quote
  #41  
Old 2009-11-03, 02:50 PM CST
socratien Offline
Registered User
 
Join Date: May 2007
Posts: 104
linuxfedorafirefox
Hello Shess01
I installed F11 from DVD iso image ( clean install is more certain, I 've already upgraded F10 to F11 by network for my NC10 netbook and it results in my wireless KO then my return to F10 :-( ))
Any way, for my sound problem, I read and followed the guide to Pulseaudio on F11 but it's always KO for my microphone; output sound is OK not input sound
I have no idea and didn't find any solution on this forum. I change to *swear thread, do I ?
uname -r = 2.6.30.9-90.fc11.i686.PAE
32 bits
I followed the 16 steps but with F10 not with F11

Last edited by socratien; 2009-11-03 at 03:43 PM CST.
Reply With Quote
  #42  
Old 2009-11-15, 11:39 AM CST
qwerty098765432 Offline
Registered User
 
Join Date: Nov 2009
Posts: 1
linuxfedorafirefox
Quote:
Originally Posted by shess01 View Post
I have searched around a bit and found a later version of the driver, 0.11.3 ( as opposed to 0.11.0-9 ).

This is the driver source and will not use the same instructions as those listed in previous posts. As I am still running on F10 *2.6.27.21-170.2.56.fc10.i686 - and not F11 or the PAE kernel - I have not done any testing or reconfiguration of my present system. But this may lead in the direction of a solution.

Hope this will help.
It's now 0.11.4
look for current tarball at link http://download.tuxfamily.org/arakhn...-webcam-r5u870

I confirm that it builds on fc12 and works on all suppoted resolutions :) (my webcam is VGP-VCC6 on Sony VAIO VGN-CR31ZR)
However there is a little drawback it not fatally crashes the kernel, but it looks like it doesn´t affect the system and program (linphone) using webcam. it works despite messages in log that kernel crashes.

PS:
IMHO: This driver is better than a uvc driver that works correctly only at 640x480 and higher resolutions

PS2:


Code:
Nov 15 21:04:13 vaio kernel: BUG: sleeping function called from invalid context at kernel/mutex.c:94
Nov 15 21:04:13 vaio kernel: in_atomic(): 0, irqs_disabled(): 1, pid: 4927, name: linphone-3
Nov 15 21:04:13 vaio kernel: Pid: 4927, comm: linphone-3 Not tainted 2.6.31.5-127.fc12.i686 #1
Nov 15 21:04:13 vaio kernel: Call Trace:
Nov 15 21:04:13 vaio kernel: [<c042866a>] __might_sleep+0xc6/0xcb
Nov 15 21:04:13 vaio kernel: [<c0765736>] mutex_lock+0x1d/0x3c
Nov 15 21:04:13 vaio kernel: [<c042830a>] ? __wake_up_sync_key+0x41/0x4a
Nov 15 21:04:13 vaio kernel: [<f7cf0731>] usbcam_videobuf_queue+0x21/0xfb [usbcam]
Nov 15 21:04:13 vaio kernel: [<f7c5f4c7>] videobuf_streamon+0x62/0xa4 [videobuf_core]
Nov 15 21:04:13 vaio kernel: [<f7cefad2>] usbcam_v4l_vidioc_streamon+0x63/0x7a [usbcam]
Nov 15 21:04:13 vaio kernel: [<f88bec9e>] __video_do_ioctl+0x1040/0x29e8 [videodev]
Nov 15 21:04:13 vaio kernel: [<c059aacd>] ? might_fault+0x1c/0x1e
Nov 15 21:04:13 vaio kernel: [<c059ab01>] ? copy_from_user+0x32/0x119
Nov 15 21:04:13 vaio kernel: [<f88c0984>] video_ioctl2+0x2f3/0x3a4 [videodev]
Nov 15 21:04:13 vaio kernel: [<c0563141>] ? avc_has_perm+0x41/0x4b
Nov 15 21:04:13 vaio kernel: [<c0564721>] ? inode_has_perm+0x69/0x84
Nov 15 21:04:13 vaio kernel: [<f7cefe76>] usbcam_v4l_ioctl+0x23/0x28 [usbcam]
Nov 15 21:04:13 vaio kernel: [<f7cefe53>] ? usbcam_v4l_ioctl+0x0/0x28 [usbcam]
Nov 15 21:04:13 vaio kernel: [<f88bd13a>] v4l2_ioctl+0x38/0x3c [videodev]
Nov 15 21:04:13 vaio kernel: [<c04cad2a>] vfs_ioctl+0x5c/0x76
Nov 15 21:04:13 vaio kernel: [<c04cb28a>] do_vfs_ioctl+0x498/0x4d6
Nov 15 21:04:13 vaio kernel: [<c0564a69>] ? selinux_file_ioctl+0x43/0x46
Nov 15 21:04:13 vaio kernel: [<c04cb30e>] sys_ioctl+0x46/0x66
Nov 15 21:04:13 vaio kernel: [<c040363c>] syscall_call+0x7/0xb
Reply With Quote
  #43  
Old 2009-11-16, 08:25 AM CST
shess01's Avatar
shess01 Online
Registered User
 
Join Date: Aug 2005
Location: On the road. What day is it again?
Posts: 238
linuxfirefox
I have a screenlet that tails the output of dmesg. Whenever I have the webcam running, usually in skype, I have scrolling messages similar to the following. It does not affect the webcam performance - that i can tell... I am still on F10 and using the rpm and procedure listed above.
Quote:
Nov 16 08:42:01 macbeth kernel: usbcam: received v4l ioctl: -1069263343
Nov 16 08:42:01 macbeth kernel: usbcam: received v4l ioctl: -1069263345
Nov 16 08:42:01 macbeth kernel: usbcam: received v4l ioctl: -1069263343
Nov 16 08:42:01 macbeth kernel: usbcam: received v4l ioctl: -1069263345
Nov 16 08:42:01 macbeth kernel: usbcam: received v4l ioctl: -1069263343
Nov 16 08:42:01 macbeth kernel: usbcam: received v4l ioctl: -1069263345
Nov 16 08:42:01 macbeth kernel: BUG: sleeping function called from invalid context at kernel/mutex.c:88
Nov 16 08:42:01 macbeth kernel: in_atomic():0, irqs_disabled():1
Nov 16 08:42:01 macbeth kernel: Pid: 25835, comm: skype Tainted: P 2.6.27.21-170.2.56.fc10.i686 #1

Nov 16 08:42:01 macbeth kernel: [<c0427ee6>] __might_sleep+0xc6/0xcb
Nov 16 08:42:01 macbeth kernel: [<c06aa32f>] mutex_lock+0x18/0x2d
Nov 16 08:42:01 macbeth kernel: [<f895a561>] usbcam_videobuf_queue+0x3e/0x1ad [usbcam]
Nov 16 08:42:01 macbeth kernel: [<f886cb6b>] videobuf_qbuf+0x2c7/0x32d [videobuf_core]
Nov 16 08:42:01 macbeth kernel: [<f895931f>] usbcam_v4l_vidioc_qbuf+0x3f/0x6c [usbcam]
Nov 16 08:42:01 macbeth kernel: [<f89592e0>] ? usbcam_v4l_vidioc_qbuf+0x0/0x6c [usbcam]
Nov 16 08:42:01 macbeth kernel: [<f8920ba4>] __video_do_ioctl+0xfa3/0x2c21 [videodev]
Nov 16 08:42:01 macbeth kernel: [<c044560f>] ? clocksource_watchdog+0xbf/0x21c
Nov 16 08:42:01 macbeth kernel: [<c0428203>] ? default_wake_function+0xb/0xd
Nov 16 08:42:01 macbeth kernel: [<c0420972>] ? __wake_up_common+0x35/0x5b
Nov 16 08:42:01 macbeth kernel: [<c06ab0c0>] ? __lock_text_start+0x8/0x13
Nov 16 08:42:01 macbeth kernel: [<c057e4fb>] ? vt_console_print+0x253/0x25c
Nov 16 08:42:01 macbeth kernel: [<c0421f87>] ? __wake_up+0x31/0x3b
Nov 16 08:42:01 macbeth kernel: [<c041f806>] ? need_resched+0x18/0x22
Nov 16 08:42:01 macbeth kernel: [<c06a9db2>] ? _cond_resched+0x8/0x32
Nov 16 08:42:01 macbeth kernel: [<c044560f>] ? clocksource_watchdog+0xbf/0x21c
Nov 16 08:42:01 macbeth kernel: [<f89229cf>] video_ioctl2+0x1ad/0x24a [videodev]
Nov 16 08:42:01 macbeth kernel: [<c040371a>] ? __switch_to+0x114/0x139
Nov 16 08:42:01 macbeth kernel: [<c044560f>] ? clocksource_watchdog+0xbf/0x21c
Nov 16 08:42:01 macbeth kernel: [<c06a9477>] ? printk+0xf/0x18
Nov 16 08:42:01 macbeth kernel: [<c044560f>] ? clocksource_watchdog+0xbf/0x21c
Nov 16 08:42:01 macbeth kernel: [<f8959949>] usbcam_v4l_ioctl+0x46/0x4f [usbcam]
Nov 16 08:42:01 macbeth kernel: [<c049c6a0>] vfs_ioctl+0x50/0x69
Nov 16 08:42:01 macbeth kernel: [<c044560f>] ? clocksource_watchdog+0xbf/0x21c
Nov 16 08:42:01 macbeth kernel: [<c049c8f4>] do_vfs_ioctl+0x23b/0x247
Nov 16 08:42:01 macbeth kernel: [<c0461d76>] ? audit_syscall_entry+0xf9/0x123
Nov 16 08:42:01 macbeth kernel: [<c049c940>] sys_ioctl+0x40/0x5c
Nov 16 08:42:01 macbeth kernel: [<c0404c8a>] syscall_call+0x7/0xb
Nov 16 08:42:01 macbeth kernel: [<c044560f>] ? clocksource_watchdog+0xbf/0x21c
Nov 16 08:42:01 macbeth kernel: =======================
Nov 16 08:42:01 macbeth kernel: usbcam: received v4l ioctl: -1069263343
Nov 16 08:42:01 macbeth kernel: usbcam: received v4l ioctl: -1069263345
Since we now have at least one success using the tarball on F12. The new version may be an excellent candidate for building an updated dkms rpm.

Also.. I do not know if i have mentioned it before but the "Video4Linux Control Panel" package works great for getting a good capture in low light conditions.
__________________
...What if there were no hypothetical questions?

Last edited by shess01; 2009-11-16 at 08:29 AM CST.
Reply With Quote
  #44  
Old 2009-11-17, 12:20 PM CST
baturs Offline
Registered User
 
Join Date: Oct 2009
Posts: 7
windows_vistaie
installing unite (f12)

hi shess01,

i'm installing f12 now and will try the steps above to install the webcam driver. will post back shortly.

Edit: unfortunately i couldn't install the webcam driver. here below is the error:

[root@sbatur r5u870]# make
make -C /lib/modules/2.6.31.5-127.fc12.i686/build M=/home/SB/Downloads/ricoh-webcam-r5u870-0.11.4/r5u870 V=0 modules
/usr/src/kernels/2.6.31.5-127.fc12.i686/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/kernels/2.6.31.5-127.fc12.i686/scripts/gcc-version.sh: line 26: gcc: command not found
make[1]: Entering directory `/usr/src/kernels/2.6.31.5-127.fc12.i686'
/usr/src/kernels/2.6.31.5-127.fc12.i686/arch/x86/Makefile:79: stack protector enabled but no compiler support
make[1]: gcc: Command not found
CC [M] /home/SB/Downloads/ricoh-webcam-r5u870-0.11.4/r5u870/r5u870.o
/bin/sh: gcc: command not found
make[2]: *** [/home/SB/Downloads/ricoh-webcam-r5u870-0.11.4/r5u870/r5u870.o] Error 127
make[1]: *** [_module_/home/SB/Downloads/ricoh-webcam-r5u870-0.11.4/r5u870] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.31.5-127.fc12.i686'
make: *** [all] Error 2
[root@sbatur r5u870]#

any help guys?

Last edited by baturs; 2009-11-17 at 03:54 PM CST.
Reply With Quote
  #45  
Old 2009-11-18, 09:09 AM CST
sanjay_ankur's Avatar
sanjay_ankur Offline
Registered User
 
Join Date: Feb 2008
Age: 21
Posts: 421
linuxsafari
i really dont get it.. It doesnt build

Code:
[root@localhost src]# tail -n 15 /var/lib/dkms/r5u870/0.11.0-9/build/make.log 
/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.31.5-127.fc12.x86_64'
Can someone pleas point out what Im missing. ITs been giving me for the past 6 months !

regards,
Ankur

Edit:
Quote:
Originally Posted by qwerty098765432 View Post
It's now 0.11.4
look for current tarball at link http://download.tuxfamily.org/arakhn...-webcam-r5u870

I confirm that it builds on fc12 and works on all suppoted resolutions (my webcam is VGP-VCC6 on Sony VAIO VGN-CR31ZR)
However there is a little drawback it not fatally crashes the kernel, but it looks like it doesn´t affect the system and program (linphone) using webcam. it works despite messages in log that kernel crashes.

PS:
IMHO: This driver is better than a uvc driver that works correctly only at 640x480 and higher resolutions

PS2:


Code:
Nov 15 21:04:13 vaio kernel: BUG: sleeping function called from invalid context at kernel/mutex.c:94
Nov 15 21:04:13 vaio kernel: in_atomic(): 0, irqs_disabled(): 1, pid: 4927, name: linphone-3
Nov 15 21:04:13 vaio kernel: Pid: 4927, comm: linphone-3 Not tainted 2.6.31.5-127.fc12.i686 #1
Nov 15 21:04:13 vaio kernel: Call Trace:
Nov 15 21:04:13 vaio kernel: [<c042866a>] __might_sleep+0xc6/0xcb
Nov 15 21:04:13 vaio kernel: [<c0765736>] mutex_lock+0x1d/0x3c
Nov 15 21:04:13 vaio kernel: [<c042830a>] ? __wake_up_sync_key+0x41/0x4a
Nov 15 21:04:13 vaio kernel: [<f7cf0731>] usbcam_videobuf_queue+0x21/0xfb [usbcam]
Nov 15 21:04:13 vaio kernel: [<f7c5f4c7>] videobuf_streamon+0x62/0xa4 [videobuf_core]
Nov 15 21:04:13 vaio kernel: [<f7cefad2>] usbcam_v4l_vidioc_streamon+0x63/0x7a [usbcam]
Nov 15 21:04:13 vaio kernel: [<f88bec9e>] __video_do_ioctl+0x1040/0x29e8 [videodev]
Nov 15 21:04:13 vaio kernel: [<c059aacd>] ? might_fault+0x1c/0x1e
Nov 15 21:04:13 vaio kernel: [<c059ab01>] ? copy_from_user+0x32/0x119
Nov 15 21:04:13 vaio kernel: [<f88c0984>] video_ioctl2+0x2f3/0x3a4 [videodev]
Nov 15 21:04:13 vaio kernel: [<c0563141>] ? avc_has_perm+0x41/0x4b
Nov 15 21:04:13 vaio kernel: [<c0564721>] ? inode_has_perm+0x69/0x84
Nov 15 21:04:13 vaio kernel: [<f7cefe76>] usbcam_v4l_ioctl+0x23/0x28 [usbcam]
Nov 15 21:04:13 vaio kernel: [<f7cefe53>] ? usbcam_v4l_ioctl+0x0/0x28 [usbcam]
Nov 15 21:04:13 vaio kernel: [<f88bd13a>] v4l2_ioctl+0x38/0x3c [videodev]
Nov 15 21:04:13 vaio kernel: [<c04cad2a>] vfs_ioctl+0x5c/0x76
Nov 15 21:04:13 vaio kernel: [<c04cb28a>] do_vfs_ioctl+0x498/0x4d6
Nov 15 21:04:13 vaio kernel: [<c0564a69>] ? selinux_file_ioctl+0x43/0x46
Nov 15 21:04:13 vaio kernel: [<c04cb30e>] sys_ioctl+0x46/0x66
Nov 15 21:04:13 vaio kernel: [<c040363c>] syscall_call+0x7/0xb

hey,

I seem to be missing some package. What kernel are you on? 32bit or 64? plus what devel packages did you need?

Ankur


Edit: okay... weird..

i did this..

at line 1231 in /usbcam/usbcam_fops.c

Code:
/*#ifdef CONFIG_COMPAT
        .compat_ioctl   = v4l_compat_ioctl32,
#endif*/
I commented out the line.. was causing my make to fail.. build successfully and skype sees it too.. will report back on it once I get to use it.

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


HP dv6226tx
Fedora 11.92
---------------------------------------

Last edited by sanjay_ankur; 2009-11-18 at 11:02 AM CST.
Reply With Quote
Reply

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
Webcam Ricoh Motion Eye on fedora 11 Las Hardware 10 2009-11-18 09:15 AM CST
Laptop HPdv9849em webcam Ricoh is not recognised under fedora 8 socratien Hardware 27 2008-12-31 06:48 AM CST
Wireless On An HP DV9000 Laptop P4rD0nM3 Laptop 5 2007-12-29 04:27 AM CST
FC6 x86 64bit on dv9000 series HP Laptop KnightHawk Hardware 5 2007-06-03 01:20 PM CDT
My dv9000 laptop refuses to boot w/ FC5 or 6, 64-bit or 32-bit versions! robxiii Installation Help 7 2006-11-10 09:42 AM CST

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 12:33 PM CST.

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 | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Thanks to vBET 2.3.8 you can enjoy automatic translations