Index: configure.in =================================================================== --- configure.in (revision 80) +++ configure.in (working copy) @@ -10,7 +10,7 @@ AC_PROG_INSTALL # Checks for BlueZ. -AC_CHECK_LIB([bluetooth], [hci_remote_name], +AC_CHECK_LIB([bluetooth], [hci_read_remote_name], [], [AC_MSG_ERROR([We require BlueZ])]) AC_CONFIG_FILES([config.mk Index: src/wiimote_link.c =================================================================== --- src/wiimote_link.c (revision 80) +++ src/wiimote_link.c (working copy) @@ -95,7 +95,7 @@ return 0; } - if (hci_remote_name(hci_sock, &dev->bdaddr, WIIMOTE_CMP_LEN, dev_name, 5000)) { + if (hci_read_remote_name(hci_sock, &dev->bdaddr, WIIMOTE_CMP_LEN, dev_name, 5000)) { wiimote_error("is_wiimote(): Error reading device name: %m"); return 0; }