From: Sergej Pupykin <ps@lx-ltd.ru>
To: linux-kernel@vger.kernel.org
Subject: High CPU load and reading from usb intr bulk
Date: Fri, 16 Jun 2006 19:09:30 +0400 [thread overview]
Message-ID: <m3y7vx2l3p.fsf@lx-ltd.ru> (raw)
Hi!
I write usb driver for embedded sh4 200MHz system (2.4.28 kernel) and added
printk into rx_callback and it prints following.
(this is just example)
packet 1: length=14, data=02 02 02 02 02 02 02 02 02 02 01 01 01 01
packet 2: length=10, data=02 02 02 02 02 02 02 02 02 02
while right result must be
packet 1: length=14, data=01 01 01 01 01 01 01 01 01 01 01 01 01 01
packet 2: length=10, data=02 02 02 02 02 02 02 02 02 02
It seems that 2nd packet placed over 1st one.
I submit single int urb and it happens often while high CPU usage.
As I understand it can not be fixed because of there is no HCI flow control
between host and usb device. Am I right?
(I use usb-skeleton.c as a template)
reply other threads:[~2006-06-16 15:09 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=m3y7vx2l3p.fsf@lx-ltd.ru \
--to=ps@lx-ltd.ru \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®