Wireless Keyboard and Mouse

22 posts
by mharrell » Thu Nov 01, 2012 3:34 pm
Has anyone successfully been able to use a wireless keyboard and mouse?

Posts: 8
Joined: Thu Nov 01, 2012 3:05 pm
by bgirardot » Thu Nov 01, 2012 9:53 pm
Yes, a number of folks have used wireless kb and mouse.

It is not spelled out well, but if you a 'find' on this page for 'wireless' you will see a good number of kb/trackpads/mouse that have been verified with the RPi:

Posts: 517
Joined: Wed Oct 10, 2012 6:20 am
Location: Switzerland
by exartemarte » Thu Nov 01, 2012 10:38 pm
mharrell wrote:Has anyone successfully been able to use a wireless keyboard and mouse?

I use a Logitech EX110 wireless keyboard/mouse combo, plugged directly into the Pi without benefit of a hub, and it's fine. (I've also used it with a powered hub, and that worked too.)
User avatar
Posts: 359
Joined: Sat Mar 03, 2012 3:51 pm
Location: Middle England
by PhJulien » Fri Nov 02, 2012 4:23 pm

when I first booted my RPi I used my logitech wireless desktop mk320 and it worked perfectly. The pi was not configured yet and I did not use a Hub.
I was actually pretty impressed it worked so well. :)
Not a native speaker. Sorry for my english. =)
Posts: 11
Joined: Wed Oct 31, 2012 9:41 am
Location: Lausanne, Switzerland
by timmah » Sun Nov 04, 2012 12:58 am
I am currently using a Logitech K400 wireless keyboard/touchpad combo on mine.
Posts: 2
Joined: Tue Aug 28, 2012 8:37 pm
by bud-pnq » Sun Nov 04, 2012 4:11 am
I have Logitech wireless wave KB mouse combo and it works great. But when connected with WiFi dongle it just doesn't work, even with powered usb hub. Tried two different manufacturer hubs but both with same struggles. One wireless chip at a time has been the only success with me, Bluetooth, WiFi, Logitech unifying, etc.
Posts: 27
Joined: Sat Aug 04, 2012 3:09 am
by peac » Mon Nov 05, 2012 12:56 am
I'm using the SIIG Multi-Touchpad Mini Keyboard, which works fine for casual use at startup, but turns out to have some issues with mapping some of the keys I use from the command line, e.g. ~

There's probably a keyboard map that would work better, but I haven't found it yet.
Posts: 4
Joined: Sun Jul 08, 2012 3:48 am
by rgvraspi » Mon Dec 03, 2012 2:29 am
I think I may be running it this myself with a Logitech MK320 and EDIMAX 7811 Wifi Adapter. I have detailed my experience here:


A bit frustrating but oh well.

bud-pnq wrote:I have Logitech wireless wave KB mouse combo and it works great. But when connected with WiFi dongle it just doesn't work, even with powered usb hub. Tried two different manufacturer hubs but both with same struggles. One wireless chip at a time has been the only success with me, Bluetooth, WiFi, Logitech unifying, etc.
Posts: 32
Joined: Sat Nov 03, 2012 3:38 pm
Location: USA
by ausinch » Fri Dec 21, 2012 8:59 pm
mharrell wrote:Has anyone successfully been able to use a wireless keyboard and mouse?

i am using my pi now to write this with a Logitech K260 k/b - mouse combo. Works without a hitch.

Yesterday I tried a Trust 18056 k/b - mouse combo. The k/b worked but the mouse didnt.

I am not using an external USB hub.
Posts: 4
Joined: Thu Dec 20, 2012 10:26 pm
by edtoml » Fri Dec 21, 2012 11:53 pm
I managed to get an "Apple Wireless Keyboard" and "Apple Magic Mouse" working. The is a lot of crap out there on how to do it. This is what worked here (blueman did NOT work).
The advantage of doing it this way is that the keyboard and mouse are available without X.
Here they work at boot.

Get root ( If you do not know what you are doing as root find out )
sudo -i

apt-get install bluetooth bluez-tools
Wait a long time....

check bluetooth status:
/etc/init.d/bluetooth status

You may need to start bluetooth, if its not running:
/etc/init.d/bluetooth start

I edited /etc/default/bluetooth and set HID2HCI_ENABLED=1
not sure if this is needed though... If you change it you will want to do
/etc/init.d/bluetooth restart

My 512M PI crashes if plug the adapter after boot... You should test to see if your adaptor is working with (dmesg is also useful ) :

hciconfig -a
You should see a line with "UP RUNNING PSCAN" probably on hci0

If its down you it may come up with:
hciconfig hci0 up

Once hci0 is up, find the address of the device you want to pair:
hcitool scan
and copy the bluetooth address to use in the following commands

pair the keyboard (here an old apple wireless keyboard):
bluez-simple agent hci0 <bt address>

it will prompt you for a pin, enter a 4 digit number for the keyboard, then type in on the keyboard and press enter on it. For the mouse try 0000 or 1234. If you need to pair
again you may get and error. If so append "repair" after the <bt address> and the old
pairing is deleted.

trust the device:
bluez-test-device trusted <bt address> yes

and connect it:
bluez-test-input connect <bt address>

repeat the pairing, trusting, connects for each device. I have only tested this with input
devices (eg keyboard and mouse).

Works here. Your mileage may vary :roll:

PS. before anyone asks. My bluetooth adapter is labeled "ASUS" and lsusb reports:
Bus 001 Device 004: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth

I use a beklin n300 for wifi:
Bus 001 Device 005: ID 050d:2103 Belkin Components F7D2102 802.11n N300 Micro Wireless Adapter v3000 [Realtek RTL8192CU]

