Debian :: How To Pair Bluetooth Keyboard Via Command Line On Jessie
Mar 27, 2015
I installed the Open Source Media Center (OSMC) on my Raspberry Pi 2. It's based on Debian Jessie. I bought a Blueooth Keyboard (Keysonic KSK-3211) and an USB-Bluetooth adapter (CSL Bluetooth Stick Nano). And now I am looking for a way to pair the keyboard with the raspberry via command line.
I'm new to all this bluetooth stuff in debian. It's the first time I try to install it. As far as I've understood I need an agent that is started with the pairing PIN. Then I type this PIN at the keyboard and that's it. Am I right?
The problem is, that every agent I've found in howtos or descriptions like bluez-simple-agent or bluetooth-agent (like described here [URL] ....) is not installed (and as far as I know can't be installed) under Jessie.
The bluetooth adapter is recognized
Code: Select allosmc@osmc:~$ hcitool dev
Devices:
hci0 00:1A:7D:DA:71:0C
the keyboard is found
Code: Select allosmc@osmc:~$ hcitool scan
Scanning ...
00:12:A1:70:42:28 Bluetooth Keyboard
And I can ping the keyboard
Code: Select allosmc@osmc:~$ sudo l2ping 00:12:A1:70:42:28
Ping: 00:12:A1:70:42:28 from 00:1A:7D:DA:71:0C (data size 44) ...
0 bytes from 00:12:A1:70:42:28 id 0 time 14.82ms
0 bytes from 00:12:A1:70:42:28 id 1 time 9.91ms
0 bytes from 00:12:A1:70:42:28 id 2 time 32.62ms
0 bytes from 00:12:A1:70:42:28 id 3 time 28.81ms
^C4 sent, 4 received, 0% loss
So everything seems to be ok ... but I can't find the command for pairing the keyboard. Looks like something changed in Jessie so that the old tutorials are outdated.
View 2 Replies
ADVERTISEMENT
Feb 19, 2010
I am able to pair a rocketfish bluetooth mouse, but I am not able to pair the keyboard. I was wondering if anyone knew the correct pin. Or if anyone knew what I need to do.
View 5 Replies
View Related
Oct 13, 2010
I think my computer must be haunted, as I've so far failed at 3 different ways of installing Maverick on my 2007 aluminium imac! I've written off using a VM, and I'm currently stuck trying to make a dual boot setup.
So I've followed the guide at [URL].. and got as far as rebooting with the CD in, and selecting Ubuntu, but then when everything loads I'm left at the screen where I can select try or install, with no way of selecting either as my mouse (apple bluetooth mighty mouse) and keyboard (apple bluetooth wireless aluminium keyboard) don't seem to be connected. I've got past this point by hitting random keys after booting and selecting the CD - this takes me into a more basic looking menu where the keyboard does still work and I can select install, try etc.
So I can get as far as selecting try, and get a working Ubuntu desktop. However, when the desktop loads, my keyboard and mouse are again not working. By connecting a USB keyboard and mouse, I'm able to get my mouse to pair, using the bluetooth menu and going through the setup. However, I'm stuck trying to get my keyboard to pair.
Going into set up new device and searching initially shows up my keyboard, then it disappears. If I wait it randomly comes back and disappears again. If I click on next whilst it is available, I can get as far as putting in a pin, but when I press enter it says Failed..
Sorry for the rambling post - I basically have 2 questions: 1- Is it expected that bluetooth keyboards and mice won't work during the installation menus? Half my problem is that I don't know what should be working and when (should I have to boot into the trial installation and setup the keyboard and mouse, or should it be set up automatically?).
2- Has anyone else seen the same problem with the apple wireless keyboard failing to pair? I've searched the forums and google, and found lots of people with problems with bluetooth keyboards, but none which seem to match what I'm seeing. I don't know if there's any point in pressing on with the installation using the USB keyboard and mouse in the hope that things will work in the full install, or if they don't work in the trial install then thats my lot.
View 6 Replies
View Related
Jun 15, 2010
I'm using debian lenny (5.0.4) on 3 different laptops, two fresh installs and one was installed with etch and then updated.In the one that has been updated pairing works without any problem, while in both the others it doesn't work. I can see this on syslog when I try pairing from the phone:Jun 15 10:31:02 robertof-lt hcid[17891]: io_capa_response sba=00:22:5F:00:C2:1F, dba=C0:38:F9:D3:29:A3)Jun 15 10:31:02 robertof-lt hcid[17891]: io_capa_request (sba=00:22:5F:00:C2:1F, dba=C0:38:F9:D3:29:A3)Jun 15 10:31:04 robertof-lt hcid[17891]: No agent available for user confirm request
View 1 Replies
View Related
May 9, 2011
I recently upgraded this machine from Ubuntu Maverick 10.10 to Debian Squeeze, x86_64, by wiping the root partition (I kept my backup and my home partitions). Everything has gone OK except this: for whatever reason I cannot pair my Microsoft Bluetooth Notebook Mouse 5000 with this machine any longer. In bluetooth-applet I can see the mouse when I go to pair it with the machine, but it simply times out and the pairing fails.
The target mouse definitely used to work in Ubuntu, so I doubt it's a problem in the physical layer. I tried another Bluetooth mouse (a Rocketfish/BestBuy POS), and it doesn't pair either. The Microsoft mouse I would like to use pairs just fine with my Debian squeeze laptop, but they're not using identical Bluetooth adapters as far as I can tell. lsusb reports that I've got a Broadcom BCM2210 in my workstation (the subject of this post), and lsusb on my laptop reports some kind of Broadcom Bluetooth adapter, but doesn't report its chipset.I'd really like to stay on squeeze if possible, but my googling for this has only led me to old documentation, or stuff that applies to wheezy or sid.
View 4 Replies
View Related
Nov 13, 2015
I've upgraded a server on our LAN from fully functioning Wheezy to Jessie. All seems fine except remote administering using Putty from my windows workstation when issuing reboot from command line, it goes down and reboots but stops at login prompt asking for username and password and does not come back on the LAN network. This server does not normally have a monitor or keyboard so my ability to remote admin this server in effect is disabled.
If I log on, it will come back on the LAN network. I've checked the logs but can't see any errors. Is it in the configuration of Jessie somewhere or perhaps a Grub issue. I have 5 other production Wheezy servers that I intend to update to Jessie once I understand how to deal with this problem.
View 4 Replies
View Related
Jan 23, 2010
I recently installed openSuse 11.2 with KDE4.3...When I try to pair my phone, the bluetooth manager finds my phone. However when I try to connect it says "your phone doesnt support input". My phone is set to "discoverable" (ie. visible to all). But, it just wont work.I had it working on previous systems. But not this time.
View 1 Replies
View Related
Jul 12, 2010
I have laptop with bluetooth and I bought PS3 bluetooth remote. In windows this remote is working with EventGhost and I would like to use it in Fedora as well. This remote has to be paired without a pin code, which is how I paired it in windows.In Fedora, however, there is no such option "no pin" when using a standard way to connect bluetooth device.How can I pair this remote in Fedora?
View 11 Replies
View Related
Mar 20, 2015
How to get Toshiba Satellite's bluetooth to work. Here is output that I think may be useful.... but I could be wrong. Pretty much everything I have found is outdated, has dead links, or didn't work.
So far, I've learned (at least from what I've understood) it has to do with kernel drivers/modules not working. I'm on Jessie right now since my graphics driver didn't work on the stable kernel.
lspci
Code: Select all00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1566
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics] (rev 05)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 156b
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
[Code] ....
View 4 Replies
View Related
Jul 3, 2010
I have a laptop with no bluetooth on it.So i bought a bluetooth dongle.It works flawlessly under windows but i am having a problem with it under Ubuntu (As well as other Linux distros). As soon as i plug the dongle i see a bluetooth icon in the Notification Area.
When i click on it and choose setup new device....its scans and shows all the bluetooth devices like my Nokia 5800 xpressmusic cell phone but when i try to pair it simply fails....
I have tried all the Pin codes available and even tried the custom pin option but still no success. By the way right now i am using Ubuntu 10.04..i have also tried it with other linux OS but still the problem remains....
View 2 Replies
View Related
Mar 24, 2015
After a lot of messing around and research, I figured out how to actually get my bluetooth headphones to connect and stay connected. Although once I shut them off, remove the device and re-add it using Blueman.
Right now, `pavucontrol` shows "Headphones (unplugged)" and there is no sound coming out of the speakers. But there is no sound coming out of the headphones either. They are set to the fallback. I've opened `alsamixer` and made sure everything was turned up. Still, no sound.
Since `bt-audio` isn't on Jessie, I don't know what I should do. It seems like this may be the missing step but I am unsure.
View 1 Replies
View Related
Jul 4, 2015
I've installed debian stable (Jessie) on an HP probook g2 laptop, but bluetooth isn't working.
Code: Select all/etc/init.d/bluetooth restart
gives in /var/log/syslog:
Code: Select allJul 4 12:02:35 mypc bluetoothd[5043]: Bluetooth management interface 1.6 initialized
Jul 4 12:02:35 mypc bluetoothd[5043]: Sap driver initialization failed.
Jul 4 12:02:35 mypc bluetoothd[5043]: sap-server: Operation not permitted (1)
Jul 4 12:02:35 mypc bluetoothd[5043]: hci0 Load Connection Parameters failed: Unknown Command (0x01)
Jul 4 12:02:35 mypc pulseaudio[1197]: [pulseaudio] bluez4-util.c: org.bluez.Manager.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.Manager" doesn't exist
View 1 Replies
View Related
Jan 23, 2010
I recently installed opensuse 11.2 with Kde4.3.I am having trouble with the bluetooth. I'm trying to get kanyremote to work, but i cant pair my phone.I searched google and the only option I see is to downgrade bluetooth.Can anyone help me pair my phone without downgrading my bluetooth packages?
View 1 Replies
View Related
Oct 24, 2009
in openSUSE 11.3 where can I put PIN for bluetooth devices pairing using just command line?
View 9 Replies
View Related
Aug 17, 2010
In openSUSE 11.3 where can I put PIN for bluetooth devices pairing using just command line?
View 5 Replies
View Related
May 23, 2015
I was using a custom layout for my keyboard as I've a UK laptop but still use french accents sometimes. After the update from Wheezy to Jessie my configs disappeared so I have put them back:
- Defining my layout here: /usr/share/X11/xkb/symbols/gb
- Adding here: /usr/share/X11/xkb/rules/base.xml and here /usr/share/X11/xkb/rules/evdev.xml in the gb configItem
Code: Select all <variant>
<configItem>
<name>accentsFR</name>
<description>English (UK with french accents)</description>
</configItem>
</variant>
- Adding the declaration of the layout here /usr/share/X11/xkb/rules/base.lst and here /usr/share/X11/xkb/rules/evdev.lst
Code: Select all accentsFR gb: English (UK with french accents)
So everything looks alright, if I go to System Tools -> Preferences -> Settings -> Keyboard -> Input Source my layout is well selected and I can even see the correct layout by clicking on the keyboard icon (cf my snapshot)
Here is the snapshot of the keyboard input source settings: [URL]....
View 1 Replies
View Related
Jun 1, 2015
On my Raspberry (I know but I could not get any response in raspberry-forums) running raspian I have a problem with a bluetooth-keyboard.
It has bluez 4.99-2 installed and I was able to pair the keyboard and make it trusted and when I run "bluez-test-input connect <address>" I can use it as an input device, but the problem is that when the keyboard goes into a standby-mode after some inactivity the connection is lost and not reestablished. To make it work again I have to run the bluez-test-input command again.
Now when I use the keyboard on my Android-device it also goes into standby but as soon as I start to type again it automatically reestablishes the connection - this is what I would like to achieve on the Rasperry.
My fundamental problem is that I don't know anything about bluetooth really...
I assume that on Android the keyboard initiates a connection when it comes back from sleep but on Raspbian the connection is initiated from the Pi and when the connection is lost the keyboard may try to reconnect but maybe there is no "bluetooth-server" on the Pi to accept the connection but that is just guesswork from someone that really has no clue...
View 0 Replies
View Related
Jun 1, 2011
Used to be it worked fine natively in 'direct' mode. I didn't need to do any bluetooth setup, I just booted and it worked in BIOS and in Debian. Then one day after a dist-upgrade it quit. I fussed with it for two days, finally installing the Bluez software and trying to make it work as a true bluetooth keyboard/mouse. That's how it's been for six months.
[Code]...
It will not hardware pair once X is started. I've tried it with the bluetooth service started and stopped. Something is preventing it from pairing.
View 5 Replies
View Related
Jul 26, 2015
I use jessie-32bit of kernel 4.1.3 on ASUS EeeBook X205TA.
And I use Japanese Model. There are key 【,|】and【,_】in this model keyboard. [URL] .... But my system does not recognize the two keys.
In /etc/default/keyboard, edit below
XKBMODEL="jp105"
XKBLAYOUT="jp"
I can japanese layout, but the two keys is nonreactive.
And i can not dpkg-reconfiguration keyboard-configuration. It's no response. No appear.
Code: Select all#dpkg-reconfiguration keyboard-configuration
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
View 0 Replies
View Related
Apr 11, 2010
Some Flash games don't work very well on Linux because when you hold down a key (such as one of the cursor keys) the Flash player sends the game multiple KeyDown and KeyUp events, leaving the game unable to tell the difference between a user holding a key or a user tapping a key quickly. (On other platforms it seems that typematic repeat generates multiple KeyDown events but not KeyUp events.)
Anyway, to work around this problem, I go to System->Preferences->Keyboard and disable "Key presses repeat when key is held down" when I want to play a Flash game, then put it back afterwards. I do this often enough that I'd like to set up some shortcut keys to change the setting. I figured out the following commands to turn it off and on again:
gconftool-2 --set /desktop/gnome/peripherals/keyboard/repeat --type bool false
gconftool-2 --set /desktop/gnome/peripherals/keyboard/repeat --type bool true
My problem is that when I have tried entering these on the command-line (in a gnome-terminal), X-windows seems to get confused and behaves as though I'm holding down the enter key. It doesn't stop if I press enter again. I tried pressing ctrl-alt-f1 to switch to a text console and it worked fine, but when I pressed ctrl-alt-f7 to go back to X it still behaved as though I was holding down enter. I had to press ctrl-alt-backspace to reset X before it would return to normal. I *think* it happens in particular when changing the setting from true to false. I'm running Karmic Koala with all the updates.
View 1 Replies
View Related
May 13, 2010
Im using Fedora Core 5.how to switch to command line from GUI using keyboard shortcut.
View 19 Replies
View Related
May 6, 2015
I've got myself a a Filco Majestouch Convertible 2 which is a USB/bluetooth keyboard.
When I use it in USB mode it works perfectly. I would like to use it in bluetooth mode and I've found that it has problems. When I hit either Numlock or Capslock it stops responding.
I'm running Debian Testing and it was last updated a few days ago (02/05/2015). I've tested the keyboard using Ubuntu 14.04 live cd and it worked flawlessly even hitting Numlock & Capslock didn't stop it.
If I run btmon to monitor the keyboard it shows that after I've hit capslock or numlock it still sends signals to the computer. So there is information being sent to the computer but these characters do not make themselves to my application. I'm just testing with a terminal window.
Here is the output from btmon whilst the keyboard is connected and working:
Hitting the 'a' character
a> ACL Data RX: Handle 35 flags 0x02 dlen 14 [hci0] 16.769645
Channel: 65 len 10 [PSM 19 mode 0] {chan 1}
a1 01 00 00 00 00 00 00 00 00 ..........
[Code] .....
Here are the versions of software I'm using;
Code: Select allbluetooth 5.23-2 all Bluetooth support
libbluetooth3:amd64 5.23-2+b1 amd64 Library to use the BlueZ Linux Bluetooth stack
View 1 Replies
View Related
Feb 20, 2016
How to run a script/command before shutdown/reboot in Debian Jessie.
I created a script myshutdown.sh in /etc/init.d/ to shutdown rTorrent if the reboot or shutdown now -h command was executed.
#!/bin/bash
#rTorrent Shutdown Script
echo "Shutting down rTorrent!"
kill -2 `pidof rtorrent`
I set the file as executable.
sudo chmod +x /etc/init.d/myshutdown.sh
I inserted a symlink in the rc0.d directory with the process order K04.
sudo ln -s /etc/init.d/myshutdown.sh /etc/rc0.d/K04myshutdown.sh
I also inserted a symlink in the rc6.d directory with the process order K04.
sudo ln -s /etc/init.d/myshutdown.sh /etc/rc6.d/K04myshutdown.sh
Apparently rc0.d is for shutdown and rc6.d if for reboot
After reboot it appears that rtorrent does not run (I cannot connect to rtorrent via rutorrent) but really what is going on. I am trying to do this because rtorrent does a hash check on all files if it is not shutdown properly. I just want it to shutdown automatically and safely, before the system shuts down.
View 9 Replies
View Related
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Aug 20, 2015
I would like to make a boot RAID0 LVM on a pair of SSDs (sdc and sdd). The system is already running off of a HDD. I built the RAID0 through the Asus BIOS on the Intel controller. I see:
# cat /proc/mdstat
Personalities : [raid0]
md124 : active raid0 sdc[1] sdd[0]
59346944 blocks super external:/md126/0 32k chunks
md125 : active raid0 sda[1] sdb[0]
222715904 blocks super external:/md127/0 32k chunks
[code]....
My challenge is that when I open Gparted, it only show one disk at a time. I would like to learn how to use Gparted to partition this RAID0 with a UEFI sector and LVM for the rest.
View 2 Replies
View Related
May 29, 2011
I have been trying to install a command line Debian Squeeze system on n Eee PC 701., but have run into a number of problems:
1) All install info I can find assumes that the person wants to install a GUI system of some sort.
2) The Eee PC has a unique 2 MB. partition that needs to be preserved, so no guided install.
3) The Eee PC has an SSD instead of an HD. Most postings I have seen recommend an install without a swap partition, but the install (both live and text) seems to choke and despite a fresh formatting of the existing partition, claims to be overwriting existing files.
4) I can understand from the wiki that the Eee PC wireless driver (Atheros) should be included in Squeeze, but when the wireless connection and password is added, the installer claims that the password is not correct, despite me having checked it a number of times.
I hope someone can help me out. I just want to use the Eee PC for low resource stuff done on the cli like using a text based web browser to access the net through a wireless router and to hook it up to an external USB HD and to my stereo, to play my music collection.
View 14 Replies
View Related
Apr 28, 2010
direct me to a good beginner's guide to Debian? Or explain some things briefly. Where can I learn how to use the Terminal Command Line? How do you add programs to Debian and what all is supported? What are packages in Debian and what can they do? Installing programs is different as expected. I tried installing Firefox, I downloaded it and extracted it into my home directory. I can run it with the Terminal Command: ~/firefox/firefox [When in the home directory] and it works. Is that how it is intended to work? Just random thing there. I guess in a sense, I just really want to learn about every aspect of Debian Linux in a user-friendly type environment.
View 3 Replies
View Related
Dec 28, 2010
how to download or upload files to a Debian machine using only the command line. I well aware of how to do it in GNOME, but seeing as how this is for a web server, I won't be using GNOME. I have a zip file on my personal machine that contains the website files that need to go on the Debian machine that is to be the web server, but I have no how to get it to that Debian machine without GNOME.
View 14 Replies
View Related
Jan 29, 2011
I tried to install Vlc using the terminal (terminal as root). I've used the command aptitude install vlc. Instead of installing only vlc, my gnome desktop environment was removed, gdm was removed, many more programs was removed! What's the command for installing just a single program using the command line? I was used under Ubuntu to use the command sudo apt-get install [***]
View 14 Replies
View Related
Jul 28, 2014
What is the simplest way to boot to command line rather than gdm ?
I've seen post to change
# The default runlevel.
id:2:initdefault:
to
id:3:initdefault:
and
update-rc.d -f gdm remove
update-rc.d -f kdm remove
update-rc.d -f xdm remove
View 7 Replies
View Related