Bug 232472 - Kopete isn't initialising sony vaio/ricoh webcam correctly
Summary: Kopete isn't initialising sony vaio/ricoh webcam correctly
Status: RESOLVED NOT A BUG
Alias: None
Product: kopete
Classification: Unmaintained
Component: Audio/Video Plugin (other bugs)
Version First Reported In: 1.0.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-28 15:22 UTC by cesti_alain
Modified: 2010-03-28 18:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cesti_alain 2010-03-28 15:22:46 UTC
Version:            (using KDE 4.4.1)
OS:                Linux
Installed from:    Archlinux Packages

Ref http://forum.kde.org/viewtopic.php?f=19&t=86179

Basically, I have a sony VAIO VGN-AR61M laptop, equipped with the following webcam:

Bus 001 Device 002: ID 05ca:1839 Ricoh Co., Ltd Visual Communication Camera VGP-VCC6 [R5U870]

I found a driver for it:
http://bitbucket.org/ahixon/r5u87x/

and it seems to work ok when using vlc:
http://img705.imageshack.us/img705/5219/snapshot1i.jpg
(recognised as YUY2 format, 640x480)

but in kopete it doesn't work well:
http://img196.imageshack.us/img196/8894/snapshot2qn.jpg

This seems related to requested video resolution that should be set to 640x480:
http://bitbucket.org/ahixon/r5u87x/issue/17/distorted-video-uvcvideo-resolution-issue

I didn't find a way to set the resolution in kopete, and was redirected here from the kde support forum (see ref link above).
Comment 1 cesti_alain 2010-03-28 15:36:13 UTC
Additional data, when starting kopete from konsole, the following log appears:
[code]Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kopete(3312)/kdeui (KNotification) KStatusNotifierItemDBus::KStatusNotifierItemDBus: service is "org.kde.StatusNotifierItem-3312-1"
kopete(3312)/kdeui (KNotification) KStatusNotifierItemPrivate::registerToDaemon: Registering a client interface to the KStatusNotifierWatcher
kopete(3312)/libkopete KopeteSystemTray::KopeteSystemTray:
kopete(3312)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-alain/ksycoca4"
kopete(3312)/kdepimlibs (kabc) KABC::StdAddressBook::self:
kopete(3312)/kdepimlibs (kabc) KABC::StdAddressBook::self: asynchronous= false
kopete(3312)/kresources KRES::Factory::self:
kopete(3312)/kresources KRES::ManagerImpl::ManagerImpl:
kopete(3312)/kresources KRES::ManagerImpl::readConfig:
kopete(3312)/kresources KRES::Factory::self:
kopete(3312)/kresources KRES::ManagerImpl::readResourceConfig: "XK1Mno2MxA"
kopete(3312)/kresources KRES::Factory::Private::resourceInternal: ( "file" , config )
kopete(3312)/kdepimlibs (kabc) KABC::FormatFactory::self:
kopete(3312)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/alain/.kdemod4/share/apps/kabc" 
kopete(3312)/kdepimlibs (kabc) KABC::StdAddressBook::StdAddressBook:
kopete(3312)/kdepimlibs (kabc) KABC::StdAddressBook::self: calling init after instance creation
kopete(3312)/kresources KRES::Resource::open: Opening resource "Default Address Book"
kopete(3312)/kresources KRES::ManagerImpl::writeConfig:
kopete(3312)/kresources KRES::ManagerImpl::writeResourceConfig: Saving resource "XK1Mno2MxA"
kopete(3312)/kresources KRES::Resource::writeConfig:
kopete(3312)/kresources KRES::ManagerImpl::writeConfig: Saving general info
kopete(3312)/kresources KRES::ManagerImpl::writeConfig: finished
kopete(3312)/kdepimlibs (kabc) KABC::AddressBook::load:
kopete(3312)/kdepimlibs (kabc) KABC::ResourceFile::load: "/home/alain/.kdemod4/share/apps/kabc/std.vcf" '
kopete(3312)/kutils (KSettings::Dispatcher) KSettings::Dispatcher::registerComponent: "kopete_emailwindow"
kopete(3312)/libkopete Kopete::PluginManager::loadPluginInternal: Successfully loaded plugin ' "kopete_emailwindow" '
Calling appendChild() on a null node does nothing.
kopete(3312)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kopete_history.so" does not offer a qt_plugin_instance function.
kopete(3312)/kutils (KSettings::Dispatcher) KSettings::Dispatcher::registerComponent: "kopete_history"
kopete(3312)/libkopete Kopete::PluginManager::loadPluginInternal: Successfully loaded plugin ' "kopete_history" '
kopete(3312)/kutils (KSettings::Dispatcher) KSettings::Dispatcher::registerComponent: "kopete_chatwindow"
kopete(3312)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("file:///usr/share/apps/kopete/styles")
kopete(3312)/libkopete Kopete::PluginManager::loadPluginInternal: Successfully loaded plugin ' "kopete_chatwindow" '
Calling appendChild() on a null node does nothing.
kopete(3312)/libkopete Kopete::PluginManager::loadPluginInternal: Unable to find a plugin named ' "" '! 
kopete(3312)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/apps/kopete/styles")
kopete(3312)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alain/kopeteFV3312.slave-socket"
[alain@alainArch ~]$ kopete(3312)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///usr/share/apps/kopete/styles")
kopete(3312)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("file:///home/alain/.kdemod4/share/apps/kopete/styles")
kopete(3312)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///home/alain/.kdemod4/share/apps/kopete/styles")[/code]


