You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, January 23rd 2007, 10:58pm

[kopete] v4l2, Logitech QuickCam Fusion

Hello together

I tried today to get my webcam working with kopete 0.12.3 (KDE 3.5.5), but the only thing i see is a green image with the QT Logo. So here some more Details about my Webcam:

Logitech QuickCam Fusion
v4l2 driver: UVC (http://linux-uvc.berlios.de/, r78 )
lsusb:

Source code

1
046d:08ca Logitech, Inc. ( => Logitech Quickcam Fusion (2006 model) )

dmesg:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
usb 1-9: new high speed USB device using ehci_hcd and address 33
usb 1-9: configuration #1 chosen from 1 choice
uvcvideo: Probing generic UVC device 9
uvcvideo: Found format MJPEG.
uvcvideo: - 160x120 (30.0 fps)
uvcvideo: - 176x144 (30.0 fps)
uvcvideo: - 320x240 (15.0 fps)
uvcvideo: - 352x288 (15.0 fps)
uvcvideo: - 640x480 (15.0 fps)
uvcvideo: - 960x720 (15.0 fps)
uvcvideo: Found format Uncompressed.
uvcvideo: - 160x120 (30.0 fps)
uvcvideo: - 176x144 (30.0 fps)
uvcvideo: - 320x240 (15.0 fps)
uvcvideo: - 352x288 (15.0 fps)
uvcvideo: - 640x480 (15.0 fps)
uvcvideo: - 960x720 (10.0 fps)
uvcvideo: - 1280x960 (7.5 fps)
uvcvideo: Found a Status endpoint (addr 87).
uvcvideo: Found UVC 1.00 device <unnamed> (046d:08ca)
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 9 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device 9 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device 9 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to device 9 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/1 to device 9 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/4 to device 9 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/5 to device 9 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000001/2 to device 9 entity 1
uvcvideo: Added control 00000000-0000-0000-0000-000000000001/4 to device 9 entity 1
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/11 to device 9 entity 2
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/10 to device 9 entity 2
uvcvideo: Scanning UVC chain: OT 5 (-> 12 8 10 11) <- Unit 4 (-> 13) <- Unit 3 <- Unit 2 <- IT 1
uvcvideo: Found a valid video chain (1 -> 5).
uvcvideo: UVC device initialized.

The webcam works with LUVCview (Version 20060207, LUVCview download) in all resolutions. But wenn i start kopete and go to the webcam dialogue, i see only [QT] and in the same time i get following errors in the terminal:

Source code

1
QPixmap::convertFromImage: Cannot convert a null image

Then, when i change the device to my tvcard output /dev/video0 and back to the webcam (USB Video Class device on /dev/video1) kopete crashes.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[KCrash handler]
#5  0xb580ab85 in Kopete::AV::VideoInput::setBrightness ()
   from /usr/lib/libkopete_videodevice.so.0
#6  0xb580d396 in Kopete::AV::VideoDevice::setBrightness ()
   from /usr/lib/libkopete_videodevice.so.0
#7  0xb5814376 in Kopete::AV::VideoDevicePool::setBrightness ()
   from /usr/lib/libkopete_videodevice.so.0
#8  0xb54aa9d1 in AVDeviceConfig::slotBrightnessSliderChanged ()
   from /usr/lib/kde3/kcm_kopete_avdeviceconfig.so
#9  0xb54ab206 in AVDeviceConfig::qt_invoke ()
   from /usr/lib/kde3/kcm_kopete_avdeviceconfig.so
#10 0xb68ebd4f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#11 0xb68ec656 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0xb6c93e6b in QSlider::valueChanged () from /usr/lib/libqt-mt.so.3
#13 0xb6a271a7 in QSlider::valueChange () from /usr/lib/libqt-mt.so.3
#14 0xb6a1a28e in QRangeControl::setValue () from /usr/lib/libqt-mt.so.3
#15 0xb6a25e0f in QSlider::setValue () from /usr/lib/libqt-mt.so.3
#16 0xb54aacf4 in AVDeviceConfig::setVideoInputParameters ()
   from /usr/lib/kde3/kcm_kopete_avdeviceconfig.so
#17 0xb54ab0f2 in AVDeviceConfig::slotDeviceKComboBoxChanged ()
   from /usr/lib/kde3/kcm_kopete_avdeviceconfig.so
#18 0xb54ab1b8 in AVDeviceConfig::qt_invoke ()
   from /usr/lib/kde3/kcm_kopete_avdeviceconfig.so
#19 0xb68ebd4f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#20 0xb68ec656 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#21 0xb6c7fa89 in QComboBox::activated () from /usr/lib/libqt-mt.so.3
#22 0xb6993778 in QComboBox::internalActivate () from /usr/lib/libqt-mt.so.3
#23 0xb6c7f887 in QComboBox::qt_invoke () from /usr/lib/libqt-mt.so.3
#24 0xb72cafc3 in KComboBox::qt_invoke () from /usr/lib/libkdeui.so.4
#25 0xb68ebd4f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#26 0xb68ec656 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#27 0xb6c8a5c6 in QListBox::selected () from /usr/lib/libqt-mt.so.3
#28 0xb69d527c in QListBox::mouseDoubleClickEvent ()
   from /usr/lib/libqt-mt.so.3
#29 0xb692272f in QWidget::event () from /usr/lib/libqt-mt.so.3
#30 0xb6883c26 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#31 0xb6885dc9 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#32 0xb7034e0e in KApplication::notify () from /usr/lib/libkdecore.so.4
#33 0xb6817421 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#34 0xb6990870 in QComboBox::eventFilter () from /usr/lib/libqt-mt.so.3
#35 0xb72033eb in KComboBox::eventFilter () from /usr/lib/libkdeui.so.4
#36 0xb68eb302 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#37 0xb68eb380 in QObject::event () from /usr/lib/libqt-mt.so.3
#38 0xb6922612 in QWidget::event () from /usr/lib/libqt-mt.so.3
#39 0xb6883c26 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#40 0xb6885dc9 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#41 0xb7034e0e in KApplication::notify () from /usr/lib/libkdecore.so.4
#42 0xb6817495 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#43 0xb6815d7b in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#44 0xb68146b0 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#45 0xb682ad02 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#46 0xb689e179 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#47 0xb689df9a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#48 0xb68857bf in QApplication::exec () from /usr/lib/libqt-mt.so.3
#49 0x0807e070 in ?? ()
#50 0xbfde9b9c in ?? ()
#51 0xbfde9cd0 in ?? ()
#52 0xbfde9cc8 in ?? ()
#53 0x00000000 in ?? ()


There is another Person, that had the same Problem and Cláudio da Silveira Pinheiro gave him following answer: http://lists.kde.org/?l=kopete-devel&m=115881070211310&w=2.

xawtv returns:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
xawtv -hwscan
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.18-3-686)
looking for available devices
[...]
/dev/video0: OK                         [ -device /dev/video0 ]
    type : v4l2
    name : BT878 video (Hauppauge (bt878))
    flags: overlay capture tuner

