Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I permanently pair a Wii Balance Board with an Ubuntu PC?

I have a Wii Balance Board, for which I've written a weight-measuring script (detailed here). However, I can't get the board to pair with the computer.

I don't want to have to put it in sync mode every time, as it's very time-consuming, but it won't accept any PIN code I enter. I tried "000000", the host's address in reverse hex (if the host is 00:11:22:33:44:55, then I tried the PIN "$554433221100" with bluez, same with the board's address, neither worked).

Using the built-in Ubuntu Bluetooth wizard fails horribly, though, as, no matter which PIN I specify, it always generates a random one, asks me to enter it and fails half a second later. I tried the above with the bt-device utility.

Has anyone managed to pair a balance board (or a wiimote) with Ubuntu (or anything/find the PIN, really)?

like image 741
Stavros Korokithakis Avatar asked Jan 31 '26 00:01

Stavros Korokithakis


1 Answers

It turns out that bluez 4.101 doesn't support hex PIN codes. Patching it with the appropriate code and recompiling worked.

like image 59
Stavros Korokithakis Avatar answered Feb 02 '26 10:02

Stavros Korokithakis