From: "David H. Lynch Jr." <dhlii@dlasys.net>
To: linuxppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: C67x00 USB problems
Date: Sun, 21 Sep 2008 02:05:43 -0400 [thread overview]
Message-ID: <48D5E437.6060708@dlasys.net> (raw)
Good news - works.
Bad news - sort of.
I am using the C67x00_HCD driver from 2.6.24 mainline.
If I kill off installing the interrupt handler and just poll it.
I can get the first port working - fairly slowly.
If I enable the interrupt handler I get lots of messages from the
Kernel about unhandled IRQ's and then the Kernel disables
the IRQ. Although sometimes I just get a kernel panic when loading
the driver.
The only way out of the irq handler without handling the IRQ is
// printk(KERN_ERR "c67x00_irq()00\n");
int_status = c67x00_ll_hpi_status(c67x00);
if (!int_status)
return IRQ_NONE;
But if that is failing then why are things working when polled ?
Clues would be greatly appreciated ?
Is there any interest in a patch to support polling the USB driver ?
--
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
reply other threads:[~2008-09-21 6:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=48D5E437.6060708@dlasys.net \
--to=dhlii@dlasys.net \
--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).