Microsoft Modern Keyboard with Ubuntu












1















The new Microsoft Modern Keyboard is visually the same as the Surface Keyboard, including the bluetooth 4.0/4.1 connectivity, but it has a different pairing procedure, and lacks a pairing button. I was wondering if anyone has tried to get it working on Ubuntu?



Here is the high-level setup instructions from MSFT:




  • plug in USB to computer

  • turn on keyboard

  • click pop-up dialog installing needed windows drivers

  • paring should now be complete


Obviously, that 3rd step is a problem on a non-windows OS. I'm wondering if there is something I can do on ubuntu to initiate the pairing attempt.



I have tried this, and ubuntu doesn't seem to see a bluetooth device available when it's plugged in, or when it's charged and unplugged. When plugged in, it functions fine as a normal HID-compliant USB Keyboard, fwiw.










share|improve this question























  • At least it works when on USB cable, which I can confirm.

    – René Stalder
    Mar 16 '18 at 14:41











  • Same Here @RenéStalder, did you get it working via bluetooth?

    – dpb
    Mar 19 '18 at 1:17











  • Nope. But I'm happy with the USB connection too at the moment and hope maybe someone will come up with a solution one day.

    – René Stalder
    Mar 19 '18 at 12:08
















1















The new Microsoft Modern Keyboard is visually the same as the Surface Keyboard, including the bluetooth 4.0/4.1 connectivity, but it has a different pairing procedure, and lacks a pairing button. I was wondering if anyone has tried to get it working on Ubuntu?



Here is the high-level setup instructions from MSFT:




  • plug in USB to computer

  • turn on keyboard

  • click pop-up dialog installing needed windows drivers

  • paring should now be complete


Obviously, that 3rd step is a problem on a non-windows OS. I'm wondering if there is something I can do on ubuntu to initiate the pairing attempt.



I have tried this, and ubuntu doesn't seem to see a bluetooth device available when it's plugged in, or when it's charged and unplugged. When plugged in, it functions fine as a normal HID-compliant USB Keyboard, fwiw.










share|improve this question























  • At least it works when on USB cable, which I can confirm.

    – René Stalder
    Mar 16 '18 at 14:41











  • Same Here @RenéStalder, did you get it working via bluetooth?

    – dpb
    Mar 19 '18 at 1:17











  • Nope. But I'm happy with the USB connection too at the moment and hope maybe someone will come up with a solution one day.

    – René Stalder
    Mar 19 '18 at 12:08














1












1








1


2






The new Microsoft Modern Keyboard is visually the same as the Surface Keyboard, including the bluetooth 4.0/4.1 connectivity, but it has a different pairing procedure, and lacks a pairing button. I was wondering if anyone has tried to get it working on Ubuntu?



Here is the high-level setup instructions from MSFT:




  • plug in USB to computer

  • turn on keyboard

  • click pop-up dialog installing needed windows drivers

  • paring should now be complete


Obviously, that 3rd step is a problem on a non-windows OS. I'm wondering if there is something I can do on ubuntu to initiate the pairing attempt.



I have tried this, and ubuntu doesn't seem to see a bluetooth device available when it's plugged in, or when it's charged and unplugged. When plugged in, it functions fine as a normal HID-compliant USB Keyboard, fwiw.










share|improve this question














The new Microsoft Modern Keyboard is visually the same as the Surface Keyboard, including the bluetooth 4.0/4.1 connectivity, but it has a different pairing procedure, and lacks a pairing button. I was wondering if anyone has tried to get it working on Ubuntu?



Here is the high-level setup instructions from MSFT:




  • plug in USB to computer

  • turn on keyboard

  • click pop-up dialog installing needed windows drivers

  • paring should now be complete


Obviously, that 3rd step is a problem on a non-windows OS. I'm wondering if there is something I can do on ubuntu to initiate the pairing attempt.



I have tried this, and ubuntu doesn't seem to see a bluetooth device available when it's plugged in, or when it's charged and unplugged. When plugged in, it functions fine as a normal HID-compliant USB Keyboard, fwiw.







usb keyboard bluetooth hardware






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 18 '17 at 17:17









dpbdpb

5,18912049




5,18912049













  • At least it works when on USB cable, which I can confirm.

    – René Stalder
    Mar 16 '18 at 14:41











  • Same Here @RenéStalder, did you get it working via bluetooth?

    – dpb
    Mar 19 '18 at 1:17











  • Nope. But I'm happy with the USB connection too at the moment and hope maybe someone will come up with a solution one day.

    – René Stalder
    Mar 19 '18 at 12:08



















  • At least it works when on USB cable, which I can confirm.

    – René Stalder
    Mar 16 '18 at 14:41











  • Same Here @RenéStalder, did you get it working via bluetooth?

    – dpb
    Mar 19 '18 at 1:17











  • Nope. But I'm happy with the USB connection too at the moment and hope maybe someone will come up with a solution one day.

    – René Stalder
    Mar 19 '18 at 12:08

















At least it works when on USB cable, which I can confirm.

– René Stalder
Mar 16 '18 at 14:41





