From: Stanislaw Gruszka <stf_xl@wp.pl>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-usb@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: BUG - MODE SENSE residue miscount in g_file_storage bulk-only transport ?
Date: Tue, 17 Feb 2009 08:21:58 +0100 [thread overview]
Message-ID: <200902170821.58574.stf_xl@wp.pl> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0902161122510.15521-100000@netrider.rowland.org>
Monday 16 February 2009 17:30:35 Alan Stern napisał(a):
> > Maybe this is not only problem with MODE SENSE command but with all commands
> > that have allocation length field and file_storage gadget driver BBB transport
> > return less data.
> >
> > Problem also happens in older kernels, I tried 2.6.27 and 2.6.24 - they have this issue.
> > Please let me know if have more info or any other help to fix.
>
> The problem is in the Atmel hardware; it's not capable of halting a
> bulk endpoint correctly. You need to invoke g_file_storage with the
> "stall=no" parameter.
I see, it works now, thanks very much.
Stanislaw Gruszka
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-02-17 7:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-16 11:33 BUG - MODE SENSE residue miscount in g_file_storage bulk-only transport ? Stanislaw Gruszka
[not found] ` <200902161233.27173.stf_xl-5tc4TXWwyLM@public.gmane.org>
2009-02-16 16:30 ` Alan Stern
2009-02-17 7:21 ` Stanislaw Gruszka [this message]
2009-02-21 20:11 ` David Brownell
2009-02-21 20:55 ` Alan Stern
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=200902170821.58574.stf_xl@wp.pl \
--to=stf_xl@wp.pl \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/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