15

I asked how to install bluetooth, so I can use an existing mouse and keyboard. I was able to get that to work, but the keyboard ceases to function when the GUI is logged out.

That means that I still need a 2.4Ghz keyboard to login, or to use the system prior to starting the GUI.

Does anyone have a solution which will allow me to pair to the bluetooth module automatically, pre-login?

zenbike
  • 2,520
  • 6
  • 20
  • 26

3 Answers3

1

This doesn't answer your question, rather it offers an alternative. You ought to be able use a "wireless" keyboard which uses a USB dongle. To the OS, it appears just like a wired USB keyboard and so on boot, becomes active as soon as USB is active, quite early in the process. There's no need to load the BT stack, which would occur much later. See this question... Is There an Alternative to Bluetooth for Keyboard and Mouse?

CPRitter
  • 1,061
  • 10
  • 15
1

This answer for a similar question posted in the Unix Stack Exchange may solve your problem (although I haven't tried it): https://unix.stackexchange.com/a/42593

Rob_Bishop
  • 311
  • 2
  • 5
-3

To pair from the command line with a phone (i assume to create a pair is the same for a keyboard)

  1. start a bluetooth agent with a pin to pair with the phone $ bluetooth-agent
  2. on a second ssh connection (bluetooth-agent is still running!) $ rfcomm connect hci0 00:AA:BB:CC:DD:EE
  3. phone asks for a pin, put in the same pin from bluetooth-agent, always allow connection
  4. close both rfcomm and bluetooth agent
vlad b.
  • 262
  • 2
  • 9