LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-01-2008, 01:57 AM   #1
Peacepunk
Member
 
Registered: Apr 2006
Location: Cambodia
Distribution: Slackware 12.2 &... VirtualBox!
Posts: 51

Rep: Reputation: 16
Webcam for Skype - UVC video failure in Fedora 7


Gstreamer & gstreamer-devel installed. gstfakevideo installed; Fedora 7 and Skype 2.0.0.68

-- As such, skype still reports lots of errors & no video is available;
-- luvcview works fine
-- Skype detects both devices, the gstfake on /video0, and the M678 on /video1.

-- This tested with both i810 and intel modsetting drivers
-- This tested without Compiz

None works.

some outputs:
dmseg|tail -relevant part only
usb 2-1: new full speed USB device using uhci_hcd and address 11
usb 2-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device M678 (0e8d:0004)
uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26).
input: M678 as /class/input/input17

Note: warning "Failed to query..." deemed non-threateninig by UVC driver devs
Code:
lsusb-relevant part only
Bus 002 Device 011: ID 0e8d:0004
Code:
lsmod|grep uvcvideo
videodev               28097  1 uvcvideo
v4l1_compat            15813  2 uvcvideo,videodev
v4l2_common            18625  2 uvcvideo,videodev

/dev/video0
mv'ed to /dev/video1

Skype set to use /dev/video0


cli used:

.
Code:
/gstfakevideo v4lsrc device=/dev/video0 ! videoscale ! ffmpegcolorspace
output from terminal:
Code:
gst.c create_pipeline (155): pipeline created
gst.c create_pipeline (159): pipeline linked
gst.c shim_ioctl (201): request=803c7601 nr 1
gst.c shim_ioctl (208): VIDIOCGCAP
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=80207609 nr 9
gst.c shim_ioctl (255): VIDIOCGWIN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=c0307602 nr 2
gst.c shim_ioctl (214): VIDIOCGCHAN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=40307603 nr 3
gst.c shim_ioctl (219): VIDIOCSCHAN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=c0307602 nr 2
gst.c shim_ioctl (214): VIDIOCGCHAN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80685600 nr 0
gst.c shim_ioctl (313): result=-1 error=515 Unknown error 515

gst.c shim_ioctl (201): request=803c7601 nr 1
gst.c shim_ioctl (208): VIDIOCGCAP
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not negotiate format
gst.c shim_ioctl (201): request=803c7601 nr 1
gst.c shim_ioctl (208): VIDIOCGCAP
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=80207609 nr 9
gst.c shim_ioctl (255): VIDIOCGWIN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=c0307602 nr 2
gst.c shim_ioctl (214): VIDIOCGCHAN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=40307603 nr 3
gst.c shim_ioctl (219): VIDIOCSCHAN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=c0307602 nr 2
gst.c shim_ioctl (214): VIDIOCGCHAN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not negotiate format
gst.c shim_ioctl (201): request=80685600 nr 0
gst.c shim_ioctl (313): result=-1 error=515 Unknown error 515

gst.c shim_ioctl (201): request=803c7601 nr 1
gst.c shim_ioctl (208): VIDIOCGCAP
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=800e7606 nr 6
gst.c shim_ioctl (236): VIDIOCGPICT
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=400e7607 nr 7
gst.c shim_ioctl (243): VIDIOCSPICT depth:24, colorspace:15
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=80207609 nr 9
gst.c shim_ioctl (255): VIDIOCGWIN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=4020760a nr 10
gst.c shim_ioctl (259): VIDIOCSWIN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=803c7601 nr 1
gst.c shim_ioctl (208): VIDIOCGCAP
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=80207609 nr 9
gst.c shim_ioctl (255): VIDIOCGWIN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=c0307602 nr 2
gst.c shim_ioctl (214): VIDIOCGCHAN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=40307603 nr 3
gst.c shim_ioctl (219): VIDIOCSCHAN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=c0307602 nr 2
gst.c shim_ioctl (214): VIDIOCGCHAN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c bus_callback (105): Error: Could not read from resource.
gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c bus_callback (105): Error: Could not read from resource.
gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c bus_callback (105): Error: Could not read from resource.
gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c bus_callback (105): Error: Could not read from resource.
gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c bus_callback (105): Error: Could not read from resource.
gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c bus_callback (105): Error: Could not read from resource.
gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c bus_callback (105): Error: Could not read from resource.
gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c bus_callback (105): Error: Could not read from resource.
gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c bus_callback (105): Error: Could not read from resource.
gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c bus_callback (105): Error: Could not read from resource.
gst.c shim_ioctl (201): request=80887614 nr 20
gst.c shim_ioctl (313): result=-1 error=22 Invalid argument

