dw-0 / kiauh

Klipper Installation And Update Helper
GNU General Public License v3.0
3.4k stars 492 forks source link

kiauh can't find the MCU under VirtualBox #277

Closed zogthegreat closed 1 year ago

zogthegreat commented 1 year ago

Linux Distribution

Ubuntu 22.04

What happened

I'm trying to get klipper running in a VirtualBox container. The VM can se the MCU board:

pi@klippy:~$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 003: ID 1a86:7523 QinHeng Electronics CH340 serial converter Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub However, when I run kiauh, it can't find the MCU:

Identifying MCU connected via USB ...

=======================================================

No MCU found! MCU either not connected or not detected!

=======================================================

What did you expect to happen

I expected kiauh to see the Creality 4.2.2 board and be able to compile a firmware for it.

How to reproduce

Create a VM with VirtualBox with Ubuntu 22.04 and install kiauh the regular way.

Additional information

No response

jerry171 commented 1 year ago

Have you checked both Uart and USB for your MCU? Also it may be due to you not having installed virtual boxes extensions, many say that that is required for USB to work properly.