lkml.org 
[lkml]   [2000]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] usb audio.
On Fri, Oct 13, 2000 at 10:27:05AM -0700, Dunlap, Randy wrote:
> > I tried:
> >
> > setpci -s 00:07.2 latency_timer=20
> > setpci -s 00:07.2 latency_timer=40
> > setpci -s 00:07.2 latency_timer=80
> >
> > but without effect. However, the USB device doesn't have a latency
> > timer, so that probably explains.
>
> How about trying latency_timer=10, which will apparently
> show up as being 0 (since 10 is smaller than its
> implemented granularity).

That didn't help, but I found the problem: APM. I had GNOME battery_applet
running, and that checks /proc/apm every 2 seconds (default value).
Removing the applet from the taskbar solved the problem, and as soon as
I do "cat /proc/apm" the audio stops for about a second.

I recompiled the kernel with CONFIG_APM_ALLOW_INTS enabled, in the hope
that the USB interrupts would still come through, but that didn't solve
it.

I'm glad I finally found the problem, but how to solve it? Is this a
bug in APM or in USB?


Erik

--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.035 / U:1.628 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site