/dev/video1: OK                         [ -device /dev/video1 ]
    type : v4l2
    name : USB Video Class device
    flags:  capture

I can only start xawtv without error when i use

Source code

1
xawtv -c /dev/video0 -nodga

but the only thing i see is a black screen:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.18-3-686)
X Error of failed request:  XF86DGANoDirectVideoMode
  Major opcode of failed request:  136 (XFree86-DGA)
  Minor opcode of failed request:  1 (XF86DGAGetVideoLL)
  Serial number of failed request:  13
  Current serial number in output stream:  13
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0xbf934fa4 [PAL_G,PAL_D,PAL_K,PAL_M,PAL_N,PAL_Nc,PAL_60,?,SECAM_B,SECAM_D,SECAM_K,?ATSC_8_VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),(null)]): Das Argument ist ungültig
ioctl: VIDIOC_G_CTRL(id=134217739;value=134707182): Das Argument ist ungültig
ioctl: VIDIOC_G_CTRL(id=134217741;value=1): Das Argument ist ungültig
ioctl: VIDIOC_REQBUFS(count=2;type=VIDEO_CAPTURE;memory=MMAP): Erfolg
ioctl: VIDIOC_S_STD(std=0x0 []): Das Argument ist ungültig
ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=unknown): Das Argument ist ungültig

With ekiga the webcam works. Have you any idea why it doesn't work with kopete? Do you need any additional data? Thank you for your work till today!

This post has been edited 1 times, last edit by "idefix" (Jan 23rd 2007, 10:59pm)


2

Wednesday, January 24th 2007, 3:02pm

