Skip to content

Commit 99b5df2

Browse files
authored
Prepared version 0.4.1
1 parent a5034af commit 99b5df2

20 files changed

+31
-13
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# EmuGUI v0.4.1
2+
3+
- Fixed an issue which caused USB input devices on ARM machines not to be accepted because USB support was being initialized too late.
4+
- To do that, I had to specify an USB 1.1 controller in the VM bootcode.
5+
- Also, to make it easier, USB support is enabled automatically if you decide to use an USB device.
6+
- With that, a network issue has been caused on ARM emulator instances. That has been fixed by adding the virtio-net-device.
7+
- Updated TESTED.md
8+
19
# EmuGUI v0.4
210

311
- Updated TESTED.md
0 Bytes
Binary file not shown.
108 Bytes
Binary file not shown.
17 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

dialogExecution/newVirtualMachine.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,10 @@ def finishCreation(self):
292292

293293
add_args = self.lineEdit_2.text()
294294

295-
if self.checkBox_3.isChecked():
295+
if self.checkBox_3.isChecked() or self.checkBox.isChecked() or self.comboBox_13.currentText("USB Mouse"):
296+
usb_support = 1
297+
298+
elif self.comboBox_13.currentText("USB Tablet Device") or self.comboBox_16.currentText("USB Keyboard"):
296299
usb_support = 1
297300

298301
else:

dialogExecution/startVirtualMachine.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ def start_virtual_machine(self):
302302

303303
mac_to_use = f"{mac_gen[0]}:{mac_gen[1]}:{mac_gen[2]}:{mac_gen[3]}:{mac_gen[4]}:{mac_gen[5]}"
304304
qemu_cmd = qemu_cmd + f" -device {self.vmSpecs[7]},netdev=hostnet0,mac={mac_to_use} -netdev user,id=hostnet0"
305+
306+
if self.vmSpecs[20] == "1":
307+
qemu_cmd = qemu_cmd + " -usb -device pci-ohci"
305308

306309
if self.vmSpecs[7] == "1":
307310
print("WARNING: Using the checkbox for the USB tablet is depreciated.")
@@ -365,9 +368,6 @@ def start_virtual_machine(self):
365368
if self.vmSpecs[19] == "USB Keyboard":
366369
qemu_cmd = qemu_cmd + " -device usb-kbd"
367370

368-
if self.vmSpecs[20] == "1":
369-
qemu_cmd = qemu_cmd + " -usb"
370-
371371
if self.vmSpecs[11] != "":
372372
qemu_cmd = qemu_cmd + f" {self.vmSpecs[11]}"
373373

doc/TESTED.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ Such a program needs tests in its lifetime. That's why I make this compatibility
3535
| Operating system | Architecture | Working | Notes |
3636
| ----------------------------------------- | ------------ | --------- | -------------------------------------------------------------------------------- |
3737
| openSUSE Leap 15.4 | Aarch64 | No | Installation is impossible |
38-
| openSUSE Tumbleweed | Aarch64 | Partially | For networking, please take the preinstalled Xfce image. Terminal only. |
38+
| openSUSE Tumbleweed | Aarch64 | Partially | For networking, please take the preinstalled Xfce image. There are mouse issues. |

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, parent=None):
2121
self.connectSignalsSlots()
2222
self.timer = QTimer()
2323
self.timer.timeout.connect(self.updateVmList)
24-
self.label_8.setText("EmuGUI v0.4")
24+
self.label_8.setText("EmuGUI v0.4.1")
2525
self.setWindowTitle("EmuGUI")
2626

2727
if platform.system() == "Windows":

0 commit comments

Comments
 (0)