From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tristan <9p-st@imu.li> To: 9fans@9fans.net Content-Type: text/plain; charset=UTF-8 Message-Id: <2579bd.13bb0f3e.KLbn.mx@tumtum.plumbweb.net> In-Reply-To: <305b803692bfe5e8153f63221babdbba@chula.quanstro.net> References: <2579b6.8126cb52.62GS.mx@tumtum.plumbweb.net><504d1e9e6a08271d15827ea4c00507ff@chula.quanstro.net><2579b9.032a3487.pkFh.mx@tumtum.plumbweb.net><2579b9.228186c7.D0Vx.mx@tumtum.plumbweb.net><48dfd79dc45c0d5e9d88c6a79de7202e@brasstown.quanstro.net><2579b9.4d6b93e5.B75p.mx@tumtum.plumbweb.net><2579b9.87e726c6.np4k.mx@tumtum.plumbweb.net><2579b9.bebde186.iZ7X.mx@tumtum.plumbweb.net><2579bc.9bed97f0.1BgQ.mx@tumtum.plumbweb.net> <305b803692bfe5e8153f63221babdbba@chula.quanstro.net> Date: Sat, 10 Mar 2012 10:14:32 -0500 User-Agent: mx-alpha Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] donehead changed before ack Topicbox-Message-UUID: 678e2a00-ead7-11e9-9d60-3106f5b1d025 > > disabling the ohc interrupts during the interrupt routine (the ohci s= pec > > says to) appears to help, but i havn't been running that for very lon= g. indeed, a hour or so later, it started acting up. the devices keep working if i jump back to the beginning of the handler when donehead changes... nose wrinkle. > so i guess the question is the interrupt ohci is using edge or level. > if level, interrupts are going to be masked by the level and that > wouldn't be your problem. and it doesn't appear to be the problem. my understanding is that donehead shouldn't change, because the hcd has no way of knowing that the driver has read anything. > i suppose it could also be that shared usb hardware has more than one > interrupt enabled? what? do you mean multiple devices on the interrupt or different types of interrupts? so far (and this is only an hour or so of use) donehead only changes from nil to a real pointer, which leaves very little time in the routine. cycles says [300,386]. which of course means that it isn't changing, it's just an interrupt with without status&Wdh but with donehead set. checking for Wdh is running perfectly well now. thank you, tristan --=20 All original matter is hereby placed immediately under the public domain.