Closed DUOLabs333 closed 2 years ago
I can mount my Sandisk drive, so I can see it with lsusb, but no device shows up in /dev.
lsusb
/dev
Config:
#!/bin/sh sudo qemu-system-aarch64 \ -M virt,accel=hvf,highmem=off -m 7G \ -cpu cortex-a57 \ -kernel Image \ -initrd initramfs-linux.img \ -append "root=/dev/vda1 rw console=ttyAMA0 video=Virtual-1:2880x1690@60" \ -drive file=Arch.img,format=raw,index=0,media=disk \ -netdev vmnet-bridged,id=net0,ifname=en0 \ -device virtio-net,netdev=net0,mac=52:54:00:c9:18:27 \ -smp 4 \ -device virtio-gpu-gl-pci,xres=2880,yres=1690 \ -display cocoa,gl=es \ -soundhw hda \ -device virtio-keyboard-pci \ -device virtio-mouse-pci \ -device qemu-xhci,id=usb-controller-0 \ -chardev qemu-vdagent,id=spice,name=vdagent,clipboard=on \ -device virtio-serial-pci \ -device virtserialport,chardev=spice,name=com.redhat.spice.0 \ -device usb-host,productid=0x4ee7,vendorid=0x18d1 \ -device usb-host,productid=0x55a9,vendorid=0x0781
I do get can't set config #1, error -32 in dmesg after plugging it in.
can't set config #1, error -32
dmesg
Using directly https://github.com/akihikodaki/qemu fixes this.
I can mount my Sandisk drive, so I can see it with
lsusb
, but no device shows up in/dev
.Config: