qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USB pass through into Mac OS 9.x with qemu-system-ppc


From: Programmingkid
Subject: Re: USB pass through into Mac OS 9.x with qemu-system-ppc
Date: Thu, 11 Feb 2021 15:46:22 -0500


> On Feb 8, 2021, at 8:29 AM, qemu-devel-request@nongnu.org wrote:
> 
> Message: 15
> Date: Mon, 8 Feb 2021 14:29:06 +0100
> From: Howard Spoelstra <hsp.cat7@gmail.com>
> To: qemu-devel qemu-devel <qemu-devel@nongnu.org>, Gerd Hoffmann
>       <kraxel@redhat.com>
> Subject: USB pass through into Mac OS 9.x with qemu-system-ppc
> Message-ID:
>       <CABLmASF7YP3qfcuhAQsm8J28e8omZstBf7E5Eir=8MyqnvPLRQ@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi all,
> 
> I'd like to report an issue when passing through an USB device into Mac OS
> 9.2.
> Passing through the same device into Fedora 12 ppc guest works fine. Host
> is Fedora 33. Both guests use the OHCI controller. AFAICT Mac OS 9 only has
> support for OHCI.
> 
> Pcap files for two runs are attached, as is a screenshot of Mac OS 9.2 USB
> messages from inside the guest.
> 
> A noticeable issue when comparing the pcap files seems to be at Fedora pcap
> frame 8 and Mac OS 9.2 pcap frame 28 (configuration descriptor). It seems
> the Mac OS side is missing 5 bytes and hence the packet is malformed.
> (A run with Mac OS 9.0 as guest showed that this guest only missed 1 byte
> in the response.)
> 
> Also visible in the Mac OS pcap file at frame 53 is that it seems a setup
> package is contained in an URB that is not suited for it.
> 
> Qemu-system-ppc is started like this for the Mac OS guest:
> ./qemu-system-ppc \
> -M mac99,via=pmu \
> -m 512 \
> -boot c \
> -serial stdio \
> -L pc-bios \
> -drive file=/home/hsp/Mac-disks/9.2.img,format=raw,media=disk \
> -device usb-host,vendorid=0x058f,productid=0x6387,pcap=macos92.pcap
> 
> Or like this for the Fedora 12 guest:
> ./qemu-system-ppc \
> -L pc-bios \
> -boot c \
> -prom-env "boot-device=hd:,\yaboot" -prom-env
> "boot-args=conf=hd:,\yaboot.conf" \
> -M mac99,via=pmu \
> -m 1024 \
> -drive file=/home/hsp/Linux-disks/fedora12.qcow2 \
> -g 1024x768x32 \
> -device usb-host,vendorid=0x058f,productid=0x6387,pcap=fedora12.pcap
> 
> Thanks for looking into this,
> 
> Best,
> Howard Spoelstra

Hi Howard. I suggest you make a bug report so we may track this issue.

This is where you would file the bug: https://bugs.launchpad.net/qemu/

I didn't know about the pcap option. It looks very useful.

Thank you.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]