-1

I ran raspberry pi under QEMU but can't got USB working

$ lsusb
unable to initalize libusb: -99 

My QEMU command line is following:

sudo qemu-system-arm \
    -kernel qemu-rpi-kernel/kernel-qemu-4.4.34-jessie \
    -cpu arm1176 \
    -m 256 \
    -M versatilepb \
    -append "root=/dev/sda2 panic=1" \
    -hda 2017-07-05-raspbian-jessie.img \
    -redir tcp:5022::22 \
    -redir tcp:5080::80 \
    -serial stdio \
    -no-reboot \

I got kernel here: https://github.com/dhruvvyas90/qemu-rpi-kernel

And drive image here: http://downloads.raspberrypi.org/raspbian/images/raspbian-2017-07-05/

My host OS is Ubuntu 18.04.5 LTS

Screenshot:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.