From: Werner Schweer <ws@seh.de>
To: Karsten Wiese <annabellesgarden@yahoo.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [ALSA - driver 0000425]: usb-usx2y: System lockup on PCM device open (OHCI)
Date: Thu, 14 Oct 2004 21:17:22 +0000 [thread overview]
Message-ID: <200410142117.22498.ws@seh.de> (raw)
In-Reply-To: <200410140159.14019.annabellesgarden@yahoo.de>
On Wednesday 13 October 2004 23:59, Karsten Wiese wrote:
> Am Montag 11 Oktober 2004 11:54 schrieb Werner Schweer:
> > On Monday 11 October 2004 00:19, Karsten Wiese wrote:
> > > Am Montag 11 Oktober 2004 01:28 schrieb Werner Schweer:
> > > > thanks!
> > > > with this patch i now get some sound out of my us122. But there are
> > > > still sequence errors (and JACK stops). After about 5 minutes of play
> > > > the system freezes. My system is a Pentium M notebook with intel ich4
> > > > chipset (UHCI usb driver).
> > >
> > > with the built-in soundcard jack runs fine?
> > >
> > > Karsten
> >
> > yes, it does
> >
> > /werner
>
> Found a bugfix inside uhci-hcd.c (2.6.9-rc2-mm4) that is not needed anymore
>
> for modern chipsets:
> >>> line 122:
>
> static inline void uhci_set_next_interrupt(struct uhci_hcd *uhci)
> {
> uhci->term_td->status |= cpu_to_le32(TD_CTRL_IOC);
> }
> <<<
>
> On my PIII BX440 laptop, I can safely run usx2y with this function
> converted to empty:
>
>
> static inline void uhci_set_next_interrupt(struct uhci_hcd *uhci)
> {
> }
> <<<
>
> this leads to the interruptrate in usx2y idle mode being halved from 250/s
> to 125/s.
>
> Please check out if it helps on your laptop. cautiously, things might
> crash ;-) though definitely here its ok.
>
> thanks,
> Karsten
applied this patch in addition to linux-2.6.9-usx2y-0.8.3c from rncbc
(for kernel 2.6.9-rc4-mm1-VP-T9n).
Jack stopps after a few seconds, system log says:
...
Oct 14 21:54:48 a6 vmunix: usx2yaudio.c:624:snd_usX2Y_pcm_trigger(START)
Oct 14 21:54:48 a6 vmunix: usx2yaudio.c:624:snd_usX2Y_pcm_trigger(START)
Oct 14 21:55:23 a6 vmunix: IRQ#8 thread started up.
Oct 14 21:55:40 a6 vmunix: Sequence Error!(hcd_frame=1194
ep=10out;wait=168,frame=169).
Oct 14 21:55:40 a6 vmunix: Most propably some urb of usb-frame 168 is still
missing.
Oct 14 21:55:40 a6 vmunix: Cause could be too long delays in usb-hcd interrupt
handling.
Oct 14 21:55:40 a6 vmunix: This driver definitely wants 1 interrupt per ms.
Oct 14 21:55:40 a6 vmunix: To make it work for a system that can't deliver
interrupts reliably at that rate,
Oct 14 21:55:40 a6 vmunix: You'd have to make it work for NRPACKS > 1. To
start, grep for NRPACKS in this code ;-)
Oct 14 21:55:40 a6 vmunix: usx2yaudio.c:268:0 f07a91c0 state=8
Oct 14 21:55:40 a6 vmunix: usx2yaudio.c:268:1 f07a9180 state=8
Oct 14 21:55:40 a6 vmunix: usx2yaudio.c:281:0 status=0 start_frame=169
...
ok, maybe its not a good idea to thread the rtc and usb irq's. After switching
threading off ("echo 0 > /proc/irq/8/rtc/threaded" etc.) MusE+JACK is now
playing for > 1h without any glitch.
/werner
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
next prev parent reply other threads:[~2004-10-14 21:17 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-10 13:37 [ALSA - driver 0000425]: usb-usx2y: System lockup on PCM device open (OHCI) bugtrack
2004-10-10 19:39 ` Werner Schweer
2004-10-10 18:24 ` Karsten Wiese
2004-10-10 23:28 ` Werner Schweer
2004-10-10 22:31 ` Rui Nuno Capela
2004-10-11 0:19 ` Karsten Wiese
2004-10-11 9:54 ` Werner Schweer
2004-10-13 23:59 ` Karsten Wiese
2004-10-14 21:17 ` Werner Schweer [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-11-29 14:42 bugtrack
2004-10-26 19:49 bugtrack
2004-10-26 19:47 bugtrack
2004-10-26 11:47 bugtrack
2004-10-22 7:48 bugtrack
2004-10-20 9:30 bugtrack
2004-10-20 5:39 bugtrack
2004-10-19 13:56 bugtrack
2004-10-19 11:50 bugtrack
2004-10-18 21:07 bugtrack
2004-10-17 20:46 bugtrack
2004-10-17 11:32 bugtrack
2004-10-17 0:20 bugtrack
2004-10-16 21:11 bugtrack
2004-10-16 14:31 bugtrack
2004-10-16 11:58 bugtrack
2004-10-16 1:05 bugtrack
2004-10-15 22:52 bugtrack
2004-10-15 22:36 bugtrack
2004-10-15 10:55 bugtrack
2004-10-15 10:06 bugtrack
2004-10-14 23:40 bugtrack
2004-10-14 23:30 bugtrack
2004-10-14 13:26 bugtrack
2004-10-14 9:21 bugtrack
2004-10-11 19:13 bugtrack
2004-10-10 18:27 bugtrack
2004-10-10 16:45 bugtrack
2004-10-08 20:30 bugtrack
2004-10-08 1:40 bugtrack
2004-10-07 17:51 bugtrack
2004-10-07 13:55 bugtrack
2004-10-07 8:42 bugtrack
2004-09-30 23:23 bugtrack
2004-09-30 0:11 bugtrack
2004-09-30 0:00 bugtrack
2004-09-29 23:44 bugtrack
2004-09-28 20:01 bugtrack
2004-09-28 13:16 bugtrack
2004-09-27 21:49 bugtrack
2004-09-27 11:51 bugtrack
2004-09-27 10:10 Rui Nuno Capela
2004-09-26 20:18 bugtrack
2004-09-26 20:00 bugtrack
2004-09-26 13:43 bugtrack
2004-09-26 13:28 bugtrack
2004-09-25 15:45 bugtrack
2004-09-25 15:18 bugtrack
2004-09-24 7:43 bugtrack
2004-09-23 18:52 bugtrack
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=200410142117.22498.ws@seh.de \
--to=ws@seh.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=annabellesgarden@yahoo.de \
/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.