Tiny Core Linux
Off-Topic => Off-Topic - Tiny Core Lounge => Topic started by: vinceASPECT on January 29, 2019, 09:19:19 PM
-
Hello forum,
Has anybody tried to successfully run VM's such as a tinycore VM inside Msofts "Hyper V" while
the Linux VM also has full sound capability?
If so, how did you do it and can you please tell me.
My research seams to suggest that the above is NOT directly possible. The reason it's not possible seems to be
because Hype V is a type one bare metal hypervisor....and is different from VMware and others in respect
of that. Msoft have never implemented it.
What i DID however learn is that it is
possible to share USB devices between Win HOSTS to Linux VM's. The shared devices can be anything including
usb audio cards. So i wanted to try that.
There are various solutions out there and they are software based. I have found a free solution
and wondered if anybody had heard of it or tried it. It's TWO pieces of software. A tool for your
win host machine and a separate tool for your Linux VM. It uses RDP to pass through the USB devices and thus eventually you get SOUND capability in your Linux VM.
They work in the sense that the VM has virtual ETHERNET..... it's called the "default switch" that you give to all your VM;s. This Dswitch then senses the real ethernet socket of the real host machine running Hyper V. That real host machine also has real USB devices plugged into it. They are then shared over these tools below.
https://www.incentivespro.com/downloads.html
1) USB redirector client (for host win machine) free
2) USB redirector for Linux (For the Linux VM) free
i wonder if it could be installed into a TCL VM.
thx V
-
https://www.incentivespro.com/products.html
-
https://www.incentivespro.com/usb-server.html
-
ahh...... my ORDERING is wrong earlier....
iThe 2 tools needed are
1) USB Redirect RDP (that is the server part in Hyper V) 15 day trial......
2) USB redirect Linux (This is run in client mode in Linux) free
but i have a way around 1)....via timeFreeze (for continually using trials)
While these softwares don't look easy to use....they indeed DO work exactly as stated.
For example, it's totally free to re-direct ALL TYPES of USB devices from MS machines to MS VM's with the free tools above...... Hyper V does not currently have native support to do that....it can ONLY redirect certain TYPES of USB devices in enhanced session mode..... of which Audio USB cards and many other devices are not supported.
In terms of MS machines to Linux VM's.....again, the tools above will re-direct all types of USB devices in either direction.....where-as Hyper V does not natively support ANY of that style of MS to Lin USB device re-directing. (or vice versa)
V
-
Sound works fine from VMware Workstation and Player VM's. MP3's and videos on web pages, so yes it's possible.
-
andy...i know sound and stuff is passed through and redirected from Hosts to Vm's in such as VMWARE and virtualbox..........also they support re-directing of USB devices. EVen between MS hosts and Linux VM's or vice versa.
However HYPER V on Msoft platform does NOT do any of this re-directing when you are going from MS Hosts to Linux VM's or the other way around.............HYPER V only supports sound etc with MS hosts to MS Vm's....and it only supports certain USB devices via "enhanced mode" (audio USB cards and USB cameras etc are NOT supported)..
THese tools i mention above get around those HYPER V limitations.
i want to use HYPER V because it is so much better in respect of the fact it's a Level ONE bare metal server.....unlike VMware etc are level TWO servers.
thanks
V
-
https://www.incentivespro.com/hyper-v-usb.html
https://www.incentivespro.com/cross-platform-usage-client.html
it is all there.....the theory is all also true for virtual Ethernet (Default Switch) that you have in your Linux Client VM's on Hyper V....(host windows machine USB server)
V
-
Hi all.
i found another FREE tool to allow sharing of connected USB devices on a windows machine....with Linux VM's running in Hyper-V.
"virtualhere"
The trial isn't locked or timed but it only allows ONE usb device to be shared at any one time between Windows Host and Linux VM.....(or vice versa...or Macs/Lin etc)
The Linux Client of "virtualhere" is completely free to run as a Linux GUI and not as a Linux service.
The free windows "virtualhere" server just runs on windows as a GUI.
When it says shared , i think it actually DOES mean that both the windows machine and the Linux VM can both use the physically connected USB device in question "at the same time"....although i am not totally certain of that. It may be one of the other.
THe only requirement for "virtualhere" to work is that the Linux distro in question has "usbip" compiled in it's Kernel. Does TCL have that?
"virtualhere" .. also offers a cloud version, so that your cloud machines with AWS can all see local usb devices on your local desktop machine and use them.
thx
Vin
-
as per:
http://tinycorelinux.net/10.x/x86/release/src/kernel/config-4.19.10-tinycore
CONFIG_USBIP_CORE=m
-
THanks Juanto....i will try to get this "virtualhere" working.........
so "m" is MODE is it?.....meaning it IS functional?
the Linux GUI of the "virtualhere USB Client" tool is a free download but then it would need to be made into a tcz.
The "virtualhere windows USB Server" is just a free download.
But i think you could also use "dCore" which may indeed have the "virualhere" tool in the Ubuntu or Debian repos right away.
All USB devices are supported via this tool....... Camera's , soundcards, mice, microphones etc
thx
V
-
"m" means "module", i.e. it is not compiled into the kernel - the usbip-core and usbip-host modules are in the tinycore base
-
so as modules, how could one use them?....must i have them compiled into the Kernel and is that a lot of trouble?
is "usbip" functional for usage? ("not compiled" seems to point to the fact it's not functional)
thx
V
-
"compiled into the kernel" means included in vmlinuz for use in the boot process.
"compiled as a module" means available separately for use after boot.
Many modules will load themselves when required. If not, "sudo modprobe module_name" will usually fix things.
-
Juanto thanks......i think i see what you mean.
I should load the "usbip_core" module after boot and it will become operational.....right
thx
V
-
affirmative
-
i am guessing Juanto that this "virtualhere" Linux client is a simple excercise to run in TCL
it says it runs on any Linux, self contained executable, no deps....exists in userland...etc ...etc.
https://virtualhere.com/usb_server_software
https://virtualhere.com/usb_client_software
V
-
Hi
there are FREE Debian Wheezy clients of "virtualhere" in their forum...all proper
THe standard clients on their webpage are Ubuntu. They should also work in dCore.
......so "dCore" will likely run them directly i expect.....by converting them to SCE
thanks
V
-
well i got it to run in Dcore...........but dCore JESSY does not have the "usbip_core" module.........it seems to be missing
so it tried to run....but because it could not find that module it threw an error.....but not a deps error or antying....the program actually ran correctly.
V
-
I have been told that "virtualhere Linux USB client" runs properly out of the box on dCore-bionic x86. 32 or 64.
thx
V