Felicia and sony vaio fz21e webcam

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help

Felicia and sony vaio fz21e webcam

Postby Portnoy on Mon Jan 12, 2009 7:34 am

Hello,

i have a laptop sony vaio vgn-fz21e and i was trying to put the integrated webcam working but i only find instruction to the older version.
The problem i have is kernel version being to recent (2.6.27-7-generic).
Do someone knows how to resolve it and put the webcam working?!
I would like to have it working or i will install the earling version (version 5)

BR,

Portnoy
Portnoy
 

Linux Mint is funded by ads and donations.
 

Re: Felicia and sony vaio fz21e webcam

Postby hotweiss on Mon Jan 12, 2009 7:46 am

hotweiss
Level 4
Level 4
 
Posts: 204
Joined: Mon Jan 21, 2008 3:12 am
Location: Warsaw, Poland

Re: Felicia and sony vaio fz21e webcam

Postby Portnoy on Mon Jan 12, 2009 8:37 am

Before i posted the previous i did a research on the matter and i found the page you posted.
I already tried it and i had this problem:

In file included from /home/frank/Desktop/r5u870/r5u870_md.c:55:
/home/frank/Desktop/r5u870/usbcam.h:36:29: error: media/video-buf.h: No such file or directory
make[2]: *** [/home/frank/Desktop/r5u870/r5u870_md.o] Error 1
make[1]: *** [_module_/home/frank/Desktop/r5u870] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [all] Error 2

and in the intructions:
--
cd $HOME/Desktop
then this
tar xzvf r5u870-0.10.1.tar.gz
and
cd r5u870-0.10.1
and
make
and
sudo make install
--
When i make tar xfvz .. the result is a folder with the name r5u870 and not r5u870-0.10.1.
Is it file's problem?
What can i do?

BR,

FPortnoy
Portnoy
 

Re: Felicia and sony vaio fz21e webcam

Postby hotweiss on Mon Jan 12, 2009 4:10 pm

OK, try this:

1.
Code: Select all
sudo apt-get install build-essential subversion linux-headers-`uname -r`


2.
Code: Select all
svn co http://svn.mediati.org/svn/r5u870/trunk ~/r5u870


3.
Code: Select all
cd ~/r5u870


4.
Code: Select all
sudo make


5.
Code: Select all
sudo make install


6.
Code: Select all
modprobe r5u870


7. Reboot
hotweiss
Level 4
Level 4
 
Posts: 204
Joined: Mon Jan 21, 2008 3:12 am
Location: Warsaw, Poland

Re: Felicia and sony vaio fz21e webcam

Postby Portnoy on Mon Jan 12, 2009 6:45 pm

