LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-04-2009, 05:17 AM   #1
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Rep: Reputation: 31
hp web cam on hap pavilion dv and karmic


/dev/video0 [v4l2]: no overlay support

my xawtv is spitting this error

however my web cam was working fine earlier

since i have upgraded to karmic i am gettingt his error

i tested the input using gstream-properties..it i sok

any one can help me to fix this bug

i am using nvidia

ankush@ankush-laptop:~$ xawtv -hwscan
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.31-14-generic)
looking for available devices
port 355-386
type : Xvideo, image scaler
name : NV17 Video Texture

port 387-418
type : Xvideo, image scaler
name : NV05 Video Blitter

/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : HP Webcam
flags: capture



ankush@ankush-laptop:~$ cheese -v
Cheese 2.28.1
Probing devices with HAL...
Found device 04f2:b015, getting capabilities...
Detected v4l2 device: HP Webcam
Driver: uvcvideo, version: 256
Capabilities: 0x04000001

Probing supported video formats...
libv4l2: error turning on stream: Cannot send after transport endpoint shutdown


ok here is the funny part

sometime when i run gstreamer-properties at times i can see my cam on /dev/video0 and sometimes on /dev/video1 but xawtv and cheese dont respond

any help on this will be appreciated

Last edited by ankscorek; 11-04-2009 at 09:34 AM.
 
Old 11-04-2009, 10:53 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Apparently karmic is a bummer. Get onto ubuntu forums.

http://linux.slashdot.org/story/09/1...Koala?from=rss
 
Old 11-05-2009, 06:52 PM   #3
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
yea this is ok but every bug has some solution
 
Old 11-06-2009, 02:52 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by ankscorek View Post
yea this is ok but every bug has some solution
I don't want to put the same energy into solving it that Ubuntu should be putting, but

Quote:
Originally Posted by ankscorek View Post
/dev/video0 [v4l2]: no overlay support
Looks like a kernel or video driver problem - probably both are suspect. Overlay, IIRC, is writing video information over the existing image - an example being subtitles
 
Old 11-06-2009, 03:45 AM   #5
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
this is definitely a kernel problem

since i upgraded my kernel on ubuntu 9.4 just prior to the release of karmic i am facing this problem ....

oh i have updated my nvidia driver also
 
Old 11-07-2009, 03:36 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Kernel or video driver, which is often a kernel type module. Try updating that
 
Old 11-10-2009, 09:36 AM   #7
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
the kernel was updated yesterday but the problem yet remains there
 
Old 11-11-2009, 03:27 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Have you got the latest video driver installed?
The idea here, incidentally, is that we help you SOLVE the problem by directing _your_efforts_, which is what will solve the problem. What have you tried?
 
Old 11-11-2009, 08:45 AM   #9
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
uname -a
Linux ankush-laptop 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:53:52 UTC 2009 x86_64 GNU/Linux


nvidia-185 module is being used

any files to check please do tell me
 
Old 11-12-2009, 03:01 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Have you overlay support now? Have you tried updating the driver from the nvidia site? What does xawtv say now? What is not supporting overlay? What has xawtv docs got to say about the error 'no overlay support'. Have you asked there? Nobody's got a magic wand - it only sometimes seems that way
 
Old 11-12-2009, 03:12 AM   #11
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
hey are u the same guy who helped me to build the encryption module 3 years ago for vector linux

xawtv -hwscan
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.31-15-generic)
looking for available devices
port 355-386
type : Xvideo, image scaler
name : NV17 Video Texture

port 387-418
type : Xvideo, image scaler
name : NV05 Video Blitter

/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : HP Webcam
flags: capture



gstreamer-properties
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'glimagesink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
libv4l2: error turning on stream: Cannot send after transport endpoint shutdown
gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Error starting streaming on device '/dev/video0'. [gstv4l2object.c(1886): gst_v4l2_object_start_streaming (): /GstPipelineipeline2/GstV4l2Src:v4l2src3:
system error: Cannot send after transport endpoint shutdown]



