[Bug 1001825] Re: apple bluetooth keyboard and mouse: conflict between ubuntu and OS X

Leif Huhn 1001825 at bugs.launchpad.net
Wed Jan 16 18:12:17 UTC 2013


I can't get get launchpad to upload my attachment.  The post button does
nothing, so here's the script:

#!/bin/sh
cd /var/lib/bluetooth
for i in *; do
    cd "$i"
    plutil -i /media/osx/private/var/root/Library/Preferences/blued.plist -o /dev/stdout |
    perl -0777 -MMIME::Base64 -ne 's|\s||g; $s = $_; while ($s =~ m|<key>(..-..-..-..-..-..)</key><data>(.*?)</data>|g) { $mac = uc($1); $key = uc(unpack("H*",reverse decode_base64($2))); $mac =~ s/-/:/g; $pinlength = 6; $pinlength = 4 if $mac eq "C4:2C:03:A0:C7:20"; print "$mac $key 0 $pinlength\n"; }' |
    tee linkkeys
    cd ..
done
service bluetooth restart

-- 
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1001825

Title:
  apple bluetooth keyboard and mouse: conflict between ubuntu and OS X

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1001825/+subscriptions



More information about the Ubuntu-bluetooth mailing list