Then when going to the settings>configure... menu:
[code]kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: "Contact List"
kopete(3312)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module  "Contact List"  from library  "kcm_kopete_appearanceconfig"  using symbol  "kcm_kopete_appearanceconfig"
kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: adding KCM  "Contact List"  at the top level
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged:
kopete(3312)/kutils (KSettings::Dialog) KSettings::DialogPrivate::createDialogFromServices: added KCM ' "Contact List" '
kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: "Accounts"
kopete(3312)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module  "Accounts"  from library  "kcm_kopete_accountconfig"  using symbol  "kcm_kopete_accountconfig"
kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: adding KCM  "Accounts"  before  "Contact List"
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged:
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged: found module for page:  "Contact List"
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged:
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged: found module for page:  "Accounts"
kopete(3312)/kutils (KSettings::Dialog) KSettings::DialogPrivate::createDialogFromServices: added KCM ' "Accounts" '
kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: "Video"
kopete(3312)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module  "Video"  from library  "kcm_kopete_avdeviceconfig"  using symbol  "kcm_kopete_avdeviceconfig"
VIDIOC_ENUMSTD: Invalid argument
VIDIOC_ENUM_FMT: Invalid argument
VIDIOC_ENUMSTD: Invalid argument
VIDIOC_ENUM_FMT: Invalid argument
kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: adding KCM  "Video"  at the top level
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged:
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged: found module for page:  "Accounts"
kopete(3312)/kutils (KSettings::Dialog) KSettings::DialogPrivate::createDialogFromServices: added KCM ' "Video" '
kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: "Status"
kopete(3312)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module  "Status"  from library  "kcm_kopete_statusconfig"  using symbol  "kcm_kopete_statusconfig"
kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: adding KCM  "Status"  before  "Video"
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged:
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged: found module for page:  "Accounts"
kopete(3312)/kutils (KSettings::Dialog) KSettings::DialogPrivate::createDialogFromServices: added KCM ' "Status" '
kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: "Behavior"
kopete(3312)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module  "Behavior"  from library  "kcm_kopete_behaviorconfig"  using symbol  "kcm_kopete_behaviorconfig"
kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: adding KCM  "Behavior"  before  "Video"
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged:
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged: found module for page:  "Accounts"
kopete(3312)/kutils (KSettings::Dialog) KSettings::DialogPrivate::createDialogFromServices: added KCM ' "Behavior" '
kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: "Chat Window"
kopete(3312)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module  "Chat Window"  from library  "kcm_kopete_chatwindowconfig"  using symbol  "kcm_kopete_chatwindowconfig"
kopete(3312)/kutils (KSettings::Dispatcher) KSettings::Dispatcher::registerComponent: "kopete-preview-chatwindowstyle"
QObject::connect: Cannot connect (null)::onlineStatusChanged(Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus &) to Kopete::Identity::updateOnlineStatus()
kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: adding KCM  "Chat Window"  before  "Video"
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged:
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged: found module for page:  "Accounts"
kopete(3312)/kutils (KSettings::Dialog) KSettings::DialogPrivate::createDialogFromServices: added KCM ' "Chat Window" '
kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: "Plugins"
kopete(3312)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module  "Plugins"  from library  "kcm_kopete_pluginconfig"  using symbol  "kcm_kopete_pluginconfig"
kopete(3312)/kutils (KPluginSelector) KPluginSelector::addPlugins: cfgGroup =  0x7fff0577de00
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kopete_otr"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kopete_history"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kopete_translator"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kopete_nowlistening"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "kopete_contactnotes"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "kopete_statistics"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kopete_addbookmarks"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kopete_webpresence"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kopete_pipes"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kopete_privacy"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kopete_latex"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kopete_highlight"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kopete_urlpicpreview"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kopete_autoreplace"
kopete(3312)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kopete_texteffect"
kopete(3312)/kutils (KCMultiDialog) KCMultiDialog::addModule: adding KCM  "Plugins"  at the top level
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged:
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged: found module for page:  "Accounts"
kopete(3312)/kutils (KSettings::Dialog) KSettings::DialogPrivate::createDialogFromServices: added KCM ' "Plugins" '
kopete(3312)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alain/kopeteGm3312.slave-socket"
kopete(3312)/kio (Slave) KIO::Slave::kill: killing slave pid 3295 ( "file://" )
kopete(3312)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/apps/kopete/styles/Kopete/Contents/Resources/main.css")
kopete(3312)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alain/kopeteKP3312.slave-socket"
kopete(3312)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/apps/kopete/styles/Kopete/Contents/Resources/")
kopete(3312)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alain/kopeteZm3312.slave-socket"
kopete(3312)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/apps/kopete/styles/Kopete/Contents/Resources/Incoming/buddy_icon.png")
kopete(3312)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alain/kopeteEB3312.slave-socket"
kopete(3312)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/icons/hicolor/16x16/apps/kopete.png")
kopete(3312)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alain/kopeteBL3312.slave-socket"
kopete(3312)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/emoticons/kde4/smile.png")
kopete(3312)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alain/kopetemQ3312.slave-socket"
kopete(3312)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/apps/kopete/styles/Kopete/Contents/Resources/Outgoing/buddy_icon.png")
kopete(3312)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alain/kopeteZz3312.slave-socket"
kopete(3312)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/apps/kopete/styles/Kopete/Contents/Resources/images/state-sending.gif")
kopete(3312)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alain/kopetedI3312.slave-socket"
kopete(3312)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/apps/kopete/styles/Kopete/Contents/Resources/images/system.png")
kopete(3312)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alain/kopetemY3312.slave-socket"
kopete(3312)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/apps/kopete/styles/Kopete/Contents/Resources/images/action.png")
kopete(3312)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alain/kopetebF3312.slave-socket"
kopete(3312)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///usr/share/icons/oxygen/32x32/mimetypes/application-pdf.png")
kopete(3312)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alain/kopeteQB3312.slave-socket"
kopete(3312)/kio (KIOJob) KIO::SlaveInterface::dispatch: error  109   "/usr/share/apps/kopete/styles/Kopete/Contents/Resources/"
kopete(3312)/khtml (caret) DOM::Selection::moveTo: Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 )
kopete(3312)/khtml (caret) DOM::Selection::validate: Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] 0
kopete(3312)/khtml (caret) DOM::Selection::validate: [character:baseIsStart] true Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 )
kopete(3312)/khtml (caret) DOM::Selection::moveTo: Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 )
kopete(3312)/khtml (caret) DOM::Selection::validate: Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] 0
kopete(3312)/khtml (caret) DOM::Selection::validate: [character:baseIsStart] true Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 )[/code]


and finally when going to the video section:
[code]kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged:
kopete(3312)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged: found module for page:  "Video"
[/code]
Comment 2 Frank Schaefer 2010-03-28 18:31:07 UTC
There are no errors in the console log and according to the links, a resolution of 320x240 doesn't work with other applications, too.
So this is clearly a driver/firmware bug and not a bug in the Kopete software:
The device/driver claims to support resolutions which are in fact not working (video stream contains corrupted image data).

The r5u87x-project at bitbucket.org only provides the firmware (+ firmware-loader, udev-rule,  ...).
The driver for this device is the UVC-kernel driver, so you should file a bug report at the kernel bugzilla (v4l2/webcam). Hopefully, they can fix it.