Dexxa Webcam with qc-usb-0.6.2

  • Nobody/Anonymous


    I am trying to install my USB Dexxa Webcam on a Linux Debian Sid kernel 2.6.7 with qc-usb-0.6.2 . I have a version conflict problem and I do not know how to solve it.

    When I launch the (wonderful) installation script :

    % ./ MODULE_DIR=/lib/modules/2.6.7/kernel/drivers/usb LINUX_DIR=/usr/src/linux-2.6.7/

    Everything goes well until this step :

    Now I finally will try to load the module.
    If you're unlucky, your computer might crash right now!!!!
    Consider long if you really want to continue.
    Press Ctrl+C to quit, Enter to continue --->
    You decided to do it, here we go...
    insmod: error inserting './quickcam.ko': -1 Invalid module format
    === Leaving root mode ===
    quickcam: version magic '2.6.7 preempt K7 gcc-3.3' should be '2.6.7 preempt K7 gcc-2.95'
    [!] The QuickCam driver failed to load!

    How can I obtain '2.6.7 preempt K7 gcc-2.95' ? Do I have to type some commande line to change the version ?

    Thank you very much for your help.


    • Nobody/Anonymous

      You have gcc-3.3 installed which was used
      for compiling qc-usb, but the kernel has been
      compiled with gcc-2.95 (as Debian kernels
      usually are). Install gcc-2.95 and remove gcc-3.3
      if needed.
      When you type "gcc -v", it should print 2.95
      and something.
      You could also try to load with option "-f" to
      modprobe which should force the module
      to be loaded, but I'm not sure if it works.

    • Nobody/Anonymous

      On Debian the command to install gcc-2.95 is
      apt-get install gcc-2.95
      but you may need to remove the other version
      to make 2.95 the default version (or give the correct compiler command as argument, something like CC=gcc-2.95 probably)

    • Nobody/Anonymous

      I've got a similar error (Debian testing, 2.6.10 kernel):

      /dev/video1 [v4l]: no overlay support
      v4l-conf had some trouble, trying to continue anyway
      ioctl: VIDIOC_QUERYCAP(driver="";card="";bus_info="";version=0.0.0;capabilities=0x0 []): Error desconegut 515
      config: invalid value for input: Television
      valid choices for "input": "Camera"
      ioctl: VIDIOCSYNC(int=0): No resta espai en el dispositiu
      v4l: timeout (got SIGALRM), hardware/driver problems?
      ioctl: VIDIOCSYNC(int=0): La crida al sistema ha estat interrompuda
      v4l: timeout (got SIGALRM), hardware/driver problems?
      ioctl: VIDIOCSYNC(int=0): La crida al sistema ha estat interrompuda
      v4l: timeout (got SIGALRM), hardware/driver problems?
      ioctl: VIDIOCSYNC(int=0): La crida al sistema ha estat interrompuda
      v4l: timeout (got SIGALRM), hardware/driver problems?
      ioctl: VIDIOCSYNC(int=0): La crida al sistema ha estat interrompuda
      ioctl: VIDIOCMCAPTURE(frame=0;height=32;width=48;format=15): L'argument passat no s vlid
      ./ line 753:  6378 Violaci de segment     xawtv -noscale -noxv -c "$VIDEODEV"

      I also include the dmesg output:

      quickcam: QuickCam USB camera found (driver version QuickCam USB $Date: 2004/07/29 18:12:39 $)
      quickcam: Kernel:2.6.10 bus:2 class:FF subclass:FF vendor:046D product:0840
      quickcam: Sensor HDCS-1000/1100 detected
      quickcam: Registered device: /dev/video1
      usbcore: registered new driver quickcam
      ohci_hcd 0000:00:02.0: leak ed f7c93100 (#2) state 2
      Unable to handle kernel paging request at virtual address 030000c0
      printing eip:
      *pde = 00000000
      Oops: 0000 [#1]
      Modules linked in: quickcam agpgart pktcdvd lp ipt_state ipt_REJECT ip_conntrack_ftp ip_conntrack iptable_filter ip_tables ohci1394 ieee1394 snd_bt87x tuner bttv video_buf firmware_class i2c_algo_bit v4l2_common btcx_risc videodev snd_intel8x0snd_ac97_codec snd_pcm snd_timer snd soundcore snd_page_alloc parport_pc parport evdev sk98lin nls_cp437 ntfs it87 i2c_sensor i2c_isa i2c_core nvidia aes_i586 ide_cd cdrom unix
      CPU:    0
      EIP:    0060:[<c025a6c6>]    Tainted: P      VLI
      EFLAGS: 00210206   (2.6.10)
      EIP is at usb_kill_urb+0x26/0x160
      eax: 03000000   ebx: f01d1a40   ecx: 00000002   edx: f01d1a40
      esi: f01d1a40   edi: c18e8c80   ebp: f756d708   esp: ecadfed0
      ds: 007b   es: 007b   ss: 0068
      Process xawtv (pid: 6378, threadinfo=ecade000 task=f64be0a0)
      Stack: 00000002 f7c8dc00 f7c91548 00000028 00000002 c025bab5 f7c8dc00 f7c91514
             00000000 00000000 f7c91548 f7c8dc00 c025bc00 f7c8dc00 f7c6a7c0 0000000b
             00000001 00000000 ecade000 f01d1a40 c18e8c80 c025a68f f01d1a40 f7c6a7c0
      Call Trace:
      [<c025bab5>] usb_enable_interface+0x35/0x50
      [<c025bc00>] usb_set_interface+0x130/0x180
      [<c025a68f>] usb_unlink_urb+0x4f/0x60
      [<f8ac4058>] qc_unlink_urb_sync+0x18/0x40 [quickcam]
      [<f8ac61ec>] qc_isoc_stop+0x3c/0x130 [quickcam]
      [<f8ac6933>] qc_capt_exit+0x13/0x50 [quickcam]
      [<c01493cf>] unmap_vma_list+0x1f/0x30
      [<f8ac6bcf>] qc_v4l_close+0x5f/0x80 [quickcam]
      [<c0156ace>] __fput+0x11e/0x130
      [<c0155199>] filp_close+0x59/0x90
      [<c0155231>] sys_close+0x61/0xa0
      [<c010316b>] syscall_call+0x7/0xb
      Code: 27 00 00 00 00 83 ec 54 89 5c 24 48 89 74 24 4c 89 7c 24 50 8b 5c 24 58 85 db 0f 84 f5 00 00 00 8b 43 1c 85 c0 0f 84 ea 00 00 00 <8b> 80 c0 00 00 00 85 c0 0f 84 dc 00 00 00 8b 40 24 85 c0 0f 84

      Any hint?

      Thank you




      Feature Requests: #1

    • Nobody/Anonymous


      I had also the same problem with similar error messages with a VV6410 sensor in the Dexxa Webcam.

      I used the patch in line 33 of the file qc-vv6410.c and it worked!

      I replaced the line
      #define QCEGA_MODE 0
      #define QCEGA_MODE 1

      See also Bug Request ID 1101276 in the Bugs section in this project site.

      Good luck! Kan.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks