от smilenov_i » 21 Ное 2009, 23:36
Здравейте
На чипа нова инсталация на новото убунту 9-10 се пробвах да пусна Labtec камера...
ivan@Pravets8:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:0929 Logitech, Inc. Labtec WebCam Pro
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
същата ползвах на друг компютър с guvcview който още като го слагах стана на въпрос че не е точно за тази камера но поносимо работеше.....
Открих spca5xx-v4l1goodbye който се води точно като за Labtec WebCam Pro чудото на инженерната мисъл....
следващите ми стъпки:
ivan@Pravets8:~$ cd Плот
ivan@Pravets8:~/Плот$ cd spca5xx-v4l1goodbye
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ ./configure
bash: ./configure: No such file or directory
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/ivan/Плот/spca5xx-v4l1goodbye CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/ivan/Плот/spca5xx-v4l1goodbye/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/ivan/Плот/spca5xx-v4l1goodbye] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [default] Error 2
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ make instal
make: *** No rule to make target `instal'. Stop.
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ make install
make: `install' is up to date.
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ sudo make install
[sudo] password for ivan:
make: `install' is up to date.
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ ./configure
bash: ./configure: No such file or directory
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ dir
CHANGELOG install readme README-TV8532
cutlog.py license README-KERNEL-UPTO-2.6.16 RGB-YUV%2fmodule-setting
drivers Makefile README-SONIX
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ ./configure
bash: ./configure: No such file or directory
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/ivan/Плот/spca5xx-v4l1goodbye CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/ivan/Плот/spca5xx-v4l1goodbye/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/ivan/Плот/spca5xx-v4l1goodbye] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [default] Error 2
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ sudo checkinstall
sudo: checkinstall: command not found
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ make dep
make: *** No rule to make target `dep'. Stop.
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ make clean
rm -r -f drivers/usb/*.o drivers/usb/.spcadecoder.o.cmd \
drivers/usb/.spca5xx.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/ivan/Плот/spca5xx-v4l1goodbye CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/ivan/Плот/spca5xx-v4l1goodbye/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/ivan/Плот/spca5xx-v4l1goodbye] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [default] Error 2
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ make install
make: `install' is up to date.
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$ lsmod
Module Size Used by
binfmt_misc 8356 1
snd_via82xx 23576 2
gameport 11368 1 snd_via82xx
snd_ac97_codec 101216 1 snd_via82xx
ac97_bus 1532 1 snd_ac97_codec
snd_pcm_oss 37920 0
snd_mixer_oss 16028 1 snd_pcm_oss
snd_pcm 75296 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 9156 2 snd_via82xx,snd_pcm
snd_mpu401_uart 6940 1 snd_via82xx
snd_seq_dummy 2656 0
snd_seq_oss 28576 0
snd_seq_midi 6432 0
snd_rawmidi 22208 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 6940 2 snd_seq_oss,snd_seq_midi
iptable_filter 3100 0
snd_seq 50224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 22276 2 snd_pcm,snd_seq
gspca_spca561 9372 0
ip_tables 11692 1 iptable_filter
snd_seq_device 6920 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
gspca_main 22812 1 gspca_spca561
x_tables 16544 1 ip_tables
videodev 36736 1 gspca_main
ppdev 6688 0
i2c_viapro 7312 0
snd 59204 15 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
v4l1_compat 14496 1 videodev
psmouse 56180 0
lp 8964 0
parport_pc 31940 1
shpchp 32272 0
nvidia 9586440 36
parport 35340 3 ppdev,lp,parport_pc
soundcore 7264 1 snd
serio_raw 5280 0
via_rhine 22212 0
mii 5212 1 via_rhine
sata_via 9184 4
floppy 54916 0
via_agp 7932 1
agpgart 34988 2 nvidia,via_agp
ivan@Pravets8:~/Плот/spca5xx-v4l1goodbye$
Дава грешка и в крайна сметка нищо положително не се случва с камерата.... къде и какво бъркам
Поздрави