summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/peripherals/1509336
blob: cd1ac79cc5dc4cfb13635170a99f5ac78545df30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
USB passthru  not work with  Mac OS X  El Capitan

QEMU emulator version 2.4.50 with kernel kvm module from linux kernel 3.16.0 or 4.2.3

Since upgrading from Yosemite to El Capitan - USB passthru does not work. Note USB passthru worked perfectly with  Maverick and Yosemite. I attempt to use different USB hosts. I found a patch for widows xp that had similar problem the patch was applied in 2012. Note NO problems with USB passthru with windows or linux clients. If it matters the devices that I am trying to passthru USB are smartcard reader and webcam.  The devices are present in El Capitan but do not function. 

These are the massages from loading the VM (El Capitan). The first two lines are from the clover bootloader. The ehci warnings are generated when loading Mac Os X El Capitan.

QEMU 2.4.50 monitor - type 'help' for more information
### These messages below started when  using the clover bootloader and occur when loading El Capitan, Maverick or Yosemite. 
### The bootloader is Clover  version 3292
(qemu) ehci: PERIODIC list base register set while periodic schedule
      is enabled and HC is enabled
ehci: ASYNC list address register set while async schedule
      is enabled and HC is enabled

#### Below are errors when the guest host (El Capitan) is loading from qemu monitor.  The messages below only occur when loading El Capitan. 
ehci warning: guest requested more bytes than allowed
processing error - resetting ehci HC
ehci warning: guest requested more bytes than allowed
processing error - resetting ehci HC
ehci warning: guest requested more bytes than allowed
processing error - resetting ehci HC

This is the errors from the guest os - Mac Os X - El Capitan
000000.580358 AppleUSBLegacyRoot@: AppleUSBLegacyRoot::init: enabling legacy matching
000001.803455 AppleUSBEHCIPCI@fd000000: AppleUSBEHCI::WaitForAsyncSchedule: USBC
MD (0x00080020) and USBSTS (0x00001000) did not synchronize

the following qemu command has worked flawlessly with Yosemite and Maverick. 
qemu-system-x86_64 -enable-kvm -m 4096 -cpu core2duo -machine q35 \
-bios /usr/local/share/qemu/bios.bin \
-name "El Capitan" \
-mem-path /hugetlbfs \
-rtc base=utc,clock=vm,driftfix=slew \
-balloon none \
-parallel none \
-smp 4,sockets=1,cores=2,threads=2 \
-boot menu=on \
-usb -device usb-kbd -device usb-mouse \
-device usb-host,vendorid=0x0455,productid=0x0777 \
-vga std \
-monitor stdio \
-device isa-applesmc,osk="youknowwhatitis" \
-smbios type=2 \
-device ich9-intel-hda,bus=pcie.0,addr=1b.0,id=sound0 \
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
-device e1000-82545em,netdev=hub0port0,id=mac_vnet0,mac=62:64:44:34:64:54 \
-netdev bridge,id=hub0port0,br=br0,helper=/usr/local/libexec/qemu-bridge-helper \
-device ide-drive,bus=ide.0,drive=elcapitan \
-drive id=elcapitan,format=qcow2,if=none,file=./iElCapitan.qcow2 

If anything else I can do to debug the problem please let me know.