From: Oliver Neukum <oliver@neukum.org>
To: Alex Riesen <raa.lkml@gmail.com>
Cc: Alan Stern <stern@rowland.harvard.edu>,
linux-usb@vger.kernel.org, Oliver Neukum <oliver@neukum.name>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"Greg Kroah-Hartman" <greg@kroah.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: Oops in CDC ACM after an Openmoko phone (neo1973) changes its usb interface from ACM to Ethernet
Date: Mon, 3 Aug 2009 15:04:19 +0200 [thread overview]
Message-ID: <200908031504.20506.oliver@neukum.org> (raw)
In-Reply-To: <81b0412b0908030217o1e687c2ewf0191687a78d6166@mail.gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 866 bytes --]
Am Montag, 3. August 2009 11:17:05 schrieb Alex Riesen:> 466Â Â Â Â Â Â Â Â Â Â Â Â Â ep = (usb_pipein(acm->rx_endpoint) ? acm->dev->ep_in :> acm->dev->ep_out)> 467Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â [usb_pipeendpoint(acm->rx_endpoint)];> 468Â Â Â Â Â Â Â Â Â Â Â Â Â if (usb_endpoint_xfer_int(&ep->desc))>> So it looks like ep is NULL (usb_endpoint_xfer_int accesses> desc.bmAttributes, which is 3 bytes off the beginning of struct> usb_host_endpoint (desc being the first field in usb_host_endpoint).
This tells you that the device has been disconnected. The questionis not why this function fails, but why it is called even though thedevice has been disconnected.
Regards Oliver
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next prev parent reply other threads:[~2009-08-03 13:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-02 16:40 Oops in CDC ACM after an Openmoko phone (neo1973) changes its usb interface from ACM to Ethernet Alex Riesen
2009-08-02 17:19 ` Oliver Neukum
2009-08-02 18:25 ` Alex Riesen
2009-08-02 20:39 ` Alex Riesen
2009-08-02 20:50 ` Alan Stern
2009-08-02 21:09 ` Alex Riesen
2009-08-02 21:22 ` Oliver Neukum
2009-08-02 21:25 ` Alex Riesen
2009-08-03 9:17 ` Alex Riesen
2009-08-03 13:04 ` Oliver Neukum [this message]
2009-08-03 13:22 ` Alex Riesen
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=200908031504.20506.oliver@neukum.org \
--to=oliver@neukum.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=oliver@neukum.name \
--cc=raa.lkml@gmail.com \
--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