well, here it 'just works'. i guess you had a look at the settings in kopete (tough not much to setup there). i tested it first with kdetv (yeah can see webcam as well). maybe it can help you?

kopete + webcam is pretty new (and will get a serious rework for KDE 4) so it's possible you won't be able to fix it easilly, sorry.
-=| life sucks deeply |=-

3

Wednesday, January 24th 2007, 5:49pm

i have tested it now with kdetv and there it doen't work too. After chaning from my TV card to the Webcam, i got following errors (and kdetv crashes):

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
kdetv: WARNING: VolumeController::doSetVolume: AudioManager failed, trying Sourc
eManager
kdetv: WARNING: V4L2Dev: VIDIOC_QUERYMENU failed: Das Argument ist ung??ltig
kdetv: WARNING: V4L2Dev: VIDIOC_QUERYMENU failed: Das Argument ist ung??ltig
kdetv: WARNING: VolumeController::doSetVolume: AudioManager failed, trying Sourc
eManager
kdetv: WARNING: VolumeController::doSetVolume: AudioManager failed, trying Sourc
eManager
kdetv: WARNING: VolumeController::doSetVolume: AudioManager failed, trying Sourc
eManager
kdetv: WARNING: V4L2Dev: VIDIOC_G_CTRL failed: Das Argument ist ung??ltig
kdetv: WARNING: V4L2Dev: VIDIOC_G_CTRL failed: Das Argument ist ung??ltig
kdetv: WARNING: V4L2Dev: VIDIOC_QBUF failed: Das Argument ist ung??ltig
V4L2Grabber::~V4L2Grabber(): wait().
V4L2Grabber::~V4L2Grabber(): deleted.
kdetv: WARNING: V4L2Dev: VIDIOC_DQBUF failed: Eingabe-/Ausgabefehler
kdetv: WARNING: IO error - requeuing buffer
kdetv: WARNING: V4L2Dev::enqueueBuffer(): buffer already queued: 0
kdetv: WARNING: V4L2Dev: VIDIOC_DQBUF failed: Eingabe-/Ausgabefehler
kdetv: WARNING: IO error - requeuing buffer
kdetv: WARNING: V4L2Dev: VIDIOC_QBUF failed: Das Argument ist ung??ltig
kdetv: WARNING: V4L2Dev: VIDIOC_QBUF failed: Das Argument ist ung??ltig
kdetv: WARNING: V4L2Dev: VIDIOC_DQBUF failed: Eingabe-/Ausgabefehler
kdetv: WARNING: IO error - requeuing buffer
kdetv: WARNING: V4L2Dev: VIDIOC_QBUF failed: Das Argument ist ung??ltig
kdetv: WARNING: V4L2Dev: VIDIOC_QBUF failed: Das Argument ist ung??ltig
kdetv: WARNING: V4L2Dev: VIDIOC_DQBUF failed: Eingabe-/Ausgabefehler
kdetv: WARNING: IO error - requeuing buffer
kdetv: WARNING: V4L2Dev::enqueueBuffer(): buffer already queued: 0
kdetv: WARNING: V4L2Dev: VIDIOC_DQBUF failed: Eingabe-/Ausgabefehler
kdetv: WARNING: IO error - requeuing buffer
kdetv: WARNING: V4L2Dev::enqueueBuffer(): buffer already queued: 0
kdetv: WARNING: V4L2Dev: VIDIOC_DQBUF failed: Eingabe-/Ausgabefehler
kdetv: WARNING: IO error - requeuing buffer
kdetv: WARNING: V4L2Dev::enqueueBuffer(): buffer already queued: 0
kdetv: WARNING: V4L2Dev: VIDIOC_DQBUF failed: Eingabe-/Ausgabefehler
kdetv: WARNING: IO error - requeuing buffer
kdetv: WARNING: V4L2Dev::enqueueBuffer(): buffer already queued: 0
libzvbi:v4l2_stream: Failed to dequeue buffer, errno 5.
kdetv: WARNING: VbiDecoder: VBI capture error: Eingabe-/Ausgabefehler

dmesg:

Source code

1
2
uvcvideo: Failed to query (1) UVC control 4 (unit 1) : -32 (exp. 4).
uvcvideo: Failed to query (1) UVC control 10 (unit 2) : -32 (exp. 2).

and i had to replug the USB cable to see the image with luvcview. So i think i have to wait till kde 4 :-/ Thank you for your reply!