Great fun at the MK Jam!

Had great fun at the National Museum of Computing on Sunday meeting lots of Raspberry Pi users and chatting about various techy and beginner-level stuff. Looking forward to the next one. Peter Onion and the other organisers are going down the right route by holding in monthly in a Local Computer Club kind of way. Hopefully interest will keep it going as it’s fantastic to meet people with so much knowledge and enthusiasm!

The NMC itself is a haven (and probably should be a Mecca) for computer enthusiasts – so many old machines to see where it all came from!

Bluetooth connections and pty/tty – HELP!!!

>
Hopefully someone’s reading this who can help me. I’ve posted it to the raspberrypi.org forum as well as I’m stumped!

I’ve got a very specific kind of problem to do with a Bluetooth keyboard.
Now, I’ve had the keyboard working fine before, and I believe I have it working now… except…
Okay, here’s what I do:

1. Start the Pi. It connects to my WiFi network automatically.
2. Run a remote ssh terminal (MobaXterm) and connect to it via IP.
3. Login.
Everything’s fine up to here.
4. Make sure the BT dongle is working in the Pi. It is.
5. Put the keyboard in discovery mode (light flashes).
6. hcitool scan. Find the MAC of my keyboard. All ok so far.
7. Use l2ping to make sure that I can actually get to the keyboard. still ok.
8. Run bluez-simple-agent hci0 DC:2C:26:D9:1A:BB
    This connects my dongle with my keyboard
9. bluez-test-input connect DC:2C:26:D9:1A:BB
    This connects my dongle with the keyboard SERVICE of the keyboard.
10. At which point the light on my keyboard goes steady. I know this is correct operation.

If I start typing on the keyboard, the orange transmit light flashes (which it doesn’t do if it’s not connected). However, nothing appears on the screen.
Now, I know that I’m on /dev/pty0 – which is a pseudo-terminal from my remote connection.
I suspect that the keyboard has connected to the terminal session that a screen connected to my Pi _would_ be showing if I had a screen plugged in.

So… the question is… How do I

a) Connect the bluetooth keyboard to the pty I’m already logged in on.
OR b) Change from the pty session to the ‘console’ session.

Any ideas?

The Pragmatic Bookshelf | Raspberry Pi

>The Pragmatic Bookshelf | Raspberry Pi:

Raspberry Pi: A Quick-Start Guide gives you everything you need to get the Raspberry Pi up and running and doing cool stuff. You’ll get started by learning what additional hardware you need and how to connect it, install Debian Linux and configure it to your needs, and customize the Pi’s firmware to get the most out of your hardware.

‘via Blog this’