QEMU-Devel Archive on lore.kernel.org
 help / color / Atom feed
From: Davide Bacilieri <1772165@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1772165] Re: arm raspi2/raspi3 emulation has no USB support
Date: Tue, 20 Aug 2019 12:59:22 -0000
Message-ID: <156630596295.22623.9042286816878299731.malone@chaenomeles.canonical.com> (raw)
In-Reply-To: <152673688616.9061.7617411809661975686.malonedeb@chaenomeles.canonical.com>

Right now with 
`qemu-system-arm -kernel kernel7.img -dtb bcm2709-rpi-2-b.dtb -cpu arm1176 -M raspi2 -hda 2018-11-13-raspbian-stretch-full.img`
I can access the serial console using `Ctrl+Alt+3` in the QEMU window.
Using raspbian via this serial console is (as far as I can see) the same as using the Lite version.
The main display doesn't accept any mouse/ keyboard input, and `-device usb-mouse` generates a `qemu-system-arm: -device usb-mouse: No 'usb-bus' bus found for device 'usb-mouse` error, even after the `-machine usb=on` command

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1772165

Title:
  arm raspi2/raspi3 emulation has no USB support

Status in QEMU:
  Confirmed

Bug description:
  Using Qemu 2.12.0 on ArchLinux.

  Trying to emulate arm device with `qemu-system-arm` and attach usb
  device for unput using

  ` -usb -device usb-host,bus=001,vendorid=0x1d6b,productid=0x0002 `

  # lsusb returns

  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 001 Device 014: ID 13d3:3487 IMC Networks 
  Bus 001 Device 004: ID 0457:11af Silicon Integrated Systems Corp. 
  Bus 001 Device 003: ID 0bda:57e6 Realtek Semiconductor Corp. 
  Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  # qemu returns
  qemu-system-arm: -device usb-host,bus=001,vendorid=0x1d6b,productid=0x0002: Bus '001' not found

  
  Tried with connecting external usb keyboard but that didn't seem to work either.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1772165/+subscriptions


      parent reply index

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-19 13:34 [Qemu-devel] [Bug 1772165] [NEW] qemu-system-arm: -device usb-host, bus=001, vendorid=0x04f2, productid=0x0111: Bus '001' not found George
2018-05-19 13:43 ` [Qemu-devel] [Bug 1772165] " Peter Maydell
2018-05-19 13:53 ` George
2018-05-19 16:15 ` Peter Maydell
2018-05-19 17:04 ` George
2018-05-19 17:49 ` Peter Maydell
2018-05-19 19:07 ` George
2018-05-19 19:33 ` Peter Maydell
2018-05-19 19:58 ` George
2018-05-22  7:43 ` Gerd Hoffmann
2018-06-01 16:05 ` Peter Maydell
2018-07-06 13:10 ` [Qemu-devel] [Bug 1772165] Re: arm raspi2/raspi3 emulation has no USB support Peter Maydell
2019-07-22 20:19 ` Aditya Govardhan
2019-07-23  8:52 ` Peter Maydell
2019-08-19  2:56 ` Weber Kai via Qemu-devel
2019-08-19  9:16 ` Peter Maydell
2019-08-19 12:44   ` Clement Deschamps
2019-08-19 14:47 ` Clement Deschamps
2019-08-20 12:59 ` Davide Bacilieri [this message]

Reply instructions:

You may reply publically 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=156630596295.22623.9042286816878299731.malone@chaenomeles.canonical.com \
    --to=1772165@bugs.launchpad.net \
    --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

QEMU-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/qemu-devel/0 qemu-devel/git/0.git
	git clone --mirror https://lore.kernel.org/qemu-devel/1 qemu-devel/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 qemu-devel qemu-devel/ https://lore.kernel.org/qemu-devel \
		qemu-devel@nongnu.org qemu-devel@archiver.kernel.org
	public-inbox-index qemu-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.nongnu.qemu-devel


AGPL code for this site: git clone https://public-inbox.org/ public-inbox