I've tried it and the fallowing error happened:
--
make -C /lib/modules/2.6.24-16-generic/build M=/home/frank/r5u870 V=0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /home/frank/r5u870/usbcam/usbcam_fops.o
/home/frank/r5u870/usbcam/usbcam_fops.c:24:30: error: media/v4l2-ioctl.h: No such file or directory
/home/frank/r5u870/usbcam/usbcam_fops.c: In function ‘usbcam_v4l_ioctl’:
/home/frank/r5u870/usbcam/usbcam_fops.c:1162: warning: unused variable ‘udp’
/home/frank/r5u870/usbcam/usbcam_fops.c: At top level:
/home/frank/r5u870/usbcam/usbcam_fops.c:1214: error: variable ‘this_cam_ops’ has initializer but incomplete type
/home/frank/r5u870/usbcam/usbcam_fops.c:1215: error: unknown field ‘vidioc_querycap’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1215: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1215: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1216: error: unknown field ‘vidioc_enum_fmt_vid_cap’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1216: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1216: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1217: error: unknown field ‘vidioc_g_fmt_vid_cap’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1217: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1217: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1218: error: unknown field ‘vidioc_s_fmt_vid_cap’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1218: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1218: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1219: error: unknown field ‘vidioc_try_fmt_vid_cap’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1219: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1219: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1220: error: unknown field ‘vidioc_reqbufs’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1220: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1220: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1221: error: unknown field ‘vidioc_querybuf’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1221: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1221: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1222: error: unknown field ‘vidioc_qbuf’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1222: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1222: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1223: error: unknown field ‘vidioc_dqbuf’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1223: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1223: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1224: error: unknown field ‘vidiocgmbuf’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1224: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1224: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1225: error: unknown field ‘vidioc_enum_input’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1225: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1225: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1226: error: unknown field ‘vidioc_streamon’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1226: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1226: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1227: error: unknown field ‘vidioc_streamoff’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1227: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1227: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1228: error: unknown field ‘vidioc_g_input’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1228: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1228: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1229: error: unknown field ‘vidioc_s_input’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1229: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1229: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1230: error: unknown field ‘vidioc_queryctrl’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1230: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1230: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1231: error: unknown field ‘vidioc_g_ctrl’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1231: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1231: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1232: error: unknown field ‘vidioc_s_ctrl’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1232: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1232: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1233: error: unknown field ‘vidioc_querymenu’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1233: warning: excess elements in struct initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1233: warning: (near initialization for ‘this_cam_ops’)
/home/frank/r5u870/usbcam/usbcam_fops.c:1238: error: unknown field ‘vfl_type’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1240: error: unknown field ‘ioctl_ops’ specified in initializer
/home/frank/r5u870/usbcam/usbcam_fops.c:1240: warning: initialization makes integer from pointer without a cast
make[3]: *** [/home/frank/r5u870/usbcam/usbcam_fops.o] Error 1
make[2]: *** [/home/frank/r5u870/usbcam] Error 2
make[1]: *** [_module_/home/frank/r5u870] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [all] Error 2
----
i've tried easycam2 and it seems well at the end but webcam is not on.

:(

what else can i do?
Portnoy
 

Re: Felicia and sony vaio fz21e webcam

Postby hotweiss on Mon Jan 12, 2009 6:53 pm

You can try either one of the two instructions below:

1.
Code: Select all
svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk &&


2.
Code: Select all
cd trunk &&


3.
Code: Select all
make &&


4.
Code: Select all
sudo cp -av /lib/modules/$(uname -r)/ubuntu/media/usbvideo/uvcvideo.ko /lib/modules &&


5.
Code: Select all
sudo install -v -m644 uvcvideo.ko /lib/modules/$(uname -r)/ubuntu/media/usbvideo/uvcvideo.ko &&


6.
Code: Select all
sudo depmod -ae $(uname -r)


7. reboot

These instructions always work for me:

A) First we’ll need to install the files needed to build the driver by typing the following in Terminal:
Code: Select all
sudo apt-get install build-essential subversion linux-headers-`uname -r`


B) Now we will build the driver by typing the following commands in Terminal:
Code: Select all
cd /usr/src

and then
Code: Select all
sudo svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk

and then
Code: Select all
cd trunk

and then
Code: Select all
sudo make

and then
Code: Select all
sudo cp -a uvcvideo.ko /lib/modules/`uname -r`/ubuntu/media/usbvideo/


C) Reboot, and your webcam will now be working.
hotweiss
Level 4
Level 4
 
Posts: 204
Joined: Mon Jan 21, 2008 3:12 am
Location: Warsaw, Poland

Re: Felicia and sony vaio fz21e webcam

Postby Portnoy on Mon Jan 12, 2009 6:55 pm

I have give up from felicia because the kernel that comes with it is to "young" and I got back to elyssa. I used easycam2 and, i thought, it didnt worked.
But after i rebooted my laptop it was on! thanks for the help to those who posted their thoughts.

FPornoy
Portnoy
 

Re: Felicia and sony vaio fz21e webcam

Postby blinking on Mon Jan 19, 2009 10:00 pm

Hello,

i have successfully installed my webcam on linux felicia.
My laptop is a sony vaio fz21e.
Now the problem is that in some applications like cheese, amsn, kopete, in video mode it blinks a lot.
On skype it work very fine
do you know something about it?

br,

Portnoy
blinking
 

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 18 guests