LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-04-2006, 02:20 AM   #1
taladan
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Rep: Reputation: 0
PWC - Broken pipe error


Alright, I've searched out this forum (and the rest of the Intarweb, it feels like) for the answer to my boggle...and I can't find a rational solution.

I'm running FC5 (uname -a: Linux localhost.localdomain 2.6.16-1.2111_FC5 #1 Thu May 4 21:16:58 EDT 2006 i686 athlon i386 GNU/Linux)

and running the pwc module. Using the setpwc command I get the following output:

Quote:
setpwc -u
setpwc v1.1, (C) 2003-2005 by folkert@vanheusden.com
Error while doing ioctl VIDIOCPWCMPTSTATUS: Broken pipe
Status: 0
Time pan: 0
Time tilt: 2
Now, when I use a program (like Ekiga) it's activating the light on the webcam - like it's trying to use it, and it doesn't give me any errors, but it just shows a grey screen. I'm assuming it's because of the broken pipe error.

After researching this, the only answer I can find is 'if it's plugged into a usb hub, plug it directly into the MB usb and it'll fix this'...well...I tried that. And it didn't fix it. So, I bring my issue to you fine folks and hope that someone, somewhere, has the answer to this. I appreciate any and all help any of you can offer me.


Tal
 
Old 06-04-2006, 02:09 PM   #2
taladan
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Okay, I've got some more information for anyone who might be able to help

After rmmod pwc and modprobe pwc, and then powering the cam twice with ekiga, this is what I get from /var/log/messages:

Quote:
Jun 4 13:52:42 localhost kernel: pwc the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
Jun 4 13:52:42 localhost kernel: pwc Logitech QuickCam Orbit/Sphere USB webcam detected.
Jun 4 13:52:42 localhost kernel: pwc Registered as /dev/video0.
Jun 4 13:52:42 localhost kernel: pwc Failed to power up the camera! (-32)
Jun 4 13:52:42 localhost kernel: usbcore: registered new driver Philips webcam
Jun 4 13:54:42 localhost kernel: pwc Failed to set LED on/off time.
Jun 4 13:57:19 localhost kernel: pwc Failed to set LED on/off time.
Jun 4 13:57:25 localhost kernel: pwc Failed to set LED on/off time.
Jun 4 14:00:14 localhost kernel: pwc Closing video device: 54 frames received, dumped 0 frames, 0 frames with errors.
Jun 4 14:01:40 localhost kernel: pwc Closing video device: 817 frames received, dumped 44 frames, 0 frames with errors.
Jun 4 14:02:39 localhost kernel: pwc Closing video device: 256 frames received, dumped 0 frames, 0 frames with errors.

from dmesg:


Quote:
pwc type = 740
pwc type = 740
pwc set_video_mode(160x120 @ 10, palette 15).
pwc decode_size = 1.
pwc Using alternate setting 1.
pwc type = 740
pwc type = 740
pwc set_video_mode(160x120 @ 10, palette 15).
pwc decode_size = 1.
pwc Using alternate setting 1.
pwc type = 740
pwc type = 740
pwc set_video_mode(160x120 @ 10, palette 15).
pwc decode_size = 1.
pwc Using alternate setting 1.
pwc set_video_mode(176x144 @ 10, palette 15).
pwc decode_size = 1.
pwc Using alternate setting 1.
pwc Dumping frame 29.
pwc Dumping frame 30.
pwc Dumping frame 31.
pwc Dumping frame 32.
pwc Dumping frame 33.
pwc Dumping frame 34.
pwc Dumping frame 35.
pwc Dumping frame 36.
pwc Dumping frame 37.
pwc Dumping frame 662.
pwc Dumping frame 663.
pwc Dumping frame 664.
pwc Dumping frame 665.
pwc Dumping frame 666.
pwc Dumping frame 667.
pwc Dumping frame 668.
pwc Dumping frame 669.
pwc Dumping frame 670.
pwc Dumping frame 671.
pwc Dumping frame 672 (last message).
pwc Closing video device: 817 frames received, dumped 44 frames, 0 frames with errors.
pwc type = 740
pwc type = 740
pwc set_video_mode(160x120 @ 10, palette 15).
pwc decode_size = 1.
pwc Using alternate setting 1.
pwc type = 740
pwc type = 740
pwc set_video_mode(160x120 @ 10, palette 15).
pwc decode_size = 1.
pwc Using alternate setting 1.
pwc type = 740
pwc type = 740
pwc set_video_mode(160x120 @ 10, palette 15).
pwc decode_size = 1.
pwc Using alternate setting 1.
pwc set_video_mode(176x144 @ 10, palette 15).
pwc decode_size = 1.
pwc Using alternate setting 1.
pwc Closing video device: 256 frames received, dumped 0 frames, 0 frames with errors.

I'm no programmer...but it /looks/ like pwc is working like it's supposed to. However I'm still getting a blank grey image from the webcam. When I use setpwc to adjust the cam (pan and tilt and etc.) it doesn't give me the broken pipe error. Only (so far) when I try and query the pan/tilt status (setpwc -u) do I get the broken pipe error. Have any of you ever come across anything like this?

Tal
 
Old 06-04-2006, 02:37 PM   #3
soulxcavtor
Member
 
Registered: May 2006
Location: USA.FLorida
Distribution: Mandriva 2006 PowerPack
Posts: 238

Rep: Reputation: 30
The knee bones conected to the leg bone, the leg bones connected to the foot bone. The Web cam is connected to the wrong operating system.
 
Old 06-04-2006, 03:43 PM   #4
taladan
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Original Poster
Rep: Reputation: 0
.............Huh?
 
Old 06-05-2006, 10:40 AM   #5
ghatamos
Member
 
Registered: Nov 2003
Posts: 35

Rep: Reputation: 15
from the dump you provided there is this error message:
Jun 4 13:52:42 localhost kernel: pwc Failed to power up the camera! (-32)

Are you sure this is the driver for your webcam?

There are lots of other webcam drivers out there, so better check if this is the right one.
 
Old 06-05-2006, 04:00 PM   #6
taladan
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Original Poster
Rep: Reputation: 0
yeah, I'm 100% that this is the right driver for my cam...the phillips webcam driver is for the phillips webcams, of which the Logitech Orbitcam is one. I'm interested to know where these other webcam drivers for linux are though? Haven't found many others out there.


Tal
 
  


Reply


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
Error whilst intalling 'libgtk2.0-dev', 'Broken Pipe'?! Eerath MEPIS 4 08-15-2005 10:47 AM
Broken Pipe error with rpmbuild in rh9 tuxfood Red Hat 1 05-21-2005 05:30 PM
Broken pipe error when sending data on LAN Tanc Linux - Networking 2 09-14-2003 06:16 AM
Broken Pipe Error ken734 Linux - Newbie 6 09-04-2003 10:54 AM
ls - Broken pipe vcheah Linux - Software 2 10-30-2002 09:10 PM


All times are GMT -5. The time now is 05:29 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration