public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* usb-ohci, ov511, video4linux
@ 2002-01-20 15:41 christophe barbé
  2002-01-20 16:22 ` Guus Sliepen
  0 siblings, 1 reply; 5+ messages in thread
From: christophe barbé @ 2002-01-20 15:41 UTC (permalink / raw)
  To: lkml

[-- Attachment #1: Type: text/plain, Size: 1899 bytes --]


I've two problems with the 2.4 series that seems to be related.
The common point is the usb-ohci module.

Since 2.4.0, sometimes X loose the usb mouse. X show nothing special in
its log and the kernel nothing (I have compiled the usb debug code).
This seems to appear when the CPU is mostly used for another application
(most of the time the CPU is 100% used when I loose the mouse).
If I switch to the console (Ctrl-Alt-F1) and switch back to X, the usb
mouse is back. My first thought was that it was a X bug. But the other
problem I have seems to indicate this is a kernel problem.

I bought a usb webcam (D-Link DCS100) which uses the ov511 chipset
familly. I use the last driver (not the one shipped with the kernel) but
I think this is not an issue.
Now It works for a few seconds (minutes) and the application using it
freeze. If I kill the app and retsart it, I works for a few seconds (it
looks like X and the mouse).
Here also it seems to appear when another app use most of the CPU.

The Xawtv outputs are interesting :

# xawtv
This is xawtv-3.68, running on Linux/i586 (2.4.17)
/dev/video0 [v4l]: no overlay support
v4l-conf had some trouble, trying to continue anyway
v4l: timeout (got SIGALRM), hardware/driver problems?
ioctl: VIDIOCSYNC(0): Appel système interrompu
v4l: timeout (got SIGALRM), hardware/driver problems?
ioctl: VIDIOCSYNC(1): Appel système interrompu

What do you think about it ?

I've enabled 'Allow IRQ during APM bios calls'. It seems slighly better
for the mouse but not significantly enough to be sure.

I've tried to boot without apm (apm=off) but problems are still there.

Should I try a preemt or low-latency kernel ?

Christophe

-- 
Christophe Barbé <christophe.barbe@ufies.org>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E

Dogs believe they are human. Cats believe they are God.

[-- Attachment #2: Type: application/pgp-signature, Size: 241 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-01-20 23:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-20 15:41 usb-ohci, ov511, video4linux christophe barbé
2002-01-20 16:22 ` Guus Sliepen
2002-01-20 17:08   ` christophe barbé
2002-01-20 22:54     ` Greg KH
2002-01-20 23:04       ` christophe barbé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox