Re: [PATCH] usb audio.

From: Erik Mouw (J.A.K.Mouw@ITS.TUDelft.NL)
Date: Fri Oct 13 2000 - 08:00:50 EST


On Fri, Oct 13, 2000 at 01:07:52AM +0100, David Woodhouse wrote:
> On Thu, 12 Oct 2000, David Woodhouse wrote:
>
> > > * USB: system hang with USB audio driver {CRITICAL} (David
> > > Woodhouse, Randy Dunlap, Narayan Desai)
> >
> > That fixes failure mode #1, in which the NMI watchdog gets triggered and
> > all subsequent attempts to open /dev/audio just block.
> >
> > Unfortunately, it doesn't affect failure mode #2, in which the machine
> > just dies completely.
>
> OK. This patch fixes failure mode #2 too - and lets it make noise without
> locking up the machine. By including the extra lines which Randy Dunlap
> sent me, it even makes the _right_ noise.

I had to patch it by hand into test10-pre2, but the noise is right and
the machine doesn't lock. Only problem is that the sound has a lot of
hickups and I get these messages in my syslog:

  Oct 13 14:51:40 arthur kernel: usb.c: bandwidth alloc increased by 36 to 72 for 2 requesters
  Oct 13 14:51:40 arthur kernel: usb.c: bandwidth alloc reduced by 36 to 36 for 1 requesters
  Oct 13 14:51:40 arthur kernel: usb.c: bandwidth alloc increased by 36 to 72 for 2 requesters
  Oct 13 14:51:40 arthur kernel: usb.c: bandwidth alloc reduced by 36 to 36 for 1 requesters
  Oct 13 14:51:40 arthur kernel: usb.c: bandwidth alloc increased by 36 to 72 for 2 requesters
  [ad nauseam]

I didn't enable CONFIG_USB_BANDWIDTH, can this be related? Oh, and I'm
using the usb-uhci driver.

> My only remaining problem is that I've just woken She Who Must Be Obeyed
> by playing Terrorvision very loudly at 1 am.

Try "insmod earplugs.o" ;-)

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/



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:24 EST