gst.c bus_callback (105): Error: Could not read from resource.
gst.c bus_callback (105): Error: Could not negotiate format
gst.c shim_ioctl (201): request=80685600 nr 0
gst.c shim_ioctl (313): result=-1 error=515 Unknown error 515

gst.c shim_ioctl (201): request=803c7601 nr 1
gst.c shim_ioctl (208): VIDIOCGCAP
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=800e7606 nr 6
gst.c shim_ioctl (236): VIDIOCGPICT
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=400e7607 nr 7
gst.c shim_ioctl (243): VIDIOCSPICT depth:24, colorspace:15
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=80207609 nr 9
gst.c shim_ioctl (255): VIDIOCGWIN
gst.c shim_ioctl (313): result=0 error=0 Success

gst.c shim_ioctl (201): request=4020760a nr 10
gst.c shim_ioctl (259): VIDIOCSWIN
gst.c shim_ioctl (313): result=0 error=0 Success

Starting the process...
Skype Xv: Xv ports available: 1
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 73

?? Any Ideas ??
 
Old 05-01-2008, 05:28 AM   #2
thveillon
Member
 
Registered: Dec 2007
Posts: 59

Rep: Reputation: 16
There were a bug open on berlios.de (uvc developer page) for a device with the same usb ID than yours. The problem has been fixed and the svn sources are now patched. I would recommend removing your current driver and go for the svn sources :

Code:
svn checkout http://svn.berlios.de/svnroot/repos/linux-uvc/trunk
with subversion installed of course. The compile process is just a matter of "make" and "make install" OR "checkinstall" then modprobe the module.
 
Old 05-01-2008, 06:50 AM   #3
Peacepunk
Member
 
Registered: Apr 2006
Location: Cambodia
Distribution: Slackware 12.2 &... VirtualBox!
Posts: 51

Original Poster
Rep: Reputation: 16
Thanks thveillon

You mean, since yesterday? I've seen the conversation actually.

http://developer.berlios.de/forum/me...p?msg_id=41795

from Jan 17th; I reached the same state with luvcview as the issue reporter, bringing my device to working with luvcview and no ekiga, gstreamer or skype at all. With opr without the FakerGst thingy.

So the "Berlios" side is kinda "OK"

Advertised address on the berlios website is wrong;

Code:
 svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
this one is good, as checked right now.

The least "threatenning" message I got is the video overlay issue
https://developer.skype.com/jira/bro...3?page=worklog

otherwise, I can sometimes see the Test Screen from gstreamer, by tweaking gstfakevideo...

Any other suggestion?
How do I turn Xv off?
[running i810 driver, no Compiz/Fusion, the device reports I have 1 port available and uses port nr 73]

more data, trying alternate methods:
Code:
gst-launch v4l2src device=/dev/video0 \! ffmpegcolorspace \! videoscale \! autovideosink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /pipeline0/v4l2src0: Could not negotiate format
Additional debug info:
gstbasesrc.c(2056): gst_base_src_start (): /pipeline0/v4l2src0:
Check your filtered caps, if any
Setting pipeline to NULL ...
FREEING pipeline ...
Cheers

Last edited by Peacepunk; 05-01-2008 at 11:41 AM.
 
  


Reply

Tags
fedora 7, skype, webcam


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which webcam for linux and skype ? zghh Linux - Hardware 1 04-13-2008 01:33 PM
Please help me with my Skype, Audio system, Webcam configurations DarkSlayer Linux - Newbie 2 04-09-2008 10:10 PM
Video/Webcam : Is SKYPE better than Kopete ? frenchn00b Linux - Software 0 01-08-2008 06:45 AM
Which webcam would you recommand for skype video (2.0 beta)? frenchn00b General 1 12-16-2007 10:05 PM
skype with video and wine hedpe Linux - Software 4 02-08-2007 05:53 PM


All times are GMT -5. The time now is 01:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration