How to run POP 2 or MINI inside a VM in LINUX DEBIAN

Hi everyone. As a modest contribution, I share with you what I did to have both POP2 and MINI work with my Linux DEBIAN.

I just don’t use Windows at home. It’s just a geek choice. On the contrary: I sometimes think I would spare myself a load of hassles instead of trying to make devices run under Linux while apps are either Windows or Mac dedicated… (this is a message for those who might hear it: please, don’t forget Linux users… :wink: )

So I tried first to run Revo Scan with Gnome Boxes and Windows 10 inside: almost worked. When you start RevoScan you just wait for ages for it to appear… and it eventually crashes. Revo Studio fires up but displays a blank window. You guess there must be active zones as the mouse pointer is shown as a hand, but otherwise everything is plain white. Windows is very sloooowww with Gnome Boxes. Redirecting USB devices is not automatic.

So I turned to VirtualBox (Oracle VM).

I chose a comfortable configuration, so I was able to install and run a fresh Windows 10.

Don’t hesitate to configure a “strong” VM, otherwise you won’t meet Windows 10 requirements, and it just won’t install.

Here are my setting:








Just manage to have a running Windows 10 in your VM.

Some details:

— network : I selected “bridged adapter”. The name of the adapter depends on your own config. Here I am on WiFi

— USB: this is where you specify the devices that will automatically be redirected to your VM.

About USB devices:

You need to add the device names of the USB devices that will be automatically redirected to your VM. Don’t worry if you don’t do it here, you will be able to redirect them manually later.

As you can see in the list, there are the two REVO scanners as the Linux kernel sees them.

Here is the kernel log when respectively POP2 and MINI are plugged in:

POP2:

Oct 25 19:02:55 erin kernel: usb 3-1: new high-speed USB device number 8 using xhci_hcd

Oct 25 19:02:55 erin kernel: usb 3-1: New USB device found, idVendor=2207, idProduct=110c, bcdDevice= 4.19

Oct 25 19:02:55 erin kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

Oct 25 19:02:55 erin kernel: usb 3-1: Product: ZXProduct

Oct 25 19:02:55 erin kernel: usb 3-1: Manufacturer: Chishine3d

Oct 25 19:02:55 erin kernel: usb 3-1: SerialNumber: A21A2104206F00A54

Oct 25 19:02:55 erin kernel: usb 3-1: Found UVC 1.00 device ZXProduct (2207:110c)

Oct 25 19:02:55 erin kernel: input: ZXProduct: DepthCamA21A2104206F as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/input/input17

Oct 25 19:02:55 erin kernel: usb 3-1: Found UVC 1.00 device ZXProduct (2207:110c)

Oct 25 19:02:55 erin kernel: input: ZXProduct: RGBCamA21A2104206F00 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/input/input18

Oct 25 19:02:55 erin kernel: hid-generic 0003:2207:110C.0006: hiddev97,hidraw5: USB HID v1.01 Device [Chishine3d ZXProduct] on usb-0000:00:14.0-1/input4

MINI:

Oct 25 19:05:16 erin kernel: usb 3-2: new high-speed USB device number 9 using xhci_hcd

Oct 25 19:05:16 erin kernel: usb 3-2: New USB device found, idVendor=2207, idProduct=110c, bcdDevice= 4.19

Oct 25 19:05:16 erin kernel: usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

Oct 25 19:05:16 erin kernel: usb 3-2: Product: ZXProduct

Oct 25 19:05:16 erin kernel: usb 3-2: Manufacturer: Chishine3d

Oct 25 19:05:16 erin kernel: usb 3-2: SerialNumber: A22710442A6F00A64

Oct 25 19:05:16 erin kernel: usb 3-2: Found UVC 1.00 device ZXProduct (2207:110c)

Oct 25 19:05:16 erin kernel: input: ZXProduct: DepthCamA22710442A6F as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/input/input19

Oct 25 19:05:16 erin kernel: usb 3-2: Found UVC 1.00 device ZXProduct (2207:110c)

Oct 25 19:05:16 erin kernel: input: ZXProduct: RGBCamA22710442A6F00 as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/input/input20

Oct 25 19:05:16 erin kernel: hid-generic 0003:2207:110C.0007: hiddev97,hidraw5: USB HID v1.01 Device [Chishine3d ZXProduct] on usb-0000:00:14.0-2/input4

The “Broadcom” device is my Bluetooth dongle. So I can access the turntable.

The last shown device is “rockchip rk3xxx”: this is MINI as the Linux kernel sees it when in “update mode”. This is a different kettle of fish… see below.

Now you have a running Windows 10 in your VM and the USB devices (POP2 or MINI (and Bluetooth dongle if needed)) are redirected to your VM.

If you didn’t configure the automatic USB redirection, then you can (un)check the devices in the “Devices/USB” menu of your VM.

You are good to go. Fire up Revo Scan and enjoy your 3D scanners.

Don’t forget to go through all the process to connect the turntable. There should be no problem (I didn’t have any… except firmware update!).

If Revo Scan asks you to update MINI firmware, which is necessary to have it work with the turntable, then this is when things are worsening.

If you say “yes” then MINI gets into “update mode” and reboots for the firmware update process. The thing is, MINI is now seen as another device by the Linux kernel. More precisely, this “rockchip rk3xxx”…

I don’t know if this will happen to you, but here it kept on registering with the kernel, thus creating a new device on and on. Then it was never connected to the VM and the update process never started.

Here is the kernel log:

Oct 3 22:43:03 erin kernel: usb 3-1: new high-speed USB device number 32 using xhci_hcd

Oct 3 22:43:03 erin kernel: usb 3-1: New USB device found, idVendor=2207, idProduct=0006, bcdDevice= 3.10

Oct 3 22:43:03 erin kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

Oct 3 22:43:03 erin kernel: usb 3-1: Product: rk3xxx

Oct 3 22:43:03 erin kernel: usb 3-1: Manufacturer: rockchip

Oct 3 22:43:03 erin kernel: usb 3-1: SerialNumber: REVO-A22710442A6F00A64

So I found out myself with a MINI stuck in update mode.

You can reset the MINI firmware back to original one by clicking 10 times on the play button while it is not connected to your computer, only to another power source, it should change from blue to red to blue and green.

But still, what if you want to update the firmware ? After all, you want to use the turntable. :slight_smile:

Use native Windows ! I know, you’re like me, and you just use Linux… nonetheless…

I went to my attic and retrieved an old laptop with Windows 7.

Of course, there was no driver for this rk3xxx device. So I downloaded this: https://androiddatahost.com/wp-content/uploads/Rockchip_DriverAssitant_v4.4.zip

Installed the driver with Windows 7, started Revo Scan, updated the firmware and … tada !

Firmware updated.

Back to Linux VM: MINI, OK! Turntable, OK ! POP2, OK !

BTW, if you want to use the turntable with POP2 then you can separately control it from a tablet with Android “DATT CONTROLLER” app

Enjoy

5 Likes

:+1: Detailed explanation, step by step and with photo clearly to see how to do it. Thanks for sharing!