From: "David H. Lynch Jr." <dhlii@dlasys.net>
To: Peter Korsgaard <jacmet@sunsite.dk>
Cc: linuxppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: Re: Is anyone using the C67x00 USB Host ?
Date: Tue, 09 Dec 2008 15:22:29 -0500 [thread overview]
Message-ID: <493ED385.7070601@dlasys.net> (raw)
In-Reply-To: <87r64j112j.fsf@macbook.be.48ers.dk>
Peter Korsgaard wrote:
>>>>>> "David" == David H Lynch <dhlii@dlasys.net> writes:
>>>>>>
>
> Hi,
>
> David> I am having two problems with it.
> David> I can not get it working with interrupts,
>
> No activity on the interrupt pin or is it always active?
>
Neither:
The USB system does not function with interrupts, and the kernel reports
lots of unhandled IRQ's.
I beleive that
int_status = c67x00_ll_hpi_status(c67x00);
if (!int_status)
return IRQ_NONE;
is always exiting IRQ_NONE;
If I replace the request_irq() call with installation of a timer service
routine that basically periodically calls the interrupt handler,
everything works fine - albeit slowly.
--
Dave Lynch DLA Systems
Software Development: Embedded Linux
717.627.3770 dhlii@dlasys.net http://www.dlasys.net
fax: 1.253.369.9244 Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.
"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
next prev parent reply other threads:[~2008-12-09 20:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-05 15:32 Is anyone using the C67x00 USB Host ? David H. Lynch Jr.
2008-12-08 9:13 ` Peter Korsgaard
2008-12-09 20:22 ` David H. Lynch Jr. [this message]
2008-12-09 21:11 ` Peter Korsgaard
2008-12-08 14:11 ` Michal Simek
2008-12-09 20:27 ` David H. Lynch Jr.
2008-12-10 9:20 ` Michal Simek
2008-12-10 12:00 ` Peter Korsgaard
2008-12-10 14:36 ` Michal Simek
2008-12-10 14:43 ` Peter Korsgaard
2008-12-10 16:34 ` Michal Simek
2008-12-11 23:52 ` David H. Lynch Jr.
2008-12-12 7:14 ` David H. Lynch Jr.
2008-12-13 18:41 ` David H. Lynch Jr.
2008-12-13 18:58 ` Peter Korsgaard
2008-12-13 20:27 ` David H. Lynch Jr.
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=493ED385.7070601@dlasys.net \
--to=dhlii@dlasys.net \
--cc=jacmet@sunsite.dk \
--cc=linuxppc-embedded@ozlabs.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).