Find the answer to your Linux question:
Results 1 to 3 of 3
ok so i compiled gspcav1-20071224: tobin@debian:~$ uname -r 2.6.18-6-686 tobin@debian:~$ su Password: debian:/home/tobin# ln-s linux-2.6.18-686/ linux bash: ln-s: command not found debian:/home/tobin# ln -s linux-2.6.18-686/ linux debian:/home/tobin# cd /usr/src/gspcav1-20071224 debian:/usr/src/gspcav1-20071224# ...
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    27

    gspcav1-20071224 webcam help

    ok so i compiled gspcav1-20071224:

    tobin@debian:~$ uname -r
    2.6.18-6-686
    tobin@debian:~$ su
    Password:
    debian:/home/tobin# ln-s linux-2.6.18-686/ linux
    bash: ln-s: command not found
    debian:/home/tobin# ln -s linux-2.6.18-686/ linux
    debian:/home/tobin# cd /usr/src/gspcav1-20071224
    debian:/usr/src/gspcav1-20071224# ./gspca_build

    REMOVE the old module if present
    ERROR: Module gspca does not exist in /proc/modules

    CLEAN gspca source tree
    rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \
    .gspca.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i \
    *.symvers *.err

    COMPILE gspca Please Wait ....!!

    INSTALL gspca in the kernel binary tree
    mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
    rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
    rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
    install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
    /sbin/depmod -ae

    LOAD gspca in memory

    PRINT COMPILATION MESSAGES if ERRORS look kgspca.err
    make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/gspcav1-20071224 CC=cc modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.18-6-686'
    CC [M] /usr/src/gspcav1-20071224/gspca_core.o
    CC [M] /usr/src/gspcav1-20071224/decoder/gspcadecoder.o
    LD [M] /usr/src/gspcav1-20071224/gspca.o
    Building modules, stage 2.
    MODPOST
    CC /usr/src/gspcav1-20071224/gspca.mod.o
    LD [M] /usr/src/gspcav1-20071224/gspca.ko
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-6-686'


    then i installed xwatv,camorama, and ekiga

    lsmod shows:
    debian:/home/tobin# lsmod
    Module Size Used by
    gspca 646480 0
    videodev 21120 1 gspca
    v4l1_compat 12036 1 videodev
    v4l2_common 20448 1 videodev
    i915 17728 2
    drm 61332 3 i915
    binfmt_misc 10984 1
    ppdev 8676 0
    lp 11012 0
    button 6672 0
    ac 5188 0
    battery 9636 0
    ipv6 226272 12
    sbp2 20840 0
    loop 15048 0
    snd_hda_intel 17332 3
    snd_hda_codec 137856 1 snd_hda_intel
    parport_pc 32132 1
    snd_pcm_oss 38368 0
    snd_mixer_oss 15200 1 snd_pcm_oss
    parport 33256 3 ppdev,lp,parport_pc
    serio_raw 6660 0
    rtc 12372 0
    usblp 12768 0
    i2c_i801 7468 0
    snd_pcm 68676 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
    pcspkr 3072 0
    psmouse 35016 0
    i2c_core 19680 1 i2c_i801
    snd_timer 20996 1 snd_pcm
    snd 47012 12 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_ oss,snd_pcm,snd_timer
    intel_agp 22204 1
    agpgart 29896 5 drm,intel_agp
    soundcore 9248 1 snd
    snd_page_alloc 10184 2 snd_hda_intel,snd_pcm
    tsdev 7520 0
    evdev 9088 1
    eth1394 18212 0
    ext3 119240 6
    jbd 52456 1 ext3
    mbcache 8356 1 ext3
    sha256 11104 0
    aes 28160 2
    dm_crypt 10888 1
    dm_mirror 19152 0
    dm_snapshot 15552 0
    dm_mod 50232 18 dm_crypt,dm_mirror,dm_snapshot
    ide_generic 1408 0 [permanent]
    sd_mod 19040 3
    ide_cd 36064 0
    cdrom 32544 1 ide_cd
    ata_piix 13896 2
    libata 89396 1 ata_piix
    usb_storage 72000 0
    scsi_mod 124168 4 sbp2,sd_mod,libata,usb_storage
    8139cp 21920 0
    usbhid 37248 0
    generic 4868 0 [permanent]
    ohci1394 30800 0
    8139too 25120 0
    mii 5344 2 8139cp,8139too
    piix 9444 0 [permanent]
    ide_core 110504 5 ide_generic,ide_cd,usb_storage,generic,piix
    ieee1394 86904 3 sbp2,eth1394,ohci1394
    ehci_hcd 28136 0
    uhci_hcd 21164 0
    usbcore 112644 7 gspca,usblp,usb_storage,usbhid,ehci_hcd,uhci_hcdth ermal 13608 0
    processor 28840 1 thermal
    fan 4804 0


    dmesg shows:
    debian:/home/tobin# dmesg
    eth1: no IPv6 routers present
    usb 1-2: USB disconnect, address 5
    usb 1-2: new full speed USB device using uhci_hcd and address 6
    usb 1-2: configuration #1 chosen from 1 choice
    usb 1-2: USB disconnect, address 6
    ppdev0: registered pardevice
    ppdev0: unregistered pardevice
    Linux video capture interface: v2.00
    usbcore: registered new driver gspca
    /usr/src/gspcav1-20071224/gspca_core.c: gspca driver 01.00.20 registered
    usb 1-2: new full speed USB device using uhci_hcd and address 7
    usb 1-2: configuration #1 chosen from 1 choice
    usb 1-2: USB disconnect, address 7
    usb 1-2: new full speed USB device using uhci_hcd and address 8
    usb 1-2: configuration #1 chosen from 1 choice


    ok so then i tried camorama wich showed this

    debian:/home/tobin# camorama -d dev/video0

    (camorama:24797): GnomeUI-WARNING **: While connecting to session manager:
    Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

    popup showed unable to connect to device (dev/video0)
    please check connection


    i unpluged my cam and pluged it back in and tried it and same thing happened

    so then i tried to figured out how to manually mount the device

    i went to http://tldp.org/HOWTO/Webcam-HOWTO/d...tml#DEV-MANUAL

    there it said to make a makedev file:
    #!/bin/bash
    function makedev () {
    for dev in 0 1 2 3; do echo "/dev/$1$dev:
    char 81 $[ $2 + $dev ]" rm -f /dev/$1$dev
    mknod /dev/$1$dev c 81 $[ $2 + $dev ] chmod
    666 /dev/$1$dev
    done

    # symlink for default device
    rm -f /dev/$1 ln -s /dev/${1}0 /dev/$1
    }

    # see http://roadrunner.swansea.uk.linux.org/v4lapi.shtml
    echo "*** new device names ***" makedev video
    0 makedev radio 64 makedev vtx 192 makedev vbi 224
    # "*** old device names (for compatibility only) ***"
    #makedev bttv 0 #makedev bttv-fm 64 #makedev bttv-vbi 224

    i saved it as makedev then do a chmod u+x makedev is the next command i did then i did ./makedev and it outputted this:

    debian:/home/tobin# ./makedev
    *** new device names *** makedev video
    ./makedev: line 15: 0: command not found

    does that mean that it didnt work?

    im stuck as to how to get my camera operational the gspca website says that my camera will work for it its emmbeded so does that mean that i need the spca light edtion or it shud be in the gspca package? if you need any more info just ask and ill give it owuldnt allow me to post the whole dmesg output so i copied and pasted what i felt was relevant. i have a pd1100 creative vista camera

  2. #2
    Just Joined!
    Join Date
    Jul 2007
    Posts
    27
    ok so i dont see video0 in my dev folder but when i do mknod /dev/video0 c 81 0 it says that it allready exsits so i try camorama -d dev/video0 it still tells me cannot connect device.

    lsmod | grep gspca
    gspca 646480 0
    videodev 21120 1 gspca
    usbcore 112644 7 gspca,usblp,usb_storage,usbhid,ehci_hcd,uhci_hcd

  3. #3
    Just Joined!
    Join Date
    Jul 2007
    Posts
    27
    ok so i went to the site it told me that i needed spca5xx so i uninstalled gspcav1-20071224 installed spca5xx ls mod shows spca5xx alone, videodev with spca5xx and usbcore with spca5xx. camorama -d dev/video still tells me there it cant load device dev/video0 i tried spcaview -d dev/video0 and same thing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •