[Kernel-packages] [Bug 2037534] Re: [X13s] Set unique bluetooth mac address

2023-12-05 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-meta-laptop - 6.5.0.1007.10

---
linux-meta-laptop (6.5.0.1007.10) mantic; urgency=medium

  * Bump ABI 6.5.0-1007

  * Packaging resync (LP: #1786013)
- [Packaging] resync git-ubuntu-log
- [Packaging] resync debian/dkms-versions from main package

  * [X13s] Set unique wifi mac address (LP: #2039144)
- Set persistent wifi MAC address

  * [X13s] Set unique bluetooth mac address (LP: #2037534) // [X13s] Bluetooth
not enabled (LP: #2041000)
- Fix bluetooth public address

 -- Juerg Haefliger   Wed, 22 Nov 2023
17:41:49 +0100

** Changed in: linux-meta-laptop (Ubuntu Mantic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-laptop in Ubuntu.
https://bugs.launchpad.net/bugs/2037534

Title:
  [X13s] Set unique bluetooth mac address

Status in linux-meta-laptop package in Ubuntu:
  Invalid
Status in linux-meta-laptop source package in Mantic:
  Fix Released

Bug description:
  On windows side MAC address for WLAN and Bluetooth are similar - like
  off by 4 from each other. I am guessing that a range of MACs is used
  per device (i.e. sequentially for wlan, sim cards, bluetooth).

  On linux side we do not currently have ability to find out the
  expected device MAC.

  Currently setting to static one is ok, but will not work when all of
  us are in Riga with all of our X13s devices.

  [Unit]
  Description=Set Bluetooth Address
  After=bluetooth.target
  Requires=bluetooth.target

  [Service]
  Type=simple
  ExecStartPre=/usr/bin/sleep 5
  ExecStart=/bin/bash -c "/usr/bin/yes | /usr/bin/btmgmt public-addr 
AD:5A:00:F0:FD:8C"

  [Install]
  WantedBy=multi-user.target

  Imho this should be impoved as follows:

  1) make this wantedby individual bluetooth device, not bluetooth.target
  2) make it bind to bluetooth device, such that it is stopped/started upon 
device poweroff/poweron (need to check if needed to set address every time)
  3) make it conditional on btmgmt to be available
  4) set or derive MAC from /etc/machine-id (maybe systemd should be able to do 
this for us?)
  5) use btmgmt --timeout option for interactive use
  6) Hopefully above will mean there is no need to do sleep 5 either

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-laptop/+bug/2037534/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2037534] Re: [X13s] Set unique bluetooth mac address

2023-11-22 Thread Juerg Haefliger
** Changed in: linux-meta-laptop (Ubuntu Mantic)
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-laptop in Ubuntu.
https://bugs.launchpad.net/bugs/2037534

Title:
  [X13s] Set unique bluetooth mac address

Status in linux-meta-laptop package in Ubuntu:
  Invalid
Status in linux-meta-laptop source package in Mantic:
  Fix Committed

Bug description:
  On windows side MAC address for WLAN and Bluetooth are similar - like
  off by 4 from each other. I am guessing that a range of MACs is used
  per device (i.e. sequentially for wlan, sim cards, bluetooth).

  On linux side we do not currently have ability to find out the
  expected device MAC.

  Currently setting to static one is ok, but will not work when all of
  us are in Riga with all of our X13s devices.

  [Unit]
  Description=Set Bluetooth Address
  After=bluetooth.target
  Requires=bluetooth.target

  [Service]
  Type=simple
  ExecStartPre=/usr/bin/sleep 5
  ExecStart=/bin/bash -c "/usr/bin/yes | /usr/bin/btmgmt public-addr 
AD:5A:00:F0:FD:8C"

  [Install]
  WantedBy=multi-user.target

  Imho this should be impoved as follows:

  1) make this wantedby individual bluetooth device, not bluetooth.target
  2) make it bind to bluetooth device, such that it is stopped/started upon 
device poweroff/poweron (need to check if needed to set address every time)
  3) make it conditional on btmgmt to be available
  4) set or derive MAC from /etc/machine-id (maybe systemd should be able to do 
this for us?)
  5) use btmgmt --timeout option for interactive use
  6) Hopefully above will mean there is no need to do sleep 5 either

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-laptop/+bug/2037534/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2037534] Re: [X13s] Set unique bluetooth mac address

2023-11-22 Thread Juerg Haefliger
** Changed in: ubuntu-concept
   Status: New => Invalid

** No longer affects: ubuntu-concept

** Project changed: systemd => ubuntu

** Also affects: linux-meta-laptop (Ubuntu Mantic)
   Importance: Undecided
   Status: New

** Also affects: Ubuntu Mantic
   Importance: Undecided
   Status: New

** No longer affects: Ubuntu Mantic

** No longer affects: ubuntu

** Changed in: linux-meta-laptop (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-laptop in Ubuntu.
https://bugs.launchpad.net/bugs/2037534

Title:
  [X13s] Set unique bluetooth mac address

Status in linux-meta-laptop package in Ubuntu:
  Invalid
Status in linux-meta-laptop source package in Mantic:
  New

Bug description:
  On windows side MAC address for WLAN and Bluetooth are similar - like
  off by 4 from each other. I am guessing that a range of MACs is used
  per device (i.e. sequentially for wlan, sim cards, bluetooth).

  On linux side we do not currently have ability to find out the
  expected device MAC.

  Currently setting to static one is ok, but will not work when all of
  us are in Riga with all of our X13s devices.

  [Unit]
  Description=Set Bluetooth Address
  After=bluetooth.target
  Requires=bluetooth.target

  [Service]
  Type=simple
  ExecStartPre=/usr/bin/sleep 5
  ExecStart=/bin/bash -c "/usr/bin/yes | /usr/bin/btmgmt public-addr 
AD:5A:00:F0:FD:8C"

  [Install]
  WantedBy=multi-user.target

  Imho this should be impoved as follows:

  1) make this wantedby individual bluetooth device, not bluetooth.target
  2) make it bind to bluetooth device, such that it is stopped/started upon 
device poweroff/poweron (need to check if needed to set address every time)
  3) make it conditional on btmgmt to be available
  4) set or derive MAC from /etc/machine-id (maybe systemd should be able to do 
this for us?)
  5) use btmgmt --timeout option for interactive use
  6) Hopefully above will mean there is no need to do sleep 5 either

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-laptop/+bug/2037534/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2037534] Re: [X13s] Set unique bluetooth mac address

2023-11-13 Thread Juerg Haefliger
This might be cleaner:
https://wiki.debian.org/InstallingDebianOn/Thinkpad/X13s#Wi-Fi_and_Bluetooth

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-laptop in Ubuntu.
https://bugs.launchpad.net/bugs/2037534

Title:
  [X13s] Set unique bluetooth mac address

Status in systemd:
  New
Status in ubuntu-concept:
  New
Status in linux-meta-laptop package in Ubuntu:
  New

Bug description:
  On windows side MAC address for WLAN and Bluetooth are similar - like
  off by 4 from each other. I am guessing that a range of MACs is used
  per device (i.e. sequentially for wlan, sim cards, bluetooth).

  On linux side we do not currently have ability to find out the
  expected device MAC.

  Currently setting to static one is ok, but will not work when all of
  us are in Riga with all of our X13s devices.

  [Unit]
  Description=Set Bluetooth Address
  After=bluetooth.target
  Requires=bluetooth.target

  [Service]
  Type=simple
  ExecStartPre=/usr/bin/sleep 5
  ExecStart=/bin/bash -c "/usr/bin/yes | /usr/bin/btmgmt public-addr 
AD:5A:00:F0:FD:8C"

  [Install]
  WantedBy=multi-user.target

  Imho this should be impoved as follows:

  1) make this wantedby individual bluetooth device, not bluetooth.target
  2) make it bind to bluetooth device, such that it is stopped/started upon 
device poweroff/poweron (need to check if needed to set address every time)
  3) make it conditional on btmgmt to be available
  4) set or derive MAC from /etc/machine-id (maybe systemd should be able to do 
this for us?)
  5) use btmgmt --timeout option for interactive use
  6) Hopefully above will mean there is no need to do sleep 5 either

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/2037534/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 2037534] Re: [X13s] Set unique bluetooth mac address

2023-10-11 Thread Dimitri John Ledkov
** Summary changed:

- set unique bluetooth mac address
+ [X13s] Set unique bluetooth mac address

** Tags added: x13s

** Also affects: linux-meta-laptop (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-laptop in Ubuntu.
https://bugs.launchpad.net/bugs/2037534

Title:
  [X13s] Set unique bluetooth mac address

Status in systemd:
  New
Status in ubuntu-concept:
  New
Status in linux-meta-laptop package in Ubuntu:
  New

Bug description:
  On windows side MAC address for WLAN and Bluetooth are similar - like
  off by 4 from each other. I am guessing that a range of MACs is used
  per device (i.e. sequentially for wlan, sim cards, bluetooth).

  On linux side we do not currently have ability to find out the
  expected device MAC.

  Currently setting to static one is ok, but will not work when all of
  us are in Riga with all of our X13s devices.

  [Unit]
  Description=Set Bluetooth Address
  After=bluetooth.target
  Requires=bluetooth.target

  [Service]
  Type=simple
  ExecStartPre=/usr/bin/sleep 5
  ExecStart=/bin/bash -c "/usr/bin/yes | /usr/bin/btmgmt public-addr 
AD:5A:00:F0:FD:8C"

  [Install]
  WantedBy=multi-user.target

  Imho this should be impoved as follows:

  1) make this wantedby individual bluetooth device, not bluetooth.target
  2) make it bind to bluetooth device, such that it is stopped/started upon 
device poweroff/poweron (need to check if needed to set address every time)
  3) make it conditional on btmgmt to be available
  4) set or derive MAC from /etc/machine-id (maybe systemd should be able to do 
this for us?)
  5) use btmgmt --timeout option for interactive use
  6) Hopefully above will mean there is no need to do sleep 5 either

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/2037534/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp