Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 23 Nov 2014, 01:09
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
Multiseat in Qemu
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
Gobbi

Joined: 09 Mar 2012
Posts: 150

PostPosted: Wed 12 Nov 2014, 09:08    Post subject:  Multiseat in Qemu
Subject description: 2 stations sharing a computer
 

I managed to get a multiseat (2) solution with qemu using 2 monitors and 2 input ( kb + mouse) sets.
One can use the parameters with Qemu Control Centre provided by mikeb or qemu-vm-manager provided by jamesbond in Fatdog or use directly the terminal .
I used this code from the console:

qemu-system-x86_64 -enable-kvm -vga vmware -m 2048 -smp cores=2 -usbdevice host:046d:c52b -soundhw ac97 -cdrom *.iso

Using kvm helps a lot (speed up) .

I'm using vmware video because installing vmware driver on the guest OS gives the best result for playing videos . Here , qemu is still slower than Virtual Box , so I want to look for a way to pass through the host video card to adress this issue too .

For keyboard and mouse I pass through the host usb device identified by vendor_id:product_id :
-usbdevice host:vendor_id:product_id
Vendor_id and product_id I got typing lsusb in the terminal.

About sound : for the guest , one can choose the emulated sound card that works
better , in my case -soundhw ac97 is just fine . I noticed that if qemu starts when the host system is using one specific sound card , that card is assigned to qemu .
Then I switch to the second card ( the one provided by my AMD card through HDMI - in my case ) and both host and guest have separate audio.
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2470
Location: Heart of Texas

PostPosted: Wed 12 Nov 2014, 12:56    Post subject:  

cool I have a laptop with both HDMI and VGA as well as laptop screen. just need more mice and keyboards.
Back to top
View user's profile Send private message 
stemsee


Joined: 27 Jun 2013
Posts: 490
Location: London

PostPosted: Wed 12 Nov 2014, 13:07    Post subject:  

Outstanding!
Back to top
View user's profile Send private message MSN Messenger 
mikeb


Joined: 23 Nov 2006
Posts: 8641

PostPosted: Wed 12 Nov 2014, 15:12    Post subject:  

Neat..I think this has been asked for in the past and now you seem to have a method.

I am overdue to update me gui so not sure what to put in there without getting too hairy but I will examine this....

Mike
Back to top
View user's profile Send private message 
neerajkolte


Joined: 10 Feb 2014
Posts: 342
Location: Pune, India.

PostPosted: Thu 13 Nov 2014, 02:49    Post subject:  

Thanks Gobbi, I will try this as soon as I get home.

- Neeraj.

_________________
"One of my most productive days was throwing away 1000 lines of code."— Ken Thompson
Back to top
View user's profile Send private message 
neerajkolte


Joined: 10 Feb 2014
Posts: 342
Location: Pune, India.

PostPosted: Fri 14 Nov 2014, 10:09    Post subject:  

Hi Gobbi,
I tried to use your suggestion. Following is the output of lsusb
Code:
# lsusb
Bus 001 Device 002: ID 8087:0024 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0826:98d2 Data Transit
Bus 002 Device 002: ID 8087:0024 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
#
The entry saying "Data Transit" is my "PS2toUSB Adapter" which has both my extra kbd and mouse are connected.
My original kbd and mouse are connected to their respective ps2 ports on my motherboard.
When I add
Code:
-usbdevice host:0826:98d2
to my qemu command I get error
Code:
qemu: could not add USB device 'host:0826:98d2'
And my guest doesn't start.
Do you have any suggestions.
Thanks.

- Neeraj

_________________
"One of my most productive days was throwing away 1000 lines of code."— Ken Thompson
Back to top
View user's profile Send private message 
Gobbi

Joined: 09 Mar 2012
Posts: 150

PostPosted: Fri 14 Nov 2014, 12:43    Post subject:  

neerajkolte wrote:

Code:
# lsusb

Bus 001 Device 003: ID 0826:98d2 Data Transit

The entry saying "Data Transit" is my "PS2toUSB Adapter" which has both my extra kbd and mouse are connected.


Hi neerajkolte !

I took the informations from http://qemu.weilnetz.de/qemu-doc.html#host_005fusb_005fdevices . Take a look at 3.10 USB Emulation - 3.10.1 and 3.10.2 .
From what I understand there , there might be a conflict between USB mouse/kbd emulations and PS2 devices . Also hubs do not work .
Also have a look here : http://www.clickykeyboards.com/index.cfm/fa/items.main/parentcat/11298/subcatid/0/id/124184 .
I don't know if your adapter is a direct wired one or it also has a converter chip to actually be seen as a usb device ... if it's not - it may explain what happens .
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0584s ][ Queries: 11 (0.0033s) ][ GZIP on ]