From: "Os Разработчик" <osrazr@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] USB reset device
Date: Mon, 21 Jan 2008 17:50:56 +0200 [thread overview]
Message-ID: <d1f045bc0801210750h4edabce5jd362a46f2ce42161@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 735 bytes --]
My question is connected with the following:
/* specific usb messages, also sent in the 'pid' parameter */
#define USB_MSG_ATTACH 0x100
#define USB_MSG_DETACH 0x101
#define USB_MSG_RESET 0x102
This is some lines, in "usb.h" file in qemu sources. Is this some type of
standard, and where I can read documentation, about?
I want to ask also the following. If some device is connected to USB port,
and I reset the port - what happen? In qemu sources we have:
1. Something (non interesting for me) ...
2. Reset all devices.
3. Change the state of devices from "reset" to "attached".
Is this normal? To enumerate device (i.e. SET_ADDRESS) it is necessary to
reset explicitly device first (reset port is not *enough*).
R.
[-- Attachment #2: Type: text/html, Size: 885 bytes --]
reply other threads:[~2008-01-21 15:51 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=d1f045bc0801210750h4edabce5jd362a46f2ce42161@mail.gmail.com \
--to=osrazr@gmail.com \
--cc=qemu-devel@nongnu.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).