vaio@ubuntu:~$ svn co http://svn.mediati.org/svn/r5u870/trunk ~/r5u870
A /home/vaio/r5u870/r5u870_183a.fw
A /home/vaio/r5u870/r5u870_183b.fw
A /home/vaio/r5u870/r5u870_1870_1.fw
A /home/vaio/r5u870/r5u870_183e.fw
A /home/vaio/r5u870/AUTHORS
A /home/vaio/r5u870/ChangeLog
A /home/vaio/r5u870/r5u870.c
A /home/vaio/r5u870/recode-fw.scm
A /home/vaio/r5u870/debug.mk
A /home/vaio/r5u870/README
A /home/vaio/r5u870/r5u870_1810.fw
A /home/vaio/r5u870/r5u870_1812.fw
A /home/vaio/r5u870/r5u870_1830.fw
A /home/vaio/r5u870/r5u870_1841.fw
A /home/vaio/r5u870/r5u870_1832.fw
A /home/vaio/r5u870/r5u870_1833.fw
A /home/vaio/r5u870/r5u870_1834.fw
A /home/vaio/r5u870/r5u870_1870.fw
A /home/vaio/r5u870/r5u870_1835.fw
A /home/vaio/r5u870/r5u870_1836.fw
A /home/vaio/r5u870/COPYING
A /home/vaio/r5u870/r5u870_1839.fw
A /home/vaio/r5u870/MAINTAINERS
A /home/vaio/r5u870/Kbuild
A /home/vaio/r5u870/usbcam
A /home/vaio/r5u870/usbcam/usbcam.h
A /home/vaio/r5u870/usbcam/usbcam_priv.h
A /home/vaio/r5u870/usbcam/usbcam_fops.c
A /home/vaio/r5u870/usbcam/usbcam_buf.c
A /home/vaio/r5u870/usbcam/usbcam_util.c
A /home/vaio/r5u870/usbcam/usbcam_dev.c
A /home/vaio/r5u870/usbcam/usbcam_skel.c
A /home/vaio/r5u870/usbcam/Makefile
A /home/vaio/r5u870/NEWS
A /home/vaio/r5u870/Makefile
Checked out revision 109.
vaio@ubuntu:~$
vaio@ubuntu:~$ cd ~/r5u870
vaio@ubuntu:~/r5u870$ sudo make
[sudo] password for vaio:
make -C /lib/modules/2.6.32-24-generic/build M=/home/vaio/r5u870 V=0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic'
CC [M] /home/vaio/r5u870/r5u870.o
/home/vaio/r5u870/r5u870.c:872:1: warning: "V4L2_CID_PRIVACY" redefined
In file included from include/linux/videodev.h:17,
from /home/vaio/r5u870/usbcam/usbcam.h:38,
from /home/vaio/r5u870/r5u870.c:59:
include/linux/videodev2.h:1160:1: warning: this is the location of the previous definition
CC [M] /home/vaio/r5u870/usbcam/usbcam_dev.o
/home/vaio/r5u870/usbcam/usbcam_dev.c: In function ‘usbcam_register_mod’:
/home/vaio/r5u870/usbcam/usbcam_dev.c:535: warning: assignment from incompatible pointer type
CC [M] /home/vaio/r5u870/usbcam/usbcam_fops.o
/home/vaio/r5u870/usbcam/usbcam_fops.c: In function ‘usbcam_v4l_vidioc_querycap’:
/home/vaio/r5u870/usbcam/usbcam_fops.c:522: error: ‘struct device’ has no member named ‘bus_id’
/home/vaio/r5u870/usbcam/usbcam_fops.c: In function ‘usbcam_v4l_ioctl’:
/home/vaio/r5u870/usbcam/usbcam_fops.c:1170: 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 *’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1170: 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 *’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1170: 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’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1170: error: too many arguments to function ‘video_usercopy’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1174: 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 *’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1174: 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 *’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1174: error: too many arguments to function ‘video_ioctl2’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1162: warning: unused variable ‘udp’
make[3]: *** [/home/vaio/r5u870/usbcam/usbcam_fops.o] Error 1
make[2]: *** [/home/vaio/r5u870/usbcam] Error 2
make[1]: *** [_module_/home/vaio/r5u870] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
make: *** [all] Error 2
vaio@ubuntu:~/r5u870$ sudo make install
make -C /lib/modules/2.6.32-24-generic/build M=/home/vaio/r5u870 V=0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic'
CC [M] /home/vaio/r5u870/usbcam/usbcam_fops.o
/home/vaio/r5u870/usbcam/usbcam_fops.c: In function ‘usbcam_v4l_vidioc_querycap’:
/home/vaio/r5u870/usbcam/usbcam_fops.c:522: error: ‘struct device’ has no member named ‘bus_id’
/home/vaio/r5u870/usbcam/usbcam_fops.c: In function ‘usbcam_v4l_ioctl’:
/home/vaio/r5u870/usbcam/usbcam_fops.c:1170: 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 *’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1170: 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 *’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1170: 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’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1170: error: too many arguments to function ‘video_usercopy’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1174: 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 *’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1174: 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 *’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1174: error: too many arguments to function ‘video_ioctl2’
/home/vaio/r5u870/usbcam/usbcam_fops.c:1162: warning: unused variable ‘udp’
make[3]: *** [/home/vaio/r5u870/usbcam/usbcam_fops.o] Error 1
make[2]: *** [/home/vaio/r5u870/usbcam] Error 2
make[1]: *** [_module_/home/vaio/r5u870] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
make: *** [all] Error 2
vaio@ubuntu:~/r5u870$ sudo modrobe r5u870
sudo: modrobe: command not found
vaio@ubuntu:~/r5u870$ sudo modprobe r5u870
FATAL: Module r5u870 not found.
vaio@ubuntu:~/r5u870$ xawtv /dev/video0
Το πρόγραμμα 'xawtv' δεν είναι αυτή τη στιγμή εγκατεστημένο. Μπορείτε να το εγκαταστήσετε πληκτρολογώντας:
sudo apt-get install xawtv
vaio@ubuntu:~/r5u870$ sudo apt-get install xawtv
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
Τα ακόλουθα επιπλέον πακέτα θα εγκατασταθούν:
libzvbi-common libzvbi0 pia scantv v4l-conf xawtv-plugins xutils
Προτεινόμενα πακέτα:
xawtv-plugin-qt tv-fonts
Τα ακόλουθα ΝΕΑ πακέτα θα εγκατασταθούν:
libzvbi-common libzvbi0 pia scantv v4l-conf xawtv xawtv-plugins xutils
0 αναβαθμίστηκαν, 8 νέο εγκατεστημένα, 0 θα αφαιρεθούν και 0 δεν αναβαθμίζονται.
Χρειάζεται να μεταφορτωθούν 826kB από αρχεία.
Μετά από αυτή τη λειτουργία, θα χρησιμοποιηθούν 2712kB χώρου από το δίσκο.
Θέλετε να συνεχίσετε [Ν/ο]; y
Φέρε:1 http://gr.archive.ubuntu.com/ubuntu/ lucid/universe libzvbi-common 0.2.33-1 [60,9kB]
Φέρε:2 http://gr.archive.ubuntu.com/ubuntu/ lucid/universe libzvbi0 0.2.33-1 [293kB]
Φέρε:3 http://gr.archive.ubuntu.com/ubuntu/ lucid/main xutils 1:7.5+5ubuntu1 [7342B]
Φέρε:4 http://gr.archive.ubuntu.com/ubuntu/ lucid/universe xawtv-plugins 3.95.dfsg.1-8.1ubuntu1 [86,2kB]
Φέρε:5 http://gr.archive.ubuntu.com/ubuntu/ lucid/universe pia 3.95.dfsg.1-8.1ubuntu1 [39,6kB]
Φέρε:6 http://gr.archive.ubuntu.com/ubuntu/ lucid/universe scantv 3.95.dfsg.1-8.1ubuntu1 [57,8kB]
Φέρε:7 http://gr.archive.ubuntu.com/ubuntu/ lucid/universe v4l-conf 3.95.dfsg.1-8.1ubuntu1 [28,5kB]
Φέρε:8 http://gr.archive.ubuntu.com/ubuntu/ lucid/universe xawtv 3.95.dfsg.1-8.1ubuntu1 [253kB]
Μεταφορτώθηκαν 826kB σε 3s (261kB/s)
Προρύθμιση πακέτων ...
Επιλογή προηγούμενου απεπιλεγμένου πακέτου libzvbi-common.
(Ανάγνωση βάσης δεδομένων ... προς το παρόν εγκαταστάθηκαν 134979 αρχεία και κατάλογοι.)
Γίνεται αποσυμπίεση libzvbi-common (από .../libzvbi-common_0.2.33-1_all.deb) ...
Επιλογή προηγούμενου απεπιλεγμένου πακέτου libzvbi0.
Γίνεται αποσυμπίεση libzvbi0 (από .../libzvbi0_0.2.33-1_i386.deb) ...
Επιλογή προηγούμενου απεπιλεγμένου πακέτου xutils.
Γίνεται αποσυμπίεση xutils (από .../xutils_1%3a7.5+5ubuntu1_all.deb) ...
Επιλογή προηγούμενου απεπιλεγμένου πακέτου xawtv-plugins.
Γίνεται αποσυμπίεση xawtv-plugins (από .../xawtv-plugins_3.95.dfsg.1-8.1ubuntu1_i386.deb) ...
Επιλογή προηγούμενου απεπιλεγμένου πακέτου pia.
Γίνεται αποσυμπίεση pia (από .../pia_3.95.dfsg.1-8.1ubuntu1_i386.deb) ...
Επιλογή προηγούμενου απεπιλεγμένου πακέτου scantv.
Γίνεται αποσυμπίεση scantv (από .../scantv_3.95.dfsg.1-8.1ubuntu1_i386.deb) ...
Επιλογή προηγούμενου απεπιλεγμένου πακέτου v4l-conf.
Γίνεται αποσυμπίεση v4l-conf (από .../v4l-conf_3.95.dfsg.1-8.1ubuntu1_i386.deb) ...
Επιλογή προηγούμενου απεπιλεγμένου πακέτου xawtv.
Γίνεται αποσυμπίεση xawtv (από .../xawtv_3.95.dfsg.1-8.1ubuntu1_i386.deb) ...
Επεξεργασία των trigger για man-db ...
Επεξεργασία των trigger για desktop-file-utils ...
Επεξεργασία των trigger για python-gmenu ...
Rebuilding /usr/share/applications/desktop.el_GR.utf8.cache...
Επεξεργασία των trigger για python-support ...
Γίνεται εγκατάσταση libzvbi-common (0.2.33-1) ...
Γίνεται εγκατάσταση libzvbi0 (0.2.33-1) ...
Γίνεται εγκατάσταση xutils (1:7.5+5ubuntu1) ...
Γίνεται εγκατάσταση xawtv-plugins (3.95.dfsg.1-8.1ubuntu1) ...
Γίνεται εγκατάσταση pia (3.95.dfsg.1-8.1ubuntu1) ...
Γίνεται εγκατάσταση scantv (3.95.dfsg.1-8.1ubuntu1) ...
Γίνεται εγκατάσταση v4l-conf (3.95.dfsg.1-8.1ubuntu1) ...
Γίνεται εγκατάσταση xawtv (3.95.dfsg.1-8.1ubuntu1) ...
Επεξεργασία των trigger για libc-bin ...
ldconfig deferred processing now taking place
vaio@ubuntu:~/r5u870$ xawtv /dev/video0
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.32-24-generic)
xinerama 0: 1280x800+0+0
WARNING: No DGA direct video mode for this display.
can't open /dev/video0: No such device or address
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: Permission denied
v4l2: open /dev/video0: Permission denied
v4l: open /dev/video0: Permission denied
no video grabber device available
vaio@ubuntu:~/r5u870$
lspci -nn
lsusb
lsmod