I want boot the QEMU ARM machine with USB emulation, initially i launched the QEMU ARM machine but i cant able to see the usb devices using lsusb command.
this is a known problem, you will need to apply a patch to activate your usb bus.
I think you can maybe find this one at :patchwork.ozlabs.org/.../
After that will depend on your boardRegards
Thanks for the reference, Only ARM i can able to see the "No usb bus found for usb-devices" error when we pass through the USB to QEMU.
the same " -usb -device usb-host, vendorid<xxxxx>, productid<xxxxx>" command working fine for QEMU amd64 machines, here am not facing any bus issue
And one more thing when we boot QEMU amd64 i can able to see the USB controller register information
[ 0.828829] sky2: driver version 1.30[ 0.829216] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver[ 0.829743] ehci-pci: EHCI PCI platform driver[ 0.830536] ehci-pci 0000:00:1d.7: EHCI Host Controller[ 0.830997] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 1[ 0.831700] ehci-pci 0000:00:1d.7: irq 19, io mem 0xfebd2000[ 0.838488] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00[ 0.838958] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19[ 0.839616] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1[ 0.840175] usb usb1: Product: EHCI Host Controller[ 0.840600] usb usb1: Manufacturer: Linux 4.19.124-cip27 ehci_hcd[ 0.841071] usb usb1: SerialNumber: 0000:00:1d.7
But when we boot QEMU ARM am not able to see the USB controller registration
[ 1.747101] CAN device driver interface[ 1.750460] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver[ 1.750689] ehci-pci: EHCI PCI platform driver[ 1.751014] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver[ 1.751235] ohci-pci: OHCI PCI platform driver[ 1.751493] uhci_hcd: USB Universal Host Controller Interface driver[ 1.751859] usbcore: registered new interface driver usblp[ 1.752131] usbcore: registered new interface driver usb-storage[ 1.753986] mousedev: PS/2 mouse device common for all mice[ 1.754694] i2c /dev entries driver[ 1.757415] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: firstname.lastname@example.org[ 1.758167] Synopsys Designware Multimedia Card Interface Driver
Please provide your thoughts if any?
View all questions in Embedded forum