qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] USB reset device
@ 2008-01-21 15:50 Os Разработчик
  0 siblings, 0 replies; only message in thread
From: Os Разработчик @ 2008-01-21 15:50 UTC (permalink / raw)
  To: qemu-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-21 15:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-21 15:50 [Qemu-devel] USB reset device Os Разработчик

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).