Fght
Posts: 319
Joined: Thu Feb 05, 2015 10:26 pm

a pc and pi with the same mouse and keyboard

Tue Jun 28, 2016 7:59 pm

i've both wireless and wired ones now

the wired are for the pc
the wireless for the pi (raspbian)

i don't want to switch them when switching between the computers...

how can it be done?

i've an hdmi switch but without the sound and of course without the mouse and keyboard.

User avatar
HawaiianPi
Posts: 4878
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: a pc and pi with the same mouse and keyboard

Tue Jun 28, 2016 8:22 pm

You need something called a KVM switch (keyboard, video, mouse switch). And if you are using the analog audio, you will want one that supports that as well.

EDIT: Here's one I found on Amazon.
http://www.amazon.com/dp/B00FSARCX0
Here's a cheaper one, but it only supports HDMI (digital) audio.
http://www.amazon.com/dp/B00ANSVQPW
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

W. H. Heydt
Posts: 11106
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: a pc and pi with the same mouse and keyboard

Tue Jun 28, 2016 8:36 pm

Or...you can do remote VNC access to the Pi.

Romonga
Posts: 123
Joined: Mon May 09, 2016 7:09 pm
Location: Montgomery Il

Re: a pc and pi with the same mouse and keyboard

Tue Jun 28, 2016 8:42 pm

If you don't need video to switch a software solution does exist for keyboard an mouse. Synergy http://symless.com/synergy/

However, it seems you also need video.
You can run, but you will only die tired.

broe23
Posts: 903
Joined: Thu Jan 28, 2016 9:35 pm
Location: Central IL
Contact: Website

Re: a pc and pi with the same mouse and keyboard

Tue Jun 28, 2016 10:30 pm

SSH is the best way. Use WinSCP with Putty on the PC. Just be aware that if you use any type of KVM switch that does not do a keep alive signal on the device not in use with the KVM, you will see a lot of no device found errors.

I have a monitor with both VGA and DVI that I had the PC on one and the Pi on the other with a DVI to HDMI adapter, no sound. For the mouse It was only for the PC, the Keyboard was through a A/B switch that worked out pretty decent with the Pi not needing a GUI as a headless unit.
Ren: Now listen, Cadet. I've got a job for you. See this button? Ren: Don't touch it! It's the History Eraser button, you fool! Stimpy: So what'll happen? Ren: That's just it. We don't know. Maybe something bad, maybe something good.

Fght
Posts: 319
Joined: Thu Feb 05, 2015 10:26 pm

Re: a pc and pi with the same mouse and keyboard

Wed Jun 29, 2016 12:10 pm

thank you for the variety of suggestions.

i will stick with the vnc i guess

Return to “General discussion”