Both devices just worked. You do have to boot with them plugged into the PI to avoid crashes...
Posts: 11
Joined: Fri Dec 21, 2012 11:21 pm
by boomergeek » Tue Jan 29, 2013 9:12 pm
To those who lost connection to the wireless keyboard/mouse when a wireless USB adapter is plugged in. I had a Logitech K400 mouse/trackpad plugged in and added an EDIMAX WiFi adapter. the keyboard/trackpad were non-responsive after booting, so I just unplugged the keyboard/trackpad receiver with system running, waited a few seconds and plugged it in again. This was only necessary the first time I booted the system with the new adapter plugged in. After that first time both peripherals come up without further ado.
Posts: 1
Joined: Tue Jan 29, 2013 9:01 pm
by kpalling » Fri Mar 01, 2013 11:27 pm
Edtoml, thanks for a clear process. I had tried Blueman unsuccessfully with my Trust BT-2400p Ultra Small adapter and an Apple Wireless keyboard. Had a lot of problems even following your advice because every time i plugged it into my powered USB-hub I got 100% cpu (TOP showed colord-sane service running at high percents) and random key-repeats on the USB-attached keyboard, so found it almost impossible to issue commands. I finally had to plug it directly into the Pi and set HID2HCI_ENABLED=1. After a few reboots it worked.
P.S there is a small error in your command;
bluez-simple agent hci0 <bt address> -- should be
bluez-simple-agent hci0 <bt address>
Thanks again.
Keith Palling
Posts: 2
Joined: Fri Mar 01, 2013 11:09 pm
by MarkTerrazzino » Sun Mar 03, 2013 7:21 am
Hi all any one know of blue tooth keyboards will work with a blue tooth adapter?
Posts: 3
Joined: Fri Mar 01, 2013 5:57 am
by DennisDale » Fri Mar 08, 2013 10:19 am
Anyone have experience with Perixx Periboard-716 Wireless Ergonomic Multi Touchpad Keyboard ? Would it work?

http://www.ergogeek.com/perixx-periboar ... board.html
Posts: 1
Joined: Fri Mar 08, 2013 10:14 am
by AmigOS2 » Sun Mar 10, 2013 5:42 am
Posts: 1
Joined: Sun Mar 10, 2013 5:40 am
by jphphotography » Mon Mar 11, 2013 5:42 am
FWIW I just picked up an IO Gear http://www.iogear.com/product/GKM681R/ and it works without any issues on raspbian and raspbmc. It also supports my PS3 so that was a bonus :)
Posts: 41
Joined: Mon Jun 18, 2012 7:47 am
by supra » Fri Mar 15, 2013 12:03 pm
@MarkTerrazzino, DennisDale, AmigOS2

All of them.... YES
Look for "Working with USB keyboard"

Posts: 650
Joined: Thu Feb 28, 2013 9:21 am
Location: Ontario, Canada
by Karlozkiller » Mon Apr 01, 2013 11:40 am
I'm using a Logitech K400 wireless keyboard with built in touchpad. It works out of the box.
Posts: 3
Joined: Sat Jan 19, 2013 10:06 pm
by mvolkmann » Sun Apr 21, 2013 7:22 pm
This is unbelievably frustrating! I followed all of these steps, but was not able to get an Apple wireless keyboard to pair. Most of the time the keyboard isn't even detected by "hcitool scan". It has fresh batteries that I tested with a voltage meter , so I know they are good. I repeated turned the keyboard off and on. Sometimes it is detected, but not usually. Even when I can make to to the last step to connect, pressing the keys does nothing.
Posts: 9
Joined: Thu Apr 18, 2013 3:47 pm
by mob-i-l » Thu Apr 25, 2013 10:26 am
There is an app for Android called WiFi Keyboard <https://play.google.com/store/apps/details?id=com.volosyukivan>. It makes it possible to use a computer (e.g. a laptop) as a wireless keyboard for an Android device. It's GPL and I think this system could be ported to Raspberry Pi. Is there already such a system for RasPi?
Raspberry Pi 0&1 A&1 B2&1 B+&2 B w/ Raspbian. Started w/ BASIC on ABC80 & ZX81 then Forth, Z80… http://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://www.youtube.com/MOBiL4u/ https://twitter.com/mobluse/
Posts: 193
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
by ANARCHY » Sat Aug 20, 2016 11:44 pm
I already have a wireless/trackpad combo which i'm using at the couch, it's a Logitech K830, already connected to the computer, using Unify dongle of course. http://www.logitech.com/nl-nl/product/living-room-keyboard-k830
Would that work with the Raspberry Pi 3 ? Just stick the dongle in and go ? Or does that entail a whole lot of doing ? I'm new to this, i have zero know-how on this, so i need a full explaination of every command and all that if i were to get this done, just like i spotted some for connecting my Xbox 360 controller via my Wireless Receiver for them. Same goes for iBuffalo controllers which i may add later.
So unless that is reasonably doable, i will either have to use wired stuff, which i don't want to, or get some other cheap setup. From some i hear the Logitech K300 works fine and from some i heard it was a bit of a problem setting them up.
Anyone have any info for the K830 ? That would be easiest by a long shot.
Thanks in advance ;)
Posts: 1
Joined: Sat Aug 20, 2016 11:34 pm
by rpdom » Sun Aug 21, 2016 6:52 am
I'm pretty sure the Logitech unify stuff will work with a Pi.

To the USB system it looks like a standard HID keyboard/mouse combo. I have one, but only with a mouse and as I don't run a desktop on any of my Pi I can't test it.

It works perfectly with my Linux laptop though, so should be fine.

If in doubt, try it. It won't hurt the Pi.
User avatar
Posts: 10669
Joined: Sun May 06, 2012 5:17 am
Location: Essex, UK