Fedora Linux Support Community & Resources Center
  #1  
Old 20th May 2012, 06:00 PM
chrismcdonald Offline
Registered User
 
Join Date: Jun 2007
Posts: 8
linuxchrome
Fedora 14 - Sony Vaio SZ webcam

Hi there

I have a (6-7 year old) Sony Vaio SZ which I run Fedora 14 on. Fedora 14 cannot autodetect the webcam on the laptop. I've looked through threads on the web and found that lsusb identifies the webcam as:

Bus 001 Device 004: ID 05ca:1835 Ricoh Co., Ltd Visual Communication Camera VGP-VCC5 [R5U870]

I followed the thread and downloaded kernel module source for the camera from http://www.palmix.org/r5u870-en.html and attempted to build it.

But when I try to build it I get the following error message:

Code:
make -C /lib/modules/2.6.35.14-106.fc14.i686.PAE/build M=/home/chris/r5u/r5u870-0.10.0-tz17 V=0 modules
make[1]: Entering directory `/usr/src/kernels/2.6.35.14-106.fc14.i686.PAE'
  CC [M]  /home/chris/r5u/r5u870-0.10.0-tz17/r5u870_md.o
In file included from /home/chris/r5u/r5u870-0.10.0-tz17/r5u870_md.c:55:0:
/home/chris/r5u/r5u870-0.10.0-tz17/usbcam.h:36:29: fatal error: media/video-buf.h: No such file or directory
compilation terminated.
When I look I cannot find video-buf.h anywhere in the linux kernel source tree?
Can anyone help me with what I am missing here please

cheers

chris
Reply With Quote
  #2  
Old 20th May 2012, 06:09 PM
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 69
Posts: 22,084
linuxfirefox
Re: Fedora 14 - Sony Vaio SZ webcam

moved to EOL
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #3  
Old 20th May 2012, 10:10 PM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,000
linuxfirefox
Re: Fedora 14 - Sony Vaio SZ webcam

That palmix.org site's been dead since 2009, even your old Fedora 14 has a newer kernel than the palmix code will support. Try using this one:

http://code.google.com/p/r5u870/

Looking in the Changelog file I see this hopeful bit of information at the top (they state it's been ported up to
and beyond kernel 2.6.30, .35, and then 3.x
Quote:
2012-05-01 <333pei@gmail.com>
Ported r5u870 to kernel-3.2

2011-10-01 <333pei@gmail.com>
Ported r5u870 to kernel <= 3.0

2010-10-01 <333pei@gmail.com>
Ported r5u870 to kernel-2.6.35

2008-06-15 Onur Küçük <onur@pardus.org.tr>
Ported r5u870 to kernel-2.6.30.
UPDATE == I was able to compile the google driver on Fedora 16 with kernel 3.3.5-2 with just two minor edits:

1) r5u870.c -- added #include <linux/slab.h>


2) usbcam/usbcam_fops.c -- commented out

.compat_ioctl = v4l_compat_ioctl32,

from inside of structure "v4l2_file_operations"

Last edited by marko; 20th May 2012 at 10:27 PM.
Reply With Quote
  #4  
Old 12th June 2012, 11:58 AM
chrismcdonald Offline
Registered User
 
Join Date: Jun 2007
Posts: 8
linuxchrome
Re: Fedora 14 - Sony Vaio SZ webcam

Thanks very much for your reply Marko - sorry for delay in this response too.

Indeed you are correct. I've given up with Fedora 14 and taken the plunge, installed Fedora 17 on the laptop, and with your changes, the webcam is now working - quality seems pretty poor mind - but it is working.

Thanks very much for directing me to the newer codebase.

cheers

chris
Reply With Quote
Reply

Tags
fedora, sony, vaio, 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
Old Sony Vaio PCG-Z505HE & Fedora 10 DaveVentresca Installation, Upgrades and Live Media 2 20th January 2009 10:46 PM
Fedora 10 on a Sony Vaio B3rn4rd Reviews, Rants & Things That Make You Scream 0 20th December 2008 05:57 PM
motion eye built in webcam on sony vaio laptop!? fengshaun Hardware & Laptops 5 11th January 2008 07:15 AM
Fedora 8 on Sony Vaio FJ series ggulik Hardware & Laptops 3 17th November 2007 07:41 AM
Fedora 6 on Sony Vaio Hobashira Hardware & Laptops 1 30th June 2007 08:56 AM


Current GMT-time: 02:43 (Saturday, 02-08-2014)

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