xawtv
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.31-15-generic)
xinerama 0: 1280x800+0+0
WARNING: No DGA direct video mode for this display.
/dev/video0 [v4l2]: no overlay support
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=0x7f7ba3409ab0 [PAL_I,PAL_D,PAL_K,PAL_N,PAL_60,NTSC_M,?,SECAM_L,ATSC_16_VSB,(null),(null),(null),(null),(null),(null ),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
libv4l2: error turning on stream: Cannot send after transport endpoint shutdown
ioctl: VIDIOC_STREAMON(int=1): Cannot send after transport endpoint shutdown
ioctl: VIDIOC_S_CTRL(id=9963778;value=0): Input/output error
ioctl: VIDIOC_S_CTRL(id=9963776;value=0): Input/output error
ioctl: VIDIOC_S_CTRL(id=9963779;value=0): Input/output error
ioctl: VIDIOC_S_CTRL(id=9963777;value=0): Input/output error
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
v4l2: oops: select timeout
^Clibv4l2: error setting pixformat: Input/output error
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=352;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=704;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pi x.priv=0): Input/output error
libv4l2: error setting pixformat: Input/output error
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=352;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=704;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pi x.priv=0): Input/output error
libv4l2: error setting pixformat: Input/output error
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=352;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=704;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pi x.priv=0): Input/output error
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=384;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=ANY;fmt.pix.bytesperline=0;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pix.p riv=0): Input/output error
libv4l2: error setting pixformat: Input/output error
ioctl: VIDIOC_S_FMT(type=VIDEO_CAPTURE;fmt.pix.width=352;fmt.pix.height=288;fmt.pix.pixelformat=0x56595559 [YUYV];fmt.pix.field=NONE;fmt.pix.bytesperline=704;fmt.pix.sizeimage=202752;fmt.pix.colorspace=SRGB;fmt.pi x.priv=0): Input/output error
no way to get: 384x288 32 bit TrueColor (LE: bgr-)

Last edited by ankscorek; 11-12-2009 at 03:15 AM.
 
Old 11-13-2009, 03:47 AM   #12
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by ankscorek View Post
hey are u the same guy who helped me to build the encryption module 3 years ago for vector linux
:-). Probably

Quote:
Originally Posted by ankscorek View Post
xawtv -hwscan
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.31-15-generic)
looking for available devices
port 355-386
type : Xvideo, image scaler
name : NV17 Video Texture

port 387-418
type : Xvideo, image scaler
name : NV05 Video Blitter

/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : HP Webcam
flags: capture

gstreamer-properties
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'glimagesink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
libv4l2: error turning on stream: Cannot send after transport endpoint shutdown
gstreamer-properties-Message: Error running pipeline 'Video for Linux 2 (v4l2)': Error starting streaming on device '/dev/video0'. [gstv4l2object.c(1886): gst_v4l2_object_start_streaming (): /GstPipelineipeline2/GstV4l2Src:v4l2src3:
system error: Cannot send after transport endpoint shutdown]
Okay, you're dead and gone here. It's not finding those plugins, it actually has no protocol to talk to the webcam in. But you're in a stream of this talking to that and sending it on. So when the first one goes awol, all the others fall over with increasingly outraged error messages. libv412 cannot function.

Find out how to get gstreamer going and keep after the first error messages. When you fix them, you can believe the rest.

Quote:
Originally Posted by ankscorek View Post
xawtv --SNIP--
This stuff is fairly irrelevant until you get the top right.
 
Old 11-13-2009, 05:51 AM   #13
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
hmm at times i am able to get the gstreamer part working

but that is not under my control...as of now the control for gstreamer is with the distro

this problem has started cropping up since v4l got converted to v4l2

do u think i play around with this function and the class from where the function is being derived?
gst_v4l2_object_start_streaming (): /GstPipelineipeline2/GstV4l2Src:v4l2src3:
 
Old 11-18-2009, 08:08 PM   #14
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
ok this is what i got for

ankush@ankush-laptop:~$ sudo locate libv4l2
[sudo] password for ankush:
/usr/include/libv4l2.h
/usr/lib/libv4l2.a
/usr/lib/libv4l2.so
/usr/lib/libv4l2.so.0
/usr/lib/pkgconfig/libv4l2.pc
/usr/lib32/libv4l2.a
/usr/lib32/libv4l2.so
/usr/lib32/libv4l2.so.0
/usr/lib32/pkgconfig/libv4l2.pc


there is none in /usr/lib64

mine is a 64 bit cpu

could this be a problem?
 
Old 11-19-2009, 02:17 AM   #15
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
is there a requirement for gspca module

if yes how do i insert it
 
  


Reply



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
web cam hippie2me Linux - Newbie 6 04-25-2008 11:29 AM
would like to play aMSN web cam sessions (.cam extension) using external program Gogul Linux - Software 5 09-17-2006 08:51 AM
Web Cam Hophoto SUSE / openSUSE 1 02-21-2006 10:18 PM
I just got a web cam blufire Linux - Hardware 2 11-29-2005 12:15 PM
web cam and web cam server citrus Linux - General 2 03-24-2004 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:22 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration