From: Thomas Winischhofer <tw@webit.com>
To: linux-kernel@vger.kernel.org
Cc: Carl-Johan Kjellander <carljohan@kjellander.com>
Subject: Re: pwc-webcam attached to usb-ohci card blocks on read() indefinitely.
Date: Fri, 08 Mar 2002 22:03:57 +0100 [thread overview]
Message-ID: <3C89273D.28BC97DB@webit.com> (raw)
> The camera attached to the UHCI-controller running usb-uhci works just
> fine,out the three attached to the OHCI-controllers running usb-ohci don't.
> After a random amount of frames being read from a camera the read()-call
> blocks indefinitely until the device is closed. Next time the v4l-device is
> opened the program can again read frames from the camera but read() always
> blocks after some time.
I can't help, but I have the exact same problem here. Closing the
application (eg. camstream) and re-opening it makes it work again for a
while.
As Carl-Johan said, this happens with or without the pwcx module, so
that's not the problem.
I think it's an ohci problem.
Furthermore, the usb driver(s) behave strangely on
connecting/disconnecting the camera. Sometimes this works flawlessly,
sometimes I get a lot of USB timeout ("usb_control/bulk_msg: timeout")
and/or "USBDEVFS_CONTROL failed dev x rqt 128 rq 6 len 490 ret -110"
messages in the syslog. (Kernel is 2.4.16 and 2.4.18 - no difference)
After a couple of times disconnecting and reconnecting the camera it's
being detected. Since 2.4.18, the camera's LED sometimes is on,
sometimes off - seems quite random.
Even closing the cam application (xawtv, camstream) after the camera
stopped working never results in any error messages in the log, I only
read "pwc: Closing video device: xxx frames received, dumped 0 frames, 0
frames with errors"
Thomas
--
Thomas Winischhofer
Vienna/Austria
mailto:tw@webit.com *** http://www.webit.com/tw
next reply other threads:[~2002-03-08 21:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-08 21:03 Thomas Winischhofer [this message]
2002-03-08 22:35 ` pwc-webcam attached to usb-ohci card blocks on read() indefinitely Greg KH
2002-03-09 3:47 ` Thomas Winischhofer
2002-03-09 7:24 ` Greg KH
2002-03-09 3:46 ` Mark Cooke
-- strict thread matches above, loose matches on Subject: below --
2002-03-05 1:06 Carl-Johan Kjellander
2002-03-05 5:11 ` Greg KH
2002-03-05 10:45 ` Oliver Neukum
2002-03-05 16:28 ` Dr. Michael Weller
2002-03-05 17:11 ` Carl-Johan Kjellander
2002-03-05 17:04 ` Carl-Johan Kjellander
2002-03-05 17:00 ` Greg KH
2002-03-05 17:22 ` Carl-Johan Kjellander
2002-03-05 10:56 ` Carl-Johan Kjellander
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C89273D.28BC97DB@webit.com \
--to=tw@webit.com \
--cc=carljohan@kjellander.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.