At least it works when on USB cable, which I can confirm.

– René Stalder
Mar 16 '18 at 14:41













Same Here @RenéStalder, did you get it working via bluetooth?

– dpb
Mar 19 '18 at 1:17





Same Here @RenéStalder, did you get it working via bluetooth?

– dpb
Mar 19 '18 at 1:17













Nope. But I'm happy with the USB connection too at the moment and hope maybe someone will come up with a solution one day.

– René Stalder
Mar 19 '18 at 12:08





Nope. But I'm happy with the USB connection too at the moment and hope maybe someone will come up with a solution one day.

– René Stalder
Mar 19 '18 at 12:08










1 Answer
1






active

oldest

votes


















1














If you don't mind installing Windows on your computer there is a way of doing this.



As you said, the pairing happens over USB and it's only possible on Windows. What you can do is to pair the keyboard on Windows and transfer the pairing information to Linux. There's plenty of information out there on how to "dual-pair" or how to make Bluetooth devices work in "dual-boot" environments.



This worked for me: http://console.systems/2014/09/how-to-pair-low-energy-le-bluetooth.html on Ubuntu 18.04, the only different thing I had to do is to add an additional key not mentioned in that guide (but mentioned in the comments): IRK and set the enclave size to 16.



Here's how my info file looks like, for reference:



[General]
Name=BTLE Keyboard Fingerprint ID
Appearance=0x03c1
AddressType=static
SupportedTechnologies=LE;
Trusted=true
Blocked=false
Services=00001800-0000-1000-8000-00805f9b34fb;00001801-0000-1000-8000-00805f9b34fb;0000180a-0000-1000-8000-00805f9b34fb;0000180f-0000-1000-8000-00805f9b34fb;00001812-0000-1000-8000-00805f9b34fb;d4e3e3eb-a4ae-4193-bbf8-c769980abfe0;

[DeviceID]
Source=2
Vendor=1118
Product=2067
Version=274

[IdentityResolvingKey]
Key=40DA574571378A18D19EECB0B6814F2D

[LocalSignatureKey]
Key=9514799E99500FAACE427153D3345C63
Counter=0
Authenticated=false

[LongTermKey]
Key=467D87EB169591378DB06F3E14C43FFD
Authenticated=0
EncSize=16
EDiv=41809
Rand=8310545922518117455

[ConnectionParameters]
MinInterval=6
MaxInterval=6
Latency=60
Timeout=200





share|improve this answer






















    protected by Community yesterday



    Thank you for your interest in this question.
    Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



    Would you like to answer one of these unanswered questions instead?














    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    If you don't mind installing Windows on your computer there is a way of doing this.



    As you said, the pairing happens over USB and it's only possible on Windows. What you can do is to pair the keyboard on Windows and transfer the pairing information to Linux. There's plenty of information out there on how to "dual-pair" or how to make Bluetooth devices work in "dual-boot" environments.



    This worked for me: http://console.systems/2014/09/how-to-pair-low-energy-le-bluetooth.html on Ubuntu 18.04, the only different thing I had to do is to add an additional key not mentioned in that guide (but mentioned in the comments): IRK and set the enclave size to 16.



    Here's how my info file looks like, for reference:



    [General]
    Name=BTLE Keyboard Fingerprint ID
    Appearance=0x03c1
    AddressType=static
    SupportedTechnologies=LE;
    Trusted=true
    Blocked=false
    Services=00001800-0000-1000-8000-00805f9b34fb;00001801-0000-1000-8000-00805f9b34fb;0000180a-0000-1000-8000-00805f9b34fb;0000180f-0000-1000-8000-00805f9b34fb;00001812-0000-1000-8000-00805f9b34fb;d4e3e3eb-a4ae-4193-bbf8-c769980abfe0;

    [DeviceID]
    Source=2
    Vendor=1118
    Product=2067
    Version=274

    [IdentityResolvingKey]
    Key=40DA574571378A18D19EECB0B6814F2D

    [LocalSignatureKey]
    Key=9514799E99500FAACE427153D3345C63
    Counter=0
    Authenticated=false

    [LongTermKey]
    Key=467D87EB169591378DB06F3E14C43FFD
    Authenticated=0
    EncSize=16
    EDiv=41809
    Rand=8310545922518117455

    [ConnectionParameters]
    MinInterval=6
    MaxInterval=6
    Latency=60
    Timeout=200





    share|improve this answer




























      1














      If you don't mind installing Windows on your computer there is a way of doing this.



      As you said, the pairing happens over USB and it's only possible on Windows. What you can do is to pair the keyboard on Windows and transfer the pairing information to Linux. There's plenty of information out there on how to "dual-pair" or how to make Bluetooth devices work in "dual-boot" environments.



      This worked for me: http://console.systems/2014/09/how-to-pair-low-energy-le-bluetooth.html on Ubuntu 18.04, the only different thing I had to do is to add an additional key not mentioned in that guide (but mentioned in the comments): IRK and set the enclave size to 16.



      Here's how my info file looks like, for reference:



      [General]
      Name=BTLE Keyboard Fingerprint ID
      Appearance=0x03c1
      AddressType=static
      SupportedTechnologies=LE;
      Trusted=true
      Blocked=false
      Services=00001800-0000-1000-8000-00805f9b34fb;00001801-0000-1000-8000-00805f9b34fb;0000180a-0000-1000-8000-00805f9b34fb;0000180f-0000-1000-8000-00805f9b34fb;00001812-0000-1000-8000-00805f9b34fb;d4e3e3eb-a4ae-4193-bbf8-c769980abfe0;

      [DeviceID]
      Source=2
      Vendor=1118
      Product=2067
      Version=274

      [IdentityResolvingKey]
      Key=40DA574571378A18D19EECB0B6814F2D

      [LocalSignatureKey]
      Key=9514799E99500FAACE427153D3345C63
      Counter=0
      Authenticated=false

      [LongTermKey]
      Key=467D87EB169591378DB06F3E14C43FFD
      Authenticated=0
      EncSize=16
      EDiv=41809
      Rand=8310545922518117455

      [ConnectionParameters]
      MinInterval=6
      MaxInterval=6
      Latency=60
      Timeout=200





      share|improve this answer


























        1












        1








        1







        If you don't mind installing Windows on your computer there is a way of doing this.



        As you said, the pairing happens over USB and it's only possible on Windows. What you can do is to pair the keyboard on Windows and transfer the pairing information to Linux. There's plenty of information out there on how to "dual-pair" or how to make Bluetooth devices work in "dual-boot" environments.



        This worked for me: http://console.systems/2014/09/how-to-pair-low-energy-le-bluetooth.html on Ubuntu 18.04, the only different thing I had to do is to add an additional key not mentioned in that guide (but mentioned in the comments): IRK and set the enclave size to 16.



        Here's how my info file looks like, for reference:



        [General]
        Name=BTLE Keyboard Fingerprint ID
        Appearance=0x03c1
        AddressType=static
        SupportedTechnologies=LE;
        Trusted=true
        Blocked=false
        Services=00001800-0000-1000-8000-00805f9b34fb;00001801-0000-1000-8000-00805f9b34fb;0000180a-0000-1000-8000-00805f9b34fb;0000180f-0000-1000-8000-00805f9b34fb;00001812-0000-1000-8000-00805f9b34fb;d4e3e3eb-a4ae-4193-bbf8-c769980abfe0;

        [DeviceID]
        Source=2
        Vendor=1118
        Product=2067
        Version=274

        [IdentityResolvingKey]
        Key=40DA574571378A18D19EECB0B6814F2D

        [LocalSignatureKey]
        Key=9514799E99500FAACE427153D3345C63
        Counter=0
        Authenticated=false

        [LongTermKey]
        Key=467D87EB169591378DB06F3E14C43FFD
        Authenticated=0
        EncSize=16
        EDiv=41809
        Rand=8310545922518117455

        [ConnectionParameters]
        MinInterval=6
        MaxInterval=6
        Latency=60
        Timeout=200





        share|improve this answer













        If you don't mind installing Windows on your computer there is a way of doing this.



        As you said, the pairing happens over USB and it's only possible on Windows. What you can do is to pair the keyboard on Windows and transfer the pairing information to Linux. There's plenty of information out there on how to "dual-pair" or how to make Bluetooth devices work in "dual-boot" environments.



        This worked for me: http://console.systems/2014/09/how-to-pair-low-energy-le-bluetooth.html on Ubuntu 18.04, the only different thing I had to do is to add an additional key not mentioned in that guide (but mentioned in the comments): IRK and set the enclave size to 16.



        Here's how my info file looks like, for reference:



        [General]
        Name=BTLE Keyboard Fingerprint ID
        Appearance=0x03c1
        AddressType=static
        SupportedTechnologies=LE;
        Trusted=true
        Blocked=false
        Services=00001800-0000-1000-8000-00805f9b34fb;00001801-0000-1000-8000-00805f9b34fb;0000180a-0000-1000-8000-00805f9b34fb;0000180f-0000-1000-8000-00805f9b34fb;00001812-0000-1000-8000-00805f9b34fb;d4e3e3eb-a4ae-4193-bbf8-c769980abfe0;

        [DeviceID]
        Source=2
        Vendor=1118
        Product=2067
        Version=274

        [IdentityResolvingKey]
        Key=40DA574571378A18D19EECB0B6814F2D

        [LocalSignatureKey]
        Key=9514799E99500FAACE427153D3345C63
        Counter=0
        Authenticated=false

        [LongTermKey]
        Key=467D87EB169591378DB06F3E14C43FFD
        Authenticated=0
        EncSize=16
        EDiv=41809
        Rand=8310545922518117455

        [ConnectionParameters]
        MinInterval=6
        MaxInterval=6
        Latency=60
        Timeout=200






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 7 '18 at 17:56









        RuenzuoRuenzuo

        1112




        1112

















            protected by Community yesterday



            Thank you for your interest in this question.
            Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



            Would you like to answer one of these unanswered questions instead?



            Popular posts from this blog

            How did Captain America manage to do this?

            迪纳利

            南乌拉尔铁路局